/* ==================================================
   GLOBAL TOKENS & BASE SETTINGS
   ================================================== */
:root {
    --color-primary: #f06292;
    --color-dark: #333333;
    --color-gray: #666666;
    --radius-sm: 4px;
    --color-bg-light: #faf7f5; /* ページ背景用アイボリー */
    --color-accent: #c1a481; /* ダスティゴールド */
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.03em;
    scroll-behavior: smooth;
}

/* ==================================================
   HEADER
   ================================================== */
#header {
    display: flex;
    justify-content: space-between;
    padding: 0 8px 16px;
}

.action-point p {
    padding-bottom: 8px;
}

.logo {
    width: 200px;
    padding-top: 32px;
}
.logo img {
    width: 100%;
}

@media (max-width: 768px) {
    .logo {
        width: 190px;
        padding-top: 24px;
    }
}

#head_nav ul {
    display: flex;
    padding-top: 30px;
}

.head_nav_li {
    padding: 4px 20px;
    background-color: var(--color-primary);
    color: white;
}

/* --------------------------------------------------
   Hamburger Button (Desktop hidden)
-------------------------------------------------- */
.btn {
    position: relative;
    width: 40px;
    height: 30px;
    cursor: pointer;
    display: none;
}
.btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-dark);
    transition: 0.3s;
}
.btn span:nth-of-type(1) {
    top: 0;
}
.btn span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
}
.btn span:nth-of-type(3) {
    bottom: 0;
}

/* 以下のコードでmenuをopenした時にスクロール不可になります。 */

body.menu-open {
    /* スクロールバーを消す */
    overflow: hidden;
    /* iOS Safari や Chrome のバウンス挙動も抑制 */
    overscroll-behavior: none;
}

/* ==================================================
   MAIN NAV (Sliding Drawer on Mobile)
   ================================================== */
#menu {
    display: none;
}

nav#menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #eee;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
}
nav#menu.open {
    transform: translateX(0);
}
nav#menu ul {
    list-style: none;
    padding: 60px 20px;
}
nav#menu ul li + li {
    margin-top: 16px;
}
nav#menu ul li a {
    display: block;
    padding: 8px 0;
    font-size: 1.1rem;
    color: var(--color-dark);
    text-decoration: none;
}

@media (min-width: 768px) {
    .btn {
        display: none;
    }
    nav#menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        transform: none;
    }
    nav#menu ul {
        display: flex;
        padding: 0;
    }
    nav#menu ul li + li {
        margin: 0 0 0 24px;
    }
    nav#menu ul li a {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .btn {
        display: block;
    }
    #menu {
        display: block;
    }
}

/* --------------------------------------------------
   Custom Hamburger (Pink Box)
-------------------------------------------------- */
.hamburger {
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 34px;
    margin-top: 20px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.hamburger span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: 0.3s ease;
}
.hamburger span:nth-child(1) {
    transform: translateY(-6px);
}
.hamburger span:nth-child(2) {
    transform: translateY(0);
}
.hamburger span:nth-child(3) {
    transform: translateY(6px);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* --------------------------------------------------
   Slide‑in Mobile Menu Panel
-------------------------------------------------- */
.menu_nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    padding: 80px 24px;
    background: #fff;
    overflow-y: auto;
    transition: 0.3s ease;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 99;
}
.menu_nav.active {
    right: 0;
}
.menu_nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu_nav ul li {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(254, 37, 108, 0.2);
}
.menu_nav ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #fe256c;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background-color 0.2s;
}
.menu_nav ul li a:hover {
    background: #fff1f5;
}
.menu_nav .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.05));
}

@media (max-width: 768px) {
    #header_bottom {
        display: none;
    }
}

/* ==================================================
   LAYOUT HELPERS
   ================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 見出しは Inter に統一し、ファッション誌っぽく全大文字 */
