/* Vendor */ @import "compass"; /* Site settings */ @import "settings"; // ブレイクポイント $newbreak-pc: 999px; $newbreak-tb: 768px; $newbreak-sp: 540px; $second-color:#005194; //ラッパー @mixin wrap($wrap-width) { padding: 0 20px; max-width: calc(#{$wrap-width} + 40px); margin: 0 auto; @media screen and (max-width:$break-sp) { padding: 0 10px; } } /*----------------------------- 「ご登録の前に」モーダル ----------------------------*/ /*--moddal調整--*/ .moddsls { display:none; } .modaal-close { //閉じるボタン position:fixed; right:20px; top:20px; color:#fff; cursor:pointer; opacity:1; width:50px; height:50px; background:rgba(0, 0, 0, 0); border-radius:100%; transition:all 0.2s ease-in-out; &:focus, &:hover { outline:none; background:#fff; } &:after, &:before{ background:#ccc; } &:focus:before, &:focus:after, &:hover:before, &:hover:after { background:#666; } } .modaal-overlay { //背景 z-index:10002 !important; background:rgba(255,255,255,1) !important; opacity:.9 !important; } .modaal-wrapper { //ヘッダーに被らないように z-index:10003 !important; } .modaal-inner-wrapper { @media screen and (max-width:$newbreak-sp) { padding:40px 20px !important; } } .modaal-container { max-width:700px !important; } /*-------モーダル内部----------------------*/ .modaal-content-container { padding:70px !important;; @media screen and (max-width:$newbreak-tb) { padding:50px !important;; } @media screen and (max-width:$newbreak-sp) { padding:40px 20px !important;; } h2 { font-size:24px; line-height:1.3; font-weight:bold; color:$second-color; text-align:center; @media screen and (max-width:$newbreak-sp) { font-size:19px; } } .txtbox { margin:45px auto; text-align:center; @media screen and (max-width:$newbreak-sp) { margin:30px auto; text-align:left; } p { font-size:15px; line-height:1.7; font-weight:500; &:not(:last-child) { margin-bottom:30px; @media screen and (max-width:$newbreak-sp) { margin-bottom:20px; } } @media screen and (max-width:$newbreak-tb) { br.on_pc { display:none; } } } } .closemd_btn { //確認ボタン margin:0 auto; cursor:pointer; width:196px; height:38px; border-radius:5px; background:$second-color; display:flex; justify-content:center; align-items:center; color:#fff; font-size:15px; line-height:1; font-weight:bold; transition:all .2s; &:hover { opacity:.7; } @media screen and (max-width:$newbreak-sp) { transition:unset; &:hover { opacity:1; } } } } /*----------------------------- 6つのメリット ----------------------------*/ #merits { background: #f5f5f5; padding: 60px 40px 50px; margin: 60px 0 50px; @media screen and (max-width:$break-pc) { padding: 50px 20px 10px; } @media screen and (max-width:$break-sp) { padding: 35px 0 10px; margin: 0 calc(50% - 50vw) 20px; width: 100vw; } h2 { font-size: 24px; font-weight: 700; color: $base-color; text-align: center; @media screen and (max-width:$break-sp) { font-size: 20px; padding: 0 20px; } } .leads { font-size: 14px; line-height: 24px; margin: 35px 0 50px; text-align: center; @media screen and (max-width:$break-sp) { padding: 0 20px; margin: 25px 0; text-align: left; } } ul { display: flex; justify-content: space-between; @media screen and (max-width:$break-pc) { flex-wrap: wrap; } li { width: calc((100% - 5px ) / 6); @media screen and (max-width:$break-pc) { width: calc((100% - 2px ) / 3); margin-bottom: 30px; } @media screen and (max-width:$break-sp) { width: calc((100% - 1px ) / 2); margin-bottom: 20px; } &:not(:last-child) { border-right: 1px solid #ddd; } @media screen and (max-width:$break-pc) { &:nth-of-type(3) {border: none;} } @media screen and (max-width:$break-sp) { &:nth-of-type(3) {border-right: 1px solid #ddd;} &:nth-of-type(even) {border: none;} } a { display: block; .ico-images { width: 65px; margin: 0 auto; display: block; img {display:block; width:100%;} @media screen and (max-width:$break-sp) { width: 50px; } } p:nth-of-type(1) { font-size: 11px; color: $font-color; font-weight: 700; margin: 15px 0; display: block; text-align: center; @media screen and (max-width:$break-sp) { margin: 5px 0; line-height: 15px; } } p:nth-of-type(2) { font-size: 10px; color: $base-color; text-align: center; transition: all 0.3s; span { width: 10px; margin-left: 5px; display: inline-block; position: relative; top: -2px; img {display:block; width:100%;} } } &:hover { p:nth-of-type(2) { transform: translateX(5px); } } } } } } /*-------6つのメリットモーダル内部----------------------*/ .modal-in img { width:100%; display:block; } .modin-ti { width:60px; margin:0 auto; } .modin-te { font-size: 13px; font-weight:$font-thick; color:$link-color; } .modin-tt { font-size: 22px; font-weight:$font-thick; margin-top:10px; } .modin-check { background-color:$base-color; text-align:left; display:block; color:#fff; margin-top:30px; } .modin-check-ti { font-size: 12px; font-weight:$font-thick; background-color:$link-color; padding:3px 5px; width:45px; line-height:12px; display:block; } .modin-check-di { font-size: 16px; padding:10px 20px 20px; text-align:justify; } .modin-voice { @include display-flex(flex); @include flex-direction(column); @include justify-content(space-between); margin-top:25px; text-align:center; } .modin-voice-left {margin:0 auto 20px;} .modin-voice-tic {width:40px; margin:0 auto;} .modin-voice-ti { font-size: 17px; font-weight:$font-thick; color:$base-color; margin-top:5px; } .modin-voice-right { width:100%; li { display:-webkit-flex; display:flex; &:not(:first-child) { margin-top:15px; } } } .mvr-number {width:16px; height:16px; background-color:$base-color; color:#fff; line-height:16px; vertical-align:middle; text-align:center; margin-top:5px;} .mvr-de {flex:1; margin-left:8px; text-align:left;} .modin-visual {margin-top:35px;} .modin-visual-im {max-width:530px; margin:0 auto;} .modin-presentlink { text-align:right; margin-top:5px; a { font-size: 13px; text-decoration:underline; } } .modin-btns { @include display-flex(flex); @include flex-direction(column); margin-top:30px; } .modin-btns-other { @include justify-content(center); } .modin-btns a {display:block; color:#fff;} .modin-btns-blue, .modin-btns-red { width:100%; font-size: 16px; font-weight:$font-thick; } .modin-btns-blue { margin-bottom:15px; a { background-color:$base-color; border-radius:4px; padding:10px 0; border:2px solid $base-color; &:hover { background-color:#fff; color:$base-color; opacity:1; } } } .modin-btns-red a { background-color:$link-color; border-radius:4px; padding:10px 0; border:2px solid $link-color; &:hover { background-color:#fff; color:$link-color; opacity:1; } } @media screen and (min-width:$break-sp) { .modin-check-di {padding:10px 30px 20px;} .modin-voice { @include flex-direction(row); @include justify-content(space-between); margin-top:45px; text-align:left; } .modin-voice-left { @include display-flex(flex); @include flex-direction(column); margin:0; width:26%; border-right:1px solid #ddd; } .modin-voice-tic {padding-left:40px; margin:0;} .modin-voice-right {width:69%;} .modin-visual {border:2px solid $base-color; padding:25px; margin-top:35px;} .modin-btns { @include flex-direction(row); @include justify-content(space-between); } .modin-btns-other { @include justify-content(center); } .modin-btns-blue, .modin-btns-red {width:48%;} .modin-btns-blue {margin-bottom:0;} } //remodal custome .remodal-overlay { background: rgba(0, 0, 0, 0.9); } .remodal { padding:20px; } .remodal-close { right: 0; } @media only screen and (min-width:641px) { .remodal { padding:60px; } }