/* ベース（モバイルファースト） */
:root {
    /* メインカラー */
    --color-primary: #E00011; /* メインボタン用の赤 */
    --color-secondary: #FA5E92; /* サブボタン用のピンク */
    
    /* 背景色 */
    --color-bg-light: #FFF5F5; /* 最も薄いピンク */
    --color-bg: #FFEAEA; /* 薄いピンク */
    
    /* テキスト */
    --color-text: #333333; /* 本文テキスト */
    --color-heading: #E63946; /* 見出し用の赤 */
    
    /* その他既存の変数は維持 */
    --container: 1200px;
    --radius: 8px;
    --gap: 18px;
    --font-sans: "Noto Sans JP", "Poppins", system-ui, -apple-system, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    font-family:var(--font-sans);
    color:var(--color-text);
    background:linear-gradient(180deg,#fff 0%, var(--color-bg-light) 100%);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.6;
    font-size:16px;
}

.container{
    width:90%;
    max-width:var(--container);
    margin:0 auto;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .container{
    width:98%;
    max-width:var(--container);
    margin:0 auto;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
}
}



/* Skip link */
.skip-link{
    position:absolute;
    left:-999px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}
.skip-link:focus{
    left:10px;
    top:10px;
    width:auto;
    height:auto;
    padding:8px 12px;
    background:#000;
    color:#fff;
    z-index:9999;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 92px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 38px;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav ul {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav a{color:#222;text-decoration:none;font-weight:500;font-size:1.08rem;padding:18px 20px;transition:color .2s}
.nav a:hover { color: #E63946; }

.nav-contact-btn {
    background: #FF6B9A;
    color: #fff !important;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 1.08rem;
    box-shadow: 0 4px 16px rgba(255,107,154,0.10);
    border: none;
    margin-left: 12px;
    display: inline-block;
}

.nav-contact-btn:hover {
    background: #E63946;
    box-shadow: 0 10px 32px rgba(255, 41, 98, 0.28);
    transform: translateY(-2px) scale(1.05);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}
.hamburger, .close-icon {
    display: block;
    font-size: 2.2rem;
    color: #222;
    transition: opacity 0.2s;
}
.close-icon {
    display: none;
    font-size: 2.2rem;
    color: #222;
    position: absolute;
    top: 0; right: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}
.nav-toggle.open .hamburger {
    display: none;
}
.nav-toggle.open .close-icon {
    display: block;
}
.hamburger {
    display: block;
    width: 32px;
    height: 24px;
    position: relative;
}
.hamburger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #222;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transition: all 0.3s;
}
.hamburger span:nth-child(1) {
    top: 0;
}
.hamburger span:nth-child(2) {
    top: 10px;
}
.hamburger span:nth-child(3) {
    top: 20px;
}

/* Hero */
.hero{
    /* 背景画像をここで指定します（画像ファイルを assets/images/ に置いてください） */
    background-image: url("../assets/images/hero-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    padding:40px 0 36px;
    position:relative;
    overflow:visible;
    min-height:520px; /* 必要に応じて調整 */
    display:block;
    color:var(--color-text);
}


.hero-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:40px; /* PC時の左右の余白を広げる */
    padding:12px 0;
    position:relative; /* オーバーレイより前面に出す */
    z-index:2;
}

@media (min-width: 800px) {
    .hero-inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 72px; /* 画像とテキストの間隔を広げる */
        padding: 36px 0;
    }
    .hero-text {
        max-width: 600px;
    }
    .hero-visual img {
        max-width: 340px; /* 画像を小さく */
    }
}

.hero-title {
    font-size: 1.5rem;
    line-height: 1.2;
    word-break: keep-all;
    white-space: normal;
    margin-bottom: 24px;
    text-align: center;
    padding: 0 12px;
}

.hero-text{
    text-align:center;
    max-width:720px;
    width:100%;
}
.eyebrow{
    color:var(--color-accent);
    font-weight:700;
    margin:0 0 12px;
    letter-spacing:0.06em;
    text-transform:none;
    font-size:14px;
}
.hero-title{
    font-family:"Poppins", sans-serif;
    font-weight:700;
    font-size:32px;
    line-height:1.05;
    margin:0 0 12px;
    color:var(--color-text);
    letter-spacing:-0.015em;
}
.hero-title .highlight {
    color: #B70000;
}

/* 見出しのSEOだけ色変更 */
.hero-title .highlight-seo {
    color: #B70000;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* 見出し・リード・ボタン周りの余白調整 */
.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 36px 0;
    letter-spacing: 0.02em;
    word-break: keep-all;
}

.hero-lead {
    margin-top: 44px; /* 上に余白を追加 */
    margin-bottom: 36px;
    font-size: 1.2rem;
    line-height: 2;
    color: #333;
    font-weight: 500;
    width: 96%;
}

@media (max-width: 600px) {
    .hero-lead {
    text-align: left;
    padding: 0 20px;
}
}



.hero-cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px; /* キャプションとボタンの間を狭く */
    margin-top: 10px;
}

.cta-caption {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0;
    letter-spacing: 0.08em;
}

/* CTA */
.hero-cta{display:flex;gap:12px;justify-content:center}
.btn.primary{
    background:var(--color-primary);
    color:#fff;
    padding:14px 28px;
    border-radius:30px;
    box-shadow:0 6px 18px rgba(232,30,59,0.12);
    transition:transform .18s ease, box-shadow .18s ease;
}
.btn.primary:active{transform:translateY(1px)}
.btn.primary:hover{box-shadow:0 10px 24px rgba(232,30,59,0.18)}
.btn.secondary {
    background: var(--color-secondary);
    color: #fff;
}

/* グラデーションボタン */
.btn.cta-gradient {
    background: linear-gradient(90deg, #FF2962 0%, #FF7045 100%);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 18px 48px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(255, 41, 98, 0.18);
    border: none;
    transition: box-shadow 0.2s, transform 0.2s;
    letter-spacing: 0.08em;
    margin-top: 0;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn.cta-gradient:hover {
    box-shadow: 0 10px 32px rgba(255, 41, 98, 0.28);
    transform: translateY(-2px) scale(1.03);
}

/* Visual */
.hero-visual{
    width:80%;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    z-index:2;
}
.hero-visual img{
    max-width:220px; /* デフォルトサイズを小さく */
    width:100%;
    height:auto;
    display:block;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.08));
}

/* Buttons */
.btn{display:inline-block;padding:12px 20px;border-radius:28px;text-decoration:none;text-align:center}
.btn.primary{background:var(--color-primary);color:#fff}
.btn.ghost{background:transparent;border:2px solid var(--color-primary);color:var(--color-primary)}

/* Section titles */
.section-title{font-family:"Poppins",sans-serif;font-weight:600;font-size:20px;margin:24px 0}
.section-subtitle{margin:18px 0;font-weight:600}

/* Problems */
.problems {
    background: #FFF5F5;
    padding: 56px 0 80px 0;
    text-align: center;
}

.problem-list{list-style:none;padding:0;margin:0 auto 36px auto;max-width:700px;display:flex;flex-direction:column;gap:24px}
.problem-list li{background:#fff;border:2px solid #FA5E92;border-radius:16px;padding:18px 24px;font-size:1.1rem;font-weight:500;display:flex;align-items:center;gap:14px;box-shadow:0 2px 8px rgba(250,94,146,0.04)}

.problem-icon img {
    width: 45px;
    height: 40px;
    vertical-align: middle;
}

.problems-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 4px solid #E63946;
    display: inline-block;
    padding-bottom: 4px;
    letter-spacing: 0.04em;
}

.problems-illusts {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 24px 0 24px 0;
}

.problems-illust {
    width: 90px;
    height: auto;
}

.problems-solution {
    margin-top: 44px;
}

.problems-arrow {
    width: 0;
    height: 0;
    margin: 0 auto 18px auto;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-top: 32px solid #E63946;
}

.problems-solution-bold {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-bottom: 3px solid #E63946;
    padding-bottom: 2px;
    display: inline-block;
}

@media (max-width: 600px) {
    .problems-solution-bold {
    text-align: left;
}
}


.problems-solution-red {
    color: #E63946;
    font-weight: 700;
}

@media (max-width: 600px) {
    .problems-illusts {
        gap: 18px;
    }
    .problems-illust {
        width: 60px;
    }
    .problem-list li {
        font-size: 1rem;
        padding: 12px 10px;
    }
}

/* Strengths */
.strengths {
    background: #FFEAEA;
    padding: 80px 0 80px 0;
    text-align: center;
}

.strengths-eyebrow {
    color: #E63946;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: 0.04em;
}

.strengths-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 10px 0 80px 0;
    letter-spacing: 0.04em;
}

.strengths-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin: 0 auto 40px auto;
    max-width: 980px;
}

.strength-card {
    background: #fff;
    border: 2px solid #F96767;
    border-radius: 2px;
    padding: 20px 40px 40px;
    text-align: left;
    position: relative;
    box-shadow: 0 2px 8px rgba(250,94,146,0.04);
    min-height: 260px;
}

.strength-icon {
    position: absolute;
    left: 50%;
    top: -36px;
    transform: translateX(-50%);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.strength-icon img {
    width: 50px;
    height: 52px;
}

.strength-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 36px 0 14px 0;
    letter-spacing: 0.02em;
}

.strength-card p {
    font-size: 1rem;
    line-height: 2;
    margin: 0;
    color: #333;
}

.strengths-bottom {
    margin-top: 48px;
    font-size: 1.1rem;
    color: #222;
    line-height: 2;
}

@media (max-width: 600px) {
    .strengths-bottom {
    text-align: left;
}
}

.strengths-bottom-em {
    color: #E63946;
    font-weight: 700;
    border-bottom: 2px solid #E63946;
    padding-bottom: 2px;
}

@media (min-width: 800px) {
    .strengths-cards {
        grid-template-columns: 1fr 1fr;
        gap: 48px 38px;
    }
    .strength-card {
        min-height: 260px;
    }
}


/* Price */
.price {
    background: #fff;
    padding: 80px 0 80px ;
    text-align: center;
}

.price-eyebrow {
    color: #E63946;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: 0.04em;
}

.price-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 10px 0 80px 0;
    letter-spacing: 0.04em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 66px;
    margin: 0 auto 40px auto;
    max-width: 980px;
}

