/*!
Theme Name: Nadeshico Group Theme
Description: Nadeshico, Avenue Theme
Version: 1.0.0
*/

/* カスタムプロパティ（CSS変数）*/
:root {
    --primary-color: #fdf6e3;
    --secondary-color: #f5f5f5;
    --accent-color: #a0956b;
    --text-color: #4a4a4a;
    --white: #ffffff;
    --border-color: #e8e8e8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ベーススタイル */
* {
    box-sizing: border-box;
}

body {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

/* 見出しスタイル */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* セクション共通スタイル */
.section-title {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    position: relative;
    text-align: left;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 0.5rem 0 0 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: left;
}

/* ナビゲーション */
.custom-navbar {
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

/* アンカーリンク先が固定ヘッダーに隠れないようにする */
#nadeshico,
#avenue,
#access {
    scroll-margin-top: 80px;
}

.navbar-brand .logo {
    width: 100px;
    height: auto;
    margin: 0 0.5rem 0 0;
}

.navbar-brand-link {
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color);
}

/* ヘッダー：画面読込時のみ画面上部からフェードイン */
body.header-load-fade .custom-navbar {
    opacity: 0;
    transform: translateY(-12px);
    transition:
        opacity 1s ease-out,
        transform 1s ease-out;
}
body.header-load-fade.header-fade-done .custom-navbar {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 1s ease-out,
        transform 1s ease-out;
}

/* ヒーローセクション（固定：スクロールで以降のコンテンツが上に重なる） */
.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ヒーロー高さ分のスペーサー（スクロール領域確保） */
.hero-spacer {
    height: 100vh;
    flex-shrink: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fade-in-opacity 0.5s ease-out forwards;
}

/* フロントヒーロー：スライドショー背景（10枚・JSで is-visible 切り替え） */
.hero-section .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-section .hero-slide.is-visible {
    opacity: 1;
}

.hero-section .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: none;
    opacity: 1;
}

@keyframes fade-in-opacity {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    opacity: 0;
    animation: fade-in-opacity 0.5s ease-out forwards;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-catch {
    position: absolute;
    bottom: 2rem;
    left: 1rem;
    right: 1rem;
    text-align: left;
}

/* ヒーロー画像2つを縦1列に表示（中央配置） */
.hero-title-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

.hero-title-images img {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
}

.hero-img-1 {
    opacity: 0;
    animation: hero-slide-up 0.6s ease-out forwards;
}

.hero-img-2 {
    opacity: 0;
    animation: hero-slide-up 0.6s ease-out 0.5s forwards;
}

@keyframes hero-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
    opacity: 0;
    animation: hero-slide-up 0.6s ease-out 1.1s forwards;
}

/* Nadeshico・Avenue セクション */
.gallery-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* hero以外の全セクションを1枚のグラデーションで覆う（ヒーローの上に重なる） */
.sections-with-gradient {
    position: relative;
    z-index: 1;
}

/* 境目を滑らかに：オーバーレイ上部30%のみ不透明度0→100%のグラデーション、30%より下は常に100% */
.unified-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 5%,
        #fdfdf7 30%,
        #f8f7e6 100%
    );
}

/* 円のぼかしグラデーション（背景装飾） */
.blur-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.blur-circle--top-left {
    width: 600px;
    height: 600px;
    top: 300px;
    left: -100px;
    background: #f8f7d3;
    filter: blur(80px);
    transform: translate(-40%, -40%);
}

.sections-with-gradient .section {
    position: relative;
    z-index: 2;
}

.gallery-content {
    position: relative;
    z-index: 3;
}

/* Nadeshico → Avenue スクロール時のホワイトアウト遷移用オーバーレイ */
.section-whiteout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease-out;
}

/* section-title：下から表示（要素が30%表示で開始） */
.section .section-title {
    opacity: 0;
    transform: translateY(30px);
}

.section-title.inview {
    animation: gallery-title-slide-up 0.5s ease-out forwards;
}

@keyframes gallery-title-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* section-subtitle：下から表示（section-title の後に開始） */
.section .section-subtitle {
    opacity: 0;
    transform: translateY(30px);
}

