/*######################################################################
共通設定
######################################################################*/
@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: #303030;
    /* メインコンテンツ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; /* Bold */
    font-style: normal;
    font-display: swap;
}

body {
    font-family: var(--shippori-mincho);
    font-weight: 400;
    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;

    .logo {
        width: 100%;
        height: 100dvh;
        position: sticky;
        top: 15%;
        left: 0;
        display: grid;
        place-items: start center;
    }

    .logo__inner {
        width: 50%;
        max-width: 192px;
    }
}

.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__pc {
        width: 100%;
        height: 100dvh;
        position: sticky;
        top: 25%;
        left: 0;
        display: grid;
        place-items: center;
    }
    
    .cta__pc__inner {
        width: 90%;
        max-width: 480px;
        container-type: inline-size;
    }
}

/*------------------------------------------------------------
cta
------------------------------------------------------------*/

.cta {
    position: relative;
    display: grid;
    place-items: center;
}

.cta__bg {
    width: 71%;
}

.btn {
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
}

.btn__cta {
    width: 98%;
    top: 39%;
}

.btn__cta__inner {
    position: relative;
}

.cta__price--1 {
    top: 37%;
    left: 16%;
    font-size: 4.6cqw;
    color: #ffffff;
}

.cta__price--2 {
    top: 31%;
    left: 33.5%;
    font-size: 12cqw;
    color: #fcfc86;
}

.cta__price--3 {
    top: 2%;
    left: 72.5%;
    font-size: 7cqw;
    color: #ffffff;
}

.cta__line {
    position: absolute;
    top: 41%;
    left: 16%;
    width: 16%;
}

/*------------------------------------------------------------
section
------------------------------------------------------------*/

[class^="s-"] {
    position: relative;
}

.price {
    position: absolute;
    font-family: inherit;
    font-weight: inherit;
}

.comma {
    margin-left: -0.05em;
    margin-right: -0.05em;
}

.small {
    font-size: 0.6em;
}

/*--------------- s-1 ---------------*/
.s-1 {
    margin-bottom: -6%;
}

.s-1__price--1 {
    bottom: 19.3%;
    left: 42.5%;
    font-size: 10.1cqw;
}

.s-1__price--2 {
    bottom: 12%;
    left: 38%;
    font-size: 19cqw;
    color: #d9484b;
}

.s-1__price--3 {
    bottom: 20.4%;
    left: 16%;
    font-size: 8cqw;
    color: #ffffff;
}

.s-1__line {
    position: absolute;
    bottom: 20.1%;
    left: 43%;
    width: 33%;
}

/*--------------- s-2 ---------------*/
.s-2 {
    margin-top: -4%;

    .slider {
        position: absolute;
        bottom: 5%;
        left: 0;
        right: 0;
        margin-inline: auto;
        font-size: 2cqw;

        article {
            
            img {
                width: 85%;
                margin-inline: auto;
                
            }
        }
    }

/* 基本レイアウト */
.wrapper {
  /* 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;
}

/* 情報ボックス */
.info {
  position: absolute;
  font-style: italic;
  line-height: 20px;
  opacity: 0;
  color: #000;
  text-align: left;
  transition: all 1000ms ease-out 600ms;
}

.info h3 {
  color: #fcfff4;
  margin: 0 0 5px;
  font-weight: normal;
  font-size: 1.5em;
  font-style: normal;
}

.info.top-left { top: 30px; left: 30px; }
.info.top-right { top: 30px; right: 30px; }
.info.bottom-left { bottom: 30px; left: 30px; }
.info.bottom-right { bottom: 30px; right: 30px; }

/* スライダーアニメーション設定 */
.slider-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
  /* box-shadow: 1px 1px 4px #666; */
  /* background: #fcfff4; */
  transform: translateZ(0);
  transition: all 500ms ease-out;
}

.slider-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 ~ .slider-wrapper .inner { margin-left: 0%; }
#slide2:checked ~ .slider-wrapper .inner { margin-left: -100%; }
#slide3:checked ~ .slider-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 ~ .slider-wrapper article:nth-child(1) .info,
#slide2:checked ~ .slider-wrapper article:nth-child(2) .info,
#slide3:checked ~ .slider-wrapper article:nth-child(3) .info {
  opacity: 1;
}

