/* ========================================
   Features Section
   ======================================== */
.features {
    padding: var(--spacing-xl) 0;
    background-color: #fafafa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-item:hover .feature-image img {
    transform: scale(1.05);
}

.feature-title {
    font-size: 0.95rem;
    /* 14px */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.5;
    color: var(--color-text);
}

.feature-text {
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.8;
    color: var(--color-text);
    text-align: justify;
}

/* ========================================
   Gallery Section
   ======================================== */
/* ========================================
   リセット & ベーススタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* カスタムカーソルのためにデフォルトカーソルを消す */
}

:root {
    /* カラーパレット */
    --color-primary: #2a5a4f;
    --color-primary-dark: #152f29;
    --color-secondary: #7fa07d;
    --color-accent: #94A890;
    --color-bg: #f6faf9;
    --color-white: #FFFFFF;
    --color-text: #2c2c2c;
    --color-text-light: #787878;
    --color-border: #e8e8e8;

    /* フォント */
    --font-jp: 'Noto Serif JP', serif;
    --font-serif-jp: 'Noto Serif JP', serif;
    --font-en: 'Noto Serif JP', serif;

    /* スペーシング (雑誌風に広めに) */
    --spacing-xs: 12px;
    --spacing-sm: 32px;
    --spacing-md: 60px;
    --spacing-lg: 120px;
    --spacing-xl: 180px;
    --spacing-xxl: 240px;

    /* トランジション */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   スクロール制御
   ======================================== */
/* Lenisを使用するためscroll-behaviorはJSで制御 */
/* CSS Scroll Snapは削除（Lenisとの競合回避） */

/* Contact */
.contact {
    background-color: #295a4f;
    /* 少し落ち着いたダークブラウンに変更 */
    color: var(--color-white);
    text-align: center;
}

body {
    font-family: var(--font-serif-jp);
    font-weight: 400;
    font-size: 0.875rem;
    /* 14px */
    color: var(--color-text);
    line-height: 2.0;
    /* 1.8 -> 2.0 ゆったりと */
    background-color: var(--color-bg);
    overflow-x: hidden;
    font-feature-settings: "palt";
    letter-spacing: 0.08em;
    /* 0.05em -> 0.08em 広めに */
    -webkit-text-size-adjust: 100%;
    /* 横向き時の文字サイズ自動調整防止 */
}

@media (hover: none) {
    * {
        cursor: auto;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: none;
    font-family: inherit;
}

/* ========================================
   フィルム調
   ======================================== */
/* 削除 */

.sunlight-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* 最背面へ移動 */
    pointer-events: none;
    mix-blend-mode: screen;
    /* 光を重ねる */
    overflow: hidden;
}

/* ... (中略) ... */

/* ========================================
   セクション境界のぼかし処理
   ======================================== */
/* 背景色があるセクションの境界をぼかす */
/* Messageセクション削除に伴いぼかし削除 */

/* Contactセクションの上下ぼかし削除 */
/* .contact::before { ... } を削除 */

/* 通常のセクション（透明背景＝body色）同士の境界は、
   body背景自体が繋がっているので特に処理不要だが、
   余白をたっぷりとることで「ぼかし」のようなゆとりを持たせる */
section {
    padding: var(--spacing-xxl) 0;
    /* 余白をさらに広げる */
}


/* ========================================
   カスタムカーソル
   ======================================== */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 12000;
    /* ヘッダー(9999)やローディング(10000)より確実に上に */
}

.cursor-dot {
    width: auto;
    height: auto;
    background-color: transparent;
    color: var(--color-primary);
    font-size: 24px;
    border-radius: 0;
}

.cursor-outline {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    opacity: 0.6;
}

body.hovering .cursor-outline {
    width: 40px;
    height: 40px;
    background-color: rgba(139, 115, 85, 0.1);
    border-color: var(--color-primary);
    border-width: 2px;
}

@media (hover: none) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* ========================================
   ローディング画面（新仕様）
   ======================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-logo-wrapper {
    position: relative;
    width: 400px;
    /* ロゴサイズ倍増 */
    height: auto;
    margin-bottom: 20px;
}

.loading-logo-base {
    width: 100%;
    opacity: 0.2;
    /* 薄いグレー */
    filter: grayscale(100%);
}

.loading-logo-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    clip-path: inset(100% 0 0 0);
    /* 最初は隠す */
    opacity: 1;
}

.loading-text {
    font-family: var(--font-serif-jp);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    opacity: 0;
    transform: translateY(10px);
}

