@charset "UTF-8";

/* =========================================
   基本設定：サイト全体の色・フォント・幅を編集
   ========================================= */
:root {
    /* 編集：サイト全体の配色 */
    --color-orange: #FF5A36;
    --color-blue: #0057FF;
    --color-green: #00A86B;
    --color-brown: #6D28D9;
    --color-beige: #fffdf7;
    --color-bright-red: #D0006F;
    
    --bg-color: #fffdf7;
    --text-color: #111827;
    --text-white: #F8FAFC;
    
    --font-main: 'Noto Sans JP', sans-serif;
    --font-eng: 'Oswald', sans-serif;
    /* 編集：見出しで使うフォント */
    --font-title: 'Noto Sans JP', sans-serif;

    --container-width: 1100px;
    --header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}
a:hover { opacity: 0.7; }

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

h1, h2, h3, h4, p, ul { margin: 0; padding: 0; list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }

/* 共通アニメーション：スクロール表示に使います */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   ヘッダー：ナビの固定表示・文字色・スマホメニューを編集
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

header.is-scrolled {
    background-color: #fffdf7;
    border-bottom-color: rgba(0, 87, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 87, 255, 0.10);
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* ロゴ：表示する場合は display を調整 */
.logo {
    display: none;
}

.logo__text {
    font-family: var(--font-eng);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.nav-list {
    display: flex;
    gap: 30px;
    margin: 0;
}
.nav-list li a {
    font-family: var(--font-eng);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #F8FAFC;
}

header.is-scrolled .nav-list li a {
    color: var(--text-color);
}

/* スマホメニューのボタン */
.hamburger {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 200;
    margin-left: auto;
}
.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #F8FAFC;
    transition: 0.3s;
}
header.is-scrolled .hamburger span {
    background-color: var(--text-color);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
.hamburger.active span { background-color: var(--text-color); }

/* =========================================
   ヒーロー：メインコピー・ロゴ文字・スライダー画像の見た目を編集
   ========================================= */
.hero {
    display: flex;
    /* スマホでも画面いっぱいに見せる高さ設定 */
    height: 100vh; 
    height: calc(var(--vh, 1vh) * 100);
    
    background-color: var(--color-orange);
    padding-top: var(--header-height);
}

.hero__text-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #F8FAFC;
    position: relative;
    z-index: 10;
}

.hero__content {
    max-width: 500px;
}

.hero__sub {
    font-family: var(--font-eng);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ヒーロー本文：余白・罫線・文字サイズを編集 */
.hero__info {
    position: relative;
    padding-left: 24px;
    border-left: 6px double #F8FAFC;
}

.hero__info p {
    font-family: var(--font-main);
    font-size: 1.15rem;
    margin-bottom: 0;
    letter-spacing: 0.1em;
    line-height: 2.2;
    font-weight: 700;
}

.hero__info-text--tablet {
    display: none;
}

/* 大きなロゴ文字：重なり具合・サイズを編集 */
.stacked {
    --font-size: clamp(3rem, 8vw, 8rem);
    --row-height: 0.9em;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: "Google Sans Flex", sans-serif;
    font-size: var(--font-size);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 40px;
}

.stackedItem {
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    line-height: 0.8;
}

.stackedItem em {
    white-space: nowrap;
    display: block;
    font-style: normal;
}

/* ロゴ各行の高さと透明度 */
.stackedItem:nth-child(1) { height: var(--row-height); opacity: 1; }
.stackedItem:nth-child(2) { height: calc(var(--row-height) * 0.667); opacity: 0.8; }
.stackedItem:nth-child(3) { height: calc(var(--row-height) * 0.444); opacity: 0.6; }
.stackedItem:nth-child(4) { height: calc(var(--row-height) * 0.296); opacity: 0.4; }
.stackedItem:nth-child(5) { height: calc(var(--row-height) * 0.198); opacity: 0.2; }


.hero__image-area {
    flex: 1.2;
    background-color: #fffdf7;
    position: relative;
    overflow: hidden;
    border-radius: 40px 0 0 40px;
}

.hero__image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 10px solid var(--color-beige);
    border-radius: 40px 0 0 40px;
}

/* ヒーロー画像スライダー：フェード速度を編集 */
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* =========================================
   Visual Gallery / Message：ギャラリー画像とメッセージ背景を編集
   ========================================= */
.intro {
    background-color: var(--bg-color);
    text-align: center;
    overflow-x: hidden;
}

/* 横幅いっぱいに画像を流すためのコンテナ */
.container-fluid {
    width: 100%;
    padding: 0;
}

.intro__title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--color-blue);
    line-height: 1.1;
    margin-bottom: 40px;
    padding: 0 20px;
}

