/*######################################################################
共通設定
######################################################################*/
@charset "UTF-8";

:root {
    
    /* font */
    --noto-sans-jp: "Noto Sans JP", sans-serif;
    --noto-serif-jp: "Noto Serif JP", serif;
    --shippori-mincho: "Shippori Mincho", serif;


    /*--------------- 一括設定 ---------------*/
    
    /* フォントの種類 */
    --common__font-family: var(--noto-sans-jp);
    /* フォントサイズ */
    --common__font-size: 1.125cqw;
    /* フォントサイズ（レスポンシブ） */
    --common__font-size__responsive: 3.5cqw;
    /* フォントカラー */
    --common__p--color: #10204A;
    /* フォントウェイト */
    --common__font-weight: 400;
    /* メインコンテンツwidth */
    --main__content--width: 520px;
}

/* @font-face {
    font-family: 'LINE Seed JP';
    src: url('../fonts/LINESeedJP_OTF_Rg.woff2') format('woff2'),
        url('../fonts/LINESeedJP_OTF_Rg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
} */

/* @font-face {
    font-family: 'LINE Seed JP';
    src: url('../fonts/LINESeedJP_OTF_Bd.woff2') format('woff2'),
        url('../fonts/LINESeedJP_OTF_Bd.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
} */

body {
    font-family: var(--common__font-family);
    font-weight: var(--common__font-weight);
    font-style: normal;
    width: 100%;
    height: 100%;
    
    color: var(--common__p--color);
    container-type: inline-size;
    
    &::before {
        content: "";
        display: block;
        width: 100%;
        height: 100dvh;
        position: fixed;
        top: 0;
        left: 0;
        background-image: url("../images/bg-pc.webp");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    &.page {
        margin: 0 auto;
    }
}

.site {
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
}

h1,
p,
figure {
    margin: 0;
}

/* imgタグの調整 */
img {
    vertical-align: top;
    width: 100%;
}

/* SPでのみ表示 */
.sp {
    display: none;
}

/* SPでのみ折り返し */
.br__sp {
    display: none;
}

/*--------------- メインコンテンツ ---------------*/

#content {

}

/*######################################################################
コンテンツ

    clamp: 記述なし = 320-768 768-1440
######################################################################*/

/*------------------------------------------------------------
header
------------------------------------------------------------*/

.btn__home {
    position: fixed;
    right: 3%;
    bottom: 3%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: .2s;

    button{
        background: #333333;
        color: #ffffff;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        aspect-ratio: 1;
        font-size: 1.2rem;
        font-weight: 700;
        font-family: inherit;
        line-height: 1.2;
        padding: 0 1.2em;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    }
}

.is-active {
  opacity: 1;
  visibility: visible;
}

/*--------------- カラム ---------------*/

.column--left,
.column--right {
    width: calc( (100% - var(--main__content--width)) / 2);
}


.column--left {
    order: 1;
    container-type: inline-size;

    .cta__pc {
        width: 100%;
        height: 100dvh;
        position: sticky;
        top: 0;
        left: 0;
        display: grid;
        place-items: center;
    }
    
    .cta__pc__inner {
        width: 90%;
        max-width: 480px;
        container-type: inline-size;
    }
}

.column--center {
    order: 2;
    container-type: inline-size;
    position: relative;
    font-size: var(--common__font-size);
    background-color: #ffffff;
    width: var(--main__content--width);
    max-width: 100%;
}

.column--right {
    order: 3;
    container-type: inline-size;
}

/*------------------------------------------------------------
cta
------------------------------------------------------------*/

.cta__wrapper {
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 100%;
}

.cta__s-2 {
    top: 2%;
}

.cta__s-6 {
    bottom: 2%;
}

.cta__s-9 {
    top: 36%;
}

.cta__s-11 {
    bottom: 3%;
}

.cta {
    position: relative;
    display: grid;
    place-items: center;
}

.cta__bg {
    position: relative;
    width: 95%;
    container-type: inline-size;
}

.btn {
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
}

.btn__cta {
    width: 89%;
    top: 68%;
}

.btn__cta__inner {
    position: relative;
}

/*------------------------------------------------------------
price
------------------------------------------------------------*/

.price {
    position: absolute;
    font-family: inherit;
    font-weight: inherit;
    width: fit-content;
}

.comma {
    margin-left: -0.05em;
    margin-right: -0.08em;
}

.small {
    font-size: 0.6em;
}