.pricing-card {
    border: 2px solid #FF7045 !important;
    background: #FFF5F5;
    border-radius: 24px;
    padding: 38px 28px 28px 28px;
    position: relative;
    box-shadow: 0 2px 8px rgba(250,94,146,0.04);
    text-align: center;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* タイトル下の線 */
.pricing-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 18px 0;
    letter-spacing: 0.02em;
    text-align: center;
    position: relative;
    padding-bottom: 18px;
}
.pricing-card-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #888;
    opacity: 0.5;
    position: absolute;
    left: 0;
    bottom: 0;
}

/* 小見出しを太字に */
.pricing-label {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 18px; /* 項目間の余白を広げる */
    margin-bottom: 2px;
    color: #222;
    text-align: center;
    width: 100%;
    display: block;
}

/* 項目の値 */
.pricing-value {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0;
    color: #222;
    text-align: center;
    width: 100%;
    display: block;
}

/* 価格の色強調 */
.price-main {
    color: #E63946;
    font-weight: 700;
    font-size: 1.1rem;
    margin-left: 0;
}

/* カード下部の説明文を左寄せに */
.pricing-card-note {
    font-size: 0.98rem;
    color: #222;
    margin-bottom: 0;
    text-align: left;
    line-height: 1.7;
    padding-top: 24px;
}