/* ========================================
   背景玉ボケ
   ======================================== */
.background-bokeh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* 最背面 */
    pointer-events: none;
    overflow: hidden;
}

.bokeh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    /* 強いぼかし */
    opacity: 0.4;
    animation: floatBokeh 20s infinite ease-in-out alternate;
}

/* 各玉ボケの設定 */
.bokeh-orb:nth-child(1) {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 220, 180, 0.6), transparent 70%);
    /* オレンジ系 */
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.bokeh-orb:nth-child(2) {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(255, 200, 200, 0.5), transparent 70%);
    /* ピンク系 */
    bottom: 10%;
    right: -5%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.bokeh-orb:nth-child(3) {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(255, 240, 200, 0.4), transparent 70%);
    /* 黄色系 */
    top: 40%;
    left: 30%;
    animation-duration: 35s;
    animation-delay: -10s;
}

.bokeh-orb:nth-child(4) {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(200, 230, 200, 0.3), transparent 70%);
    /* 淡いグリーン系 */
    bottom: -10%;
    left: 10%;
    animation-duration: 28s;
    animation-delay: -15s;
}

.bokeh-orb:nth-child(5) {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(255, 210, 150, 0.4), transparent 70%);
    /* 濃いオレンジ */
    top: 10%;
    right: 20%;
    animation-duration: 32s;
    animation-delay: -8s;
}

@keyframes floatBokeh {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
        opacity: 0.5;
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.4;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

/* ========================================
   コンテナ
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ========================================
   ヘッダー & オーバーレイナビゲーション（修正版）
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 32px 0;
    /* 20px -> 15px に短縮 */
    z-index: 9999;
    /* ローディング(10000)の次、カーソル(9999)と同じレベルに引き上げ */
    transition: var(--transition);
    background-color: transparent;
    opacity: 1 !important;
    /* 強制表示 */
    transform: none !important;
    /* 強制表示 */
    pointer-events: auto;
    /* クリック可能に */
    /* cursor: none; 削除：システムカーソルを表示させる */
}

.header.scrolled {
    background-color: rgba(250, 249, 246, 0.3);
    /* かなり透明にして背景を透かす */
    backdrop-filter: blur(20px);
    /* ぼかしを強くして文字の視認性は確保 */
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: none;
    /* 影を消して境界をなくす */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* ほんのわずかな境界線（オプション） */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-md);
    /* lg(80px) -> md(40px) に戻す */
    max-width: 1600px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 中央揃え */
    width: auto;
    /* 固定幅をやめて中身に合わせる */
    min-width: 200px;
    z-index: 1002;
}

.nav-brand img {
    width: 160px;
    /* 220px -> 160px に縮小 */
    height: auto;
}

.nav-brand-text {
    font-size: 0.7rem;
    color: var(--color-text);
    margin-top: 8px;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-align: center;
    /* テキストも中央揃え */
}

/* PC用メニュー */
.nav-menu-pc {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin-left: auto;
    /* 右寄せを確実に */
    z-index: 1002;
    /* 前面に表示 */
}

.nav-menu-pc a {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--color-text);
    letter-spacing: 0.1em;
    position: relative;
}

.nav-menu-pc a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu-pc a:hover::after {
    width: 100%;
}

.btn-contact-header {
    font-family: var(--font-jp) !important;
    font-size: 0.9rem !important;
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-contact-header:hover {
    background-color: var(--color-primary-dark);
    opacity: 1;
}

.btn-contact-header::after {
    display: none;
    /* 下線なし */
}

.btn-contact-mobile {
    display: none;
    /* PCでは非表示 */
    font-family: var(--font-jp);
    font-size: 0.8rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 50px;
    margin-left: auto;
    /* 右寄せ */
    margin-right: 15px;
    /* トグルの左 */
    z-index: 1002;
}




body.on-dark-bg .header:not(.scrolled) .btn-contact-header,
body.on-dark-bg .header:not(.scrolled) .btn-contact-mobile {
    /* モバイルボタンも対応 */
    background-color: var(--color-white);
    color: var(--color-primary) !important;
}

.nav-toggle {
    display: none;
    /* PCでは非表示 */
    flex-direction: column;
    gap: 6px;
    z-index: 1002;
    /* オーバーレイより上 */
    width: 30px;
    height: 24px;
    justify-content: space-between;
    cursor: pointer;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    /* デフォルト色 */
    transition: var(--transition);
    transform-origin: left;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    background-color: var(--color-white);
    /* メニュー展開時は白 */
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    background-color: var(--color-white);
}

/* オーバーレイメニュー */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    list-style: none;
}