@media (min-width: 1025px) {
    .intro__title .pc-hidden-break {
        display: none;
    }
}

/* 見出しのタイピング風アニメーション */
.intro__title.typing-target span {
    opacity: 0;
    display: inline-block;
}

.intro__title.typing-target.is-visible span {
    animation: typingOn 0.1s forwards;
}

.intro__title.typing-target .typing-space {
    white-space: pre;
}

.intro__title.typing-target span:nth-of-type(1) { animation-delay: 0s; }
.intro__title.typing-target span:nth-of-type(2) { animation-delay: 0.05s; }
.intro__title.typing-target span:nth-of-type(3) { animation-delay: 0.1s; }
.intro__title.typing-target span:nth-of-type(4) { animation-delay: 0.15s; }
.intro__title.typing-target span:nth-of-type(5) { animation-delay: 0.2s; }
.intro__title.typing-target span:nth-of-type(6) { animation-delay: 0.25s; }
.intro__title.typing-target span:nth-of-type(7) { animation-delay: 0.3s; }
.intro__title.typing-target span:nth-of-type(8) { animation-delay: 0.35s; }
.intro__title.typing-target span:nth-of-type(9) { animation-delay: 0.4s; }
.intro__title.typing-target span:nth-of-type(10) { animation-delay: 0.45s; }
.intro__title.typing-target span:nth-of-type(11) { animation-delay: 0.5s; }
.intro__title.typing-target span:nth-of-type(12) { animation-delay: 0.55s; }
.intro__title.typing-target span:nth-of-type(13) { animation-delay: 0.6s; }
.intro__title.typing-target span:nth-of-type(14) { animation-delay: 0.65s; }
.intro__title.typing-target span:nth-of-type(15) { animation-delay: 0.7s; }
.intro__title.typing-target span:nth-of-type(16) { animation-delay: 0.75s; }
.intro__title.typing-target span:nth-of-type(17) { animation-delay: 0.8s; }
.intro__title.typing-target span:nth-of-type(18) { animation-delay: 0.85s; }
.intro__title.typing-target span:nth-of-type(19) { animation-delay: 0.9s; }
.intro__title.typing-target span:nth-of-type(20) { animation-delay: 0.95s; }
.intro__title.typing-target span:nth-of-type(21) { animation-delay: 1s; }
.intro__title.typing-target span:nth-of-type(22) { animation-delay: 1.05s; }
.intro__title.typing-target span:nth-of-type(23) { animation-delay: 1.1s; }
.intro__title.typing-target span:nth-of-type(24) { animation-delay: 1.15s; }
.intro__title.typing-target span:nth-of-type(25) { animation-delay: 1.2s; }
.intro__title.typing-target span:nth-of-type(26) { animation-delay: 1.25s; }
.intro__title.typing-target span:nth-of-type(27) { animation-delay: 1.3s; }
.intro__title.typing-target span:nth-of-type(28) { animation-delay: 1.35s; }
.intro__title.typing-target span:nth-of-type(29) { animation-delay: 1.4s; }
.intro__title.typing-target span:nth-of-type(30) { animation-delay: 1.45s; }
.intro__title.typing-target span:nth-of-type(31) { animation-delay: 1.5s; }
.intro__title.typing-target span:nth-of-type(32) { animation-delay: 1.55s; }
.intro__title.typing-target span:nth-of-type(33) { animation-delay: 1.6s; }
.intro__title.typing-target span:nth-of-type(34) { animation-delay: 1.65s; }
.intro__title.typing-target span:nth-of-type(35) { animation-delay: 1.7s; }
.intro__title.typing-target span:nth-of-type(36) { animation-delay: 1.75s; }
.intro__title.typing-target span:nth-of-type(37) { animation-delay: 1.8s; }
.intro__title.typing-target span:nth-of-type(38) { animation-delay: 1.85s; }
.intro__title.typing-target span:nth-of-type(39) { animation-delay: 1.9s; }
.intro__title.typing-target span:nth-of-type(40) { animation-delay: 1.95s; }

