/* =====================================================
service.html 専用スタイル
2025/11/12 更新
===================================================== */

/* =========================================
共通レイアウトベース（TOPと統一）
========================================= */

/* ---- ルート変数（色・余白設定） ---- */
:root {
    --bg: #ffffff;
    --fg: #292929;
    --muted: #69707a;
    --accent: #20AEE5;
    --accent-ink: #133364;
    --section-space: 80px;
    --radius: 16px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --header-h: 80px;
}

/* ---- ベース ---- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--fg);
    background: var(--bg);
    font-family: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---- コンテナ / セクション ---- */
.container {
    width: 100%;
    margin-inline: auto;
    padding-inline: clamp(20px, 9.375vw, 180px);
}

/* ---- リンク・画像 ---- */
a {
    color: inherit;
    text-decoration: none;
}

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

/* ---- 英語タイトル ---- */
.section-en {
    position: relative;
    font-family: "Montserrat", sans-serif;
    font-size: 128px;
    font-weight: 700;
    font-style: italic;
    text-transform: lowercase;
    line-height: 1;
    letter-spacing: 0.05em;
}

.section-en .outline {
    position: relative;
    color: transparent;
    -webkit-text-stroke: 1px rgba(32, 174, 229, 0.25);
    z-index: 1;
}

.section-en .fill {
    position: absolute;
    top: 3px;
    left: 4px;
    color: rgba(32, 174, 229, 0.25);
    -webkit-text-stroke: 0;
    z-index: 0;
}

/* ---- 日本語タイトル ---- */
h2.title {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--fg);
    text-align: center;
    margin: 40px 0 20px;
}

h3 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    margin-bottom: 16px;
}

/* =========================================
ヘッダー（TOPと同じ見た目）
========================================= */
/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg);
    color: var(--fg);
}

.site-header .header-inner {
    width: 100%;
    padding-inline: clamp(16px, 8.33vw, 120px);
    padding-block: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.site-nav a {
    color: var(--fg);
    font-weight: 600;
    text-decoration: none;
    padding: .25rem .4rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block;
}

.site-nav a:hover {
    transform: translateY(-1px);
}

.site-nav .nav-cta .btn {
    color: var(--bg);
    padding: .55rem 1rem;
}

/* =====================================================
イントロセクション
===================================================== */
.section-en:first-of-type {
    margin-top: -80px;
}

.intro__inner {
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.intro__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(40px, 6vw, 80px);
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(20px, 8vw, 100px);
}

.intro__text {
    flex: 1;
}

.intro__lead {
    font-size: 20px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.intro__lead::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 1px;
    background: var(--accent);
}

.intro__desc {
    font-size: 15px;
    color: #444;
    line-height: 2;
    margin: 20px 0;
}

.intro__visual {
    flex: 1;
    text-align: right;
}

.intro__visual img {
    width: 100%;
    max-width: 480px;
    height: auto;
}

/* =====================================================
サービス一覧（2×2カード配置）
===================================================== */
.service-page #services-detail {
    background: #fff;
    text-align: center;
}

.service-page #services-detail .container {
    background: #F3FAFF;
}

.service-page .service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    align-items: stretch;
}

.service-page .service-item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E5E5E5;
    padding: 48px 36px;
    text-align: center;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-page .service-item img {
    width: 35%;
    height: auto;
    display: block;
    margin: 0 auto 24px;
}

