@charset "UTF-8";

:root {
    --bg-warm: #fff9f3;
    --bg-accent: #f5eee6;
    --text-dark: #451a03;
    --primary-amber: #d97706;
    --border-warm: #e7d8c9;
    --white: #ffffff;
}

body {
    background-color: var(--bg-warm);
    color: var(--text-dark);
    font-family: 'Noto Sans JP', sans-serif;
}
/* チェックボックスを非表示にする */
.nav-toggle { display: none; }

/* ハンバーガーアイコンの見た目 */
.hamburger {
    display: none; /* PCでは非表示 */
    cursor: pointer;
    padding: 10px;
}
.hamburger span {
    display: block; width: 25px; height: 2px; background: var(--text-dark); position: relative;
}
.hamburger span::before, .hamburger span::after {
    content: ''; position: absolute; width: 100%; height: 100%; background: var(--text-dark); left: 0;
}
.hamburger span::before { top: -8px; }
.hamburger span::after { bottom: -8px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ============================================================
   ヘッダー
============================================================ */
header { background: var(--white); padding: 15px 0; border-bottom: 1px solid var(--border-warm); position: sticky; top: 0; z-index: 100; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.header-left { display: flex; align-items: center; gap: 20px; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--primary-amber); line-height: 1.4; }
.logo-sub { font-family: 'Noto Sans JP', sans-serif; font-size: 0.75rem; font-weight: 700; color: var(--primary-amber); letter-spacing: 0.05em; display: block; }
.insta-link { color: var(--text-dark); font-size: 1.6rem; display: flex; transition: color 0.3s; }
.insta-link:hover { color: var(--primary-amber); }

/* PC */
.nav-list { display: flex; gap: 10px; align-items: center; }
.nav-btn {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 50px;
    border: 2px solid var(--border-warm);
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}
.nav-btn:hover { background: var(--bg-accent); }
.nav-btn.highlight { background: var(--text-dark); color: var(--white); border: 2px solid var(--text-dark); }
/* ============================================================
   ヒーロー
============================================================ */
.hero-full { width: 100%; line-height: 0; }
.hero-image { width: 100%; display: block; }

/* ============================================================
   コンセプト
============================================================ */
.concept-section { padding: 40px 0; margin-left: 56px; }
.main-concept { font-family: 'Playfair Display', serif; font-size: 3.5rem; }

/* ============================================================
   共通セクション
============================================================ */
.section { padding: 80px 0; scroll-margin-top: 70px; }
.bg-warm-accent { background-color: var(--bg-accent); }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; text-align: center; margin-bottom: 60px; }

/* ============================================================
   Message
============================================================ */
.mission-text { font-size: 1.25rem; line-height: 2.0; font-weight: 500; }
.greeting-sign { margin-top: 24px; font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--primary-amber); font-weight: 700; }
#greeting .section-title { margin-bottom: 24px; }
#greeting.section { padding: 40px 0; }

