:root {
    --primary-blue: #729cb9;
    --bg-white: #f9f7f2;
    --text-dark: #4a4a4a;
    --light-gray: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.9;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
}

/* Header */
header {
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}
/* ロゴエリアの調整 */
.logo-area {
    display: flex;
    align-items: center; /* 横並びで中央合わせ */
    gap: 12px; /* ロゴとテキストの間隔 */
}

.logo-name {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--primary-blue);
    font-weight: 300;
}

/* メニュー内の日本語表記（おしゃれ用） */
nav ul li a {
    display: flex;
    flex-direction: column; /* 英語と日本語を縦に並べる */
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem; /* 英語のサイズ */
    letter-spacing: 0.1em;
    line-height: 1.2;
}

nav ul li a span {
    display: block;
    font-size: 0.6rem; /* 日本語を小さく */
    margin-top: 4px;
    color: #999; /* 日本語は少し薄めの色で洗練さを出す */
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* スマホ表示時の調整（768px以下に追加・上書き） */
@media (max-width: 768px) {
    .logo-area {
        flex-direction: column; /* スマホではロゴの下に名前を置く */
        align-items: flex-start;
        gap: 2px;
    }
    
    .logo-name {
        font-size: 0.65rem;
    }

    nav ul li a {
        align-items: flex-start; /* スマホメニュー内では左寄せに */
        padding-left: 20%;
    }

    nav ul li a span {
        margin-top: 2px;
    }
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 45px; /* ロゴサイズ調整 */
    transition: transform 0.3s;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-blue);
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Main Visual */
/* メインビジュアルの修正版 */
.mv {
    height: 80vh; /* 高さを少し出しました */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), /* 画像を少し明るくして文字を読みやすくします */
        url('images/main-bg.jpg'); /* ここに画像ファイル名を指定 */
    background-size: cover; /* 画面いっぱいに広げる */
    background-position: center; /* 中央を基準にする */
    background-attachment: fixed; /* スクロール時に画像が固定されるパララックス風（お好みで） */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* スマホではパララックスを解除（動作が不安定になるため） */
@media (max-width: 768px) {
    .mv {
        height: 60vh;
        background-attachment: scroll;
    }
}

.mv-text h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    letter-spacing: 0.25em;
}

/* Section Common */
.section {
    padding: 120px 8%;
    text-align: center;
}


.section-title {
    font-size: 2.5rem; /* 英語タイトル（大） */
    font-family: 'Playfair Display', serif; /* お洒落なセリフ体推奨 */
    letter-spacing: 0.15em;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;
    gap: 10px; /* 英語と日本語の間の距離 */
}

.section-title span {
    font-size: 0.9rem; /* 日本語タイトル（小） */
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    color: #888; /* 少し色を薄くしてコントラストをつける */
    letter-spacing: 0.3em; /* 文字間隔を広げて高級感を出す */
    margin-top: 5px;
}

/* タイトルの下に細い線を入れるとお洒落です */
.section-title::after {
    content: '';
    width: 30px;
    height: 1px;
    background-color: var(--primary-blue);
    margin-top: 15px;
}

.bg-light {
    background-color: var(--bg-white);
}

/* Service */
.service-container {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.service-card {
    background: #fff;
    padding: 50px 30px;
    flex: 1;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.campaign-tag {
    display: inline-block;
    background: var(--primary-blue);
    color: #fff;
    padding: 2px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
    margin: 15px 0;
}

.price {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: bold;
}

.sub-price {
    font-size: 0.85rem;
    color: #888;
}

/* Works */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-item {
    background: #fff;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    border-radius: 8px;
}

.shadow-soft {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
/* ABOUTセクションのブラッシュアップ */
.about-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.02); /* 非常に薄い影で柔らかさを出す */
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    line-height: 1.6;
    letter-spacing: 0.1em;
}

.about-text p {
    margin-bottom: 50px;
    font-size: 0.95rem;
    color: #555;
    line-height: 2;
}

.profile-details dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 40px;
}

.profile-details dt {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.profile-details dd {
    color: var(--text-dark);
    padding-left: 10px;
}

/* スマホ表示時の調整 */
@media (max-width: 768px) {
    .about-wrapper {
        padding: 40px 20px;
    }
    .profile-details dl {
        grid-template-columns: 1fr; /* スマホでは項目名と内容を縦並びに */
        gap: 5px 0;
    }
    .profile-details dt {
        margin-top: 10px;
    }
    .profile-details dd {
        padding-left: 0;
        margin-bottom: 5px;
    }
}
/* Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    letter-spacing: 0.2em;
    cursor: pointer;
}

footer {
    padding: 60px;
    background: var(--bg-white);
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .service-container, .works-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .mv-text h2 { font-size: 1.6rem; }
}
/* ハンバーガーメニュー用の設定 */
.nav-unshown {
    display: none;
}

/* スマホ用メニューボタン（三本線） */
#nav-open {
    display: none; /* PCでは隠す */
    position: relative;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

#nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary-blue);
    border-radius: 2px;
    display: block;
    content: '';
    transition: 0.3s;
}

#nav-open span { top: 10px; }
#nav-open span:before { top: -10px; }
#nav-open span:after { bottom: -10px; }

/* スマホ表示時のスタイル（768px以下） */
@media (max-width: 768px) {
    #nav-open {
        display: inline-block; /* ボタンを表示 */
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%; /* 初期状態は画面外 */
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        transition: 0.5s;
        z-index: 99;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 20px 0;
    }

    /* チェックボックスが入ったらメニューを出す */
    #nav-input:checked ~ nav {
        right: 0;
    }

    /* チェックボックスが入ったら三本線を「×」にする */
    #nav-input:checked ~ #nav-open span {
        background: transparent;
    }
    #nav-input:checked ~ #nav-open span:before {
        top: 0;
        transform: rotate(45deg);
    }
    #nav-input:checked ~ #nav-open span:after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* メニューが開いている間の背面背景 */
    #nav-input:checked ~ #nav-close {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.2);
        z-index: 98;
    }
}
/* --- 制作の流れ（追加分） --- */
.service-detail {
    margin-top: 80px;
    background: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.detail-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}

.step-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.step-card {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.step-card:last-child {
    border-bottom: none;
}

.step-num {
    font-size: 1.2rem;
    font-family: 'Noto Serif JP', serif;
    color: var(--primary-blue);
    opacity: 0.6;
    font-weight: bold;
    min-width: 40px;
}

.step-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
}

/* スマホ用の調整をメディアクエリに追加 */
@media (max-width: 768px) {
    .service-detail {
        padding: 40px 20px;
        margin-top: 50px;
    }
    .step-card {
        gap: 15px;
    }
}
/* --- 特定商取引法（モーダル） --- */
.footer-link {
    background: none;
    border: none;
    color: #888;
    font-size: 0.7rem;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 10px;
}

.modal {
    display: none; /* 初期状態は隠す */
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
}

.tokusho-list {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px 0;
    font-size: 0.85rem;
    text-align: left;
}

.tokusho-list dt {
    color: var(--primary-blue);
    font-weight: bold;
}

@media (max-width: 768px) {
    .tokusho-list {
        grid-template-columns: 1fr;
    }
}