/*
Theme Name: Simple One Child
Template: simple-one
*/


/* ==========================================================================
   page-specific: zen-style.css
   固定ページ（page-zen.php）専用スタイル
   前提：共通CSS（common.css）で html の font-size を 62.5% に設定済み
   ========================================================================== */


/* -----------------------------
   コンテナ幅・共通中央寄せ（ページ専用）
----------------------------- */
.zen-news-inner,
.zen-course-inner,
.zen-info-inner,
.zen-access-inner {
    max-width: 128rem;
    /* 1280px */
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 5rem);
    /* 50px */
    box-sizing: border-box;
}

/* -----------------------------
   ヘッダー全体は共通化CSS
----------------------------- */



/* -----------------------------
   縦線スクロール促進演出
----------------------------- */
/* スクロールダウン全体の場所 */
.scrolldown_1 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-2rem);
    /* 少し上にずらしてスタート */
    bottom: 0rem;
    height: 8.0rem;
    z-index: 60;
    opacity: 0;
    /* 初期非表示 */
    transition: transform 1s ease-out, opacity 1s ease-out;
    /* フワッと表示 */
}

.scrolldown_1.show {
    transform: translateX(-50%) translateY(0);
    /* 元の位置に移動 */
    opacity: 1;
}

.scrolldown_1 span {
    position: absolute;
    left: 50%;
    /* 親の中央 */
    transform: translateX(-50%);
    /* テキストの中心を基準 */
    top: -7.5rem;
    color: #fff;
    writing-mode: vertical-rl;
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.3em;
}

/* 線の描写 */
.scrolldown_1::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 1px;
    /* 1px */
    height: 7.5rem;
    /* 80px */
    background: rgb(255, 255, 255);
}

/* -----------------------------
   ヒーローイメージ上メッセージ
----------------------------- */
.hero_message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95); /* 中央寄せ & 少し縮小 */
    width: 90%; /* 必要に応じて調整 */
    opacity: 0;
    filter: blur(0.8rem);
    transition: all 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 61;
}

.hero_message.show {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(1); /* 中央寄せ & 通常サイズ */
}

.hero_message img {
  max-width: 64rem;
  margin: 0 auto;
  height: auto;
}

/* -----------------------------
   ヒーローイメージ
----------------------------- */
.zen-hero {
    position: relative;
    /* 画像やボタンの基準 */
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    /* 他要素より手前 */
}

/* 画像を重ねるスライダー */
.zen-hero-slider {
    position: relative;
    /* 子 img を重ねる基準 */
    width: 100%;
    height: 100%;
}

/* 画像の初期状態 */
.zen-hero-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: blur(0.8rem);
    transform: scale(1);
}

/* 1枚目 初期表示：110%スタート・ぼかしなし */
.zen-hero-slider img.first {
    opacity: 1;
    filter: blur(0);
    transform: scale(1.1);
}

/* 1枚目 ゆっくり拡大 */
.zen-hero-slider img.expand-slow {
    transform: scale(1.1);
    transition: transform linear;
}

/* フェードイン + ぼかし解除 + ゆっくり拡大 */
.zen-hero-slider img.fade-in {
    opacity: 1;
    filter: blur(0);
    transform: scale(1.1);
    transition: opacity 2s ease-in, filter 2s ease-in, transform linear;
}


/* -----------------------------
   お知らせエリア全体
----------------------------- */
.zen-news {
    width: 100%;
    padding: 10rem 0;
    /* 100px 上下 */
    background-color: #cce9da;
}

.zen-news-inner {
    padding: 0 clamp(5rem, 10vw, 15rem);
    /* 上下は0、左右は画面幅に応じて縮む */
    box-sizing: border-box;
    display: flex;
}

/* 左側タイトル お知らせ　店舗情報　共通 */
.zen-title {
    width: 5rem;
    /* 50px */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 横方向中央揃え */
    justify-content: left;
    /* 縦方向中央揃え */
    padding-right: clamp(5rem, 10vw, 15rem);
    /* 右余白 */
}

.zen-line {
    width: 5rem;
    /* 50px */
    height: 1px;
    /* 1px */
    background-color: #1e1c1c;
    margin-bottom: 2rem;
    /* 20px */
    align-self: center;
    /* 横方向中央 */
    backface-visibility: hidden;
}

.zen-title-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 横方向中央 */
    justify-content: center;
    /* 罫線に対して縦中央 */
}