.section-header h2,
.section-header-light h2,
.hero-text h1,
.about-card h3,
.feature-item h4 {
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================================================
   HERO SECTION
   ================================================== */
.hero-section {
    position: relative;
    background: var(--color-primary);
    color: #fff;
    padding: 4rem 0 0;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-text .lead {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}
.hero-image {
    width: 100%;
    max-width: 520px;
}

.hero-image video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* 枠を満たしつつアスペクト保持 */
    border-radius: 8px; /* 角丸が必要なら */
}
/* Call‑to‑Action */
.action-point {
    text-align: center;
}
.btn-primary {
    display: inline-block;
    width: 200px;
    padding: 0.75rem 0;
    background: var(--color-dark);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-primary:hover {
    background: #222;
}

/* Wave Divider */
.wave-divider {
    overflow: hidden;
    line-height: 0;
}
.wave-divider svg {
    width: 100%;
    height: 100px;
    display: block;
}
/* ==================================================
   ABOUT / FEATURES / PRICE / CONTACT SECTIONS  ─ Fashion ver.
   ================================================== */

/* ---------- SECTION BG & PADDING ---------- */
.about-section {
    background: var(--color-bg-light); /* ふんわりアイボリー */
    padding: 0rem 0rem 4rem;
}

.contact-section {
    background: var(--color-bg-light); /* ふんわりアイボリー */
    padding: 4rem 0;
}
.features-section {
    background: #fff;
    padding: 4rem 0;
}

/* ---------- SECTION HEADERS ---------- */
.section-header h2,
.section-header-light h2 {
    font-family: "Inter", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-header p,
.section-header-light p {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--color-gray);
    line-height: 1.8;
}

/* ---------- FLEX / GRID WRAPPERS ---------- */
.about-content,
.features-list,
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

/* ---------- CARD BASE (About / Feature 共通) ---------- */
.about-card,
.feature-item {
    flex: 1 1 calc(33.333% - 1.333rem);
    background: #fff;
    border-radius: 8px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.about-card:hover,
.feature-item:hover {
    transform: translateY(-6px);
}
.about-card img {
    width: 80px;
    margin-bottom: 1rem;
}
.about-card h3,
.feature-item h4 {
    font-family: "Inter", sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.about-card p,
.feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-gray);
}

.runway {
    margin-top: 8px;
}

/* ---------- FEATURES GRID ---------- */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.show-icon {
    width: 100%;
    height: 200px;
    margin: 0 auto 1rem;
    display: flex;
    object-fit: cover;
    background: #fff;
    align-items: center;
}

.show-icon img {
    width: 100%;
    height: 60px;
}

.show-icon2 img {
    width: 100%;
    height: 200px;
    padding-bottom: 12px;
    object-fit: contain;
}

.show-icon3 {
    width: 100%;
    height: 200px;
    padding-bottom: 12px;
}

.show-icon3 img {
    width: 200px;
    height: 100%;
    object-fit: contain;
    align-items: center;
}

.steps {
    font-weight: bold;
}
/* -------------------
   Pricing Section
   ------------------- */
.pricing-section {
    background: var(--color-bg-light);
    padding: 4rem 0;
}
.pricing-section .section-header {
    font-family: "Inter", sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 2rem;
}

/* グリッド */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* カード共通 */
.pricing-card {
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-group.addons .section-header {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

/* make optional cards look distinct */
.pricing-card.optional {
    border: 2px dashed var(--color-accent);
    background-color: var(--color-bg-light);
}
.pricing-card.optional .price-note {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.5rem;
    text-transform: lowercase;
}

/* タイポグラフィ */
.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}
.card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}
.price-note {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-gray);
    margin-left: 0.25rem;
}

/* CTA ボタン */
.pricing-cta {
    text-align: center;
    margin-top: 1.5rem;
}
.pricing-cta .btn-primary {
    width: auto;
    padding: 0.75rem 2rem;
}

.pricing-cta p {
    padding-bottom: 12px;
}

/* 注釈 & 強調文 */
.note {
    text-align: center;
    color: var(--color-dark);
    font-size: 0.95rem;
    margin-top: 3rem;
}
.highlight {
    text-align: center;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* --------------------------------------------------
   CONTACT FORM & INFO
   -------------------------------------------------- */
.contact-form {
    flex: 1 1 400px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-dark);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.4;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(193, 164, 129, 0.15);
}
.contact-form .btn-primary {
    width: 100%;
    text-align: center;
}

.contact-info {
    flex: 1 1 40px;
}
.contact-info ul {
    list-style: none;
    padding: 0;
}
.contact-info li {
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}
.contact-info a {
    color: var(--color-primary);
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

/* Contact セクション内 Instagram フィード */
.contact-instagram-feed {
    margin: 2rem 0;
}

/* グリッドレイアウト */
.contact-instagram-feed .instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* グリッドアイテムが狭くならない問題を回避 */
.contact-instagram-feed .instagram-grid > * {
    min-width: 0;
} /* ==================================================
   Contact セクション内 Instagram フィード
   ================================================== */
.contact-instagram-feed {
    margin: 2rem 0;
    padding: 1.5rem 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
}

.contact-instagram-feed h3 {
    font-family: "Inter", sans-serif;
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Grid レイアウトに切り替え */
.contact-instagram-feed .instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 子要素が縮みすぎないように */
.contact-instagram-feed .instagram-grid > * {
    min-width: 0;
}

/* インライン height をリセット */
.contact-instagram-feed blockquote.instagram-media[style] {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    height: auto !important;
}

/* iframe 自体もフル幅・自動高さ */
.contact-instagram-feed blockquote.instagram-media iframe {
    width: 100% !important;
    height: auto !important;
}

/* ==================================================
   PC（768px以上）向け微調整
   ================================================== */
@media (min-width: 768px) {
    .contact-instagram-feed .instagram-grid {
        /* グリッドは１列でOK */
        grid-template-columns: 1fr;
        /* 埋め込み幅を最大800pxに */
        max-width: 600px;
        /* 親幅いっぱいに広がらず、左右余白 */
        margin: 0 auto;
        padding: 0;
    }
}

/* ==================================================
   FOOTER
   ================================================== */
.site-footer {
    background: #111;
    color: #eee;
    padding: 2rem 0;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.footer-nav {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}
.footer-nav a {
    color: #eee;
    font-size: 0.9rem;
    text-decoration: none;
}
.footer-nav a:hover {
    text-decoration: underline;
}

/* ==================================================
   RESPONSIVE TWEAKS
   ================================================== */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .about-card {
        flex: 1 1 calc(50% - 1rem);
    }
}
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .about-card {
        flex: 1 1 100%;
    }
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    .features-list {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   HERO SWIPER (Kids-Tokei slider)
   ================================================== */
.hero-swiper {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.hero-swiper .swiper-slide img {
    width: 100%;
    border-radius: 0;
}

/* Swiper Controls */

.hero-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    opacity: 0.4;
    transition: opacity 0.3s;
}
.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* -----------------------------------------
   Scroll Reveal（フェード＆スライドイン）
----------------------------------------- */
/* 初期状態 */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ビューに入ったら */
section.in-view {
    opacity: 1;
    transform: translateY(0);
}
/* =========/* ==================================================
   Next Actions Section
   ================================================== */
.actions-section {
    padding: 4rem 0;
    margin-top: 4rem;
}

.actions-section::before {
    /* 左上のアクセントラインを無効化 */
    display: none;
}

/* セクションタイトル（既存の .section-header-light を流用） */
.actions-section .section-header-light {
    margin-bottom: 2rem;
}

/* ==================================================
   Action Cards
   ================================================== */
.action-card {
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}
.action-card:hover {
    transform: translateY(-4px);
}

/* カード内ラベル（ACTION1, ACTION2…） */
.action-label {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    display: inline-block;
    border-bottom: 4px solid currentColor;
    margin-bottom: 1rem;
}

/* カード内タイトル */
.action-title {
    font-family: "Inter", sans-serif;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

/* カード内説明文 */
.action-desc {
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* ==================================================
   Responsive Adjustments
   ================================================== */
@media (max-width: 768px) {
    .actions-section {
        padding: 3rem 0;
        margin-top: 3rem;
    }
    .actions-section .section-header-light {
        margin-bottom: 1.5rem;
    }
    .action-card {
        padding: 1.5rem;
    }
    .action-title {
        font-size: 1.5rem;
    }
}

/* Pass 一覧部分 */
.pass-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}
@media (max-width: 768px) {
    .pass-grid {
        grid-template-columns: 1fr;
    }
}