@keyframes typingOn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* 横に流れる画像リスト：画像サイズ・余白・速度を編集 */
.marquee-wrapper {
    width: 100%;
    padding: 20px 0;
}

.marquee-row {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

/* 画像を横一列に並べます */
.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content; 
    will-change: transform;
    animation-duration: var(--marquee-duration, 30s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.marquee-track.is-generated {
    gap: 0;
}

.marquee-track.is-generated > img {
    margin-right: 20px;
}

/* 流れる方向 */
.marquee-row[data-direction="left"] .marquee-track {
    animation-name: marquee-left;
}

.marquee-row[data-direction="right"] .marquee-track {
    animation-name: marquee-right;
}

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

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

/* ギャラリー画像：サイズを変える場合は幅と高さを同じ値にします */
.marquee-track img {
    width: 250px;
    height: 250px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
}

/* メッセージセクション：背景画像・文字色・余白を編集 */
.message-section {
    background-color: var(--color-blue);
    background-image: url('https://images.pexels.com/photos/10607180/pexels-photo-10607180.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    
    color: #F8FAFC;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 背景画像の上に重ねる色。文字を読みやすくします */
.message-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 87, 255, 0.85);
    z-index: 1;
}

.message-section::after {
    content: none;
}

/* メッセージ本文を背景より前面に表示 */
.message-section .container {
    position: relative;
    z-index: 2;
}

.message-section p {
    font-size: 1rem;
    line-height: 2;
}

/* =========================================
   Section01-04：背景色・カード・ボタンを編集
   ========================================= */
.template-sec {
    padding: 100px 0;
    color: #F8FAFC;
    position: relative;
    border-radius: 20px;
    margin: 20px;
}

/* 編集：各セクションの背景色 */
.template-sec--orange { background-color: var(--color-orange); }
.template-sec--blue   { background-color: var(--color-blue); }
.template-sec--red    { background-color: var(--color-bright-red); }
.template-sec--green  { background-color: var(--color-green); }
.template-sec--brown  { background-color: var(--color-brown); }

.section-header { text-align: center; margin-bottom: 50px; }
.template-sec__title {
    font-family: var(--font-title);
    font-size: clamp(4rem, 8vw, 6rem);
    text-transform: capitalize;
}

/* カードスライダー：余白・ページネーション位置を編集 */
.content-slider,
.section01-slider {
    width: 100%;
    margin-bottom: 50px;
    padding-bottom: 40px;
}

.content-slider .swiper-wrapper {
    align-items: stretch;
}

.content-slider .swiper-slide {
    height: auto;
    display: flex;
}

.content-slider .content-card {
    width: 100%;
}

/* スライダー矢印 */
.content-slider .swiper-button-next,
.content-slider .swiper-button-prev,
.section01-slider .swiper-button-next,
.section01-slider .swiper-button-prev {
    color: #F8FAFC;
    background-color: #fdfdfd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}
.content-slider .swiper-button-next::after,
.content-slider .swiper-button-prev::after,
.section01-slider .swiper-button-next::after,
.section01-slider .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* スライダー下の点 */
.content-slider .swiper-pagination-bullet,
.section01-slider .swiper-pagination-bullet {
    background-color: #F8FAFC;
    opacity: 0.5;
}
.content-slider .swiper-pagination-bullet-active,
.section01-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

/* カード：画像・本文・余白を編集 */
.content-card {
    background: #fffdf7;
    border-radius: 12px;
    overflow: hidden;
    color: var(--text-color);
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    /* カードの高さを揃えます */
    height: 100%;
}

.content-card__img {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 15px;
}
.content-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-card__title {
    font-family: var(--font-eng);
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-orange); /* カード見出しの色 */
}
.template-sec--blue .content-card__title { color: var(--color-blue); }
.template-sec--red .content-card__title { color: var(--color-bright-red); }
.template-sec--green .content-card__title { color: var(--color-green); }

.content-card__text {
    font-size: 0.8rem;
    color: #334155;
    margin-bottom: 10px;
    flex-grow: 1;
}

.content-card__meta {
    font-family: var(--font-eng);
    font-weight: 700;
    font-size: 1.1rem;
}

/* 詳細リスト：項目名・説明文の並びを編集 */
.detail-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    background: #fffdf7;
    border-radius: 12px;
    padding: 40px;
    color: var(--text-color);
}
.detail-cat {
    font-family: var(--font-eng);
    color: var(--color-brown);
    border-bottom: 2px solid var(--color-brown);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.detail-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #fdfdfd;
    padding: 8px 0;
    font-size: 0.9rem;
}
.detail-note {
    text-align: center;
    margin-bottom: 20px;
    font-family: var(--font-eng);
}

/* ボタン：リンク文字・枠線・hover表示を編集 */
.template-sec__action { text-align: center; }
.btn {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid currentColor;
    border-radius: 50px;
    text-transform: uppercase;
    font-family: var(--font-eng);
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}
.btn--outline-white { color: #F8FAFC; border-color: #F8FAFC; }
.btn--outline-white:hover { background: #fdfdfd; color: #111827; }
.btn--outline-dark { color: var(--text-color); border-color: var(--text-color); }
.btn--outline-dark:hover { background: var(--color-blue); color: #F8FAFC; }

/* =========================================
   フッター：ロゴ画像・コピーライト・装飾を編集
   ========================================= */
footer {
    background-color: var(--bg-color);
    position: relative;
    padding-bottom: 40px;
    text-align: center;
}

.footer-wave {
    line-height: 0;
    transform: translateY(-50%);
    color: var(--bg-color);
}
.footer-wave svg {
    width: 100%;
    height: 50px;
}

.footer-content {
    margin-top: -20px;
}

.footer-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* フッターロゴ画像のサイズ */
.footer-logo img {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
}

.footer-logo__text {
    font-family: var(--font-eng);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-blue);
}

.copyright {
    font-size: 0.7rem;
    color: #8A94A6;
}

/* =========================================
   レスポンシブ：タブレット・スマホ表示を編集
   ========================================= */
@media (max-width: 1024px) {
    :root { --container-width: 100%; }
    .stacked { --font-size: clamp(3rem, 6vw, 6rem); } 
}

/* タブレット表示 */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero { 
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        min-height: calc(var(--vh, 1vh) * 100);
        height: auto;
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 60px;
        overflow: hidden;
    }

    .hero__text-area,
    .hero__content {
        display: contents;
    }

    .hero__sub {
        order: 1;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        color: #F8FAFC;
    }

    .stacked {
        order: 2;
        --font-size: clamp(5rem, 18vw, 8rem);
        align-items: center;
        margin-top: 0;
        margin-bottom: -50px;
        position: relative;
        z-index: 20;
        width: 100%;
    }

    .hero__image-area { 
        order: 3;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 90%;
        height: calc(var(--vh, 1vh) * 50);
        flex: none;
        margin-bottom: 30px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 87, 255, 0.28);
        z-index: 1;
    }
    .hero__image-area img {
        border-radius: 20px;
    }

    .hero__info {
        order: 4;
        margin-top: 0;
        padding-bottom: 0;
        text-align: center;
        text-shadow: none;
        border-left: none;
        padding-left: 0;
        padding-top: 0;
        width: 100%;
        padding: 0 20px;
        color: #F8FAFC;
    }

    .hero__info-text--default {
        display: none;
    }

    .hero__info-text--tablet {
        display: grid;
        gap: 10px;
        font-size: clamp(2.5rem, 4.6vw, 3.4rem);
        line-height: 1.45;
    }
    
    .hero__info::before {
        content: '';
        display: block;
        width: 40px;
        height: 3px;
        background-color: #F8FAFC;
        margin: 0 auto 20px auto;
    }

}

/* スマホ表示 */
@media (max-width: 767px) {
    /* ヘッダー */
    .hamburger { display: block; }

    .nav-panel {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        background: #fdfdfd;
        z-index: 150;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
    }
    .nav-panel.active { right: 0; }
    .nav-list { flex-direction: column; text-align: center; gap: 40px; margin-left: 0; }
    
    /* スマホナビの文字色 */
    .nav-list li a { font-size: 1.5rem; color: var(--text-color); }

    /* ヒーロー：スマホでは縦並びに変更 */
    .hero { 
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        min-height: calc(var(--vh, 1vh) * 100);
        height: auto;
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 60px;
        overflow: hidden;
    }

    /* 子要素の順番をスマホ用に並べ替えます */
    .hero__text-area,
    .hero__content {
        display: contents;
    }

    /* 1. サブコピー */
    .hero__sub {
        order: 1;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        color: #F8FAFC;
    }

    /* 2. 大きなロゴ文字 */
    .stacked {
        order: 2;
        --font-size: clamp(5rem, 18vw, 8rem);
        align-items: center;
        margin-top: 0;
        margin-bottom: -50px;
        position: relative;
        z-index: 20;
        width: 100%;
    }

    /* 3. メイン画像 */
    .hero__image-area { 
        order: 3;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 90%;
        height: calc(var(--vh, 1vh) * 50);
        flex: none;
        margin-bottom: 30px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 87, 255, 0.28);
        z-index: 1;
    }
    .hero__image-area img {
        border-radius: 20px;
    }

    /* 4. 本文 */
    .hero__info {
        order: 4;
        margin-top: 0;
        padding-bottom: 0;
        text-align: center;
        text-shadow: none;
        
        border-left: none;
        padding-left: 0;
        padding-top: 0;
        
        width: 100%;
        padding: 0 20px;
        color: #F8FAFC;
    }
    
    /* 本文上の装飾ライン */
    .hero__info::before {
        content: '';
        display: block;
        width: 40px;
        height: 3px;
        background-color: #F8FAFC;
        margin: 0 auto 20px auto;
    }
    
    .detail-container { grid-template-columns: 1fr; padding: 20px; }
    
    /* セクション余白 */
    .template-sec { margin: 20px 10px; border-radius: 10px; padding: 60px 0; }

    .template-sec__title {
        font-size: min(13vw, 4rem);
        letter-spacing: 0;
        text-align: center;
    }

    /* ギャラリー画像のスマホサイズ */
    .marquee-track img {
        width: 150px;
        height: 150px;
    }

    /* Visual Gallery見出しのスマホサイズ */
    .intro__title {
        font-size: 2rem;
        line-height: 1.2;
    }
}