.nav-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.nav-overlay.active .nav-menu li {
    opacity: 1;
    transform: translateY(0);
}

/* スタッガーアニメーション用遅延 */
.nav-overlay.active .nav-menu li:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-overlay.active .nav-menu li:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-overlay.active .nav-menu li:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-overlay.active .nav-menu li:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-overlay.active .nav-menu li:nth-child(5) {
    transition-delay: 0.5s;
}

.nav-overlay.active .nav-menu li:nth-child(6) {
    transition-delay: 0.6s;
}

.nav-link {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 0.1em;
}

.nav-link:hover {
    opacity: 0.7;
}

.btn-contact-nav {
    font-family: var(--font-jp) !important;
    font-size: 1.2rem !important;
    background-color: var(--color-white);
    color: var(--color-primary) !important;
    padding: 15px 40px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 20px;
}

/* スマホ用メニュー内SNSリンク */
.nav-social-mobile {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    transition-delay: 0.7s;
    /* リンクの後に表示 */
}

.nav-overlay.active .nav-social-mobile {
    opacity: 1;
    transform: translateY(0);
}

.nav-social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.nav-social-link:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: scale(1.1);
}

/* ========================================
   ヒーローセクション（Flexboxレイアウト）
   ======================================== */
.hero {
    position: relative;
    height: 110vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background-color: var(--color-white);
    padding-top: 124px;
    /* 110px -> 80px に短縮（画像エリア確保のため） */
}

/* ヒーローオーバーレイ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(250, 249, 246, 0.8) 0%, rgba(250, 249, 246, 0.4) 30%, rgba(250, 249, 246, 0) 100%);
    z-index: 2;
    /* スライダー(auto)の上、コンテンツ(3)の下 */
    pointer-events: none;
}

/* 背景ロゴ（PCでは非表示） */
.hero-bg-logo {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    /* 大きく */
    max-width: 80%;
    z-index: 1;
    /* スライダー(auto)の上、コンテンツ(3)の下 */
    opacity: 0.3;
    /* 薄く */
    pointer-events: none;
}

.hero-slider {
    width: 100%;
    height: 30vh;
    /* 28vh -> 30vh に拡大 */
    flex-shrink: 0;
    /* 画面が狭くても縮小させない */
    overflow: hidden;
    position: relative;
}

.hero-slider-track {
    display: flex;
    width: max-content;
    height: 100%;
}

.nav-logo-white {
    display: none;
}

.hero-slider-track img {
    height: 100%;
    width: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-right: 40px;
    /* 10px -> 40px に拡大 */
    border-radius: 10px;
    /* 角丸 */
}

.hero-slider-top .hero-slider-track {
    animation: slideLeft 40s linear infinite;
}

.hero-slider-bottom .hero-slider-track {
    animation: slideRight 40s linear infinite;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
    /* 60px -> 40px に短縮 */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: transparent;
}

.hero-center-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    /* 40px -> 80px に拡大してテキストと画像の余白を広げる */
    max-width: 1100px;
    margin: 0 auto;
}

/* ロゴマーク復活 */
.hero-logo-mark {
    display: block;
    flex-shrink: 0;
}

/* ロゴマークのアニメーション定義（必要に応じて） */
.hero-logo-mark img {
    width: 250px;
    height: auto;
    /* JSでアニメーション制御するためCSSアニメーションは一旦削除か控えめに */
}

.hero-text-block {
    text-align: left;
    /* 左寄せ */
}

.hero-title-en {
    display: block;
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: left;
    /* 左寄せ */
}

.hero-title {
    font-family: var(--font-serif-jp);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 100;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    letter-spacing: 0.3em;
    text-align: left;
    /* 左寄せ */
}

.hero-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.8em;
    margin-right: -0.8em;
    text-align: left;
    /* 左寄せ */
}


/* ========================================
   Aboutセクション
   ======================================== */
