/*
Theme Name: AYAYA YOGA
Author: 松浦さん
Version: 1.0
*/

/* ------------------------------
   base
------------------------------ */
:root {
    --bg-main: #F8F5F0;
    --bg-sub: #E7EFE7;
    --color-heading: #6B5847;
    --color-text: #4A3F35;
    --accent-teal: #2CC5B4;
    --accent-blue: #243A73;
    --radius-lg: 24px;
    --inner-width: 1080px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    color: var(--color-text);
    background-color: var(--bg-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.inner {
    width: 100%;
    max-width: var(--inner-width);
    padding-inline: 16px;
    margin-inline: auto;
}

h1,
h2,
h3 {
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
    color: var(--color-heading);
    line-height: 1.5;
    margin: 0 0 16px;
}

p {
    margin: 0 0 16px;
}

section {
    padding: 64px 0;
}

@media (min-width: 768px) {
    section {
        padding: 96px 0;
    }
}

/* ------------------------------
   header
------------------------------ */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    z-index: 20;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* ナビを右寄せ */
    padding: 8px 16px;
    max-width: var(--inner-width);
    margin-inline: auto;
}

/* ヘッダーロゴ（現在HTMLでは未使用だが一応残しておく） */
.site-header__logo {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    letter-spacing: 0.18em;
    font-size: 14px;
}

.site-header__logo img {
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .site-header__logo img {
        height: 36px;
    }
}

.site-header__nav {
    display: none;
    gap: 24px;
    font-size: 13px;
}

.site-header__nav a {
    position: relative;
    padding-bottom: 2px;
}

.site-header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--accent-teal);
    transition: width 0.2s ease;
}

.site-header__nav a:hover::after {
    width: 100%;
}

@media (min-width: 768px) {
    .site-header__inner {
        padding-block: 12px;
    }

    .site-header__nav {
        display: flex;
    }
}

.site-header__sp-label {
    font-size: 12px;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .site-header__sp-label {
        display: none;
    }
}

.header-nav-list {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.header-nav-list a {
    text-decoration: none;
    color: inherit;
}



/* ------------------------------
   buttons
------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    background: var(--accent-blue);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn--outline {
    background: #fff;
    color: var(--accent-blue);
    border: 1px solid rgba(36, 58, 115, 0.18);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    opacity: 0.96;
}

.btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* メイングラデーションボタン */
.btn--grad {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 32px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    background: linear-gradient(135deg, #b22248 0%, #f28c79 100%);
    box-shadow: 0 4px 14px rgba(178, 34, 72, 0.25);
}

.btn--grad:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ------------------------------
   FV
------------------------------ */
.fv {
    padding: 0;
    margin: 0;
    position: relative;
    height: 100vh; /* 画面いっぱい */
    width: 100%;
    overflow: hidden;
}

/* 左側グラデーションのオーバーレイ（テキストの視認性UP） */
.fv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0)
    );
    z-index: 5;
    pointer-events: none;
}

/* スライダー全体をFVいっぱいに */
.fv .swiper,
.fv .swiper-wrapper,
.fv .swiper-slide {
    width: 100%;
    height: 100%;
}

/* 画像を画面にフィットさせる（トリミングあり） */
.fv .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 余白なしで埋める */
    object-position: center; /* 主体位置は必要に応じて調整 */
}

/* テキスト左中央配置 */
.fv__content-left {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 10; /* オーバーレイより手前に */
    color: #fff;
    max-width: 480px;
}

.fv__label {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.fv__copy-main {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #fff;
}

.fv__copy-sub {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
    color: #eee;
}

@media (max-width: 768px) {
    .fv__content-left {
        left: 7%;
        right: 7%;
        max-width: none;
    }

    .fv__copy-main {
        font-size: 24px;
    }

    .fv__copy-sub {
        font-size: 14px;
    }
}

/* FV ロゴ */
.fv__logo {
    margin-bottom: 20px; /* ロゴとテキストの間の余白 */
}

.fv__logo img {
    width: 120px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .fv__logo img {
        width: 96px;
    }
}

/* ページネーション（白丸） */
.fv-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
}

.fv-pagination .swiper-pagination-bullet-active {
    background: var(--accent-teal);
}

.fv-pagination {
    bottom: 20px !important;
}

/* iOS Safari 高さ調整 */
@supports (-webkit-touch-callout: none) {
    .fv {
        height: -webkit-fill-available;
    }
}

/* ------------------------------
   section header
------------------------------ */
.section-header {
    margin-bottom: 32px;
}

.section-header__eyebrow {
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 8px;
}

.section-header__title {
    font-size: 22px;
    margin-bottom: 8px;
}

.section-header__lead {
    font-size: 13px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .section-header__title {
        font-size: 26px;
    }

    .section-header__lead {
        font-size: 14px;
    }
}

/* ------------------------------
   concept
------------------------------ */
.section--concept {
    background: var(--bg-main);
}

/* 全体レイアウト */
.concept__body {
    display: grid;
    gap: 24px;
}

/* 左カラム：見出し＋テキストを縦並び */
.concept__left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.concept__text {
    font-size: 14px;
}