.service-page .service-item h3 {
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-page .service-item p {
    text-align: left;
}

/* =====================================================
料金表
===================================================== */
.pricing {
    background: #fff;
    text-align: center;
    margin-bottom: 120px;
}

.pricing .desc {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
}

.pricing-table td,
.pricing-table th {
    font-family: 'Montserrat', 'Zen Maru Gothic', sans-serif;
}

/* --- 表全体 --- */
.pricing-table {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 15px;
    text-align: center;
}

.pricing-table th {
    background: #20AEE5;
    color: #fff;
    font-weight: 700;
    padding: 18px 20px;
    border-right: 2px solid #fff;
    vertical-align: middle;
    text-align: center;
    font-size: 16px;
}

.pricing-table th:last-child {
    border-right: none;
}

.pricing-table td {
    background: #fff;
    border: 1px solid #E5E5E5;
    padding: 20px 12px;
    line-height: 1.8;
    vertical-align: top;
    text-align: left;
    font-weight: 500;
}

.pricing-table tr:nth-child(3) td {
    text-align: center;
}

.pricing-table td:first-child {
    background: #FAFAFA;
    font-weight: 700;
    color: #333;
    width: 16%;
    vertical-align: middle;
    text-align: center;
}

.pricing-table .price-row td:not(:first-child) {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    color: var(--accent-ink);
    font-family: 'Montserrat', 'Zen Maru Gothic', sans-serif;
    vertical-align: middle;
}

.pricing-table .price .yen {
    font-size: 0.7em;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    margin-left: 2px;
}

.pricing-note {
    font-size: 13px;
    color: #333;
    text-align: left;
    max-width: 1100px;
    margin: 16px auto 0;
    line-height: 1.6;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

/* =====================================================
contact
===================================================== */
.contact-inner {
    background: #F1FAFF;
    text-align: center;
    padding: 50px 0;
}

.contact-text {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 18px;
    color: #333;
    margin-bottom: 60px;
    line-height: 1.8;
}

/* ========== Buttons ========== */
.contact-btns {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    cursor: pointer;
}

.btn-blue {
    background: #20AEE5;
    width: 360px;
    height: 80px;
    font-size: 24px;
}

.btn-green {
    background: #25D366;
    width: 360px;
    height: 80px;
    font-size: 24px;
}

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

.btn--accent {
    background: var(--accent);
    color: #fff;
}

.btn--accent:hover {
    filter: brightness(1.05);
}

.btn--ghost {
    border-color: var(--accent);
    color: var(--accent-ink);
    background: transparent;
}

.btn--ghost:hover {
    background: color-mix(in oklab, var(--accent) 10%, white);
}

/* =====================================================
footer
===================================================== */
.footer {
    background: #fff;
    border-top: 1px solid #E5E5E5;
    padding: 80px 0 40px;
    text-align: center;
}

.footer-inner {
    max-width: 1560px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 40px;
}

.footer-left {
    text-align: center;
    flex: 1;
    width: 500px;
}

.footer-logo {
    width: 120px;
    margin: 0 auto 20px;
}

.footer-left p {
    font-family: "Zen Maru Gothic", sans-serif;
    color: var(--accent-ink);
    line-height: 1.8;
    font-size: 15px;
}

.footer-right {
    flex: 1;
    width: 200px;
}

.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-right li {
    margin-bottom: 8px;
}

.footer-right a {
    color: var(--accent-ink);
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-right a:hover {
    color: var(--accent);
}

.footer-copy {
    margin-top: 60px;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.05em;
}

/* =====================================================
レスポンシブ
===================================================== */
/* ハンバーガーメニュー */
@media (max-width:1023px) {
    .nav-toggle {
        display: inline-block;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        color: var(--accent);
        position: relative;
        border-radius: 8px;
    }

    .nav-toggle:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }

    /* 三本線 */
    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
        position: absolute;
        left: 50%;
        width: 24px;
        height: 2px;
        background: var(--accent);
        content: "";
        transform: translateX(-50%);
        transition: transform .2s ease, opacity .2s ease, top .2s ease, bottom .2s ease;
    }

    .nav-toggle span {
        top: 50%;
    }

    .nav-toggle span::before {
        top: -8px;
    }

    .nav-toggle span::after {
        bottom: -8px;
    }

    .site-header.is-open .nav-toggle span {
        background: transparent;
    }

    .site-header.is-open .nav-toggle span::before {
        top: 0;
        transform: translateX(-50%) rotate(45deg);
    }

    .site-header.is-open .nav-toggle span::after {
        bottom: 0;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* ===== メニュー全体 ===== */
    .site-nav {
        position: fixed;
        top: calc(var(--header-h) - 1px);
        left: 0;
        right: 0;
        background: var(--bg);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        pointer-events: none;
    }

    .site-header.is-open .site-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 20px clamp(16px, 6vw, 24px);
    }

    .site-nav a {
        display: block;
        color: var(--fg);
        padding: 12px 8px;
        border-radius: 8px;
    }

    .site-nav a:hover {
        background: rgba(255, 255, 255, .08);
    }

    .site-nav .nav-cta .btn {
        width: 100%;
        text-align: center;
        padding: .8rem 1.5rem;
    }

    .nav-locked {
        overflow: hidden;
        overscroll-behavior: contain;
    }
}

@media (max-width: 1023px) {
    .section-en {
        font-size: 72px;
        margin-bottom: 40px;
    }

    h2.title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .container {
        padding-inline: 6vw;
    }

    .service-page .service-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 24px;
        justify-items: center;
        padding: 20px 0;
    }

    .pricing-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .pricing-card {
        max-width: 500px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .section-en {
        font-size: 50px;
        margin-bottom: 0;
        position: relative;
        display: block;
        margin-inline: auto;
        width: fit-content;
        padding-bottom: 0;
    }

    .intro .section-en {
        text-align: left;
        margin-inline: 0;
        width: auto;
    }

    h2.title {
        font-size: 20px;
        margin: 16px 0;
    }

    .section-en:last-of-type {
        margin: 0;
    }

    .section-en:first-of-type {
        margin-top: -30px;
        padding-bottom: 0;
    }

    .intro__content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 0;
    }

    .intro__visual {
        text-align: center;
    }

    .intro__visual img {
        display: inline-block;
        margin: 0 auto;
        max-width: 80%;
        height: auto;
    }

    .intro__title {
        font-size: 20px;
    }

    .intro__lead {
        font-size: 16px;
        text-align: left;
    }

    .intro__desc {
        font-size: 14px;
        text-align: left;
    }

    .service-page .service-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }

    .service-page .service-item {
        padding: 36px 28px;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    .pricing {
        margin-bottom: 60px;
    }

    .pricing .desc {
        text-align: left;
        margin-bottom: 16px;
    }

    .pricing-card dt,
    .pricing-card dd {
        font-family: 'Montserrat', 'Zen Maru Gothic', sans-serif;
    }

    .pricing-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .pricing-card {
        background: #fff;
        border: 1px solid #E5E5E5;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    }

    .plan-name {
        background: #20AEE5;
        color: #fff;
        font-weight: 700;
        font-size: 16px;
        text-align: center;
        padding: 14px 20px;
        line-height: 1.6;
    }

    .pricing-card dl {
        margin: 0;
        padding: 0 20px 20px;
    }

    .pricing-card dt {
        font-weight: 700;
        color: #333;
        margin-top: 16px;
    }

    .pricing-card dd {
        margin: 0;
        color: #444;
        font-size: 15px;
        line-height: 1.8;
        border-bottom: 1px dashed #E5E5E5;
        padding-bottom: 16px;
    }

    .pricing-card .desc-list,
    .pricing-card .recommend-list {
        text-align: left;
    }

    .pricing-card .desc-list {
        padding-bottom: 16px;
    }

    .pricing-card dl dd:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .price {
        font-size: 20px;
        font-weight: 700;
        color: var(--accent-ink);
    }

    .price .yen {
        font-size: 14px;
    }

    /* --- Contact --- */
    .contact-inner {
        padding: 20px 0;
    }

    .contact-text {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 40px;
    }

    .btn {
        font-size: 15px;
        padding: 12px 28px;
        border-radius: 6px;
    }

    .btn-blue,
    .btn-green {
        width: 260px;
        height: 60px;
        font-size: 17px;
    }

    /* --- Footer --- */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        flex: none;
    }

    .footer-logo {
        width: 100px;
        margin: 0 auto 16px;
    }

    .footer-left p {
        font-size: 12px;
        line-height: 1.8;
    }

    .footer-right ul {
        text-align: left;
        padding: .375em;
    }

    .footer-right li {
        margin-bottom: 6px;
    }

    .footer-right a {
        font-size: 12px;
    }

    .footer-copy {
        margin-top: 40px;
        font-size: 13px;
    }
}