.zen-title-text .jp,
.zen-title-text .en {
    writing-mode: vertical-rl;
    display: block;
}

.zen-title-text .jp {
    font-size: 3.0rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.zen-title-text .en {
    font-family: 'Cormorant', serif;
    font-size: 1.8rem;
    margin-top: 2rem;
    line-height: 2.6;
    letter-spacing: 0.3em;
}


/* -----------------------------
   お知らせ投稿リスト（右側）
----------------------------- */
.zen-news-posts {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.zen-news-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 6.6rem;
    /* 66px */
    border-bottom: 1px solid #1e1c1c;
    box-sizing: border-box;
}

.zen-news-date {
    font-size: 1.5rem;
    /* 13px */
    letter-spacing: 0.1em;
    width: 13rem;
    /* 130px */
    flex-shrink: 0;
    text-align: left;
}

.zen-news-info {
    font-size: 1.8rem;
    /* 16px */
    font-weight: 700;
    letter-spacing: 0.05em;
    flex: 1;
    display: block;
    text-align: left;
}

.zen-news-info a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    text-decoration: none;
    color: inherit;
}

/* すべて見るリンク */
.zen-news-more {
    font-size: 1.5rem;
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
    position: relative;
}

.zen-news-more a {
    text-decoration: none;
    position: relative;
    letter-spacing: 0.1em;
    padding-bottom: 1rem;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* リンク下線 */
.zen-news-more a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #1e1c1c;
}

/* 小型デバイス（スマホ幅～768px） */
@media screen and (max-width: 768px) {
  .zen-news-item {
    display: flex;
    flex-direction: column;   /* 横並び → 縦並び */
    align-items: flex-start;  /* 左揃え */
    padding: 1.5rem 0;        /* 上下に余白を均等追加 */
    height: auto;             /* 高さを固定せず伸縮可能に */
  }

  .zen-news-date {
    width: 100%;              /* 横幅いっぱい */
    margin-bottom: 0.5rem;    /* タイトルとの間隔 */
    font-size: 1.4rem;        /* 少し小さめでもOK */
  }

  .zen-news-info {
    width: 100%;
    font-size: 1.6rem;
    margin-bottom: 0;         /* 下の罫線に被らない */
  }

  .zen-news-info a {
    white-space: normal;      /* 折り返し許可 */
    text-overflow: clip;      /* 省略しない */
    overflow: visible;
  }
}

/* -----------------------------
   料金案内と店舗イメージ（コース）
----------------------------- */
.zen-course {
    display: flex;
    justify-content: center;
    padding: 0;
}

.zen-course-inner {
    display: flex;
    position: relative;
    align-items: flex-start;
    padding: 0;
}

.zen-course-image {
    width: 69rem;
    position: relative;
    z-index: 2;
    margin-top: -2.5rem;
    /* -25px */
}

.zen-course-image img {
    width: 100%;
    height: 72rem;
    /* 720px */
    object-fit: cover;
    display: block;
}

.zen-course-box {
    width: 64rem;
    height: 72rem;
    /* 720px */
    background-color: #ce2b37;
    margin: 5rem 0 0 -5rem;
    /* 50px 0 0 -50px */
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.zen-course-center {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    /* 60px */
    height: 100%;
    width: 100%;
}

/* タイトル（縦書き） */
.zen-course-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 横方向中央 */
    justify-content: center;
    /* 縦方向中央 */
}

.zen-course-title .zen-line {
    width: 5rem;
    height: 1px;
    background-color: #fff;
    margin-bottom: 2rem;
    align-self: center;
    /* 罫線を中央揃え */
}

.zen-course-title .zen-title-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 和文・英文を縦中央 */
    align-items: center;
    /* 横方向中央 */
}

.zen-course-title .zen-title-text .jp,
.zen-course-title .zen-title-text .en {
    writing-mode: vertical-rl;
    display: block;
    color: #fff;
}

.zen-course-title .zen-title-text .jp {
    font-size: 3.0rem;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.zen-course-title .zen-title-text .en {
    font-size: 1.8rem;
    font-family: 'Cormorant', serif;
    letter-spacing: 0.3em;
    margin-top: 2rem;
    line-height: 2.6;
}


/* コースブロック */
.zen-course-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 13rem;
    /* 130px */
    margin: 0;
}

