@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; } } //ブレイクポイントを指定------ここまで //カラー指定 $color-main:#009d42; $bright-green:#4cba7b; $soft-green:#bde2c9; $orange:#f3ac00; $soft-orange:#e8b86d; $light-yellow:#fff8a1; $pale-yellow:#f8f9e0; .site-header { background-color: #fff!important; } #header{ background: #efcd99 url("../img/header-contact.jpg") center / cover; } //introduction------------------------------------------------------------------ここから #introduction { position: relative; padding: 4rem 0 15rem; background: $pale-yellow; margin-bottom: 2rem; overflow: hidden; @include lg { padding: 4rem 0 13rem; } @include md { padding: 3rem 0 10rem; margin-bottom: 0; } @include md { padding: 3rem 0 7rem; margin-bottom: 2rem; } &::after { content: ""; position: absolute; bottom: -2px; width: 100%; height: 5.7vw; background-image: url(../../img/wave-white-top.svg); background-size: contain; background-repeat: no-repeat; left: 50%; transform: translateX(-50%); } p { span { display: block; font-size: 21px; font-size: 2.1rem; color: #513619; font-weight: 700; margin-top: 3rem; @include xs { font-size: 19px; font-size: 1.9rem; } } } .number-box { font-size: 36px; font-size: 3.6rem; font-weight: 700; padding: 1.25rem 0; border: solid 2px #513619; background-color: #fff; border-radius: 15px; letter-spacing: 0; @include lg { font-size: 30px; font-size: 3rem; } @include md { font-size: 27px; font-size: 2.7rem; } @include xs { font-size: 25px; font-size: 2.5rem; } span { color: $color-main; margin-right: 1rem; } a { color: #513619; } &:first-child { @include sm { margin-bottom: 2rem; } } } } //mail_form------------------------------------------------------------------ここから form#mail_form { padding-top: 2rem; dl { dt { margin-top: 0; padding-top: 0; font-weight: 600; &:first-child{ border-top: none; } &::before { display : inline-block; font-size: 90%; font-weight: normal; line-height : 1; margin-right: 1rem; padding: 0.4rem 0.5rem; border-radius: 3px; } } dt.required::before{ content: "必須"; color : #fff; background-color: $color-main; border: 1px solid $color-main; } dt.optional::before{ content: "任意"; color: $color-main; background-color: #fff; border: 1px solid $color-main; } dd { margin-bottom: 4rem; &:nth-child(2) { margin-top: 0.5rem; margin-bottom: 3rem; } span.error_blank, span.error_format, span.error_match{ display : block; color : #ff0000; margin-top : 3px; } } } input[type="text"], input[type="email"], input[type="tel"], textarea { width : 100%; padding : 0.5rem 1rem; border: 1px solid rgba(0,157,66,0.5); border-radius : 3px; background : #F5F9EC; -webkit-appearance : none; font-size : 18px; font-size : 1.8rem; margin-top : 5px; &:focus { border : 1px solid $color-main; background-color: #F5F9EC; outline: none; } } input[type="radio"], input[type="checkbox"]{ margin-right : 5px; margin-left: 0; accent-color: #513619; } label { margin-right: 2em; } select{ font-size : 100%; margin-top : 5px; } input#postal { width: 30%; @include xs { width: 40%; } &+a { display : inline-block; padding : 5px 15px; margin-left: 0.5rem; background : #EEEBE8; border : 1px solid #513619; border-radius : 3px; color : #513619; font-family : inherit; text-decoration : none; transition: 0.3s; &:hover { cursor : pointer; background : #513619; color: #fff; } } } p#form_submit{ width : 90%; margin : 0 auto; padding: 5rem 0 10rem 0; } input[type="button"]{ font-weight: 600; font-size: 20px; font-size: 2rem; letter-spacing: 0.06em; padding : 1.4rem 6rem; vertical-align : middle; line-height : 1; border: 1px solid $color-main; background : $color-main; color: #fff; -webkit-appearance : none; border-radius: 6px; transition: 0.3s; @include xs { letter-spacing: 0; padding : 1.4rem 3.5rem; } &:hover { cursor : pointer; background : #fff; color: $color-main; } } // オートコンプリートの背景色 input:-webkit-autofill { box-shadow: 0 0 0 1000px #F5F9EC inset; } 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 ); } } .form-check { font-size: 18px; font-size: 1.8rem; font-weight: 500; margin: 3rem auto 0; padding: 0; @include xs { font-size: 16px; font-size: 1.6rem; } label { margin: 0; &:before { display : inline-block; content: "必須"; color : #fff; background-color: $color-main; border: 1px solid $color-main; font-size: 90%; font-weight: normal; line-height : 1; margin-right: 1rem; padding: 0.4rem 0.5rem; border-radius: 3px; } input { margin: 0 0 0 0.5rem; } } } #form_submit_button:disabled { background-color: #ccc; cursor: not-allowed; opacity: 0.6; border: 1px solid #ccc; color: #fff; } } //privacy-policy------------------------------------------------------------ここから .privacy-policy{ overflow: scroll; height: 215px; border: 1px solid rgba(0,157,66,0.5); border-radius: 3px; padding: 2rem; margin-top: 2rem; background-color: #fff; line-height: 1.75; h4 { font-size: 22px; font-size: 2.2rem; font-weight: 700; margin-bottom: 2rem; @include xs { font-size: 20px; font-size: 2rem; margin-bottom: 1rem; } } p { text-align: justify; span { display: block; font-weight: 500; } } } //thanks-box--------------------------------------------------------------------ここから .thanks-box { background: $pale-yellow; padding: 6rem 0 10rem; h3 { font-size: 26px; font-size: 2.6rem; color: #009d42; font-weight: 600; line-height: 1.5em; margin-bottom: 1.5rem; } p { margin-bottom: 5rem; } // a { // display: inline-block; // font-weight: bold; // padding: 1.4rem 6rem; // vertical-align: middle; // line-height: 1; // border: 1px solid $color-main; // background: $color-main; // color: #fff; // -webkit-appearance: none; // transition: 0.3s; // &:hover { // color: $color-main; // background-color: #fff; // } // } }