@charset "UTF-8";

/* --- 1. 定義 (Variables) --- */
:root {
    --primary: #2B2A2D;
    --accent: #D95E32;
    --bg-light: #F5F3F0;
    --bg-white: #FFFFFF;
    --text: #2B2A2D;
    --text-sub: #636C75;
    --border: #E0DED9;
    --radius: 2px;
    --shadow: 0 4px 20px rgba(43, 42, 45, 0.08);
    --font-en: "Montserrat", "Futura", sans-serif;
    --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

/* --- 2. Base --- */
body {
    font-family: var(--font-en), var(--font-jp);
    color: var(--text);
    background-color: var(--bg-light);
    margin: 0;
    line-height: 2;
    letter-spacing: 0.06em;
}

h1, h2, h3 {
    font-family: var(--font-jp);
    color: var(--primary);
    margin: 0;
    line-height: 1.4;
    font-weight: 700;
}

.section-title span, .hero-tagline, .logo-svg text, .price {
    font-family: var(--font-en);
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px;
}

.bg-gray { background-color: var(--bg-white); }
.bg-dark { background-color: var(--primary); color: #fff; }

/* --- 3. Buttons --- */
.btn {
    display: inline-block;
    padding: 16px 45px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    box-shadow: 0 4px 15px rgba(217, 94, 50, 0.3);
}
.btn-primary:hover {
    background-color: #c04d25;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 94, 50, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}
.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary);
}

.btn-outline {
    border: 1px solid var(--text);
    background: transparent;
    color: var(--text);
}
.btn-outline:hover {
    background: var(--text);
    color: #fff;
}

/* --- 4. Header --- */
header {
    background-color: rgba(43, 42, 45, 0.95);
    backdrop-filter: blur(5px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo-svg {
    display: block;
    color: #fff;
    transition: opacity 0.3s;
}
.logo-svg:hover { opacity: 0.8; }
.logo-svg .symbol-base { fill: #fff; }

.nav-menu { margin-left: auto; }
.nav-menu ul { display: flex; gap: 40px; align-items: center; }

.nav-menu li:not(.cta-btn) a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #ccc;
    letter-spacing: 0.05em;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.nav-menu li:not(.cta-btn) a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgb(171, 46, 0), 0 0 20px rgba(220, 123, 88, 0.5);
}

.nav-menu .cta-btn a {
    background-color: var(--accent);
    color: #fff;
    padding: 12px 25px;
    border-radius: var(--radius);
    transition: 0.3s;
    text-shadow: none; 
}
.nav-menu .cta-btn a:hover {
    background-color: #fff;
    color: var(--accent);
}

/* --- 5. Hero --- */
.hero {
    height: 90vh;
    min-height: 600px;
    background-color: var(--primary);
    background-image: linear-gradient(rgba(43, 42, 45, 0.7), rgba(43, 42, 45, 0.85)), /* 暗いフィルター */
        url('./image/irina-iriser-H36GOz0SXI0-unsplash.webp'); /* 背景画像 */
    background-size: cover;   /* 画面いっぱいに広げる */
    background-position: center; /* 真ん中を表示 */
    background-repeat: no-repeat;
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    font-weight: 500;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: 0.05em;
    text-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 50px;
    line-height: 2.2;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- 6. Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}
.section-title span {
    display: block;
    font-size: 1.3rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}
.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    position: relative;
}
.section-title.white h2 { color: #fff; }

/* --- 7. Concept & Service --- */
.lead-text {
    font-size: 1.4rem;
    line-height: 2.2;
    text-align: center;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 40px;
}
.service-intro { max-width: 800px; margin: 0 auto; text-align: center; }
.service-intro p { color: var(--text-sub); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
    border-top: 3px solid transparent;
}
.feature-card:hover {
    transform: translateY(-5px);
    background: #fff;
    border-top-color: var(--accent);
    box-shadow: var(--shadow);
}
.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
    display: block;
    width: 100%;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 15px; font-family: var(--font-en); }
.feature-card p strong { color: var(--primary); display: block; margin-bottom: 5px; }

/* --- 8. Works (Inner Link Style) --- */
#works { 
    background-color: var(--bg-light); 
    padding-bottom: 120px; 
    overflow: hidden; 
}

.coverflow-container {
    width: 100%;
    display: flex;
    justify-content: center;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.coverflow-track {
    display: flex;
    gap: 30px; 
    overflow-x: auto; 
    padding: 60px 0;
    box-sizing: border-box;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}
.coverflow-track::-webkit-scrollbar { display: none; }

/* カード本体 */
.work-card {
    flex: 0 0 320px;
    height: auto;
    min-height: 100%;
    
    display: flex;
    flex-direction: column;

    background: #fff;
    border-radius: 4px;
    position: relative;
    border: 1px solid var(--border);
    opacity: 1;
    transform: none;
    filter: none;
    
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* アクティブ時の発光 */
.work-card.active {
    border-color: rgba(217, 94, 50, 0.5);
    box-shadow: 0 10px 30px -5px rgba(217, 94, 50, 0.3); 
    z-index: 10;
}

.work-img { 
    height: 240px; 
    width: 100%;
    overflow: hidden; 
    border-bottom: 1px solid var(--border);
    flex-shrink: 0; 
}
.work-img img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.5s ease;
}
/* 画像のズーム演出は維持 */
.work-card:hover .work-img img {
    transform: scale(1.05);
}

.work-content { 
    padding: 25px; 
    text-align: left;
    flex-grow: 1;
    display: flex;       /* 中身を縦に並べる */
    flex-direction: column; 
}
.work-content h3 { 
    font-size: 1.1rem; 
    margin-bottom: 10px; 
    color: var(--primary);
    font-weight: 700;
}
.tags span { 
    font-size: 0.7rem; 
    color: var(--accent); 
    background: rgba(217, 94, 50, 0.1); 
    padding: 3px 10px; 
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
}

/* ★追加：サイトを見るリンクのデザイン */
.work-link {
    margin-top: auto; /* 一番下に配置 */
    padding-top: 20px;
}

.work-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s;
}

.work-link a:hover {
    opacity: 0.7;
    text-decoration: underline; /* リンクらしさを出す */
}

/* 矢印のアニメーション */
.work-link .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-family: var(--font-en); /* 矢印の形を綺麗に */
}