.section-subtitle.inview,
.section.fade-in .section-subtitle {
    animation: gallery-title-slide-up 0.5s ease-out 0.3s forwards;
}

/* セクションタイトル上：2枚画像（1枚目4:3左寄せ90%、2枚目4:3で1枚目右下に被せ） */
.section-header-images {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 5rem;
}

.section-header-image {
    display: block;
    object-fit: cover;
}

/* 1枚目：4:3、左寄せ、横幅90% */
.section-header-image--lead {
    width: 90%;
    max-width: 90%;
    aspect-ratio: 4 / 3;
    align-self: center;
}

/* 2枚目：4:3、1枚目の右下に少し被せる（Nadeshico） */
.section-header-image--overlap {
    position: absolute;
    right: 0;
    bottom: -8%;
    width: 55%;
    aspect-ratio: 4 / 3;
    align-self: flex-end;
    z-index: 1;
}

/* Avenue：nadeshicoの反対（1枚目右寄せ、2枚目は左下に被せ） */
.section-header-images--avenue .section-header-image--lead {
    align-self: center;
}
.section-header-images--avenue .section-header-image--overlap {
    right: auto;
    left: 0;
}

/* section-header-image：各画像が30%表示でアニメーション開始（Avenue 1枚目は40%で別制御） */
.section .section-header-image {
    opacity: 0;
}

@keyframes section-header-slide-from-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes section-header-slide-from-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Nadeshico：1枚目右から・2枚目左から */
.section-header-image.inview.section-header-image--lead {
    animation: section-header-slide-from-right 1s ease-out forwards;
}
.section-header-images:not(.section-header-images--avenue) .section-header-image.inview.section-header-image--overlap {
    animation: section-header-slide-from-left 1s ease-out forwards;
}

/* Avenue：1枚目は40%フェードイン用クラスで制御、2枚目は whiteout-ended でフェードイン */
.section-header-images--avenue
    .section-header-image.inview.section-header-image--lead.section-header-image--avenue-first {
    animation: none;
}
.section-header-images--avenue .section-header-image.inview.section-header-image--overlap {
    animation: none;
}
.section-header-images--avenue.whiteout-ended .section-header-image.section-header-image--overlap,
.section-header-images--avenue.whiteout-ended .section-header-image.inview.section-header-image--overlap {
    animation: section-header-slide-from-right 1s ease-out forwards;
}
.section-header-image--avenue-first.fade-in-40 {
    animation: section-header-slide-from-left 1s ease-out forwards;
}
/* inview + fade-in-40 のときは animation: none を上書き（詳細度を合わせる） */
.section-header-images--avenue
    .section-header-image.inview.section-header-image--lead.section-header-image--avenue-first.fade-in-40 {
    animation: section-header-slide-from-left 1s ease-out forwards;
}

/* section-title と gallery の間：横幅いっぱい 4:3 画像 */
.section-hero-image {
    opacity: 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 2rem;
}
.section-hero-image.inview {
    animation: fade-in-opacity 0.5s ease-out 0.5s forwards;
}
.section-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 末尾の section-hero-image：recruit との余白＋オーバーレイの上に表示 */
.sections-with-gradient > .section-hero-image {
    margin-top: 10rem;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* カルーセル：全幅・無限スクロール用ラッパー */
.gallery-carousel-wrapper {
    position: relative;
    opacity: 0;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    margin-left: -50vw;
    overflow: hidden;
}

.gallery-carousel-wrapper.inview {
    animation: fade-in-opacity 0.5s ease-out 0.7s forwards;
}

/* 無限スクロールトラック（Nadeshico: 右へ流れる） */
.infinite-scroll-track {
    display: flex;
    width: max-content;
    animation: scroll-right 40s linear infinite;
}

#avenue .infinite-scroll-track {
    animation: scroll-left 40s linear infinite;
}

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.infinite-scroll-track__slide {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
}

.infinite-scroll-track__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Access セクション（背景は .unified-gradient-overlay で共通） */
/* Access・Recruit セクション共通（余白・コンテナの重ね順） */
.access-section,
.recruit-section {
    position: relative;
    padding: 6rem 0;
}