/* =========================================
   アニメーション：ロゴ・本文・画像の表示演出
   ========================================= */

/* スタックロゴ用のポップアニメーション */
@keyframes stackPop {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: var(--final-op);
        transform: translateY(0) scale(1);
    }
}

/* 通常テキスト用のフェードアップ */
@keyframes simpleFadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* カーテンアニメーション */
@keyframes curtainReveal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 画像のズームインアニメーション */
@keyframes imageZoom {
    0% {
        transform: scale(1.1);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ロゴ表示アニメーション：速度を変える場合は duration を調整 */
body.is-loaded .stackedItem {
    animation-name: stackPop;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    animation-fill-mode: forwards;
}

/* ロゴ各行の表示タイミング */
.stackedItem { opacity: 0; }
.stackedItem:nth-child(1) { --final-op: 1;   animation-delay: 0.2s; }
.stackedItem:nth-child(2) { --final-op: 0.8; animation-delay: 0.3s; }
.stackedItem:nth-child(3) { --final-op: 0.6; animation-delay: 0.4s; }
.stackedItem:nth-child(4) { --final-op: 0.4; animation-delay: 0.5s; }
.stackedItem:nth-child(5) { --final-op: 0.2; animation-delay: 0.6s; }

/* サブコピーの表示タイミング */
.hero__sub { opacity: 0; }
body.is-loaded .hero__sub {
    animation: simpleFadeUp 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

/* ヒーロー本文の表示タイミング */
.hero__info { opacity: 0; }
body.is-loaded .hero__info {
    animation: simpleFadeUp 0.8s ease-out forwards;
    animation-delay: 1.0s;
}

/* メイン画像のカーテン演出 */
.hero__image-area {
    position: relative;
}

/* カーテン色を変える場合は background-color を編集 */
.hero__image-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-orange);
    z-index: 5;
    transform: translateX(0);
}

body.is-loaded .hero__image-area::after {
    animation: curtainReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    animation-delay: 0.2s;
}

/* 表示中のヒーロー画像 */
body.is-loaded .hero__image-area img.active {
    opacity: 1;
}

/* ヒーロー画像のフェード速度 */
.slide {
    transition: opacity 1.5s ease-in-out;
}

/* =========================================
   PC表示：横幅の広い画面でコンテンツ幅を調整
   ========================================= */
@media (min-width: 1025px) {
    #section01 .container,
    #section02 .container,
    #section03 .container,
    #section04 .container {
        max-width: 1400px;
    }
}