.work-link a:hover .arrow {
    transform: translateX(5px); /* 右に動く */
}

/* リンク無効時のデザイン */
.work-link.disabled span {
    font-size: 0.8rem;
    color: #ccc;
}

/* --- 9. Pricing --- */
.pricing-grid {
    display: grid;
    /* 1列あたり最大400pxまでに制限して、3列並べる */
    grid-template-columns: repeat(3, minmax(0, 400px)); 
    gap: 30px;
    align-items: stretch;
    justify-content: center; /* ★PCで3つのカードを中央に寄せる */
    margin-top: 50px;
}

#pricing .plan-card {
    background: #fff;
    color: var(--text);
    padding: 50px 30px;
    border-radius: var(--radius);
    text-align: center;
    
    /* 縦長カードの中身を整える */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* ボタンを一番下に押しやる */
    height: auto;
    min-height: 100%; /* 高さを親に合わせる */
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

#pricing .plan-card:hover {
    transform: translateY(-5px); /* ホバー時に少し浮く */
}

#pricing .plan-list {
    margin: 30px 0; /* 上下の余白 */
    flex-grow: 1;   /* 余白があればリスト部分を伸ばす */
    text-align: left; /* リストは左揃えで見やすく */
    padding-left: 20px; /* 箇条書きのインデント */
}

#pricing .plan-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-sub);
    list-style: disc; /* 中黒をつける */
}

