@charset "utf-8";

/* -------------------- FONT -------------------- */
@font-face {
  font-family: 'NotoSansCJKjp'; 
  src: url('../fonts/NotoSansCJKjp-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NotoSansCJKjp'; 
  src: url('../fonts/NotoSansCJKjp-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'NotoSansCJKjp'; 
  src: url('../fonts/NotoSansCJKjp-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Copperplate'; 
  src: url('../fonts/Copperplate.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

html{
    font-size: 16px;
}



/* -------------------- ALL -------------------- */
body {
    color: #333;    
    font-family: "NotoSansCJKjp", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background: url(../img/bg.webp) repeat-y center top;
    background-size: 100%;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.inner{
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

main{
    margin-top: 60px;
}

section{
    padding-top: 70px;
}

h2{
    font-family: "Noto Serif JP", serif;
    color: #b29364;
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: 2px;
    border-bottom: solid 1px #b29364;
    padding-bottom: 10px;
}

h2 span{
    display: inline-block;
    font-family: 'Copperplate'; 
    color: #6e1318;
    background-color: #b29364;
    padding: 1px 8px;
    font-size: 1.2rem;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

/* -------------------- HEADER -------------------- */
#header{
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 60px;
    background: url(../img/bg.webp) no-repeat center;
    background-size: cover;
    z-index: 999;
    top: 0;
}

#header h1{
    width: 220px;
}

#header p{
    font-family: 'Copperplate'; 
    color: #b29364;
}



/* -------------------- fv -------------------- */
.fv{
    background: url(../img/fv-bg.webp) no-repeat center;
    background-size: cover;
    padding: 200px 0;
}

.fv img{
    opacity: 0;
    animation: fvfadeIn 0.8s ease 0.2s forwards;
}

@keyframes fvfadeIn {
  to {
    opacity: 1;
  }
}


/* -------------------- OVERVIEW -------------------- */
.overview p{
    color: #fff;
    padding-top: 10px;
    line-height: 2;
}

.overview-list{
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.overview-list li{
    width: 31%;
    background-color: #b29364;
    border: 2px solid #6e1318;    /* 内側の線 */
    outline: 3px solid #b29364;   /* 外側の線 */
    padding: 30px 0;
    box-shadow: 0 0 6px 6px rgba(0, 0, 0, 0.6);
}

.overview-list li img{
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 30px;
    display: block;
}

.overview-list li h3{
    color: #6e1318;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1.4rem;
    text-align: center;
}

.overview-list li h3 span{
    display: block;
    font-family: 'Copperplate'; 
}

.overview-list li p{
    color: #000;
    font-size: 0.6rem;
    text-align: center;
}

/* -------------------- PRODUCTS -------------------- */
#products-nav{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: -webkit-sticky; /* Safari対策 */
    position: sticky;        /* stickyに変更 */
    top: 60px;                /* ★固定位置（ヘッダーがあるため60pxほど下げる） */
    z-index: 100;
    background-color: #000;   /* 下の文字が透けないよう背景色を指定 */
}



#products-nav::after{
    content: "";
    width: 100%;
    height: 2px;
    background-color: #b29364;
    display: block;
    z-index: 3;
    position: absolute;
    bottom: -2px;
}

#products-nav .tab-btn{
    width: 49.7%;
    padding: 5px 0;
    font-family: 'Copperplate'; 
    color: #b29364;
    font-size: 2rem;
}

#products-nav .tab-btn.suiteboxlink{
    background-color: #6e1318;
    border: 2px solid #b29364;    /* 内側の線 */
    border-bottom: 0;
    outline: 3px solid #6e1318;   /* 外側の線 */
}

#products-nav .tab-btn.viewdecklink{
    background-color: #6a4940;
    border: 2px solid #b29364;    /* 内側の線 */
    border-bottom: 0;
    outline: 3px solid #6a4940;   /* 外側の線 */
}

#products-nav .tab-btn span{
    display: block;
    position: relative;
}