/* =========================================
   Information：吊り下げカードの色・揺れ・余白を編集
   ========================================= */
.hanging {
    /* 編集：吊り下げカード内の配色 */
    --ink: #1D4ED8;
    --paper: #F4F7FB;
    --shadow: rgba(29, 78, 216, .14);
    --shadow-2: rgba(29, 78, 216, .22);
    --accent: #FF3B30;

    --radius: 18px;
    --ring: 14px;
    --line: 3px;
    --max: 1180px;

    width: 100%;
    padding: clamp(60px, 10vw, 120px) 16px;
    color: var(--ink);
    background: var(--paper);
}

.hanging__inner {
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.hanging__header {
    margin-bottom: clamp(18px, 3.2vw, 28px);
    text-align: center;
}

.hanging__eyebrow {
    margin: 0 0 6px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .85;
    font-family: var(--font-eng);
}

.hanging__title {
    margin: 0;
    font-size: clamp(4rem, 8vw, 6rem); /* Information見出しの大きさ */
    line-height: 1.1;
    font-family: var(--font-title);
    color: var(--color-orange);
}

.hanging__lead {
    margin: 10px auto 0;
    max-width: 52ch;
    opacity: .86;
}

/* Informationカードの吊り下げ装飾 */
.hanger {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: clamp(18px, 2.6vw, 28px);
    align-items: start;

    padding-top: 72px; /* 紐からカードまでの余白 */
    perspective: 1000px;
}

/* 横の紐 */
.hanger::before {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    top: 26px;
    height: var(--line);
    border-radius: 999px;
    background: var(--ink);
    opacity: .92;
    box-shadow: 0 10px 24px var(--shadow);
}

/* 紐の影 */
.hanger::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    top: 33px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(closest-side, rgba(29, 78, 216, .12), transparent 70%);
    opacity: .7;
    filter: blur(0.2px);
}