#pricing .price { 
    color: var(--primary); 
    font-weight: 700; 
    font-size: 1.1rem;
    margin-top: 10px;
}
#pricing .price span {
    font-size: 2.5rem;
    margin: 0 5px;
    font-family: var(--font-en);
}

/* スタンダードプラン（おすすめ）のデザイン */
#pricing .plan-card.recommended {
    border: 3px solid var(--accent); /* オレンジの枠線 */
    position: relative;
    z-index: 1;
    /* 影をつけて少し目立たせる */
    box-shadow: 0 10px 30px rgba(217, 94, 50, 0.15);
}

#pricing .badge {
    background: var(--accent);
    color: #fff;
    position: absolute;
    top: 0; 
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-family: var(--font-en);
    font-weight: 600;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

/* --- 10. Staff --- */
.staff-card {
    background: #fff;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow);
}
.staff-img {
    width: 150px; height: 150px;
    /* background: var(--primary); */
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}
.staff-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ★重要：比率を保ったまま枠いっぱいにする */
}
.staff-info h3 { font-size: 0.9rem; color: var(--accent); margin-bottom: 10px; letter-spacing: 0.1em; }
.staff-info .name { font-size: 1.8rem; margin-bottom: 20px; }
.staff-info .bio { font-size: 0.95rem; line-height: 1.8; color: var(--text-sub); }

/* --- 11. FAQ --- */
#faq { background: var(--bg-light); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: 0.3s;
}
.faq-q {
    padding: 25px 60px 25px 30px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    color: var(--primary);
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
}
.faq-q:hover { background-color: #fafafa; }
.faq-q::before {
    content: "Q.";
    color: var(--accent);
    font-family: var(--font-en);
    font-weight: 700;
    margin-right: 15px;
    font-size: 1.1rem;
}
.faq-q::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
}
.faq-item.active .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-item.active .faq-q { color: var(--accent); }
.faq-a {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 30px;
    background: #fff;
    color: var(--text-sub);
    line-height: 1.8;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-top: 1px solid transparent;
}
.faq-item.active .faq-a {
    max-height: 500px;
    opacity: 1;
    padding-top: 20px;
    padding-bottom: 35px;
    border-top: 1px solid var(--border);
}

