@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-pink: #ed848b; $color-blue: #007ac5; $color-yellow: #fff2cb; $color-orange: #f8ad4e; //frame---------------------------------- .frame { background-color: #FFFFFF; border: solid 1px $color-pink; margin: 1.5rem 2rem 5rem 2rem; h2{ color: $color-pink; font-size: 23px; font-size: 2.3rem; border-left: 5px solid #FFE6A1; margin: 3rem 0 2rem 0; padding: 0.5rem 1.5rem; } h3{ font-size: 18px; font-size: 1.8rem; color: #4D4D4D; font-weight: 500; margin-top: 3rem; &:before{ font-family: "Font Awesome 5 Free"; content: "\f138"; font-weight: 900; padding: 10px 5px 0px 0px; color: #4D4D4D; display: inline-block; } } } #privacypolicy{ margin-bottom: 5rem; } /* ---------------------- for JavaScript ここから ---------------------- */ form#mail_form dl dt{ font-weight: normal; } 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: $color-pink; font-size: 90%; 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: 2px solid #c3c3c3; margin-top: 2rem; padding-top: 2rem; } //form#mail_form dt:first-child{ // border-top: none; //} form#mail_form dt:nth-child(5),form#mail_form dt:nth-child(9),form#mail_form dt:nth-child(13) { border-top: 2px dashed #c3c3c3; } form#mail_form dd:last-child{ padding-bottom: 2rem; border-bottom: 1px solid #c3c3c3; } form#mail_form dl .name-container{ display: flex; align-items: center; margin-top: 1rem; input{ margin-right: 2rem; @include xs{ margin-right: 1rem; } } } 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 : 14px; 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 : 1px solid #595858; background-color: #ededed; } 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; background: #F0F0F0; font-size: 14px; padding: 0.5rem 1rem; border: 1px solid #B1B1B1; border-radius: 0.3rem; width: 50%; position: relative; appearance: none; -webkit-appearance: none; -moz-appearance: none; @include xs { width: 70%!important; } } .select-container{ position: relative; &:after { font-family: "Font Awesome 5 Free"; content: "\f078"; font-weight: 900; padding: 12px; color: #B1B1B1; display: inline-block; position: absolute; right: 50%; pointer-events: none; @include xs { right: 30%!important; } } } 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 : $color-blue; border-radius : 3px; color : #fff; font-family : inherit; text-decoration : none; } form#mail_form input#postal + a:hover{ background : #fff; color: $color-blue; border: solid 1px$color-blue; } 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 60px 0; } form#mail_form input[type="button"]{ padding: 13px 55px; vertical-align: middle; line-height: 1; border: 1px solid #ed848b; background: #ed848b; border-radius: 4.5rem; color: #ffffff; -webkit-appearance: none; @include xs{ width: 80%; margin: auto!important; } } form#mail_form input[type="button"]:hover{ cursor : pointer; background : #fff; color: #ed848b; border: 1px solid #ed848b; } form#mail_form #form_reset input[type="button"]{ margin-right: 3rem; background : #B1B1B1; border: 1px solid #B1B1B1; } form#mail_form #form_reset input[type="button"]:hover{ background : #fff; color: #B1B1B1; } form#mail_form input[type="text"], form#mail_form input[type="email"], form#mail_form input[type="tel"], form#mail_form textarea { background-color: #F0F0F0; } #mainarea section p:nth-child(1) { @include sm{ text-align: justify!important; } } #mainarea section p:nth-child(1) br { @include sm{ display: none; } } h3 br{ @include sm{ display: inline-block; } } label span { margin-left: 1rem; margin-right: 2rem; vertical-align: middle; } .form-button{ display: flex; justify-content: center; align-items: center; border-top: 2px solid #c3c3c3; padding-top: 3rem; margin-bottom: 5rem; @include xs{ display: block!important; } }