/* レスポンシブ */
@media only screen and (max-width: 850px) {
  .slider-wrapper { border-radius: 0; }
}
@media only screen and (max-width: 450px) {
  .slider-wrapper .info { opacity: 0; }
}

}

/*--------------- s-4 ---------------*/
.s-4 {
    margin-top: -5.5%;
    margin-bottom: 12%;
}

/*--------------- s-5 ---------------*/
.s-5 {
    margin-bottom: -16%;
}

/*--------------- s-6 ---------------*/
.s-6__price--1{
    top: 33.1%;
    left: 26%;
    font-size: 10.1cqw;
    color: #171717;
}

.s-6__price--2{
    top: 35%;
    left: 28.5%;
    font-size: 21cqw;
    color: #d9484b;
    font-style: italic;

    .comma {
        font-size: 0.7em;
    }

}

.s-6__price--3{
    top: 32%;
    left: 69.5%;
    font-size: 10cqw;
    color: #fcfc86;
}

.s-6__line {
    position: absolute;
    top: 33.9%;
    left: 25%;
    width: 33%;
}

.cta__s-6 {
    margin: 6% auto;
}

/*--------------- s-8 ---------------*/
.s-8 {
    z-index: 2;
}

/*--------------- s-9 ---------------*/
.s-9 {
    margin-top: -24%;
}

.cta__s-9 {
    margin: 2% auto 6%;
}

/*--------------- s-10 ---------------*/
.s-10 {
    margin-bottom: 16%;
}

/*--------------- s-11 ---------------*/
.s-11 {
    z-index: 2;
}

/*--------------- s-12 ---------------*/
.s-12 {
    margin-top: -17%;
}

/*--------------- s-13 ---------------*/
.s-13 {
    margin-top: 10%;
    margin-bottom: 10%;
}

.s-13__bg {
    width: 90%;
    margin-inline: auto;
}

.info__item {
    position: absolute;
    left: 29%;
    font-size: 3.1cqw;
    white-space: pre-wrap;
    line-height: 1.4;
    font-family: var(--noto-sans-jp);
    /* font-weight: 100; */
}

.line-height {
    line-height: 2.5;
}

.info__item--1 {
    top: 41%;
}

.info__item--2 {
    top: 52.6%;
}

.info__item--3 {
    top: 62.8%;
}

.info__item--4 {
    top: 69.4%;
}

.info__item--5 {
    top: 77.4%;
}

.info__item--6 {
    top: 84%;
}

.info__item--7 {
    top: 97.8%;
}

/*--------------- s-14 ---------------*/
.google-map {
    margin-inline: auto;
    width: 85%;
    aspect-ratio: 3 / 2;

    iframe {
        width: 100%;
        height: 100%;
    }
}

.cta__s-14 {
    margin: 8% auto;
    position: relative;
}

/*------------------------------------------------------------
footer
------------------------------------------------------------*/

.site-footer {
    font-family: inherit;
    font-weight: inherit;
    font-size: 3cqw;
    padding: 2em 0;
    color: #ffffff;
    background-image: -moz-linear-gradient( 140deg, rgb(136,111,81) 0%, rgb(185,171,129) 48%, rgb(138,111,80) 100%);
    background-image: -webkit-linear-gradient( 140deg, rgb(136,111,81) 0%, rgb(185,171,129) 48%, rgb(138,111,80) 100%);
    background-image: -ms-linear-gradient( 140deg, rgb(136,111,81) 0%, rgb(185,171,129) 48%, rgb(138,111,80) 100%);
}

.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 {
        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;
    }
}