/* 推奨カードの枠線 */
.pricing-card-recommend {
    border: 2.5px solid #E63946 !important;
    box-shadow: 0 6px 24px rgba(230,57,70,0.08);
    position: relative;
}

/* 推奨ラベル */
.pricing-recommend-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #E63946;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 12px 18px;
    border-radius: 12px;
    border: 2px solid #E63946;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 8px rgba(230,57,70,0.08);
    z-index: 2;
}
@media (min-width: 800px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px 38px;
    }
    .pricing-card {
        min-height: 520px;
    }
}

/* Works */
.works {
    background: #FFEAEA;
    padding: 80px 0 80px 0;
    text-align: center;
}

.works-eyebrow {
    color: #E63946;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: 0.04em;
}

.works-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 10px 0 38px 0;
    letter-spacing: 0.04em;
}

.works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin: 0 auto 40px auto;
    max-width: 900px;
}

.work-card {
    background: #fff;
    border: 2px solid #FA5E92;
    border-radius: 16px;
    padding: 32px 24px 28px 24px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(250,94,146,0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.work-img {
    width: 100%;
    max-width: 340px;
    border-radius: 8px;
    margin-bottom: 18px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.work-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: 0.02em;
}

.work-role {
    font-size: 0.98rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.work-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 18px;
}

.work-btn {
    background: #FA5E92;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px 0;
    border-radius: 40px;
    box-shadow: 0 6px 24px rgba(255, 41, 98, 0.12);
    border: none;
    width: 100%;
    text-align: center;
    text-decoration: none;
    margin-top: 8px;
    transition: box-shadow 0.2s, transform 0.2s;
    letter-spacing: 0.08em;
    display: block;
}

.work-btn:hover {
    box-shadow: 0 10px 32px rgba(255, 41, 98, 0.18);
    transform: translateY(-2px) scale(1.03);
}

.works-bottom {
    margin: 38px auto 0 auto;
    font-size: 1rem;
    color: #222;
    max-width: 900px;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 600px) {
    .works-bottom {
        text-align: left;
}
}


.works-team {
    margin-top: 48px;
    text-align: left;
}

.team-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #E63946;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 10px;
}
.team-title-bar {
    display: inline-block;
    width: 28px;
    height: 3px;
    background: #E63946;
    border-radius: 2px;
}

.team-members {
    display: flex;
    gap: 38px;
    justify-content: center;
    flex-wrap: wrap;
}

.team-member {
    border-radius: 16px;
    padding: 18px 18px 12px 18px;
    box-shadow: 0 2px 8px rgba(250,94,146,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    max-width: 180px;
}

.team-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.team-role {
    font-size: 0.95rem;
    color: #222;
    margin-bottom: 4px;
    text-align: center;
}

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #E63946;
    text-align: center;
}

@media (min-width: 800px) {
    .works-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 38px;
    }
}