.access-section .container,
.recruit-section .container {
    position: relative;
    z-index: 3;
}

.access-section .section-title::before {
    content: "";
    display: block;
    position: absolute;
    right: -200px;
    top: 300%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: #f8f7d3;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

/* Access：section-title と営業時間の余白を詰める */
.access-section .section-title {
    margin-bottom: 0.5rem;
}

.access-location-set img {
    max-width: 50%;
    width: 50%;
    height: auto;
    margin-bottom: 1rem;
}

.access-info h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.access-info .access-location-set h4 {
    margin-top: 0;
}

.access-info .access-station-set h4 {
    margin-top: 2rem;
}

.access-info address {
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Access：所在地+address / 最寄り駅+駅名をセットで左からフェードイン、map は右から */
.access-location-set,
.access-station-set {
    opacity: 0;
    transform: translateX(-30px);
}

.access-location-set.inview {
    animation: access-fade-left 0.5s ease-out 0.6s forwards;
}

.access-station-set.inview {
    animation: access-fade-left 0.5s ease-out 1.1s forwards;
}

@keyframes access-fade-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.map-container {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    max-width: 100%;
    overflow: hidden;
}

.map-container.inview {
    animation: access-fade-right 0.5s ease-out 0.6s forwards;
}

@keyframes access-fade-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.access-info ul {
    list-style: none;
    padding: 0;
}

.map-container iframe {
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 100%;
}

/* Recruit セクション（背景は .unified-gradient-overlay で共通） */
.recruit-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.recruit-section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.recruit-section__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.recruit-section__inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.recruit-section__label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.2rem;
    display: block;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
}

.recruit-section__label.inview {
    animation: gallery-title-slide-up 0.5s ease-out forwards;
}

/* 店舗情報セクションのラベルは黒（他セクションと統一） */
#nadeshico .recruit-section__label {
    color: var(--text-color);
}

/* 店舗情報・採用情報ラベル：Infomation / Recruit と同じタイミングでフェードイン */
.recruit-section__label {
    opacity: 0;
    transform: translateY(30px);
}
.recruit-section__label.inview {
    animation: gallery-title-slide-up 0.5s ease-out forwards;
}

.recruit-section .section-title {
    text-align: center;
    color: #fff;
}

.recruit-section .section-title::after {
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
}

.recruit-section .section-subtitle {
    color: #fff;
}

/* Recruit section-title 中央の白い円ぼかし */
/* .recruit-section .section-title::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    right: auto;
    top: 200%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: #ffffff;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
} */

.recruit-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.recruit-section .recruit-buttons .btn,
.shop-card .recruit-buttons .btn {
    opacity: 0;
}

.recruit-buttons.recruit-buttons-inview .btn:nth-child(1) {
    animation: fade-in-opacity 0.5s ease-out forwards;
}

.recruit-buttons.recruit-buttons-inview .btn:nth-child(2) {
    animation: fade-in-opacity 0.5s ease-out 0.5s forwards;
}

.recruit-buttons .btn {
    min-width: 200px;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition:
        background 0.2s,
        color 0.2s;
}

.recruit-buttons .btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
}

.recruit-buttons .btn-primary:hover {
    background-color: #8b7355;
    color: var(--white);
}

.recruit-buttons .btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.recruit-buttons .btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* ========== 店舗情報 2グリッド（Nadeshico / Avenue） ========== */
.shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.shop-card__visual {
    position: relative;
    overflow: visible;
    margin-bottom: 1rem;
}

.shop-card__visual img:first-child {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.shop-card__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 70%;
    width: auto;
    height: auto;
    z-index: 1;
}

.shop-card__catch {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: left;
}

.shop-card .recruit-buttons {
    justify-content: flex-start;
    align-items: flex-start;
}

/* 店舗情報カード：visual / logo / catch フェードイン（JS で inview 付与） */
.shop-card__visual {
    opacity: 0;
}
.shop-card__visual.inview {
    animation: fade-in-opacity 0.5s ease-out forwards;
}