/* 吊り下げカード：傾き・揺れ・上下位置を編集 */
.card {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    outline: none;

    /* JSが揺れ用の値を入れます */
    --sway: 0deg;
    --tiltX: 0deg;
    --tiltY: 0deg;
    --lift: 0px;

    /* カードの上下位置 */
    translate: 0 var(--drop, 20px);

    transform:
        translateY(var(--lift)) rotateZ(calc(var(--rot, 0deg) + var(--sway))) rotateX(var(--tiltX)) rotateY(var(--tiltY));
    transition:
        box-shadow .25s ease,
        transform .18s ease;
}

.card--info01 {
    --rot: -6deg;
    --drop: 18px;
    --phase: 0.0;
}

.card--info02 {
    --rot: 4deg;
    --drop: 30px;
    --phase: 1.4;
}

.card--info03 {
    --rot: -3deg;
    --drop: 22px;
    --phase: 2.6;
}

/* カードごとの縦紐 */
.card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -58px; /* 縦紐の長さ */
    width: 2px;
    height: 58px;
    background: var(--ink);
    opacity: .82;
    transform: translateX(-50%);
}

/* 縦紐の結び目 */
.card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -12px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--paper);
    outline: 2px solid var(--ink);
    transform: translateX(-50%);
    box-shadow: 0 10px 18px var(--shadow);
}