.cta__price--1 {
    top: 25.5%;
    left: 47%;
    font-size: 10cqw;
    color: #B92C31;
    font-family: var(--shippori-mincho);
    font-style: italic;
}

.normal {
    font-size: 3.5cqw;

    &::before {
        content: "";
        position: absolute;
        top: 20%;
        left: 35%;
        width: 65%;
        height: 100%;
        background-image: url('../images/line-red.webp');
        background-repeat: no-repeat;
        background-size: contain;
    }

    .comma {
        margin-left: -0.02em;
        margin-right: -0.02em;
    }
    
}

.discount {
    font-size: 12.9cqw;
    color: #E94619;
    font-family: var(--shippori-mincho);
    font-style: italic;
    letter-spacing: -0.03em;
}

.price--1{
    top: 12%;
}

.price--2-1{
    top: 11.9%;
    left: 14%;
}

.price--2-2{
    top: 11.1%;
    left: 41.4%;
}

.price--3-1{
    top: 31.5%;
    left: 16%;
}

.price--3-2{
    top: 31%;
    left: 45.2%;
}

.price--4-1{
    top: 54.5%;
    left: 18%;
}

.price--4-2{
    top: 54%;
    left: 46.2%;
}

/*------------------------------------------------------------
section
------------------------------------------------------------*/

[class^="s-"] {
    position: relative;
}

/*--------------- slider ---------------*/
.slider {
    position: absolute;
    bottom: 4%;
    left: 0;
    right: 0;
    margin-inline: auto;
    font-size: 2cqw;
    
    article {
        
        img {
            width: 85%;
            margin-inline: auto;
            
        }
    }
    
    /* 基本レイアウト */
    .slider__container {
        /* max-width: 60em; */
        /* margin: 1em auto; */
        position: relative;
    }
    
    input {
        display: none;
    }
    
    .inner {
        width: 300%; /* 3枚分に変更 */
        line-height: 0;
    }
    
    article {
        width: 33.33333%; /* 3枚分に変更 */
        float: left;
        position: relative;
    }
    
    article img {
        width: 100%;
    }
    
    /* コントロール（矢印部分）の土台 */
    .slider-prev-next-control {
        /* height: 50px; */
        position: absolute;
        top: 50%;
        width: 100%;
        transform: translateY(-50%);
    }
    
    .slider-prev-next-control label {
        display: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fff;
        opacity: 0.7;
        cursor: pointer;
    }
    
    .slider-prev-next-control label:hover {
        opacity: 1;
    }
    
    /* ドットナビゲーション */
    .slider-dot-control {
        /* position: absolute; */
        width: 100%;
        /* bottom: 0; */
        text-align: center;
        margin-top: 4%;
    }
    
    .slider-dot-control label {
        cursor: pointer;
        border-radius: 50%;
        display: inline-block;
        width: 1.25em;
        aspect-ratio: 1;
        background: #bbb;
        transition: all 0.3s;
    }
    
    .slider-dot-control label:hover {
        background: #ccc;
        border-color: #777;
    }
    
    /* スライダーアニメーション設定 */
    .slide__wrapper {
        width: 100%;
        overflow: hidden;
        border-radius: 5px;
        /* box-shadow: 1px 1px 4px #666; */
        /* background: #fcfff4; */
        transform: translateZ(0);
        transition: all 500ms ease-out;
    }
    
    .slide__wrapper .inner {
        transform: translateZ(0);
        transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
    }
    
    /* 矢印（疑似要素）の共通設定 */
    #slide1:checked ~ .slider-prev-next-control label::after,
    #slide2:checked ~ .slider-prev-next-control label::after,
    #slide3:checked ~ .slider-prev-next-control label::after {
        font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
        font-weight: 900; /* アイコン表示に必須 */
        font-style: normal;
        display: block;
        font-size: 3em;
        line-height: 38px;
        text-align: center;
        color: #777;
    }
    
    /* 次へ（NEXT）の制御 */
    #slide1:checked ~ .slider-prev-next-control label:nth-child(2),
    #slide2:checked ~ .slider-prev-next-control label:nth-child(3),
    #slide3:checked ~ .slider-prev-next-control label:nth-child(1) {
        display: block;
        float: right;
        margin-right: 5px;
    }
    
    #slide1:checked ~ .slider-prev-next-control label:nth-child(2)::after,
    #slide2:checked ~ .slider-prev-next-control label:nth-child(3)::after,
    #slide3:checked ~ .slider-prev-next-control label:nth-child(1)::after {
        content: "\f105"; /* NEXT: > */
    }
    
    /* 前へ（PREV）の制御 */
    #slide1:checked ~ .slider-prev-next-control label:nth-child(3),
    #slide2:checked ~ .slider-prev-next-control label:nth-child(1),
    #slide3:checked ~ .slider-prev-next-control label:nth-child(2) {
        display: block;
        float: left;
        margin-left: 5px;
    }
    
    #slide1:checked ~ .slider-prev-next-control label:nth-child(3)::after,
    #slide2:checked ~ .slider-prev-next-control label:nth-child(1)::after,
    #slide3:checked ~ .slider-prev-next-control label:nth-child(2)::after {
        content: "\f104"; /* PREV: < */
    }
    
    /* スライドの切り替え動作 */
    #slide1:checked ~ .slide__wrapper .inner { margin-left: 0%; }
    #slide2:checked ~ .slide__wrapper .inner { margin-left: -100%; }
    #slide3:checked ~ .slide__wrapper .inner { margin-left: -200%; }
    
    /* アクティブなドット */
    #slide1:checked ~ .slider-dot-control label:nth-child(1),
    #slide2:checked ~ .slider-dot-control label:nth-child(2),
    #slide3:checked ~ .slider-dot-control label:nth-child(3) {
        background: #333;
    }
    
    /* 情報表示の不透明度 */
    #slide1:checked ~ .slide__wrapper article:nth-child(1) .info,
    #slide2:checked ~ .slide__wrapper article:nth-child(2) .info,
    #slide3:checked ~ .slide__wrapper article:nth-child(3) .info {
        opacity: 1;
    }
    
    /* レスポンシブ */
    @media only screen and (max-width: 850px) {
        .slide__wrapper { border-radius: 0; }
    }
    @media only screen and (max-width: 450px) {
        .slide__wrapper .info { opacity: 0; }
    }
}