.section {
    padding: var(--spacing-xl) 0;
    /* 120px -> 180px (var(--spacing-xl) updated) */
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title-en {
    display: block;
    font-family: var(--font-en);
    font-size: 4rem;
    color: rgba(216, 216, 216, 0.30);
    line-height: 1;
    margin-bottom: 10px;
    /* 余白調整 */
    position: relative;
    z-index: 1;
}

.section-title-ja {
    position: relative;
    z-index: 2;
    font-family: var(--font-serif-jp);
    font-size: 1.1rem;
    /* 30px */
    font-weight: 100;
    color: #2c2c2c;
    letter-spacing: 0.1em;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    /* 比率を調整 */
    gap: var(--spacing-md);
    /* ギャップを詰める */
    align-items: start;
}

.about-image-wrapper {
    position: relative;
    padding-top: 0;
    padding-left: 0;
    /* パディング削除 */
    display: flex;
    justify-content: center;
}

.about-image {
    position: relative;
    z-index: 2;
    width: 100%;
    /* 80% -> 100% に拡大 */
    max-width: 450px;
    /* 最大幅も緩和 */
    margin: 0 auto;
    aspect-ratio: 1;
    background: transparent;
    overflow: visible;
    /* 玉ボケがはみ出るように変更 */
    /* border-radius: 40%; overflow: hidden; を分離して適用する必要があるため調整 */
}

.about-image-inner {
    /* 画像をクリップするためのインナー要素を追加 */
    width: 100%;
    height: 100%;
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
    /* 流体形状 */
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 10px 10px 30px rgba(139, 115, 85, 0.15);
    animation: blobAnim 8s ease-in-out infinite alternate;
    /* アニメーション追加 */
}

@keyframes blobAnim {
    0% {
        border-radius: 45% 55% 48% 52% / 50% 45% 55% 50%;
    }

    33% {
        border-radius: 52% 48% 55% 45% / 45% 52% 48% 55%;
    }

    66% {
        border-radius: 48% 52% 45% 55% / 55% 48% 52% 45%;
    }

    100% {
        border-radius: 45% 55% 48% 52% / 50% 45% 55% 50%;
    }
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    /* 少し上寄りに */
    transform: scale(1.15);
    /* 拡大して端が見えるのを防ぐ */
    transform-origin: center 30%;
    /* 拡大の基準点を調整 */
    transition: transform 1.5s ease;
}

/* 玉ボケ装飾 */
.about-image::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    /* 拡大 */
    height: 200px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.8) 0%, rgba(255, 165, 0, 0) 70%);
    /* オレンジ色 */
    border-radius: 50%;
    filter: blur(15px);
    /* ぼかし調整 */
    z-index: 3;
    opacity: 0.9;
    /* 透明度UP */
    animation: bokehFloat 6s ease-in-out infinite alternate;
    pointer-events: none;
    mix-blend-mode: screen;
    /* 背景に馴染ませる */
}

/* もう一つ追加 */
.about-image::before {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 50px;
    width: 120px;
    /* 拡大 */
    height: 120px;
    background: radial-gradient(circle, rgba(255, 192, 203, 0.8) 0%, rgba(255, 192, 203, 0) 70%);
    /* ピンク色 */
    border-radius: 50%;
    filter: blur(12px);
    z-index: 3;
    opacity: 0.7;
    /* 透明度UP */
    animation: bokehFloat 4s ease-in-out infinite alternate-reverse;
    pointer-events: none;
    mix-blend-mode: screen;
    /* 背景に馴染ませる */
}

@keyframes bokehFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-15px, -15px) scale(1.2);
        opacity: 0.9;
    }
}

.about-text {
    padding-right: 0;
    /* 右パディング削除 */
}

.about-lead {
    font-family: var(--font-serif-jp);
    font-size: 1.875rem;
    /* 30px */
    font-weight: 100;
    /* サイズ拡大 */
    line-height: 1.6;
    color: #333333;
    /* コントラストを抑えた黒 */
    margin-bottom: var(--spacing-md);
}

.about-description p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
    text-align: justify;
    letter-spacing: 0.15em;
    /* 字間を広げる */
    line-height: 2.2;
    /* 行間も少し広げる */
}

/* About Stats */
.about-stats-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 60px 0 30px;
    /* 上マージンを30px -> 60pxに拡大 */
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
    align-items: flex-start;
    /* 上端揃えを追加してラベル位置を統一 */
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-label {
    font-size: 0.75rem;
    /* 12px */
    color: #666666;
    /* コントラストを抑えたグレー */
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    font-weight: 700;
    /* 太く */
}

.stat-value {
    font-family: var(--font-serif-jp);
    font-size: 1.5rem;
    /* 1.1rem -> 1.8rem に拡大 */
    color: #1b231f;
    font-weight: 200;
    line-height: 1.2;
    margin-top: 5px;
    /* ラベルとの間隔を少し空ける */
}

.stat-sub-text {
    font-size: 0.75rem;
    /* 12px */
    font-weight: normal;
    color: var(--color-text-light);
    display: block;
    /* 改行 */
    margin-top: 5px;
}