/* クリップ装飾 */
.card__clip {
    position: absolute;
    left: 50%;
    top: -34px;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    gap: 6px;
    pointer-events: none;
}

.card__ring {
    width: calc(var(--ring) * 1.55);
    height: calc(var(--ring) * 1.55);
    border-radius: 999px;
    border: 3px solid var(--ink);
    background: transparent;
    box-shadow: 0 10px 18px var(--shadow);
}

.card__clamp {
    width: 44px;
    height: 18px;
    border-radius: 10px;
    background: var(--ink);
    opacity: .92;
    box-shadow: 0 10px 18px var(--shadow);
}

/* カード本文エリア */
.card__body {
    background: var(--paper);
    border: 2px solid rgba(29, 78, 216, .58);
    border-radius: var(--radius);
    padding: 22px 22px 20px;
    min-height: 320px;
    box-shadow:
        0 26px 40px var(--shadow),
        0 10px 18px rgba(29, 78, 216, .08);
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* カード内側の細い線 */
.card__body::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: calc(var(--radius) - 10px);
    border: 1px solid rgba(29, 78, 216, .14);
    pointer-events: none;
}

/* カード内テキスト */
.card__step {
    margin: 0 0 8px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .62;
    font-family: var(--font-eng);
    font-size: 0.8rem;
    color: var(--accent);
}

.card__title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
    color: var(--ink);
}

.card__text {
    margin: 0 0 14px;
    opacity: .9;
}

/* Information01の行レイアウト */
.card__dl {
    margin: 0;
    display: grid;
    gap: 10px;
}

.card__row {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px;
    align-items: start;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(29, 78, 216, .2);
}

.card__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.card__row dt {
    font-weight: 800;
    color: var(--accent);
    opacity: 1;
}

.card__row dd {
    margin: 0;
    color: var(--ink);
    opacity: .88;
}

/* Information02のリスト */
.info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.info-list__item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(29, 78, 216, .14);
    background: rgba(29, 78, 216, .04);
}

.info-list__label {
    font-weight: 800;
    color: var(--accent);
}

.info-list__text {
    color: var(--ink);
    opacity: .88;
}

.note {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--ink);
    opacity: .74;
}

/* Information03の小さな情報枠 */
.info-badge {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 14px;
    border-radius: 14px;
    border: 1px solid rgba(29, 78, 216, .14);
    background: rgba(29, 78, 216, .04);
}

.info-badge__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 2px solid rgba(29, 78, 216, .52);
    display: grid;
    place-items: center;
    position: relative;
}

.info-badge__dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--accent);
    opacity: .9;
}

.info-badge__title {
    margin: 0;
    font-weight: 900;
}

.info-badge__text {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: .78;
}

/* カード内リンク・ボタン */
.card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.link {
    color: var(--accent);
    font-weight: 800;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* 吊り下げカード専用ボタン */
.hanging .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: var(--paper);
    font-weight: 900;
    letter-spacing: .02em;
    text-decoration: none;
    box-shadow: 0 14px 24px var(--shadow-2);
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    text-transform: none;
    font-size: 0.9rem;
}

.hanging .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px var(--shadow-2);
    background: var(--accent);
    color: var(--paper);
}

.hanging .btn--ghost {
    background: transparent;
    color: var(--accent);
    box-shadow: none;
    border-color: var(--accent);
}
.hanging .btn--ghost:hover {
    background: rgba(255, 59, 48, 0.05);
    color: var(--accent);
}