/*--------------- s-2 ---------------*/
.s-2 {
    margin-top: -1px;
    margin-bottom: -29%;
    z-index: 4;
}

/*--------------- s-3 ---------------*/
.s-3 {
    margin-bottom: -23%;
    z-index: 3;
}

/*--------------- s-4 ---------------*/
.s-4 {
    margin-bottom: -14%;
    z-index: 2;
}

/*--------------- s-5 ---------------*/
.s-5 {
    margin-bottom: -16%;
}

/*--------------- s-7 ---------------*/
.s-7 {
    margin-bottom: -59%;
    z-index: 5;
}

/*--------------- s-8 ---------------*/
.s-8 {
    margin-bottom: -39%;
    z-index: 4;
}

/*--------------- s-9 ---------------*/
.s-9 {
    margin-bottom: -13%;
    z-index: 3;
}

/*--------------- s-10 ---------------*/
.s-10 {
    margin-bottom: -15%;
    z-index: 2;
}

/*--------------- s-11 ---------------*/
.s-11 {
    margin-bottom: -6%;
}

/*--------------- info ---------------*/
.google-map {
    position: absolute;
    top: 26%;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 75%;
    aspect-ratio: 3 / 2;

    iframe {
        width: 100%;
        height: 100%;
    }
}

.info__item {
    position: absolute;
    left: 9.5%;
    font-size: 3.7cqw;
    white-space: pre-wrap;
    line-height: 1.4;
    color: #ffffff;
}

.info__item--1 {
    top: 62%;
}

.info__item--2 {
    top: 70%;
}

.info__item--3 {
    top: 78.3%;
}

.info__item--4 {
    top: 86.5%;
}

/*------------------------------------------------------------
footer
------------------------------------------------------------*/

.site-footer {
    font-family: inherit;
    font-weight: inherit;
    font-size: 3cqw;
    padding: 2em 0;
    color: #ffffff;
    background-color: #10204A;
}

.footer__nav {

    ul {
        display: flex;
        justify-content: center;
        gap: 2em;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: none;
    }
}

.copyright__copyright {
    text-align: center;
    margin-top: 1em;
}

/*######################################################################
responsive
######################################################################*/

@media (width < 1080px) {

    .cta__pc,
    .logo__pc {
        display: none !important;
    }
}

@media (width < 768px) {
    /* SPでのみ表示 */
    /* SPでのみ改行 */
    .sp,
    .br__sp {
        display: block;
    }

    /* PCでのみ表示 */
    /* PCでのみ改行 */
    .pc,
    .br__pc {
        display: none;
    }

    /* TOPPAGEボタン */
    .btn__home {
        display: none;
    }
}