.concept__sub {
    font-size: 13px;
    opacity: 0.9;
}

/* 右カラム：写真（高さいっぱいにフィット） */
.concept__photo {
    width: 100%;
    height: 100%;
}

.concept__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 余白ゼロでフィット */
    display: block;
}

/* PCレイアウト：左＝テキスト、右＝写真 */
@media (min-width: 900px) {
    .concept__body {
        grid-template-columns: 1.1fr 1.3fr; /* 左テキスト / 右写真 */
        gap: 40px;
        align-items: center;
    }
}

/* ------------------------------
   profile
------------------------------ */
.section--profile {
    background: var(--bg-sub);
}

.profile {
    display: grid;
    gap: 24px;
}

@media (min-width: 900px) {
    .profile {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
        gap: 40px;
    }
}

.profile__photo {
    max-width: 360px;
    margin-inline: auto;
    overflow: hidden;
}

.profile__photo img {
    width: 100%;
    height: auto;
    border-radius: 0; /* 角丸なし */
    object-fit: cover;
    display: block;
}

@media (min-width: 900px) {
    .profile__photo {
        max-width: 420px; /* 写真を少し大きめに */
        flex-shrink: 0;   /* 写真が潰れないように */
    }
}

.profile__name {
    font-size: 20px;
    margin-bottom: 4px;
}

.profile__role {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.profile__text {
    font-size: 14px;
}

.profile__note {
    font-size: 13px;
    margin-top: 8px;
    opacity: 0.9;
}

/* ------------------------------
   lessons
------------------------------ */
.section--lessons {
    background: var(--bg-main);
}

.lessons__grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .lessons__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.lesson-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lesson-card__tag {
    font-size: 11px;
    display: inline-flex;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(44, 197, 180, 0.12);
    color: var(--accent-teal);
    margin-bottom: 4px;
}

.lesson-card__title {
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
    margin-bottom: 4px;
}

.lesson-card__desc {
    font-size: 13px;
}

.lesson-card__meta {
    font-size: 12px;
    opacity: 0.9;
}

/* ------------------------------
   schedule
------------------------------ */
.section--schedule {
    background: var(--bg-sub);
    text-align: center;
}

.schedule__note {
    font-size: 13px;
    margin-bottom: 24px;
}

.schedule__img {
    max-width: 480px;
    margin: 0 auto 24px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.schedule__btns {
    justify-content: center;
}

/* ------------------------------
   instagram
------------------------------ */
.section--instagram {
    background: var(--bg-main);
}

.insta {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .insta {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: center;
    }
}

.insta__name {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.insta__handle {
    font-size: 14px;
    margin-bottom: 16px;
}

.insta__text {
    font-size: 13px;
    margin-bottom: 20px;
}

.insta__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.insta__thumb {
    aspect-ratio: 1 / 1;
    background: #ddd;
    border-radius: 12px;
    overflow: hidden;
}

.insta__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------------
   footer
------------------------------ */
.site-footer {
    background: #1f2933;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    padding: 24px 16px 32px;
    margin-top: 24px;
}

.site-footer__inner {
    max-width: var(--inner-width);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__brand {
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.16em;
    font-size: 11px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer__links a {
    opacity: 0.8;
}

.site-footer__copy {
    opacity: 0.6;
}


/* ------------------------------
   header nav & drawer
------------------------------ */

/* 共通ナビリスト */
.header-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* PCナビ（横並び） */
@media (min-width: 768px) {
    .site-header__nav {
        display: flex;
    }

    .header-nav-list {
        display: flex;
        gap: 24px;
    }

    .header-nav-list a {
        text-decoration: none;
        color: inherit;
        position: relative;
        padding-bottom: 2px;
    }

    .header-nav-list a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 1px;
        background: var(--accent-teal);
        transition: width 0.2s ease;
    }

    .header-nav-list a:hover::after {
        width: 100%;
    }
}

/* SPデフォルト：ナビは非表示・ドロワーボタン表示 */
.drawer-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 999px;
    border: none;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
}

.drawer-toggle__line {
    width: 14px;
    height: 1.5px;
    background: #fff;
    display: block;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.drawer-toggle__label {
    letter-spacing: 0.12em;
}

/* PCではハンバーガーを非表示 */
@media (min-width: 768px) {
    .drawer-toggle {
        display: none;
    }
}

/* SPドロワーメニュー本体 */
@media (max-width: 767px) {
    .site-header__nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 72%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98); /* 濃紺 */
        padding: 80px 24px 24px;
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.35);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 40;
        display: block; /* nav自体はブロックにしておく */
    }

    .header-nav-list {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .header-nav-list a {
        color: #fff;
        font-size: 14px;
        text-decoration: none;
    }

    /* 開いているとき */
    .site-header__nav.is-open {
        transform: translateX(0);
    }

    /* オーバーレイ */
    .drawer-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
        z-index: 30;
    }

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

    /* ハンバーガー → × に変形 */
    .drawer-toggle.is-open .drawer-toggle__line:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .drawer-toggle.is-open .drawer-toggle__line:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .drawer-toggle.is-open .drawer-toggle__line:nth-child(3) {
        opacity: 0;
    }
}