@charset 'UTF-8';

/*
COLORS
================================================ */
:root {
    --light-blue: #4db1ec;
    --blue: #1665cc;
    --purple: #b473bf;
    --pink: #ffb2c1;
    --orange: #ff9f67;
    --yellow: #ffd673;
    --light-green: #a2e29b;
    --green: #00a2af;
    --grey: #333;
    --white: #fff;
}

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
    /* スムーズスクロール */
    scroll-behavior: smooth;
}
body {
	color: var(--grey);
	font-family: sans-serif;
}

/*
COMMON
================================================ */
p {
    line-height: 1.7;
}
img {
    max-width: 100%;
}
h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}
h1,
h2 {
    text-align: center;
}
header,
h1,
h2,
.hero-date {
    font-family: impact, sans-serif;
}

/* Layout */
.wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
/* moji shirowaku */
.shirowaku{
    text-shadow    : 
       2px  2px 1px #fff,
      -2px  2px 1px #fff,
       2px -2px 1px #fff,
      -2px -2px 1px #fff,
       2px  0px 1px #fff,
       0px  2px 1px #fff,
      -2px  0px 1px #fff,
       0px -2px 1px #fff;   
}
.sp_br {
    display: none;
}
/*
HEADER
================================================ */
header {
    background: var(--grey);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 200;
}
header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items : center;
}
header a {
    color: var(--white);
    font-size: 1rem;
}
header .logo img {
    width: 45%;
}
.btn-menu {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 1px solid rgba(255,255,255,.5);
    color: var(--white);
    padding: .5rem 1rem;
}
.main-nav {
    background: var(--grey);
    width: 0;
    position: absolute;
    z-index: 2;
    top: 50px;
    right: 0;
    overflow: hidden;
    transition: .5s;
}
.main-nav li {
    text-align: center;
    margin: 2rem 0;
}
.main-nav a {
    display: block;
}
.main-nav.open-menu {
    width: 100%;
}

/*
HERO
================================================ */
#hero {
    /* ↓ 省略形だとブラウザーによってうまく表示されない
    background: var(--light-blue) url('../images/hero.jpg') no-repeat center / cover; */
    background-color: var(--light-blue);
    background-image: url('../images/hero.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: screen;
    height: 100vh;
    display: flex;
    align-items: center;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}
.hero-date {
    text-align: center;
    border-top: 3px solid var(--grey);
    border-bottom: 3px solid var(--grey);
    padding: .5rem 0;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
/*
rental-guarantee
================================================ */
#rental-guarantee {
    padding: 4rem 1rem;
}
#rental-guarantee h2 {
    font-weight: bold;
  background: linear-gradient(var(--yellow), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}
#rental-guarantee p {
    margin-bottom: 2rem;
}
/*
service
================================================ */
#service {
    background-image: linear-gradient(var(--light-green), var(--green));
    padding: 7rem 0;
    -webkit-clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
    clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
}
#service h2 {
    color: var(--white);
    font-weight: bold;
}
#service p {
    color: var(--white);
    margin-bottom: 2rem;
}
/*
flow
================================================ */
#flow {
    padding: 4rem 1rem;
}
#flow h2 {
    font-weight: bold;
  background: linear-gradient(var(--light-blue), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}
.flow {
	padding-left: 120px;
	position: relative;
}
.flow::before {
	content: "";
	width: 15px;
	height: 100%;
	background: #eee;
	margin-left: -8px;
	display: block;
	position: absolute;
	top: 0;
	left: 120px;
}
.flow > li {
	position: relative;
}
.flow > li:not(:last-child) {
	margin-bottom: 8vh;
}
.flow > li .icon {
	font-size: 12px;
	color: #fff;
	background: rgb(107,144,219);
	background: -moz-linear-gradient(left, rgba(107,144,219,1) 0%, rgba(102,213,233,1) 100%);
	background: -webkit-linear-gradient(left, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
	background: linear-gradient(to right, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );
	padding: 8px 20px;
	display: block;
	position: absolute;
	top: 0;
	left: -120px;
	z-index: 100;
}
.flow > li .icon::after {
	content: "";
	border-style: solid;
	border-width: 5px 0 5px 10px;
	border-color: transparent transparent transparent #66d5e9;
	position: absolute;
	top: 50%;
	left: 100%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.flow > li dl {
	padding-left: 70px;
	position: relative;
}
.flow > li dl::before,
.flow > li dl::after {
	content: "";
	display: block;
	position: absolute;
	top: 15px;
}
.flow > li dl::before {
	width: 7px;
	height: 7px;
	margin-top: -3px;
	background: #6b90db;
	border-radius: 50%;
	left: -4px;
}
.flow > li dl::after {
	width: 50px;
	border-bottom: 1px dashed #999;
	position: absolute;
	left: 5px;
}
.flow > li dl dt {
	font-size: 20px;
	font-weight: 600;
	color: rgb(107,144,219);
	margin-bottom: 1vh;
}

/*
ABOUT
================================================ */
#about {
    background-image: linear-gradient(#d34f9e, #ffd007);
    padding: 7rem 0;
    -webkit-clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
    clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
}
#about h2 {
    color: var(--white);
}
.about-table {
    color: var(--white);
    width: 100%;
}
.about-table tr {
    border-bottom: 1px solid rgba(255,255,255,.5);
}
.about-table td {
    display: block;
    line-height: 1.5;
}
.about-item {
    font-size: .875rem;
    padding-top: 1rem;
}
.about-content {
    padding-bottom: 1rem;
}

/*
contact
================================================ */
#contact {
    padding: 4rem 1rem;
}
#contact h2 {
    font-weight: bold;
  background: linear-gradient(var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}
.contact-form {
    max-width: 480px;
    margin: 0 auto 5rem;
}
.contact-form label {
    display: block;
    margin-bottom: .5rem;
}
.contact-field {
    background: rgba(250, 222, 246, 0.6);
    padding: 1rem;
    width: 100%;
    margin-bottom: 1.5rem;
}
.contact-textarea {
    background: rgba(250, 222, 246, 0.6);
    padding: 1rem;
    width: 100%;
    height: 500px;
    margin-bottom: 1.5rem;
}
.contact-btn {
    background: var(--grey);
    color: var(--white);
    display: block;
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
}
.success_message {
    color: var(--blue);
    font-weight: bold;
    text-align: center;
}
/*
FOOTER
================================================ */
.footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
    font-size: 1rem;
    background: var(--grey);
    color: var(--white);
}


/*
DESKTOP SIZE
================================================ */
@media (min-width: 600px) {
/* Common */
    h2 {
        font-size: 5rem;
    }
    a:hover,
    .contact-btn:hover {
        transition: .3s;
    }
    a:hover {
        color: var(--pink);
    }
    .contact-btn:hover {
        background: var(--pink);
    }

/* Header */
    .btn-menu {
        display: none;
    }
    .main-nav {
        width: 100%;
        position: static;
        display: flex;
    }
    .main-nav li {
        margin: 0 0 0 1.5rem;
    }
/* Hero */

    .hero-date {
        font-size: 3rem;
    }
/* News */
    .about-table td {
        display: table-cell;
    }
    .about-date {
        padding: 1.125rem 0 1rem 1rem;
    }
    .about-content {
        padding: 1rem 1rem 1rem 0;
    }
    .sp_br {
        display: inline;
    }
}
@media (max-width: 414px) {
    #hero h1 {
        font-size: 1.5rem;
    }
}