/* --- 12. Footer --- */
footer {
    background: var(--primary);
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    border-top: 3px solid var(--accent);
}
footer h2 { color: #fff; margin-bottom: 20px; font-weight: 400; }
footer .btn-primary { 
    background: var(--accent); 
    border-color: var(--accent);
    min-width: 300px;
}
footer .btn-primary:hover { background: #fff; color: var(--accent); }

/* --- Responsive --- */
.hamburger { display: none; }

@media (max-width: 960px) {
    .header-inner { padding: 0 20px; }
    
    .hamburger {
        display: block;
        border: none;
        background: none;
        cursor: pointer;
        z-index: 1001;
    }
    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: #fff;
        margin: 6px 0;
        transition: 0.3s;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--accent);
    }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--accent);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(43, 42, 45, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        margin-left: 0;
    }
    .nav-menu.active { opacity: 1; pointer-events: auto; }
    .nav-menu ul { flex-direction: column; gap: 30px; }
    .nav-menu li:not(.cta-btn) a { font-size: 1.2rem; color: #fff; }
    .nav-menu .cta-btn a { padding: 15px 40px; font-size: 1rem; }

    .hero h1 { font-size: 2rem; }
    .features-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }

    /* 制作事例カードのスマホ最適化 */
    /* ★修正：紹介文（pタグ）をピンポイントで非表示にする */
    .work-content p {
        display: none !important;
    }

    /* ついでにカード全体の高さを抑える微調整 */
    .work-card {
        min-height: auto; /* 高さを内容に合わせる */
    }

    .work-img {
        height: 180px; /* 画像の高さを少し低くしてスクロールしやすく */
    }

    .work-content {
        padding: 15px; /* 余白を詰める */
    }

    /* ★Pricing（料金表）だけ横スクロール（スワイプ）仕様に変更 */
    .pricing-grid {
        display: flex !important;   /* 強制的にFlexへ */
        flex-wrap: nowrap !important; /* 絶対に折り返さない */
        overflow-x: auto !important;  /* 横スクロールを有効に */
        gap: 20px;
        padding: 40px 20px;
        margin: 0 -20px;             /* 画面端までスワイプ領域を広げる */
        scroll-snap-type: x mandatory; /* ピタッと止まるスナップ機能 */
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
    }

    /* 各カードの幅を固定し、スナップさせる */
    #pricing .plan-card {
        flex: 0 0 85% !important;    /* ★重要：カード幅を画面の85%に固定 */
        scroll-snap-align: center;   /* スクロール時に中央で止まる */
        min-height: auto;
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
    }
    .plan-card {
        flex: 0 0 85%; /* カード1枚の幅を画面の85%にする */
        scroll-snap-align: center; /* 止まる位置をセンターに */
    }

    /* リスト（詳細）を隠して高さを圧縮 */
    #pricing .plan-list {
        display: none !important;
    }

    #pricing .price span {
        font-size: 2.2rem;
    }

    /* ... (以下のstaff-cardやintroの修正などはそのままでOK) ... */
    .staff-card { flex-direction: column; text-align: center; padding: 40px 20px; border-left: none; border-top: 5px solid var(--primary); }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { width: 100%; box-sizing: border-box; text-align: center; }
    .service-intro br { display: none; }
    .service-intro p {
        text-align: left;
        padding: 0 15px;
        line-height: 1.8;
        letter-spacing: 0.05em;
    }
    .service-intro .lead-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    
    .staff-card { flex-direction: column; text-align: center; padding: 40px 20px; border-left: none; border-top: 5px solid var(--primary); }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { width: 100%; box-sizing: border-box; text-align: center; }
    .service-intro br {
        display: none; /* 強制的な改行（<br>）を無効にする */
    }

    .service-intro p {
        text-align: left; /* スマホでは左揃えの方が読みやすい（お好みで center のままでも可） */
        padding: 0 15px;  /* 画面端ギリギリにならないように余白を入れる */
        line-height: 1.8; /* 行間を少し空けて読みやすくする */
        letter-spacing: 0.05em; /* 文字間隔を少し詰める（微調整） */
    }
    
    /* 見出し（Lead text）だけ少し大きく強調する場合 */
    .service-intro .lead-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

/* --- Legal Page (特定商取引法) --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.legal-table th, 
.legal-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    width: 30%;
    color: var(--primary);
    font-weight: 700;
    background-color: #fafafa; /* 見出しを少しグレーに */
}

.legal-table td {
    color: var(--text-sub);
    line-height: 1.8;
}

.legal-table .note {
    font-size: 0.8rem;
    color: #999;
    display: block;
    margin-top: 5px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }
    .legal-table th, 
    .legal-table td {
        display: block;
        width: 100%;
        border-bottom: none;
    }
    .legal-table th {
        background: transparent;
        padding-bottom: 5px;
        color: var(--accent); /* スマホ時は見出しをアクセントカラーにして見やすく */
        border-top: 1px solid var(--border);
        margin-top: 20px;
    }
    .legal-table tr:first-child th {
        border-top: none;
        margin-top: 0;
    }
    .legal-table td {
        padding-top: 0;
        padding-bottom: 20px;
    }
}

/* --- Terms Page (利用規約) --- */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text-sub);
}

.terms-lead {
    margin-bottom: 40px;
    font-size: 0.95rem;
    line-height: 2;
}

.terms-item {
    margin-bottom: 30px;
}

.terms-item h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--primary);
}

.terms-item ol {
    list-style: decimal; /* 数字リスト */
    padding-left: 20px;  /* インデント */
    margin: 0;
}

.terms-item li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .terms-content {
        padding: 30px 20px;
    }
    .terms-item h3 {
        font-size: 1rem;
    }
}