.shop-card__logo {
    opacity: 0;
}
.shop-card__logo.inview {
    animation: fade-in-opacity 0.5s ease-out forwards;
}

.shop-card__catch {
    opacity: 0;
    transform: translateY(30px);
}
.shop-card__catch.inview {
    animation: gallery-title-slide-up 0.5s ease-out forwards;
}

.shop-card .recruit-buttons .btn {
    opacity: 0;
}

/* ========== 採用ページ（Recruit） ========== */
/* 採用ページでも front-page と同じ上部5%グラデーションを適用 */
.recruit-page .sections-with-gradient {
    position: relative;
    overflow: visible;
}

.recruit-page .recruit-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.recruit-page .recruit-hero .hero-bg,
.recruit-page .recruit-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.recruit-page .recruit-hero .hero-overlay {
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fade-in-opacity 0.5s ease-out forwards;
}

.recruit-page .recruit-hero .hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recruit-page .recruit-hero .recruit-hero-catch {
    text-align: center;
    padding: 0 1rem;
}

.recruit-page .recruit-hero .hero-catch-main {
    font-size: 3rem;
    line-height: 1.4;
    margin: 0 0 1rem;
    color: var(--white);
}

.recruit-page .recruit-hero .hero-catch-sub {
    font-size: 1.5rem;
    line-height: 1.8;
    margin: 0;
    color: var(--white);
}

/* 採用ヒーロー背景：2枚を3.5秒でフェード切り替え */
.recruit-page .recruit-hero .hero-bg img {
    animation: none;
    opacity: 1;
}

.recruit-page .recruit-hero .hero-bg--1 {
    animation: recruit-hero-bg-fade-out 7s ease-in-out infinite;
}

.recruit-page .recruit-hero .hero-bg--2 {
    animation: recruit-hero-bg-fade-in 7s ease-in-out infinite;
}