/* About Signature */
.about-signature {
    margin-top: var(--spacing-md);
    text-align: left;
    line-height: 1.4;
}

.sign-logo {
    display: block;
    font-family: var(--font-en);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.sign-name {
    display: block;
    font-size: 1rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   メッセージ、ギャラリー、プラン、フロー、ポリシー、FAQ、Contact
   ======================================== */
.about {
    background-color: var(--color-white);
    /* #FFFFFF */
}

/* Message */
.message {
    position: relative;
    background-color: #fafafa;
    /* 薄いグレーベージュ */
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

/* セクション境界のぼかし処理 */
.message::before,
.message::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    /* ぼかしの幅 */
    pointer-events: none;
    z-index: 1;
}

.message::before {
    top: 0;
    background: linear-gradient(to bottom, var(--color-bg), #F5F3F0);
    /* 上の背景色からこのセクションの色へ */
    margin-top: -99px;
    /* 重ねる */
}

.message::after {
    bottom: 0;
    background: linear-gradient(to bottom, #F5F3F0, var(--color-bg));
    /* このセクションの色から下の背景色へ */
    margin-bottom: -99px;
}

.message-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.message-title {
    font-family: var(--font-serif-jp);
    font-size: 1.875rem;
    /* 30px */
    margin-bottom: var(--spacing-lg);
    /*color: var(--color-primary);*/
    letter-spacing: 0.15em;
    text-align: center;
    /* 明示的に中央揃え */
    line-height: 1.6;
    font-feature-settings: "palt";
}

.quote-box {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.quote-text {
    font-family: var(--font-serif-jp);
    font-size: 0.875rem;
    /* 14px */
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.2em;
    /* 字間を追加 */
}

.message-text p {
    margin-bottom: var(--spacing-sm);
    line-height: 2.2;
    color: var(--color-text);
    letter-spacing: 0.2em;
    /* 0.15em -> 0.2em に拡大 */
    text-align: center;
    /* 明示的に中央揃え */
}


/* Gallery */
.gallery {
    background-color: var(--color-white);
    /* #FFFFFF */
    padding: var(--spacing-xl) 0;
}

/* Plans */
.plans {
    background-color: #fafafa;
    /* 薄いベージュ */
    padding: var(--spacing-xl) 0;
}

/* Flow */
.flow {
    background-color: var(--color-white);
    /* #FFFFFF */
    padding: var(--spacing-xl) 0;
}

/* Policy */
.policy {
    background-color: #f3f3f3ab;
    /* 薄いベージュ */
    padding: var(--spacing-xl) 0;
}

/* FAQ */
.faq {
    background-color: var(--color-white);
    /* #FFFFFF */
    padding: var(--spacing-xl) 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    /* 左を大きく */
    grid-template-rows: 1fr 1fr;
    /* 上下2分割 */
    gap: 15px;
    /* 4px -> 15px に拡大 */
    width: 100%;
    max-width: 1250px;
    /* 最大幅を指定 */
    height: 600px;
    /* 高さを固定 */
    margin: 0 auto;
    /* 中央寄せ */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* クリック可能であることを明示 */
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    /* アンカータグ用 */
}

/* 1枚目: 左側全体（縦長） */
.gallery-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/* 2枚目: 右上 */
.gallery-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

/* 3枚目: 右下 */
.gallery-item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    /* 下部に固定 */
    left: 0;
    width: 100%;
    height: 100%;
    /* 全体を覆うように変更 */
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    opacity: 0;
    /* 通常時は非表示 */
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: #fff;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    /* ホバー時に表示 */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
}

.gallery-cat {
    font-family: var(--font-en);
    font-size: 0.75rem;
    /* 12px */
    background-color: var(--color-primary);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.gallery-title {
    font-family: var(--font-serif-jp);
    font-size: 1rem;
    font-weight: 100;
    letter-spacing: 0.2em;
    margin-bottom: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
}

.hero-title-en {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 100;
    letter-spacing: 0.5em;
    color: var(--color-primary);
    margin-bottom: 10px;
    /* 20px -> 10px */
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 100;
    line-height: 1.4;
    margin-bottom: 20px;
    /* 40px -> 20px */
}

.gallery-date {
    font-family: var(--font-en);
    font-size: 0.75rem;
    /* 12px */
    opacity: 0.8;
    margin-bottom: 15px;
    display: block;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.3s;
}

.gallery-more {
    font-size: 0.75rem;
    /* 12px */
    border-bottom: 1px solid #fff;
    padding-bottom: 2px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.4s;
}

.gallery-item:hover .gallery-cat,
.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-date,
.gallery-item:hover .gallery-more {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
    /* 拡大 */
}

/* ギャラリー下部ボタン */
.gallery-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-block;
    font-family: var(--font-jp);
    font-size: 1rem;
    color: var(--color-white);
    /* 白文字 */
    border: none;
    /* ボーダーなし */
    padding: 12px 40px;
    border-radius: 50px;
    transition: var(--transition);
    background-color: var(--color-primary);
    /* プライマリカラー背景 */
    box-shadow: 0 4px 10px rgba(139, 115, 85, 0.2);
}

.btn-view-all:hover {
    background-color: var(--color-primary-dark);
    /* ホバーで濃く */
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 115, 85, 0.3);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .gallery-grid {
        display: flex;
        flex-direction: column;
        height: auto;
        /* スマホでは高さ自動 */
        gap: 15px;
        /* 10px -> 15px に変更 */
    }

    .gallery-item {
        aspect-ratio: 1;
        /* スマホでは正方形タイル */
        height: auto;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Plans */
.plan-category-title {
    font-family: var(--font-serif-jp);
    font-weight: 200;
    font-size: 1.4rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 54px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* 幅を少し狭めてもOKに */
    gap: var(--spacing-md);
    width: 100%;
}

.plan-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    /* パディング少し縮小 */
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    /* 浮き上がり控えめに */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.plan-name {
    font-family: var(--font-serif-jp);
    font-size: 1.2rem;
    /* 14px */
    color: var(--color-primary);
    margin-bottom: 10px;
    text-align: center;
    border-bottom: none;
    /* 下線削除 */
    padding-bottom: 0;
}

/* プラン画像 */
.plan-image {
    width: 100%;
    height: 270px;
    /* 少し高さ縮小 */
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 6px;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.plan-card:hover .plan-image img {
    transform: scale(1.1);
}

.plan-desc {
    font-size: 0.875rem;
    /* 14px */
    color: var(--color-text);
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.6;
    min-height: 3em;
    /* 高さを揃える */
}

.plan-price-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.plan-price {
    font-family: var(--font-jp);
    font-size: 1.875rem;
    /* 30px */
    color: #333;
    /* コントラストを抑えた黒 */
    font-weight: 700;
    letter-spacing: 0.05em;
}

.plan-price span {
    font-size: 0.75rem;
    /* 12px */
    font-family: var(--font-jp);
    margin-left: 5px;
    font-weight: normal;
}

.plan-note-price {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 3px;
}

.btn-plan-detail {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--color-primary);
    /* Fillに変更 */
    border: none;
    /* ボーダーなし */
    color: var(--color-white);
    /* 白文字 */
    text-align: center;
    font-size: 0.875rem;
    /* 14px */
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    /* 明示的に */
    box-shadow: 0 4px 6px rgba(139, 115, 85, 0.1);
}

.btn-plan-detail:hover {
    background-color: var(--color-primary-dark);
    /* ホバーで濃く */
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(139, 115, 85, 0.2);
}

/* Art Newborn Info Toggle */
.art-newborn-info {
    max-width: 800px;
    margin: 0 auto 40px;
    background-color: #ffffff;
    /* Light beige background */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.info-toggle {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background-color: rgba(85, 139, 103, 0.1);
    /* Light primary color */
    transition: background-color 0.3s ease;
}

.info-toggle:hover {
    background-color: rgba(85, 139, 93, 0.2);
}

.info-icon {
    color: var(--color-primary);
    margin-right: 10px;
    font-size: 1rem;
}

.info-title {
    flex: 1;
    font-weight: 500;
    color: var(--color-primary-dark);
    font-size: 0.875rem;
    /* 14px */
}

.info-arrow {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

/* Rotate arrow when active (class added via JS) */
.info-toggle.active .info-arrow {
    transform: rotate(180deg);
}

.info-content {
    height: 0;
    overflow: hidden;
    /* Height animation handled by GSAP or standard transition */
}

.info-content-inner {
    padding: 20px;
    color: var(--color-text);
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.8;
}

.info-content-inner p {
    margin-bottom: 1em;
}

.info-content-inner p:last-child {
    margin-bottom: 0;
}

/* Plan Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11000;
    /* 最前面 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-start;
    /* center -> flex-start: 上からスクロールさせるため */
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    /* モーダル全体をスクロール可能に */
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    background-color: var(--color-white);
    width: 100%;
    max-width: 600px;
    height: 85vh;
    border-radius: 10px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 40px auto;
    /* 上下に余白を持たせて中央配置 */
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.modal.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--color-text-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    cursor: pointer;
    /* 明示的に */
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-text);
}

.modal-plan-title {
    font-family: var(--font-serif-jp);
    font-size: 1.875rem;
    /* 30px */
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.modal-price-area {
    text-align: center;
}

.modal-price {
    font-size: 1.875rem;
    /* 30px */
    font-weight: 700;
    color: #333;
    /* コントラストを抑えた黒 */
}

.modal-price-note {
    font-size: 0.75rem;
    /* 12px */
    color: var(--color-text-light);
}

.plan-detail-list {
    margin-bottom: 30px;
}

.plan-detail-list dt {
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 15px;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 5px;
    display: inline-block;
}

.plan-detail-list dd {
    margin-top: 5px;
    padding-left: 1em;
}

.plan-notes {
    background-color: var(--color-bg);
    padding: 20px;
    border-radius: 8px;
}

.plan-notes h4 {
    margin-bottom: 15px;
    font-size: 0.875rem;
    /* 14px */
    color: var(--color-text-light);
}

.plan-notes ul li {
    margin-bottom: 8px;
    font-size: 0.75rem;
    /* 12px */
    line-height: 1.6;
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.plan-notes ul li::before {
    content: '•';
    color: var(--color-primary);
    margin-right: 8px;
}

/* Flow */
.flow-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.flow-line-vertical {
    position: absolute;
    top: 0;
    left: 40px;
    width: 1px;
    height: 100%;
    background: var(--color-border);
    z-index: 1;
}

.flow-step {
    position: relative;
    z-index: 2;
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.flow-num {
    width: 80px;
    height: 80px;
    background: var(--color-bg);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-size: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.flow-info {
    padding-top: 15px;
}

.flow-info h3 {
    font-family: var(--font-serif-jp);
    font-weight: 200;
    font-size: 1.875rem;
    /* 30px */
    margin-bottom: var(--spacing-xs);
}

/* Policy */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.policy-card {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.policy-card h3 {
    font-family: var(--font-serif-jp);
    font-weight: 200;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.875rem;
    /* 30px */
    text-align: center;
}

.policy-card ul li {
    margin-bottom: 10px;
    font-size: 0.75rem;
    /* 12px */
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 5px;
}

.policy-card ul li:last-child {
    border-bottom: none;
}

.policy-notes {
    background-color: #ffffff;
    /* サイト全体のベージュに合わせる */
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    /* 境界を優しく描く */
}

.policy-notes h3 {
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-notes ul li {
    margin-bottom: 8px;
    list-style: disc;
    margin-left: 20px;
    color: var(--color-text);
    /* ニュートラルな色に戻す */
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    padding: var(--spacing-md) 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: center;
    font-size: 0.875rem;
    /* 14px */
    font-weight: 500;
    cursor: none;
    text-align: left;
}

.faq-answer {
    height: 0;
    overflow: hidden;
}

.faq-answer-inner {
    padding-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

/* Contact */
.contact {
    background-color: #295a4f;
    /* 少し落ち着いたダークブラウンに変更 */
    color: var(--color-white);
    text-align: center;
}

.contact .section-title-en {
    color: rgba(255, 255, 255, 0.1);
}

.contact .section-title-ja {
    color: var(--color-white);
}

.contact-lead-text {
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.contact-lead-text p {
    font-size: 0.875rem;
    /* 14px */
}

/* PC用横並びレイアウト */
.contact-content-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    /* 中央揃え */
    gap: 60px;
    /* カラム間の隙間 */
    max-width: 1200px;
    margin: 0 auto;
}

.contact-left {
    flex: 1.5;
    /* カレンダーを少し広く */
    width: 100%;
}

.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
    /* 少し左に余白 */
}

/* カレンダー */
.calendar-wrapper {
    width: 100%;
    margin: 0;
    /* 下マージン削除 */
    text-align: center;
}

/*
.calendar-title {
    font-family: var(--font-serif-jp);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}
*/
.calendar-container {
    background: var(--color-white);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 500px;
    /* 高さを少し固定気味に */
}

.calendar-container iframe {
    height: 100%;
}

.calendar-note {
    margin-top: 10px;
    font-size: 0.75rem;
    /* 12px */
    color: rgba(255, 255, 255, 0.7);
}

/* カレンダー案内 */
.calendar-guide {
    margin-top: 0;
    /* マージン削除 */
    margin-bottom: 30px;
    color: var(--color-white);
    font-family: var(--font-jp);
    line-height: 1.8;
}

.calendar-guide p {
    margin-bottom: 15px;
    font-size: 0.875rem;
    /* 14px */
}

/*
.calendar-guide i {
    font-size: 1.5rem;
    color: var(--color-white);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
*/

.btn-group {
    display: flex;
    flex-direction: column;
    /* 縦並びに変更 */
    gap: 20px;
    width: 100%;
    align-items: center;
}

.btn-circle {
    width: 100%;
    /* 横幅いっぱいに */
    max-width: 280px;
    /* 最大幅 */
    height: 70px;
    /* 高さ */
    background-color: var(--color-white);
    /* Fillに変更 */
    border: none;
    /* ボーダーなし */
    border-radius: 50px;
    /* 角丸長方形に */
    display: flex;
    /* Flexbox */
    align-items: center;
    justify-content: center;
    /* コンテンツを中央寄せ */
    gap: 20px;
    /* アイコンとテキストの間隔 */
    transition: var(--transition);
    color: var(--color-primary);
    /* 文字色はプライマリ */
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* 少し影をつけて浮き上がらせる */
}

.btn-circle:hover {
    background-color: #e5f0ec;
    /* ホバー時は少し暗く（ベージュ寄り） */
    color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-circle i {
    font-size: 1.8rem;
    margin-bottom: 0;
    width: 30px;
    /* アイコン幅固定 */
    text-align: center;
}

.btn-circle span {
    font-size: 0.875rem;
    /* 14px */
    text-align: left;
    /* テキストは左揃え */
    width: 90px;
    font-weight: 500;
    /* 文字を少し太く */
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: #888;
    padding: 60px 0;
    /* 上下のパディングを少し広げてバランスを取る */
    text-align: center;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 30px;
    /* 下のマージンを調整 */
}

.footer-logo-img {
    height: 50px;
    /* 高さを指定して調整 */
    width: auto;
    filter: brightness(0) invert(1);
    /* 白くする（念のため画像が白でなくても白くする） */
    opacity: 0.8;
    /* 少し透過させて上品に */
}

.copyright {
    font-size: 0.75rem;
    font-family: var(--font-en);
    color: rgba(255, 255, 255, 0.4);
    /* 少し控えめな色に */
    letter-spacing: 0.1em;
}

/* ========================================
   ダーク背景時のスタイル（Contactセクションなど）
   ======================================== */
body.on-dark-bg .cursor-dot {
    color: var(--color-white);
}

body.on-dark-bg .cursor-outline {
    border-color: var(--color-white);
}

/*
body.on-dark-bg .header.scrolled .nav-toggle span {
    background-color: var(--color-white);
}
*/

/* ========================================
   ギャラリーページ専用スタイル
   ======================================== */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
}

.page-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-weight: 100;
}

.page-subtitle {
    font-family: var(--font-serif-jp);
    color: var(--color-text-light);
    letter-spacing: 0.1em;
}

.gallery-main {
    padding-bottom: 120px;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--color-border);
    /* 薄い枠線にしておく（未選択時） */
    border-radius: 50px;
    background: var(--color-white);
    /* 白背景 */
    color: var(--color-text-light);
    /* 薄い文字 */
    font-family: var(--font-en);
    letter-spacing: 0.1em;
    cursor: pointer;
    /* 明示的に */
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(139, 115, 85, 0.2);
}

/* Masonry Layout (CSS Columns) */
.gallery-masonry {
    column-count: 3;
    /* 3列 */
    column-gap: 20px;
}

/* ギャラリーページでのカーソル色強制 & 背景色変更 */
body.gallery-page {
    background-color: var(--color-white);
}

body.gallery-page .cursor-dot {
    color: var(--color-primary) !important;
}

body.gallery-page .cursor-outline {
    border-color: var(--color-primary) !important;
}

.masonry-item {
    break-inside: avoid;
    /* 途中で切れないように */
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    /* 明示的に */
    transition: transform 0.3s ease;
}

.masonry-item:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    /* 明示的に */
    z-index: 12001;
}

/* PCでは非表示 */
.sp-only {
    display: none;
}

/* スマホでは非表示 (PCのみ改行など) */
@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
}

/* ========================================
   フローティングコンタクトボタン
   ======================================== */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9990;
    /* ヘッダーより下、他より上 */
    box-shadow: 0 5px 20px rgba(85, 139, 97, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    /* 初期状態は非表示（JSで制御） */
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
}

.floating-contact-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.floating-contact-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--color-primary-dark);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.5);
}

.floating-contact-btn i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.floating-text {
    font-family: var(--font-en);
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}