/* カードとボタンのhover表示 */
.card:focus-within,
.card:hover {
    --lift: -6px;
}

.card:focus-within .card__body,
.card:hover .card__body {
    box-shadow:
        0 34px 52px var(--shadow-2),
        0 12px 22px rgba(29, 78, 216, .1);
}

.card.card--stable-hit:hover,
.card.card--stable-hit:focus-within {
    --lift: 0px;
}

.hanging .btn--stable-hit:hover {
    transform: none;
}

.hanging .btn:focus-visible,
.link:focus-visible {
    outline: 3px solid rgba(29, 78, 216, .25);
    outline-offset: 3px;
    border-radius: 10px;
}

/* 吊り下げカードのスマホ表示 */
@media (max-width: 980px) {
    .hanger {
        grid-template-columns: 1fr;
        padding-top: 64px;
    }

    .hanger::before,
    .hanger::after {
        left: 8%;
        right: 8%;
    }

    .card {
        max-width: 620px;
        margin-inline: auto;
    }

    .card::before {
        height: 52px;
        top: -52px;
    }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
    .card {
        transition: none;
        transform: translateY(var(--lift)) rotateZ(var(--rot, 0deg));
    }
}

/* =========================================
   ローディング画面：表示文字・バー・最低表示時間を編集
   ========================================= */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-color); /* サイト全体の背景色を使用 */
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease, visibility .5s ease;
    /* 編集：ローディング画面の色 */
    --loader-ink: #0057ff;
    --loader-accent: #ff3b30;
    --loader-shadow: rgba(0, 194, 255, .22);
}

.site-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 360px at 50% 45%, rgba(0, 87, 255, .08), transparent 70%),
        radial-gradient(700px 280px at 50% 65%, rgba(255, 59, 48, .08), transparent 70%);
    pointer-events: none;
}

.site-loader__inner {
    position: relative;
    width: min(520px, 92vw);
    text-align: center;
    color: var(--loader-ink);
}

.site-loader__brand {
    display: grid;
    place-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.site-loader__seal {
    display: none;
}

.site-loader__seal::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 999px;
    border: 2px solid var(--loader-accent);
    opacity: .9;
}

.site-loader__word {
    font-family: var(--font-eng); /* ローディング文字のフォント */
    font-weight: 700;
    letter-spacing: .18em;
    font-size: clamp(22px, 4vw, 34px);
    line-height: 1.1;
}

/* ローディング文字の表示アニメーション */
.site-loader__word span {
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    animation: loaderLetters .9s ease forwards;
}

.site-loader__word span:nth-child(1) { animation-delay: .05s; }
.site-loader__word span:nth-child(2) { animation-delay: .12s; }
.site-loader__word span:nth-child(3) { animation-delay: .19s; }
.site-loader__word span:nth-child(4) { animation-delay: .26s; }
.site-loader__word span:nth-child(5) { animation-delay: .33s; }
.site-loader__word span:nth-child(6) { animation-delay: .40s; }

@keyframes loaderLetters {
    to { opacity: 1; transform: translateY(0); }
}

/* ローディングバー */
.site-loader__bar {
    height: 10px;
    border-radius: 999px;
    border: 2px solid rgba(0, 87, 255, .55);
    background: rgba(0, 87, 255, .06);
    overflow: hidden;
    box-shadow: 0 14px 24px rgba(0, 87, 255, .10);
    width: 200px; /* ローディングバーの幅 */
    margin: 0 auto;
}

.site-loader__barFill {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--loader-accent), rgba(255, 59, 48, .65));
    border-radius: 999px;
    transform: translateX(-120%);
    animation: loaderBar 1.1s ease-in-out infinite;
}

@keyframes loaderBar {
    0% { transform: translateX(-120%); }
    55% { transform: translateX(180%); }
    100% { transform: translateX(180%); }
}

.site-loader__caption {
    margin: 14px 0 0;
    opacity: .82;
    font-weight: 700;
    letter-spacing: .04em;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

/* ローディング完了後の非表示状態 */
.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
    .site-loader__barFill,
    .site-loader__word span {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