@keyframes recruit-hero-bg-fade-out {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes recruit-hero-bg-fade-in {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.recruit-requirements {
    padding-top: 10rem;
}

/* セクション2 CTA：画面内スクロールで表示 */
.recruit-cta .recruit-cta-card {
    opacity: 0;
    transform: translateY(30px);
}

.recruit-cta .recruit-cta-card.inview {
    animation: gallery-title-slide-up 0.5s ease-out forwards;
}

.recruit-cta .row > div:nth-child(1) .recruit-cta-card.inview {
    animation-delay: 0s;
}

.recruit-cta .row > div:nth-child(2) .recruit-cta-card.inview {
    animation-delay: 0.15s;
}

.recruit-cta .row > div:nth-child(3) .recruit-cta-card.inview {
    animation-delay: 0.3s;
}

.recruit-cta-card {
    display: block;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.recruit-cta-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    color: var(--text-color);
}

.recruit-cta-card__label {
    font-weight: 500;
}

.recruit-cta-card--contact {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recruit-dl {
    margin: 0 0 2rem;
    padding: 0;
}

.recruit-dl dt {
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    color: var(--accent-color);
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--border-color);
}

.recruit-dl dt:first-child {
    margin-top: 0;
}

.recruit-dl dd {
    margin: 0 0 0 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* 控室カルーセル（採用ページ） */
.recruit-koshitsu-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.recruit-koshitsu-carousel-wrapper .carousel-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.recruit-koshitsu-carousel-wrapper .carousel-control-prev,
.recruit-koshitsu-carousel-wrapper .carousel-control-next {
    opacity: 0.8;
}

.recruit-koshitsu-carousel-wrapper .carousel-control-prev:hover,
.recruit-koshitsu-carousel-wrapper .carousel-control-next:hover {
    opacity: 1;
}

/* セクション4 コンタクト：カードレイアウト（サイト共通色のみ使用） */
.recruitment-contact {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    max-width: 480px;
    margin: 0 auto;
}

.recruit-contact .card-bordered {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    color: var(--text-color);
    padding: 1.5rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.recruit-contact .card-bordered:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.recruit-contact .card-bordered .card-title {
    color: var(--accent-color);
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.recruitment-contact-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    color: var(--accent-color);
    text-decoration: none;
}

.recruitment-contact-phone:hover {
    color: var(--text-color);
}

.recruitment-contact-phone .bi {
    font-size: 1.44rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.recruitment-contact-phone:hover .bi {
    color: var(--text-color);
}

.recruitment-contact-hours {
    font-size: 0.875rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    margin-bottom: 0;
    text-align: center;
}

.recruit-contact .social-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.2rem;
}

.recruit-contact .social-icons a {
    color: var(--accent-color);
    text-decoration: none;
}

.recruit-contact .social-icons a:hover {
    color: var(--text-color);
}

.recruit-contact .social-icons .bi {
    font-size: 2.75rem;
}

/* セクション4 コンタクト：画面内スクロールで表示 */
.recruit-contact .card-bordered,
.recruit-contact .recruit-form-wrapper {
    opacity: 0;
    transform: translateY(30px);
}

.recruit-contact .card-bordered.inview,
.recruit-contact .recruit-form-wrapper.inview {
    animation: gallery-title-slide-up 0.5s ease-out forwards;
}

.recruit-contact .recruitment-contact .card-bordered:nth-child(1).inview {
    animation-delay: 0s;
}

.recruit-contact .recruitment-contact .card-bordered:nth-child(2).inview {
    animation-delay: 0.15s;
}

.recruit-contact .recruit-form-wrapper.inview {
    animation-delay: 0.3s;
}

.recruit-form-wrapper {
    margin-top: 2rem;
}

.recruit-form-wrapper .wpcf7 {
    max-width: 100%;
}

/* フッター（固定ヒーローの上に表示するため z-index を指定） */
.footer {
    position: relative;
    z-index: 1;
    background-color: #f8f7e6;
    color: var(--text-color);
}

.footer .row {
    display: flex;
    align-items: center;
}

.footer-logo-link {
    text-decoration: none;
}

.footer .footer-logos img {
    width: 100px;
    height: auto;
}

.footer-nav {
    text-align: right;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 1rem 0 1rem;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.7rem;
}

.footer-bottom-pc {
    display: none;
}

/* ページトップボタン */
.page-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.page-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.page-top-btn:hover {
    background-color: #8b7355;
    transform: translateY(-3px);
}

/* レスポンシブ対応 */
@media (min-width: 992px) {
    .pc-none {
        display: none;
    }

    /* PCヒーロー：キャッチの位置と説明文のフォントサイズ */
    .hero-catch {
        left: 5rem;
        bottom: 5rem;
    }
    .hero-description {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .recruit-buttons {
        flex-direction: row;
    }

    .shop-grid {
        grid-template-columns: 1fr 1fr;
    }

    .infinite-scroll-track__slide {
        width: 360px;
        height: 260px;
    }
}

@media (max-width: 991px) {
    .sp-none {
        display: none;
    }

    .hero-center {
        display: contents;
    }

    .hero-catch {
        bottom: 6rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .recruit-page .recruit-hero .hero-catch-main {
        font-size: 1.5rem;
    }

    .recruit-page .recruit-hero .hero-catch-sub {
        font-size: 0.9rem;
    }

    .recruit-page .recruit-hero .hero-bg--1 img {
        object-position: left center;
    }

    .recruit-page .recruit-hero .hero-bg--2 img {
        object-position: 75% center;
    }

    /* Hero背景：SPで0.5秒フェードインを明示 */
    .hero-section .hero-bg.pc-none img {
        opacity: 0;
        animation: fade-in-opacity 0.5s ease-out forwards;
    }

    .gallery-section {
        min-height: auto;
    }

    /* Nadeshico / Avenue：SP時のテキスト用余白（画像は全幅のまま） */
    #nadeshico .gallery-content > .container,
    #avenue .gallery-content > .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* section-header-images：SP時 画面幅いっぱい・アスペクト比維持 */
    .section-header-images {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 5rem;
    }
    .section-header-images .section-header-image {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .section-hero-image {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .sections-with-gradient > .section-hero-image {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .gallery-carousel-wrapper {
        width: 100%;
        max-width: 100%;
        left: auto;
        margin-left: 0;
    }

    /* Recruit：SP時ボタン横幅いっぱい */
    .recruit-buttons .btn {
        width: 100%;
        min-width: 0;
    }

    .footer .footer-logos {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .footer-nav {
        text-align: left;
        margin-top: 1rem;
    }

    .footer-nav a {
        display: block;
        margin: 0.5rem 0;
    }

    .page-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* SPメニューボタン：枠非表示・ハンバーガー⇔クローズアイコン */
    .navbar-toggler.custom-nav-toggler {
        border: none;
        outline: none;
        box-shadow: none;
        padding: 0.5rem;
    }

    .navbar-toggler.custom-nav-toggler:focus {
        outline: none;
        box-shadow: none;
    }

    .hamburger-icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 24px;
    }

    .hamburger-bar {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--text-color);
        border-radius: 1px;
        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }

    .navbar-toggler.custom-nav-toggler.menu-open .hamburger-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar-toggler.custom-nav-toggler.menu-open .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler.custom-nav-toggler.menu-open .hamburger-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (min-width: 992px) {
    .custom-navbar {
        display: none;
    }

    .pc-none {
        display: inline;
    }

    .hero-catch,
    .recruit-page .recruit-hero .recruit-hero-catch {
        display: none;
    }

    .pc-catchcopy {
        position: fixed;
        top: 10rem;
        left: 2rem;
        z-index: 1200;
        color: var(--white);
        font-size: 1.2rem;
        line-height: 1.8;
        text-align: left;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
        pointer-events: none;
    }

    main,
    .recruit-page,
    .wrap {
        width: 390px;
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
    }

    .container {
        width: 390px;
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
    }

    .sections-with-gradient {
        width: 390px;
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-spacer {
        display: none;
    }

    .unified-gradient-overlay {
        background: linear-gradient(180deg, rgb(255, 255, 255) 0%, #fdfdf7 30%, #f8f7e6 100%);
    }
    .blur-circle {
        display: none;
    }

    .section-hero-image,
    .sections-with-gradient > .section-hero-image {
        width: 366px;
        max-width: 366px;
        margin-left: auto;
        margin-right: auto;
    }

    #nadeshico .section-hero-image.inview,
    #avenue .section-hero-image.inview {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .recruit-buttons {
        flex-direction: column;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .gallery-carousel-wrapper {
        width: 390px;
        max-width: 390px;
        left: auto;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .infinite-scroll-track__slide {
        width: 390px;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    #nadeshico .gallery-content > .container,
    #avenue .gallery-content > .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .section-header-images {
        margin-top: 5rem;
    }

    .section-header-images .section-header-image {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .section-header-image--lead {
        width: 100%;
        max-width: 100%;
    }

    .recruit-buttons .btn {
        width: 100%;
        min-width: 0;
    }

    .recruit-page .recruit-hero .hero-bg--1,
    .recruit-page .recruit-hero .hero-bg--2 {
        animation-duration: 10s;
    }

    .footer {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 300px;
        height: 100vh;
        overflow-y: auto;
        padding: 1.5rem 1rem;
        z-index: 1100;
        border-left: 1px solid var(--border-color);
        margin-left: 0;
        margin-right: 0;
    }

    .footer .container {
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .footer .row {
        display: block;
    }

    .footer-nav {
        text-align: left;
        margin-top: 1rem;
    }

    .footer-nav a {
        display: block;
        margin: 0.35rem 0;
    }

    .access-section .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .page-top-btn {
        right: 320px;
    }

    .footer-bottom-pc {
        display: block;
        position: relative;
        z-index: 1;
        width: 390px;
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
        background-color: #f8f7e6;
        color: var(--text-color);
    }

    .footer-bottom-pc .container {
        width: 390px;
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom-pc .row {
        display: flex;
        align-items: center;
    }

    .footer-bottom-pc .footer-logos img {
        width: 100px;
        height: auto;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .infinite-scroll-track__slide {
        width: 640px;
        height: 480px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
}

/* スムーススクロール・横オーバーフロー防止 */
html,
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* 選択時の色 */
::selection {
    background-color: var(--accent-color);
    color: var(--white);
}

/* フォーカス時のアウトライン */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