/* Flow */
.works-flow {
    background: #FFF5F5;
    padding: 80px 0 80px 0;
    text-align: center;
}

.flow-eyebrow {
    color: #E63946;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: 0.04em;
}

.flow-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 10px 0 18px 0;
    letter-spacing: 0.04em;
}

.flow-lead {
    font-size: 1rem;
    color: #222;
    margin-bottom: 48px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .flow-lead {
        text-align: left;
}   
}   

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.flow-item {
    border:2px solid #FF7045;
    border-radius: 5px;
    padding:20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-step-label{
    background-color: #FF5858;
    color: #fff;
    border-radius: 40px;
    padding: 6px 14px;
    width: 100px;
    text-align: center;
    margin:0 auto;
}

.flow-step-title{
    padding-top: 10px;
    width: 100%;
    text-align: center;
    margin:0 auto;
}

.flow-arrow {
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #E46363;
    pointer-events: none;
    display: block;
}

.flow-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    object-fit: contain;
}

/* 900px以下は1列＆下矢印表示 */
@media (max-width: 900px) {
    .flow-steps {
        display: flex;
        flex-direction: column;
        gap: 40;
        max-width: 420px;
    }
    .flow-step {
        margin-bottom: 0;
    }
    .flow-arrow {
        display: none; 
    }
    .flow-arrow-right i {
        display: none;
    }
    .flow-arrow::before {
        content: "\f078"; /* Font Awesome 下矢印（chevron-down） */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 2.2rem;
        color: #E46363;
        display: block;
    }
}
@media (max-width: 600px) {
    .flow-steps {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .flow-step {
        min-width: 0;
        min-height: 0;
        padding: 18px 0 12px 0;
    }
    .flow-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }
}

/* Desktop layout */
@media(min-width:800px){
    .nav{display:block}
    .nav-toggle{display:none}

    .hero-inner{
        flex-direction:row;
        align-items:flex-start;
        justify-content:space-between;
        gap:72px; /* 画像とテキストの間隔を広げる */
        padding:36px 0;
    }
    .hero-text{
        text-align:left;
        max-width:600px;
    }
    .hero-title{
        font-size:38px; /* 見出しを大きめに */
        line-height:1.02;
        margin-bottom:10px;
    }
    .hero-visual img{
        max-width:350px; /* 画像を小さく */
    }

    .problem-list{grid-template-columns:1fr 1fr}
    .cards{grid-template-columns:repeat(4,1fr)}
    .pricing-grid{grid-template-columns:repeat(3,1fr)}
    .works-grid{grid-template-columns:repeat(2,1fr)}
}

/* larger screens */
@media(min-width:1200px){
    .hero-title{font-size:42px}
    .hero-visual img{
        padding-left: 90px;
        padding-top: 60px;
        max-width:400px; /* デスクトップでの最大幅 */
    }
}

/* small screens */
@media(max-width:600px){
    .hero-title{font-size:24px}
    .hero-visual img{
        padding-top: 30px;
        max-width:300px;
    }
}

/* 背景グラデーションの更新 */
body {
    background: linear-gradient(180deg, #fff 0%, var(--color-bg-light) 100%);
}


/* 見出しカラーの更新 */
.section-title {
    color: var(--color-heading);
}

/* カード・ボーダーカラーの更新 */
.card, 
.pricing-card {
    border-color: var(--color-bg);
}

.pricing-bottom {
    margin-top: 38px;
    color: #222;
    text-align: center;
    font-size: 16px; /* 1つ目の文章用 */
    line-height: 1.7;
}

@media (max-width: 600px) {
    .pricing-bottom {
    text-align: left;
}
}



.pricing-bottom-small {
    display: block;
    font-size: 14px; /* 2つ目の文章用 */
    color: #888;
    margin-top: 8px;
}

/* Contact */
.contact {
    background: #FFEAEA;
    padding: 56px 0 48px 0;
    text-align: center;
}

.contact-eyebrow {
    color: #E63946;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: 0.04em;
}

.contact-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 10px 0 18px 0;
    letter-spacing: 0.04em;
}