.zen-course-block p {
    margin: 0.5rem 0;
    /* 5px 0 */
    font-size: 1.8rem;
    /* 16px */
    line-height: 2.0;
    letter-spacing: 0.05em;
    color: white;
    text-align: center;
}

.zen-course-lunch {
    border-bottom: 1px solid #fff;
    padding-bottom: 2rem;
}

.zen-course-dinner {
    padding-top: 2rem;
}

/* 小型デバイス（スマホ幅～768px） */
@media screen and (max-width: 768px) {

    .zen-course-inner {
        display: flex;
        flex-direction: column;
    }

    .zen-course-image {
        width: 95%;
        height: 50%;
        margin-top: -5rem;
    }

    .zen-course-image img {
        width: 100%;
        height: 100%;
    }

    .zen-course-box {
        width: 95%;
        height: 100%;
        margin: -5rem 0 6rem 5%;
        padding: 10rem 0 5rem 0;
    }

    .zen-course-center {
        gap: 6rem;
    }

}

/* -----------------------------
   店舗イメージスライダー
----------------------------- */
.zen-store-slider {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -2.5rem;
    z-index: 2;
    padding: 0 0 3.5rem 0;
    overflow-x: hidden;
    /* 両端見切りとスクロール干渉防止 */
}

/* 基本スタイル */
.zen-slides-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.zen-slides {
    display: flex;
    gap: 2rem;
    /* デフォルトのギャップ */
    transition: none;
}

.zen-slides img {
    width: 64rem;
    /* デフォルト幅 */
    height: 32rem;
    object-fit: cover;
    flex: 0 0 64rem;
}


/* スライダー操作ボタン：変数 */
:root {
    --control-size: 5rem;
    /* 50px */
    --control-bg-color: #009246;
    --control-icon-color: #ffffff;
    --control-hover-color: #000000;
    --play-scale: 0.2;
    --play-height: 0.15;
    --bar-width: 0.075;
    --bar-height: 0.275;
    --bar-gap: 0.125;
    --arrow-scale: 0.2;
    --arrow-thickness: 0.25rem;
    /* 約 2.5px */
}

.zen-slider-controls {
    position: absolute;
    top: 82.5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
    z-index: 3;
}

.zen-slider-controls .control {
    width: var(--control-size);
    height: var(--control-size);
    background-color: var(--control-bg-color);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.zen-slider-controls .control:hover {
    background-color: var(--control-hover-color);
}

/* 再生・停止・矢印描画（疑似要素） */
.zen-slider-controls .control.stop.playing::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: calc(var(--control-size) * var(--play-scale)) solid var(--control-icon-color);
    border-top: calc(var(--control-size) * var(--play-height)) solid transparent;
    border-bottom: calc(var(--control-size) * var(--play-height)) solid transparent;
    transform: translateX(10%);
}

.zen-slider-controls .control.stop.paused::before,
.zen-slider-controls .control.stop.paused::after {
    content: '';
    display: block;
    width: calc(var(--control-size) * var(--bar-width));
    height: calc(var(--control-size) * var(--bar-height));
    background: var(--control-icon-color);
    position: absolute;
}

.zen-slider-controls .control.stop.paused::before {
    left: calc(50% - calc(var(--control-size) * var(--bar-gap)));
}

.zen-slider-controls .control.stop.paused::after {
    right: calc(50% - calc(var(--control-size) * var(--bar-gap)));
}

.zen-slider-controls .control.prev::after {
    content: '';
    display: block;
    width: calc(var(--control-size) * var(--arrow-scale));
    height: calc(var(--control-size) * var(--arrow-scale));
    border-left: var(--arrow-thickness) solid var(--control-icon-color);
    border-bottom: var(--arrow-thickness) solid var(--control-icon-color);
    transform: rotate(45deg) translate(13%, -13%);
}

.zen-slider-controls .control.next::after {
    content: '';
    display: block;
    width: calc(var(--control-size) * var(--arrow-scale));
    height: calc(var(--control-size) * var(--arrow-scale));
    border-right: var(--arrow-thickness) solid var(--control-icon-color);
    border-top: var(--arrow-thickness) solid var(--control-icon-color);
    transform: rotate(45deg) translate(-13%, 13%);
}

/* タブレット: 768px以下 */
@media (max-width: 768px) {
    .zen-slides img {
        width: 80vw;
        /* 画面幅の80% */
        height: 40vw;
        /* アスペクト比を維持 */
        flex: 0 0 80vw;
    }
}