#products-nav .tab-btn span::after {
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 15px);
    position: absolute;
    top: -10px;
    right: 0;
    left: -5px;
    margin: 0 auto;
    display: block;
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
    opacity: 0.75;
    transition: opacity 0.4s ease; 
}

#products-nav .tab-btn.active span::after {
    opacity: 0;
}

.products .products-txt h3{
    color: #b29364;
    font-family: 'Copperplate'; 
    font-size: 3rem;
    margin: 30px 0;
}

.products-txt .products-txt01{
    display: flex;
    justify-content: space-between;
}

.products-txt .products-txt01 .plan-title{
    width: 64%;
}

.products-txt .products-txt01 .plan-title h4{
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 1px;
    font-size: 1.4rem;
    color: #b29364;
}

.products-txt .products-txt01 .plan-title p{
    color: #fff;
    font-size: 0.8rem;
    line-height: 2;
    padding-top: 10px;
}

.plan-spec {
    width: 33%;
    border-left: 2px solid #b29364;
    padding-left: 20px;          
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-spec__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-spec dt {
    color: #b29364;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.plan-spec dd {
    margin: 0;
    color: #ffffff;
    font-size: 0.95rem;
    text-align: right;
}

.products h3{
    color: #b29364;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1.4rem;   
}

.products .products-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.products .products-list li{
    width: 31%;
    background-color: #b29364;
    border: 2px solid #6e1318;    /* 内側の線 */
    outline: 3px solid #b29364;   /* 外側の線 */
    display: flex;
    padding: 16px;
    gap:5px;
    align-items: center;
    margin-top: 30px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.8);
}

.products .products-list li img{
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.products .products-list li h4{
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    color: #6e1318;
    line-height: 1.4;
}

.products .products-list li p{
    color: #000;
    font-size: 0.6rem;
    margin-top: 5px;
}

.products .products-list li p small{
    display: block;
    margin-top: 3px;
}



/* ==========================================
   1. スライダー共通・全体枠
========================================== */
.slider-main-1,.slider-main-2{
    margin-top: 30px;
}

.slider-thumbnail-1,.slider-thumbnail-2{
    margin-bottom: 50px;
}

.slider-main-1,.slider-main-2,
.slider-thumbnail-1,.slider-thumbnail-2 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* ==========================================
   2. メインスライダー
========================================== */
.slider-main-1,.slider-main-2 {
  height: 450px;
  margin-bottom: 15px;
  background-color: #000; /* 画像裏の背景 */
}

.slider-main-1 .swiper-slide,.slider-main-2 .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-main-1 .swiper-slide img,.slider-main-2 .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   3. サムネイル（今回の修正の肝）
========================================== */
.slider-thumbnail-1,.slider-thumbnail-2 {
  height: 90px;
}

.slider-thumbnail-1 .swiper-slide,.slider-thumbnail-2 .swiper-slide {
  position: relative; /* ★疑似要素の基準にするため必須 */
  width: 25%;
  height: 100%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  overflow: hidden; /* 疑似要素がはみ出さないように */
  
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 画像自体の指定（非選択時も暗くしないため opacity は 1） */
.slider-thumbnail-1 .swiper-slide img,.slider-thumbnail-2 .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------
   ★「透明の赤」を重ねる疑似要素
------------------------------------------ */
.slider-thumbnail-1 .swiper-slide::after,.slider-thumbnail-2 .swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 透明の赤（#6e1318をRGBAで約50%の透明度に） */
 background-color: #6e1318;      /* 指定の赤色 */
  mix-blend-mode: multiply;       /* ★乗算で重ねる */
  
  opacity: 1; /* ★通常時（非選択時）は表示 */
  transition: opacity 0.3s ease; /* ふわっと切り替える */
  z-index: 1; /* 画像の上に重ねる */
}

/* ------------------------------------------
   ★選択されたサムネイル（アクティブ状態）
------------------------------------------ */

/* ★アクティブ時は、重ねた赤を透明にして消す */
.slider-thumbnail-1 .swiper-slide-thumb-active::after,.slider-thumbnail-2 .swiper-slide-thumb-active::after {
  opacity: 0;
}






/* -------------------- schedule -------------------- */
.schedule img{
    margin-top: 30px;
}


/* -------------------- FOOTER -------------------- */

#footer {
    background-color: #000;
    margin-top: 100px;
    padding: 60px 0;
    position: relative;
}

