@import "config.scss"; //////////////////////////////////////////////////////////////// /////extend////////////////////////////// /********************************************/ /*layout Base */ /********************************************/ /***************************/ /**Color */ /***************************/ .co_red { color: $red; } /***************************/ /**bg */ /***************************/ .bg_red { background-color: $red; } .bg_red_light { background-color: $red_light; border: 1px solid $red; } /********************************************/ /* ttl */ /********************************************/ .border_left_ttl { position: relative; margin-bottom: 1.5em; font-size: 3.0rem; letter-spacing: 0.1em; &:after { position: absolute; left: 0; bottom: -0.5em; content: ''; width: 4em; height: 5px; background-color: #333; border-radius: 10px; } } .center_bottom_ttl { text-align: center; position: relative; margin-bottom: 1.5em; font-size: 3.0rem; letter-spacing: 0.1em; span { font-size: 1em; } &:after { @include po_center(auto,0,-0.5em,0); content: ''; width: 4em; height: 5px; background-color: #333; border-radius: 10px; } } .border_left_ttl_red { .ttl { font-size: clamp(2.2rem,2vw,2.4rem); font-weight: bold; position: relative; padding-left: .8em; margin-bottom: 1em; line-height: 1.5; &:before { content: ''; @include po_absolute(8px,null,null,0); width: 6px; height: 70%; background-color: $red; } } } .border_bottom_ttl_sep { .ttl { font-size: 2rem; font-weight: bold; position: relative; margin-bottom: 1.3em; border-bottom: 3px solid $txt_base; padding-bottom: .5em; &:before { content: ''; @include po_absolute(null,null,-3px,0); width: 150px; height: inherit; border-bottom: 3px solid $red; } } } /********************************************/ /* btn */ /********************************************/ .bg_btn { a { position: relative; display: block; padding: 1.7em 0.5em; color: #fff; text-align: center; z-index: 2; span { display: inline-block; vertical-align: middle; color: inherit; font-size: 1em; font-weight: bold; } i { display: inline-block; vertical-align: middle; margin-right: 8px; } } } .red_btn { a { background-color: $red; &:hover { background: #C13932; } } } .gray_btn { a { background-color: #666; &:hover { background: #999; } } } .list_btn { width: 100%; a { display: block; width: 100%; max-width: 220px; padding: 1.3em 1em; margin: auto; background-color: $txt_base; color: #fff; font-size: 1.4rem; font-weight: bold; position: relative; @include animate03(); &:before { content: '■'; margin-right: 1em; font-size: .7em; } } } .contact_btn { a { display: block; margin: auto; padding: 1.1em 1em 1.2em 2em; background-color: $red; width: 100%; max-width: 340px; text-align: center; @include animate03(); span { color: #fff; font-size: 1.4rem; font-weight: bold; position: relative; &:before { @include arrow_right(#fff,null,-25px); } } } } .pdf_btn { a { position: relative; padding-left: 1.7em; text-decoration: underline !important; font-size: clamp(1.4rem,1.5vw,1.6rem); @include animate03(); &:before { content: url(../img/common/ico-pdf.svg); @include po_absolute(50%,null,null,0); transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); } } } /********************************************/ /* 追加 */ /********************************************/ .object_fit { position: relative; &:after { content: ""; display: block; padding-top: 100%; } img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; font-family: 'object-fit: cover;'; /*IE対策*/ } } /********************************************/ /* list */ /********************************************/ .dotto_list { li { text-indent: -1em; padding-left: 1em; &:before { content: '・'; font-weight: bold; } } } .note_list { li { text-indent: -1.5em; padding-left: 1.5em; line-height: 1.7; font-size: 1.4rem; &:before { content: '※'; margin-right: .5em; } } } .check_list,.error_list { li { padding-left: 2.3em; font-size: clamp(1.4rem,1.5vw,1.6rem); line-height: 1.7; position: relative; &:not(:last-child) { margin-bottom: 1em; } &:before { content: ''; @include po_absolute(0,null,null,0); display: block; width: 27px; height: 27px; } } } .check_list { li { &:before { background: url(../img/common/ico-check.svg) no-repeat center / contain; } } } .error_list { li { &:before { background: url(../img/common/ico-error.svg) no-repeat center / contain; } } } /********************************************/ /* txt */ /********************************************/ .txt_bold { font-weight: bold; } /*=============================================*/ /*media query SmartPhone */ /*=============================================*/ @media screen and (max-width: $breakpoint_sp) { /********************************************/ /* ttl */ /********************************************/ .border_left_ttl { font-size: 2.3rem; &:after { height: 3px; } } .center_bottom_ttl { font-size: 2.3rem; &:after { height: 3px; } } .border_left_ttl_red { .ttl { margin-bottom: .7em; } } /********************************************/ /* btn */ /********************************************/ .bg_btn { a { font-size: 1.4rem; } } /********************************************/ /* list */ /********************************************/ .note_list { li { text-align: left; } } .check_list,.error_list { li { padding-left: 2em; &:before { width: 20px; height: 20px; top: 5px; } } } }