/* ============================================================
   Philosophy：カード3枚
============================================================ */
.phil-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phil-card { background: var(--white); border: 1px solid var(--border-warm); border-top: 4px solid var(--primary-amber); border-radius: 14px; padding: 28px 22px; }
.phil-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-style: italic; color: var(--primary-amber); line-height: 1; margin-bottom: 12px; }
.phil-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.6; margin-bottom: 12px; }
.phil-card p { font-size: 0.9rem; line-height: 1.9; color: #6b3a1f; }

/* ============================================================
   About Us：丸アイコン4つ
============================================================ */
.about-circles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.circle-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.circle-icon { width: 110px; height: 110px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: var(--white); transition: transform 0.3s; }
.circle-icon:hover { transform: scale(1.08); }
.circle-blue { background: #4a7fd4; }
.circle-teal { background: #1d9e75; }
.circle-pink { background: #d4537e; }
.circle-purple { background: #7f77dd; }
.circle-label { font-size: 0.92rem; font-weight: 700; color: var(--text-dark); line-height: 1.7; }

/* ============================================================
   Programs
============================================================ */
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.tile { background: var(--white); height: 150px; display: grid; place-items: center; border-radius: 12px; font-weight: 700; border: 1px solid var(--border-warm); transition: transform 0.3s; }
.tile:hover { transform: scale(1.05); border-color: var(--primary-amber); }

/* ============================================================
   Activities
============================================================ */
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.activity-card { background: var(--white); padding: 30px 20px; border-radius: 12px; border: 1px solid var(--border-warm); text-align: center; transition: transform 0.3s; color: var(--text-dark); text-decoration: none; display: block; }
.activity-card:hover { transform: translateY(-5px); border-color: var(--primary-amber); }
.activity-icon { font-size: 2.5rem; color: var(--primary-amber); margin-bottom: 15px; }

/* ============================================================
   過去実績
============================================================ */
.project-card { background: var(--white); border-radius: 12px; border: 1px solid var(--border-warm); }
.project-row { padding: 25px 40px; border-bottom: 1px solid var(--bg-accent); }

/* ============================================================
   チーム
============================================================ */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.member-card { text-align: center; }
.avatar-circle {
    /* 200pxに拡大しました */
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    background: var(--border-warm);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* 枠が大きくなったので、ズームは最小限（1.0〜1.1）でOKです */
    transform: scale(1.05); 
}

/* ============================================================
   コンタクト・フッター
============================================================ */
.cta-button { display: inline-block; padding: 20px 60px; background: var(--primary-amber); color: var(--white); border-radius: 50px; font-weight: 700; }
footer { padding: 40px 0; background: var(--text-dark); color: var(--bg-accent); text-align: center; }

/* ============================================================
   スマホ対応 (768px以下)
============================================================ */
@media (max-width: 768px) {
    /* 既存の記述に追加・修正 */
    .hamburger {
        display: block !important;
        position: absolute !important;
        right: 15px !important; /* 右端に固定 */
        cursor: pointer !important;
    }
    
    .nav-menu {
        display: none; /* 初期は非表示 */
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--white);
        padding: 20px;
        border-bottom: 1px solid var(--border-warm);
    }

    /* チェックボックスがONになったらメニューを表示 */
    .nav-toggle:checked ~ .nav-menu {
        display: block;
    }

    /* メニューリストのレイアウト */
    .nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .header-container {
        flex-direction: column;
        gap: 8px;
        padding: 8px 12px;
    }

    /* ロゴの調整（ここを修正・追記） */
    .logo {
        font-size: 1.8rem; /* 大きくしました */
        line-height: 1.2;
        text-align: center;
        margin-bottom: 5px;
    }
    .logo-sub {
        font-size: 0.8rem; /* 少し大きくしてバランス調整 */
        display: block;
        text-align: center;
        letter-spacing: 0.05em;
    }

    /* 既存のナビ周りの記述（そのまま） */
    .nav-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: stretch;
        gap: 6px;
        padding: 0 8px;
        width: 100%;
    }

    
    .nav-list li:nth-child(1) { grid-column: 1; grid-row: 1; }
    .nav-list li:nth-child(2) { grid-column: 2; grid-row: 1; }
    .nav-list li:nth-child(3) { grid-column: 3; grid-row: 1; }
    .nav-list li:nth-child(4) { grid-column: 1; grid-row: 2; }
    .nav-list li:nth-child(5) { grid-column: 2; grid-row: 2; }
    .nav-list li:nth-child(6) { grid-column: 3; grid-row: 2; }
    .nav-btn {
        font-size: 0.7rem;
        padding: 8px 4px;
        border-radius: 8px;
        border: 2px solid var(--border-warm);
        display: block;
        text-align: center;
        white-space: nowrap;
        width: 100%;
    }
    .nav-btn.highlight {
        font-size: 0.7rem;
        padding: 8px 4px;
        background: var(--text-dark);
        color: var(--white);
        border: 2px solid var(--text-dark);
        width: 100%;
    }
    

    /* 以下、他のセクションの記述（そのまま） */
    .section { padding: 48px 0; scroll-margin-top: 160px; }
    .section-title { font-size: 2rem; margin-bottom: 36px; }
    .concept-section { padding: 24px 0; margin-left: 0; }
    .main-concept { font-size: 2rem; padding: 0 20px; }
    .mission-text { font-size: 1rem; padding: 0 8px; }
    .phil-cards { grid-template-columns: 1fr; gap: 16px; }
    .about-circles { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .circle-icon { width: 88px; height: 88px; font-size: 2rem; }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .tile { height: 110px; }
    .activity-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-button { padding: 16px 40px; font-size: 0.95rem; }
    .project-row { padding: 20px; font-size: 0.9rem; }
}