/* 通常時（画面右下に固定追従） */
#footer .cv {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* スクロールしたら付与する表示クラス */
#footer .cv.is-show {
  opacity: 1;
  visibility: visible;
}

/* フッターの底まで来たら追従を止めるクラス */
#footer .cv.is-stopped {
    position: absolute;
    top: 20px;                  /* フッターの1番上を基準にする */
    bottom: auto;            /* fixed時のbottom指定を解除 */
    right: 20px;             /* 左右の位置は揃える */
    transform: translateY(-100%); /* ボタンの高さ分上に持ち上げて、フッターの真上に乗せる */
}

#footer .f-txt{
    margin: 20px 0;
}

#footer img{
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

#footer .cv img{
    width: 300px;
    height: auto;
}

#footer p{
    text-align: center;
    color: #fff;
}

#footer small{
    font-size: 0.5rem;
}

#footer .mail{
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b29364;
    width: 220px;
    margin: 20px auto 0;
    text-align: center;
}



/* -------------------- SP -------------------- */
@media screen and (max-width: 768px) {
    main{
        width: 100%;
    }

    #header{
        padding: 10px;
    }

    #header h1{
        width: 30%;
    }

    p{
        font-size: 0.8rem;
    }

    section{
        padding-top: 40px;
    }

    #header p{
        font-size: 0.6rem;
    }

    .fv{
        background-image: url(../img/fv-bg-sp.webp);
    }

    .fv img{
        width: 90%;
        margin: 0 auto;
    }

    .inner{
        width: 90%;
        margin: 0 auto;
    }

    h2{
        font-size: 1.4rem;
    }

    h2 span{
        font-size: 0.8rem;
    }

    .overview-list{
        display: block;
    }

    .overview-list li{
        width: 100%;
        margin-bottom: 20px;
        padding: 20px 0 20px 20px;
        display: flex;
        align-items: center;
        gap:10px;
    }

    .overview-list li img{
        width: 50px;
        height: 50px;
        margin: 0;
    }

    .overview-list li div,.overview-list li h3{
        text-align: left;
    }

    #products-nav .tab-btn{
        font-size: 1.6rem;
        padding: 20px 0;
    }

    #products-nav .tab-btn span::after{
        height: calc(100% + 45px);
        top: -25px;
    }

    .products-txt .products-txt01{
        display: block;
    }

    .products-txt .products-txt01 .plan-title{
        width: 100%;
    }

    .plan-spec{
        width: 74%;
        margin-top: 20px;
    }

    .products .products-txt h3{
        margin-bottom: 10px;
    }

    .products-txt .products-txt01 .plan-title h4{
        font-size: 1rem;
    }

    .slider-main-1, .slider-main-2{
        height: 250px;
    }

    .slider-thumbnail-1,.slider-thumbnail-2{
        height: 50px;
    }

    .products .products-list{
        gap:0;
    }

    .products .products-list li{
        width: 100%;
        justify-content: left;
        gap:20px;
    }

    .schedule div {
        display: flex;
        overflow-x: auto;
        width: 100%;
    }

    .schedule div img {
        flex-shrink: 0; /* 幅が勝手に縮むのを防ぐ */
        width: 700px;    /* 子要素の幅を確保 */
    }

    #footer .cv,#footer .cv.is-stopped{
        right: 0;
        left: 0;
    }

}