/* モバイル: 480px以下 */
@media (max-width: 480px) {
    .zen-slides img {
        width: 90vw;
        /* ほぼ全幅 */
        height: 45vw;
        flex: 0 0 90vw;
    }

    .zen-slider-controls {
        top: 79.25%;
        left: 50%;
        gap: 3rem;
        z-index: 3;
    }
}



/* -----------------------------
   店舗情報（zen-info）
----------------------------- */
.zen-info {
    width: 100%;
    padding: 10rem 0;
    /* 100px */
    background-color: #e1e0c6;
}

.zen-info-inner {
    padding: 0 clamp(5rem, 10vw, 15rem);
    /* 150px */
    box-sizing: border-box;
    display: flex;
}

/* 左側タイトルはお知らせと同様 */

/* 右側　店舗情報 */
.zen-info-address {
    width: 100%;
}

/* 行をgridに */
.zen-info-row {
    display: grid;
    grid-template-columns: 11rem 1fr;
    /* 左列：110px -> 11rem */
    column-gap: 3rem;
    align-items: stretch;
    position: relative;
}

/* 左右カラム共通 */
.zen-label,
.zen-content {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    line-height: 1.6;
    letter-spacing: 0.1em;
    padding: 3.2rem 0;
    position: relative;
    box-sizing: border-box;
}

/* 下線（左右独立） */
.zen-label::after,
.zen-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #1e1c1c;
}

/* 1行目だけ上線（左右独立） */
.zen-info-row:first-child .zen-label::before,
.zen-info-row:first-child .zen-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #1e1c1c;
}

/* モバイル: 480px以下 */
@media (max-width: 480px) {

    /* 右側　店舗情報 */
    .zen-info-row {
        grid-template-columns: 4rem 1fr;
        column-gap: 1.5rem;
    }

    /* 左カラム共通 */
    .zen-label,
    .zen-content {
        padding: 2.4rem 0;
    }
}

/* -----------------------------
   アクセスエリア
----------------------------- */
.zen-access {
    position: relative;
    width: 100%;
    padding: 5rem 0 7.5rem 0;
    /* 50px 上 / 75px 下 */
    background-color: #e1e0c6;
}

/* 緑の左オブジェクト */
.zen-access-box {
    position: absolute;
    max-width: 128rem;
    top: -5rem;
    left: 5rem;
    width: 50%;
    height: 72rem;
    background-color: #009246;
    z-index: -1;
}

.zen-access-inner {
    position: relative;
    padding: 0 clamp(5rem, 10vw, 15rem);
    /* 150px */
    display: flex;
    box-sizing: border-box;
}

.zen-access-title {
    width: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: clamp(5rem, 10vw, 15rem);
    position: relative;
}

/* 右側アクセスコンテンツ */
.zen-access-content {
    width: 100%;
}

/* 見出し（文字幅に合わせた下線） */
.zen-access-content h3 {
    font-size: 3.0rem;
    /* 28px */
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 0 0 4rem 0;
    /* 下40px */
    display: inline-block;
    border-bottom: 1px solid #1e1c1c;
    padding-bottom: 0.5rem;
}

/* 交通情報の領域調整 */
.zen-access-traffic {
    padding-bottom: 3.0rem;
    letter-spacing: 0.1em;
}

/* 交通情報（行間を詰める） */
.zen-access-traffic p {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0 0 1rem 0;
    /* 下10px */
    line-height: 1.0;
}

/* Google Map */
.zen-access-map iframe {
    width: 100%;
    height: 40rem;
    /* 400px */
    border: 0;
    display: block;
    margin-bottom: 3rem;
}

/* Google Mapリンク（文字下に罫線） */
.zen-access-link a {
    font-size: 1.5rem;
    color: #1e1c1c;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
    text-align: left;
}

.zen-access-link a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #1e1c1c;
}


/* モバイル: 480px以下 */
@media (max-width: 480px) {

    /* 緑の左オブジェクト */
    .zen-access-box {
        top: -5rem;
        left: 0;
        width: 100%;
        height: 36rem;
    }

    .zen-access-title {
        display: none;
    }

    /* 右側アクセスコンテンツ */
    .zen-access-content {
        width: 100%;
    }

    /* Google Map */
    .zen-access-map iframe {
        height: 32rem;
        margin-bottom: 2rem;
    }
}

/* ==========================================================================
   end of page-specific styles
   ========================================================================== */