.contact-lead {
    font-size: 1rem;
    color: #222;
    margin-bottom: 32px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .contact-lead {
    text-align: left;
}
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.contact-form label {
    font-size: 1.08rem;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: none;
    background: #fff;
    font-size: 1.08rem;
    margin-top: 8px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(230,57,70,0.04);
}

.contact-btn {
    background: #E00011;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 700;
    padding: 16px 0;
    border-radius: 28px;
    border: none;
    width: 220px;
    margin: 32px auto 0 auto;
    display: block;
    box-shadow: 0 6px 24px rgba(224,0,17,0.10);
    transition: box-shadow 0.2s, transform 0.2s;
    letter-spacing: 0.08em;
    text-align: center;
}

.contact-btn:hover {
    box-shadow: 0 10px 32px rgba(224,0,17,0.18);
    transform: translateY(-2px) scale(1.03);
}

/* Footer */
.site-footer {
    background: #C10C3C;
    padding: 80px 0 80px 0;
    text-align: center;
}

.footer-menu {
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: #fff;
    font-size: 1.08rem;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}
.footer-menu a:hover {
    opacity: 0.7;
}

.footer-copy {
    color: #fff;
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    margin-top: 8px;
}

/* トップに戻るボタン */
.to-top-btn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 48px;
    height: 48px;
    background: #1b1b1b;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(193,12,60,0.18);
    cursor: pointer;
    opacity: 0;
    z-index: 100;
    display: block;
    transition: opacity 0.2s;
    pointer-events: none;
}
.to-top-btn:hover {
    opacity: 1;
}

@supports (bottom: env(safe-area-inset-bottom)) {
  .to-top-btn {
    bottom: calc(16px + env(safe-area-inset-bottom));
    right: 16px;
  }
}

@media (max-width: 600px) {
  .to-top-btn {
    right: 16px;
    bottom: 16px;
  }
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    overflow: auto;
}
.modal-content {
    max-width: 96vw;
    max-height: 96vh;
    width: auto;
    height: auto;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto; /* ここで全体をスクロール可能に */
}

.modal-img {
    width: auto;
    max-width: 100%;
    max-height: 90vh;
    cursor: zoom-in;
    transition: transform 0.2s;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    object-fit: contain;
    display: block;
}

/* 拡大時 */
.modal-img.zoomed {
    width: auto;
    max-width: none;
    max-height: none;
    transform: none;
    cursor: zoom-out;
    /* 画像が大きい場合はスクロールで全体を見れる */
    display: block;
}
.modal-close {
    position: absolute;
    top: 8px; right: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10;
}

/* ハンバーガー・バッテン切り替え */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}
.hamburger, .close-icon {
    display: block;
    font-size: 2.2rem;
    color: #222;
    transition: opacity 0.2s;
}
.close-icon {
    display: none;
    font-size: 2.2rem;
    color: #222;
    position: absolute;
    top: 0; right: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}
.nav-toggle.open .hamburger {
    display: none;
}
.nav-toggle.open .close-icon {
    display: block;
}
.hamburger {
    display: block;
    width: 32px;
    height: 24px;
    position: relative;
}
.hamburger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #222;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transition: all 0.3s;
}
.hamburger span:nth-child(1) {
    top: 0;
}
.hamburger span:nth-child(2) {
    top: 10px;
}
.hamburger span:nth-child(3) {
    top: 20px;
}

/* モバイルメニュー全画面レイヤー */
.mobile-menu {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(240,245,248,0.98);
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s;
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu nav ul {
    display: flex;
    flex-direction: column;
    gap: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.mobile-menu nav ul li {
    list-style: none;
}
.mobile-menu nav ul a {
    font-size: 1.6rem;
    color: #222;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 8px 0;
    transition: color 0.2s;
}
.mobile-menu nav ul a:hover {
    color: #E63946;
}
.mobile-menu .nav-contact-btn {
    background: #FF6B9A;
    color: #fff !important;
    border-radius: 8px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 18px;
    box-shadow: 0 4px 16px rgba(255,107,154,0.10);
    border: none;
    display: inline-block;
}

@media (max-width: 800px) {
    .nav { display: none; }
    .nav-toggle { display: block; }
}