@charset "UTF-8"; /* CSS Document */ //ブレイクポイントを指定------ここから $xl: 1399px; $lg: 1199px; $md: 991px; $sm: 767px; $xs: 575px; @mixin xl { @media screen and (max-width: ($xl)) { @content; } } @mixin lg { @media screen and (max-width: ($lg)) { @content; } } @mixin md { @media screen and (max-width: ($md)) { @content; } } @mixin sm { @media screen and (max-width: ($sm)) { @content; } } @mixin xs { @media screen and (max-width: ($xs)) { @content; } } //ブレイクポイントを指定------ここまで /*---------- lower-header ----------*/ #lower-header { background-image: url("../img/side-title-1.jpg"); background-position: center!important; } /*---------- about ----------*/ #about { background-image: url("../img/about-back.jpg"); background-size: cover; padding: 9rem 0; table { font-family: 'Noto Sans JP'; font-size: 18px; font-size: 1.8rem; width: 90%; margin: 0 auto; @include xs { width: 100%; font-size: 15px; font-size: 1.5rem; } tr { border-top: solid 1px rgba(0,0,0,0.45); &:last-child { border-bottom: solid 1px rgba(0,0,0,0.45); } } th { font-weight: normal; width: 35%; padding-left: 3em; @include md { padding-left: 2em; } @include sm { padding-left: 1em; } @include xs { padding-left: 1rem; } } td { width: 65%; padding: 1rem 0; a{ color: #000000; &:hover{ color: #F68020; } } } } } /*--------------------form-top--------------------*/ #form-top { text-align: center; h2 { background-color: #0059b6; color: #fff; font-size: 30px; font-size: 3rem; font-weight: bold; letter-spacing: 0.15em; padding: 1em 0; margin-bottom: 6rem; @include xs { font-size: 26px; font-size: 2.6rem; margin-bottom: 3rem; } } .top1 p { font-size: 15px; font-size: 1.5rem; color: #3c3736; margin-bottom: 5rem; @include xs { font-size: 15px; font-size: 1.5rem; margin-bottom: 3rem; text-align: justify; } span { font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; font-size: 16px; font-size: 1.6rem; font-weight: bold; color: #fff; background-color: #bf1c24; padding: 3px 8px; border-radius: 4px; margin-right: 5px; } } .top2 { .p-contact { font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; font-size: 20px; font-size: 2rem; font-weight: bold; margin-top: 3rem; color: #ff742e; @include xs { font-size: 18px; font-size: 1.8rem; line-height: 1.4; } } .phone-box { background-color: #ff742e; border-radius: 1rem; color: #fff; text-align: center; padding: 1.5rem 0; margin-bottom: 1rem; @include xs { padding: 1rem 0; } p { font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; font-size: 38px; font-size: 3.8rem; font-weight: bold; margin-bottom: 0; @include xs { line-height: 1.2; font-size: 32px; font-size: 3.2rem; } span { font-size: 22.5px; font-size: 2.25rem; margin-right: 1rem; @include xs { font-size: 20px; font-size: 2rem; } } } } } } /* ---------------------- for JavaScript ここから ---------------------- */ form#mail_form dl dt span.required{ display : inline-block; color : #fff; line-height : 1; margin-right: 0.5rem; padding: 0.4rem 0.5rem; background-color: #bf1c24; font-size: 90%; border-radius: 3px; font-weight: normal; } form#mail_form dl dt span.any{ display : inline-block; color : #bf1c24; line-height : 1; margin-right: 0.5rem; padding: 0.4rem 0.5rem; background-color: #ffffff; font-size: 90%; border: 1px solid #bf1c24; border-radius: 3px; font-weight: normal; } form#mail_form dl dt span.optional{ display: none; } form#mail_form dl dd span.error_blank, form#mail_form dl dd span.error_format, form#mail_form dl dd span.error_match{ display : block; color : #ff0000; margin-top : 3px; } span.loading{ width : 50px; height : 50px; border-radius : 50%; border-top : 5px solid rgba( 255, 255, 255, 0.2 ); border-right : 5px solid rgba( 255, 255, 255, 0.2 ); border-bottom : 5px solid rgba( 255, 255, 255, 0.2 ); border-left : 5px solid #ffffff; -webkit-transform : translateZ( 0 ); -ms-transform : translateZ( 0 ); transform : translateZ( 0 ); -webkit-animation : load-circle 1.0s linear infinite; animation : load-circle 1.0s linear infinite; position : absolute; top : 50%; left : 50%; margin-top : -25px; margin-left : -25px; } @-webkit-keyframes load-circle{ 0%{ -webkit-transform : rotate( 0deg ); transform : rotate( 0deg ); } 100%{ -webkit-transform : rotate( 360deg ); transform : rotate( 360deg ); } } @keyframes load-circle{ 0%{ -webkit-transform : rotate( 0deg ); transform : rotate( 0deg ); } 100%{ -webkit-transform : rotate( 360deg ); transform : rotate( 360deg ); } } /* ---------------------- for JavaScript ここから ---------------------- */ form#mail_form dt { border-top: 1px solid rgba(183,183,183,0.7); margin-top: 2rem; padding-top: 2rem; } form#mail_form dt:first-child{ border-top: none; } form#mail_form dt:nth-child(9),form#mail_form dt:nth-child(13) { border-top: 1px dashed rgba(183,183,183,0.7); } form#mail_form dd:last-child{ padding-bottom: 2rem; border-bottom: 1px solid rgba(183,183,183,0.7); } form#mail_form input[type="text"], form#mail_form input[type="email"], form#mail_form input[type="tel"], form#mail_form textarea{ width : 100%; padding : 0.5rem 1rem; border : 1px solid #cccccc; border-radius : 3px; background : #efefef; -webkit-appearance : none; font-size : 18px; margin-top : 5px; } form#mail_form input[type="text"]:focus, form#mail_form input[type="email"]:focus, form#mail_form input[type="tel"]:focus, form#mail_form textarea:focus{ border : 2px solid #ff742e; background-color: #efefef; outline: none; } input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px #efefef inset; } form#mail_form ul li input[type="radio"], form#mail_form ul li input[type="checkbox"]{ margin-right : 10px; margin-top : 7px; } form#mail_form ul li:first-child input[type="radio"], form#mail_form ul li:first-child input[type="checkbox"]{ margin-top : 0px; } form#mail_form select{ font-size : 100%; margin-top : 5px; } form#mail_form textarea{ display : block; width : 100%; max-width : 100%; height : 200px; padding : 1rem; resize : vertical; border : 1px solid #cccccc; border-radius : 3px; background : #efefef; -webkit-appearance : none; font-size : 100%; font-family : inherit; } form#mail_form ul{ list-style-type : none; } form#mail_form ul li label:hover{ cursor : pointer; } form#mail_form input#postal{ width: 30%; } form#mail_form input#postal + a{ display : inline-block; padding : 5px 15px; background : #0059b6; border : 1px solid #0084e0; border-radius : 3px; color : #fff; font-family : inherit; text-decoration : none; transition: 0.3s; } form#mail_form input#postal + a:hover{ cursor : pointer; background : #fff; color: #0059b6; border : 1px solid #0084e0; } form#mail_form ul.kind-list li{ display: inline-block; min-width: 40%; } form#mail_form p#form_submit{ width : 90%; margin : 0 auto; padding : 30px 0 90px 0; } form#mail_form input[type="button"]{ font-size: 20px; font-size: 2rem; font-weight: bold; padding : 20px 55px; vertical-align : middle; line-height : 1; border: 1px solid #ff742e; background : #ff742e; border-radius : 0.5rem; color : #ffffff; -webkit-appearance : none; transition: 0.3s; } form#mail_form input[type="button"]:hover{ cursor : pointer; background : #fff; color: #ff742e; border: 1px solid #ff742e; } form#mail_form input[type="text"], form#mail_form input[type="email"], form#mail_form input[type="tel"], form#mail_form textarea { background-color: #efefef; } label { display: inline-block; margin-bottom: 0.5rem; padding-right: 2em; } /*---------- privacypolicy ----------*/ #privacypolicy { font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; border: solid 1px rgba(0,0,0,0.7); padding: 2rem; width: 80%; margin-top: 3rem; color: #37322e; h3 { font-weight: bold; font-size: 20px; font-size: 2rem; border: none; padding: 0; margin-bottom: 1rem; @include sm { font-size: 18px; font-size: 1.8rem; } @include xs { text-align: left!important; } } p { @include xs { font-size: 14px; font-size: 1.4rem; line-height: 1.7; } } } /*--------------------thanks--------------------*/ .thanks-box { h3 { font-weight: bold; font-size: 20px; font-size: 2rem; border: none!important; padding: 0; margin-bottom: 1rem!important; } p{ padding: 5rem 0 20rem 0; } .contact-button{ font-size: 18px; font-size: 1.8rem; font-weight: 500; padding : 1.5rem 5rem; border: 1px solid #ff742e; background : #ff742e; border-radius : 0.5rem; color : #fff; transition: 0.3s; &:hover{ cursor : pointer; background : #fff; color: #ff742e; border: 1px solid #ff742e; } } }