/* =========================================================
   安定公認会計士・税理士事務所
   全体共通CSS 完成版
   トップページ：芦屋川ヒーロー対応
   ========================================================= */


/* =========================================================
   01. 基本設定
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: #f4f7f9;
    color: #303a43;

    font-family:
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        YuGothic,
        Meiryo,
        sans-serif;

    font-size: 15px;
    line-height: 1.9;

    letter-spacing: 0.025em;
}

::selection {
    background: #3589c8;
    color: #ffffff;
}


/* =========================================================
   02. リンク・画像
   ========================================================= */

a {
    color: #40576b;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

a:hover {
    color: #247fc0;
}

img {
    display: block;

    max-width: 100%;
    height: auto;
}


/* =========================================================
   03. 見出し
   ========================================================= */

h1,
h2,
h3,
h4 {
    margin-top: 0;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;
}


/* =========================================================
   04. ヘッダー
   ========================================================= */

header,
.site-header {
    position: relative;
    z-index: 100;

    padding: 0;

    background: rgba(255, 255, 255, 0.98);

    border-top: 4px solid #2f506c;
    border-bottom: 1px solid #d8e2e9;

    text-align: center;

    box-shadow:
        0 3px 15px rgba(35, 60, 80, 0.06);
}

.header-inner {
    max-width: 1400px;

    min-height: 78px;

    margin: 0 auto;
    padding: 0 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}


/* 事務所名 */

header h1,
.site-header h1 {
    margin: 0;

    color: #214b6d;

    font-size: 27px;
    font-weight: 500;

    letter-spacing: 0.1em;

    line-height: 1.5;
}

.logo-area a {
    text-decoration: none;
}

.logo-area h1 {
    white-space: nowrap;
}


/* 旧HTML用サブタイトル */

.subtitle {
    margin: 9px 0 30px;

    color: #68747d;

    font-size: 13px;

    letter-spacing: 0.12em;
}


/* =========================================================
   05. グローバルナビゲーション
   ========================================================= */

.main-nav {
    width: auto;
}

.main-nav ul {
    display: flex;

    justify-content: center;
    align-items: stretch;

    max-width: 1080px;

    margin: 0 auto;
    padding: 0;

    list-style: none;
}

.main-nav li {
    flex: 0 0 auto;

    max-width: none;
}

.main-nav a {
    display: flex;

    justify-content: center;
    align-items: center;

    min-height: 50px;

    padding: 12px 21px;

    color: #41586b;

    border-top: 3px solid transparent;

    text-decoration: none;

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0.06em;
}

.main-nav a:hover {
    background: #f0f8fd;

    color: #217db9;

    border-top-color: #5aadda;
}

.main-nav a.active {
    background: #eef7fc;

    color: #217db9;

    border-top-color: #358dcc;
}

/* =========================================================
   06. トップページ ヒーロー
   ========================================================= */

.hero {
    position: relative;

    width: 100%;

    height: min(620px, 48vw);
    min-height: 480px;

    margin: 0 auto;

    overflow: hidden;

    background: #dce8ef;
}


/* ヒーロー画像 */

.hero-img,
.hero-image {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    margin: 0;

    object-fit: cover;

    filter:
        saturate(82%)
        contrast(96%)
        brightness(103%);

    transition: transform 0.8s ease;
}


/* ヒーロー画像の上に薄いグラデーション */

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02) 0%,
            rgba(255, 255, 255, 0.04) 30%,
            rgba(255, 255, 255, 0.42) 55%,
            rgba(255, 255, 255, 0.90) 100%
        );

    pointer-events: none;
}


/* =========================================================
   ヒーロー文字
   ========================================================= */

.hero-content {
    position: absolute;

    top: 50%;
    right: 7%;

    width: min(610px, 46%);

    transform: translateY(-50%);

    color: #173b57;

    text-align: left;

    /* 写真の上でも文字を読みやすくする */
    text-shadow:
        0 1px 3px rgba(255, 255, 255, 0.85),
        0 2px 10px rgba(255, 255, 255, 0.45);
}


/* 英字タイトル */

.hero-subtitle {
    margin: 0 0 10px;

    color: #2b719f;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.2em;

    text-shadow:
        0 1px 4px rgba(255, 255, 255, 0.9);
}


/* メインタイトル */

.hero-content h2 {
    margin: 0;

    color: #123b5b;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: clamp(30px, 3.4vw, 51px);
    font-weight: 600;

    line-height: 1.45;

    letter-spacing: 0.08em;

    text-shadow:
        0 1px 4px rgba(255, 255, 255, 0.95),
        0 3px 12px rgba(255, 255, 255, 0.55);
}


/* キャッチコピー */

.hero-catch {
    margin: 15px 0 30px;

    color: #245574;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: clamp(17px, 1.55vw, 23px);

    font-weight: 600;

    line-height: 1.9;

    letter-spacing: 0.09em;

    text-shadow:
        0 1px 4px rgba(255, 255, 255, 0.95),
        0 2px 9px rgba(255, 255, 255, 0.55);
}


/* =========================================================
   ヒーローボタン
   ========================================================= */

.hero-button {
    display: inline-flex;

    justify-content: center;
    align-items: center;

    gap: 16px;

    padding: 13px 28px;

    background: rgba(255, 255, 255, 0.94);

    color: #1f78b2;

    border: 1px solid #4a9ed0;
    border-radius: 28px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.06em;

    box-shadow:
        0 4px 15px rgba(42, 100, 140, 0.10);
}

.hero-button span {
    font-size: 18px;
}

.hero-button:hover {
    background: #2986c4;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(42, 100, 140, 0.18);
}

/* =========================================================
   07. 共通コンテンツ幅
   ========================================================= */

main,
.message,
.services-summary,
.pricing-summary,
.news,
.contact-cta,
.about,
.services,
.contact,
.column,
.pricing {
    width: 92%;
    max-width: 1000px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   08. 新トップページ 共通セクション
   ========================================================= */

.section {
    padding: 75px 30px;
}

.section-inner {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
}

.section-heading {
    position: relative;

    display: flex;

    align-items: center;

    gap: 17px;

    margin-bottom: 38px;
}

.heading-line {
    display: block;

    width: 5px;
    height: 50px;

    flex-shrink: 0;

    background:
        linear-gradient(
            to bottom,
            #2588d0,
            #75c4e9
        );

    border-radius: 5px;
}

.heading-en {
    margin: 0 0 1px;

    color: #66a9d1;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.25em;
}

.section-heading h2 {
    margin: 0;

    color: #174873;

    font-size: 29px;
    font-weight: 600;

    letter-spacing: 0.08em;
}

.section-heading h2 small {
    font-size: 15px;
    font-weight: 500;
}

.heading-link {
    margin-left: auto;

    color: #2785c5;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}

.heading-link:hover {
    color: #155c88;
}


/* =========================================================
   09. 旧ページタイトル
   ========================================================= */

.index-title-box,
.contact-title-box {
    position: relative;

    width: 92%;
    max-width: 1000px;

    margin: 65px auto 30px;

    padding: 0 0 14px;

    border-bottom: 1px solid #cbd3d9;
}

.index-title-box::after,
.contact-title-box::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 68px;
    height: 3px;

    background: #405568;
}

.index-title-box h2,
.contact-title-box h2 {
    margin: 0;

    color: #34495e;

    font-size: 24px;
    font-weight: 500;

    letter-spacing: 0.1em;
}


/* =========================================================
   10. 代表者メッセージ
   ========================================================= */

.message-section {
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5fbff 100%
        );
}

.message-inner {
    display: grid;

    grid-template-columns: 1fr 0.85fr;

    gap: 65px;

    align-items: center;
}

.message-text p {
    margin: 0 0 21px;

    color: #4a5b68;

    font-size: 14px;

    line-height: 2.05;
}

.message-text .text-link {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 5px;

    padding: 8px 21px;

    color: #2685c5;

    border: 1px solid #53a4d7;
    border-radius: 25px;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}

.message-text .text-link span {
    font-size: 17px;
}

.message-text .text-link:hover {
    background: #2685c5;

    color: #ffffff;
}


/* メッセージ右側 */

.message-image {
    min-height: 310px;

    overflow: hidden;

    border-radius: 5px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.82),
            rgba(215,240,252,0.55)
        ),
        url("images/ashiya_landscape.jpg") center / cover;

    box-shadow:
        0 8px 25px rgba(45, 95, 125, 0.08);
}

.message-image-overlay {
    width: 100%;
    height: 100%;

    min-height: 310px;

    padding: 45px;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        rgba(255, 255, 255, 0.43);
}

.message-script {
    margin: 0 0 7px;

    color: #61a8d5;

    font-family: cursive;

    font-size: 45px;

    font-style: italic;

    line-height: 1.2;
}

.message-image-overlay p:last-child {
    margin: 0;

    color: #2d83bf;

    font-size: 15px;

    line-height: 2;

    letter-spacing: 0.1em;
}


/* =========================================================
   11. トップページ サービス概要
   ========================================================= */

.services-section {
    background: #f1f8fc;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 13px;
}

.service-card {
    min-height: 175px;

    padding: 19px 13px 17px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #dfebf2;
    border-radius: 8px;

    text-decoration: none;

    box-shadow:
        0 5px 15px rgba(38, 92, 125, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: #b7dcee;

    box-shadow:
        0 12px 28px rgba(38, 92, 125, 0.11);
}


/* アイコン */

.service-icon {
    width: 60px;
    height: 60px;

    margin-bottom: 15px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 18px;

    background: #edf8fd;

    color: #58a5d5;

    font-size: 35px;

    line-height: 1;
}

.service-card:nth-child(2) .service-icon {
    background: #edf9f4;
    color: #67b993;
}

.service-card:nth-child(3) .service-icon {
    background: #fff7e9;
    color: #e5a135;
}

.service-card:nth-child(4) .service-icon {
    background: #f5efff;
    color: #9c79d8;
}

.service-card:nth-child(5) .service-icon {
    background: #edfafa;
    color: #55b6b2;
}


.service-card h3 {
    margin: 0 0 8px;

    color: #234f70;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.7;

    letter-spacing: 0.04em;
}

.service-card p {
    margin: auto 0 0;

    color: #728493;

    font-size: 10px;

    line-height: 1.7;
}


/* =========================================================
   12. 旧トップページ サービス概要
   ========================================================= */

.services-summary {
    padding: 0;
}

.services-summary ul {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.services-summary li {
    position: relative;

    padding: 21px 22px 21px 48px;

    background: #ffffff;

    border: 1px solid #d7dee3;

    color: #44515c;

    box-shadow:
        0 5px 17px rgba(35, 50, 65, 0.045);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.services-summary li::before {
    content: "✓";

    position: absolute;

    left: 21px;
    top: 20px;

    color: #358dcc;

    font-weight: bold;
}

.services-summary li:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(35, 50, 65, 0.08);
}

.services-summary > p {
    margin: 25px 0 0;

    text-align: right;
}

.services-summary > p a {
    color: #2785c5;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   13. トップページ料金概要
   ========================================================= */

.pricing-section {
    background: #ffffff;
}

.pricing-content {
    display: flex;

    align-items: flex-end;

    gap: 35px;
}

.price-table {
    flex: 1;

    border-top: 1px solid #d8e5ed;
}

.price-row {
    min-height: 49px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    padding: 0 18px;

    border-bottom: 1px solid #d8e5ed;

    color: #36566f;

    font-size: 13px;
}

.price-row strong {
    color: #194e78;

    font-weight: 600;
}

.price-row .free {
    color: #2588c9;
}

.price-link {
    min-width: 230px;

    padding-bottom: 15px;

    color: #2585c9;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;
}

.price-link span {
    margin-left: 10px;

    font-size: 17px;
}

.price-link:hover {
    color: #155e8d;
}


/* =========================================================
   14. 旧トップページ料金概要
   ========================================================= */

.pricing-summary {
    padding: 30px 36px;

    background:
        linear-gradient(
            135deg,
            #e9f1f5,
            #f4f7f9
        );

    border: 1px solid #ccd8df;

    box-shadow:
        0 5px 18px rgba(35, 50, 65, 0.045);
}

.pricing-summary ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.pricing-summary li {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 13px 5px;

    border-bottom: 1px solid #d0d8de;

    color: #46535d;
}

.pricing-summary li:last-child {
    border-bottom: none;
}

.pricing-summary > p {
    margin: 20px 0 0;

    text-align: right;
}

.pricing-summary > p a {
    color: #405568;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   15. お知らせ
   ========================================================= */

.news-section {
    background: #f4fafc;
}

.news-list {
    border-top: 1px solid #d8e5ed;
}

.news-item {
    display: grid;

    grid-template-columns: 130px 1fr 30px;

    align-items: center;

    min-height: 52px;

    padding: 0 12px;

    border-bottom: 1px solid #d8e5ed;

    color: #3e5d74;

    font-size: 13px;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.news-item time {
    color: #245a82;

    font-weight: 600;
}

.news-item b {
    color: #358dca;

    text-align: right;

    font-size: 17px;
}

.news-item:hover {
    background: #ffffff;

    color: #2685cd;
}


/* 旧お知らせ */

.news {
    padding: 28px 35px;

    background: #ffffff;

    border: 1px solid #d7dee3;

    box-shadow:
        0 6px 20px rgba(35, 50, 65, 0.05);
}

.news ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.news li {
    padding: 13px 0;

    border-bottom: 1px solid #dfe4e8;

    color: #4e5961;
}

.news li:last-child {
    border-bottom: none;
}


/* =========================================================
   16. お問い合わせCTA
   ========================================================= */

.contact-cta {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(232, 248, 255, 0.97),
            rgba(255, 255, 255, 0.91)
        ),
        url("images/ashiya_landscape.jpg") center / cover;

    color: #234f70;

    box-shadow:
        0 8px 25px rgba(35, 70, 95, 0.08);
}


/* 新トップページ */

.contact-cta-inner {
    min-height: 155px;

    padding: 30px 50px;

    display: flex;

    align-items: center;

    gap: 25px;
}

.contact-icon {
    width: 60px;
    height: 60px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid #55a5d7;
    border-radius: 50%;

    color: #2685cd;

    font-size: 27px;
}

.contact-text {
    flex: 1;
}

.contact-en {
    margin: 0;

    color: #67a9d1;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.25em;
}

.contact-text h2 {
    margin: 0 0 2px;

    color: #1b5b86;

    font-size: 24px;

    letter-spacing: 0.1em;
}

.contact-text > p:last-child {
    margin: 0;

    color: #48677d;

    font-size: 12px;
}

.contact-button,
.cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 17px;

    min-width: 255px;

    padding: 14px 25px;

    background:
        linear-gradient(
            90deg,
            #358fd3,
            #247fc2
        );

    color: #ffffff;

    border: 1px solid #3188c9;
    border-radius: 28px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.05em;

    box-shadow:
        0 6px 15px rgba(35, 123, 180, 0.17);
}

.contact-button span {
    font-size: 18px;
}

.contact-button:hover,
.cta-button:hover {
    background: #ffffff;

    color: #247fc2;

    border-color: #3188c9;

    transform: translateY(-2px);
}


/* =========================================================
   17. 共通ページ本文
   ========================================================= */

.about,
.services,
.contact,
.column {
    margin-bottom: 70px;
}

.about section,
.services section,
.contact section,
.column section {
    margin-bottom: 40px;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #d7dee3;

    box-shadow:
        0 6px 20px rgba(35, 50, 65, 0.045);
}

.about h3,
.services h3,
.contact h3,
.column h3 {
    margin-bottom: 20px;

    padding-left: 15px;

    border-left: 3px solid #358dcc;

    color: #34495e;

    font-size: 20px;
    font-weight: 500;
}

.about p,
.services p,
.contact p,
.column p {
    color: #4d5860;

    line-height: 2;
}


/* =========================================================
   18. サービスページ
   ========================================================= */

.service-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.service-item {
    padding: 28px;

    background: #ffffff;

    border: 1px solid #d7dee3;

    box-shadow:
        0 6px 19px rgba(35, 50, 65, 0.045);
}

.service-item h3 {
    margin-bottom: 12px;
}

.service-item p {
    margin: 0;

    color: #5b656d;

    font-size: 14px;
}


/* =========================================================
   19. サービスフロー
   ========================================================= */

.flow {
    margin: 0;
    padding: 0;

    list-style: none;

    counter-reset: flow-counter;
}

.flow li {
    position: relative;

    margin-bottom: 15px;

    padding: 20px 25px 20px 72px;

    background: #ffffff;

    border: 1px solid #d7dee3;

    box-shadow:
        0 4px 15px rgba(35, 50, 65, 0.035);
}

.flow li::before {
    counter-increment: flow-counter;

    content: counter(flow-counter, decimal-leading-zero);

    position: absolute;

    left: 22px;
    top: 50%;

    transform: translateY(-50%);

    color: #358dcc;

    font-family: Georgia, serif;

    font-size: 14px;
    font-weight: bold;
}


/* =========================================================
   20. コラム
   ========================================================= */

.column-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.column-card {
    padding: 27px;

    background: #ffffff;

    border: 1px solid #d7dee3;

    box-shadow:
        0 6px 19px rgba(35, 50, 65, 0.045);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.column-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 24px rgba(35, 50, 65, 0.08);
}

.column-card h3 {
    margin-bottom: 13px;

    padding-left: 12px;

    border-left: 3px solid #358dcc;

    font-size: 18px;
}

.column-card p {
    margin: 0;

    color: #5c666e;

    font-size: 14px;
}


/* =========================================================
   21. お問い合わせフォーム
   ========================================================= */

.contact-form {
    max-width: 800px;

    margin: 0 auto;

    padding: 42px;

    background: #ffffff;

    border: 1px solid #d7dee3;

    box-shadow:
        0 7px 22px rgba(35, 50, 65, 0.06);
}

.contact-form label {
    display: block;

    margin-bottom: 8px;

    color: #34495e;

    font-size: 14px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;

    padding: 13px 15px;

    background: #fafcfd;

    border: 1px solid #cbd4da;
    border-radius: 4px;

    color: #303a43;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    background: #ffffff;

    border-color: #4a9ed0;

    box-shadow:
        0 0 0 3px rgba(74, 158, 208, 0.10);
}

.contact-form textarea {
    min-height: 180px;

    resize: vertical;
}

.form-submit {
    text-align: center;
}

.form-submit button {
    padding: 14px 38px;

    background: #34495e;

    color: #ffffff;

    border: 1px solid #34495e;

    font-family: inherit;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.form-submit button:hover {
    background: #358dcc;

    border-color: #358dcc;
}


/* =========================================================
   22. 料金表ページ
   ========================================================= */

.pricing {
    margin-bottom: 70px;
}

.pricing-intro {
    margin: 35px 0 45px;

    padding: 28px 32px;

    background: #ffffff;

    border: 1px solid #d5dce1;
    border-left: 5px solid #358dcc;

    box-shadow:
        0 6px 20px rgba(35, 50, 65, 0.07);

    color: #46525c;
}

.pricing-intro p {
    margin: 0 0 10px;
}

.pricing-intro p:last-child {
    margin-bottom: 0;
}


/* 料金セクション */

.pricing-section {
    margin-bottom: 45px;

    padding: 0;

    background: #ffffff;

    border: 1px solid #cfd7dd;

    box-shadow:
        0 8px 25px rgba(35, 50, 65, 0.08);

    overflow: hidden;
}


/* 料金見出し */

.pricing-section-heading {
    position: relative;

    padding: 25px 30px;

    background:
        linear-gradient(
            135deg,
            #e6f0f5,
            #eef5f8
        );

    border-bottom: 1px solid #c4d2da;
}

.pricing-section-heading::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 5px;

    background: #358dcc;
}

.pricing-section-heading h3 {
    margin: 0 0 5px;

    color: #293c4d;

    font-size: 21px;
    font-weight: 500;

    letter-spacing: 0.08em;
}

.pricing-section-heading p {
    margin: 0;

    color: #596771;

    font-size: 13px;

    line-height: 1.7;
}


/* 料金表 */

.pricing-section table {
    width: 100%;

    margin: 0;

    border-collapse: collapse;

    border: none;
}

.pricing-section th {
    padding: 14px 22px;

    background: #eef4f7;

    color: #465866;

    border: none;
    border-bottom: 1px solid #cfd7dd;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.04em;
}

.pricing-section th:first-child {
    width: 70%;

    text-align: left;
}

.pricing-section th:last-child {
    width: 30%;

    text-align: center;
}

.pricing-section td {
    padding: 22px;

    background: #ffffff;

    border: none;
    border-bottom: 1px solid #dfe4e8;

    vertical-align: middle;
}

.pricing-section tr:last-child td {
    border-bottom: none;
}

.pricing-section td strong {
    display: block;

    margin-bottom: 5px;

    color: #334b5f;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.6;
}

.pricing-section td small {
    display: block;

    color: #727e87;

    font-size: 12px;

    line-height: 1.7;
}

.pricing-section td.price {
    color: #2f4a60;

    text-align: center;

    font-size: 17px;
    font-weight: 600;

    white-space: nowrap;

    vertical-align: middle;
}

.pricing-section td.price-custom {
    color: #526779;

    font-size: 15px;
}

.price-detail-link {
    display: inline-block;

    margin-top: 10px;

    color: #405a70;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.price-detail-link:hover {
    color: #243746;

    text-decoration: underline;
}

.pricing-section tbody tr {
    transition:
        background-color 0.2s ease;
}

.pricing-section tbody tr:hover td {
    background-color: #f1f7fa;
}

.pricing-section-special {
    border-top: 4px solid #358dcc;
}


/* =========================================================
   23. フッター
   ========================================================= */

.site-footer {
    margin-top: 70px;

    background: #194b70;

    color: #ffffff;
}

.footer-inner {
    max-width: 1180px;

    margin: 0 auto;

    padding: 35px 30px 25px;

    text-align: center;
}

.footer-logo {
    margin-bottom: 18px;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 18px;

    letter-spacing: 0.08em;
}

.footer-nav {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    margin-bottom: 24px;
}

.footer-nav a {
    padding: 0 17px;

    color: #dcecf7;

    font-size: 11px;

    border-right: 1px solid rgba(255,255,255,0.3);
}

.footer-nav a:last-child {
    border-right: none;
}

.footer-nav a:hover {
    color: #ffffff;
}

.copyright {
    margin: 0;

    padding-top: 19px;

    border-top: 1px solid rgba(255,255,255,0.2);

    color: #c7dbe9;

    font-size: 9px;

    line-height: 1.6;
}


/* =========================================================
   24. タブレット
   ========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        padding-left: 25px;
        padding-right: 25px;

        gap: 20px;
    }

    .logo-area h1 {
        font-size: 22px;
    }

    .main-nav a {
        padding-left: 13px;
        padding-right: 13px;

        font-size: 12px;
    }

    .hero-content {
        right: 5%;

        width: 52%;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .message-inner {
        gap: 40px;
    }

    .pricing-content {
        flex-direction: column;

        align-items: stretch;
    }

    .price-link {
        padding-bottom: 0;

        text-align: right;
    }
}


/* =========================================================
   25. スマートフォン
   ========================================================= */

@media (max-width: 700px) {

    body {
        font-size: 14px;
    }


    /* ヘッダー */

    header,
    .site-header {
        border-top-width: 3px;
    }

    .header-inner {
        min-height: 0;

        padding: 14px 12px 8px;

        display: flex;

        flex-direction: column;

        gap: 7px;
    }

    .logo-area h1 {
        font-size: 18px;

        letter-spacing: 0.04em;
    }

    .main-nav {
        width: 100%;

        overflow-x: auto;
    }

    .main-nav ul {
        width: max-content;

        margin: 0 auto;
    }

    .main-nav a {
        min-height: 38px;

        padding: 5px 10px;

        font-size: 10px;

        letter-spacing: 0.02em;
    }


    /* 旧ヘッダー */

    header:not(.site-header) {
        padding-top: 25px;
    }

    header:not(.site-header) h1 {
        font-size: 22px;
    }

    .subtitle {
        margin-bottom: 18px;

        font-size: 10px;
    }


    /* ヒーロー */

    .hero {
        height: 560px;

        min-height: 0;
    }

    .hero-img,
    .hero-image {
        object-position: 55% center;

        filter:
            saturate(78%)
            contrast(96%)
            brightness(103%);
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,0.02) 0%,
                rgba(255,255,255,0.10) 25%,
                rgba(255,255,255,0.72) 60%,
                rgba(255,255,255,0.97) 100%
            );
    }

    .hero-content {
        top: auto;
        right: 0;
        bottom: 38px;

        width: 100%;

        padding: 0 20px;

        transform: none;

        text-align: center;
    }

    .hero-subtitle {
        margin-bottom: 5px;

        font-size: 10px;

        letter-spacing: 0.16em;
    }

    .hero-content h2 {
        font-size: 27px;

        letter-spacing: 0.04em;
    }

    .hero-catch {
        margin: 8px 0 20px;

        font-size: 14px;

        line-height: 1.8;
    }

    .hero-button {
        padding: 10px 21px;

        font-size: 11px;
    }

    .pc-break {
        display: none;
    }


    /* 共通セクション */

    .section {
        padding: 50px 18px;
    }

    .section-heading {
        gap: 11px;

        margin-bottom: 27px;
    }

    .heading-line {
        width: 4px;
        height: 41px;
    }

    .heading-en {
        font-size: 8px;
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .section-heading h2 small {
        font-size: 12px;
    }

    .heading-link {
        font-size: 10px;
    }


    /* メッセージ */

    .message-inner {
        display: flex;

        flex-direction: column;

        gap: 28px;
    }

    .message-text p {
        font-size: 13px;
    }

    .message-image {
        width: 100%;

        min-height: 230px;
    }

    .message-image-overlay {
        min-height: 230px;

        padding: 30px;
    }

    .message-script {
        font-size: 38px;
    }

    .message-image-overlay p:last-child {
        font-size: 13px;
    }


    /* サービス */

    .service-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }

    .service-card {
        min-height: 190px;

        padding: 20px 8px;
    }

    .service-icon {
        width: 49px;
        height: 49px;

        margin-bottom: 9px;

        font-size: 28px;
    }

    .service-card h3 {
        font-size: 11px;
    }

    .service-card p {
        font-size: 8px;
    }


    /* 旧サービス */

    .services-summary ul {
        grid-template-columns: 1fr;
    }


    /* 料金 */

    .price-row {
        grid-template-columns: 1fr;

        gap: 2px;

        padding: 10px 12px;

        line-height: 1.5;
    }

    .price-row strong {
        font-size: 12px;
    }

    .price-link {
        padding-top: 5px;

        font-size: 10px;

        text-align: right;
    }

    .pricing-summary {
        padding: 20px;
    }

    .pricing-summary li {
        display: block;

        padding: 12px 4px;
    }


    /* お知らせ */

    .news-item {
        grid-template-columns: 92px 1fr 20px;

        min-height: 55px;

        padding: 5px;

        font-size: 11px;
    }

    .news-item time {
        font-size: 9px;
    }

    .news {
        padding: 20px;
    }


    /* お問い合わせ */

    .contact-cta {
        width: auto;

        margin: 20px 18px 0;
    }

    .contact-cta-inner {
        min-height: 0;

        padding: 24px 17px;

        display: grid;

        grid-template-columns: auto 1fr;

        gap: 14px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;

        font-size: 21px;
    }

    .contact-text h2 {
        font-size: 20px;
    }

    .contact-text > p:last-child {
        font-size: 10px;
    }

    .contact-button,
    .cta-button {
        grid-column: 1 / -1;

        min-width: 0;

        width: 100%;

        padding: 12px;

        font-size: 10px;
    }


    /* 共通ページ */

    main,
    .message,
    .services-summary,
    .pricing-summary,
    .news,
    .about,
    .services,
    .contact,
    .column,
    .pricing {
        width: 92%;
    }

    .about section,
    .services section,
    .contact section,
    .column section {
        padding: 22px;
    }


    /* お問い合わせフォーム */

    .contact-form {
        padding: 25px 18px;
    }


    /* 料金表 */

    .pricing-section {
        overflow-x: auto;
    }

    .pricing-section table {
        min-width: 650px;
    }


    /* フッター */

    .site-footer {
        margin-top: 45px;
    }

    .footer-inner {
        padding: 28px 15px 20px;
    }

    .footer-logo {
        font-size: 15px;
    }

    .footer-nav a {
        padding: 0 9px;

        font-size: 9px;
    }

    .copyright {
        font-size: 8px;
    }
}


/* =========================================================
   26. 小型スマートフォン
   ========================================================= */

@media (max-width: 420px) {

    .logo-area h1 {
        font-size: 16px;
    }

    .main-nav a {
        padding-left: 8px;
        padding-right: 8px;

        font-size: 9px;
    }

    .hero {
        height: 510px;
    }

    .hero-content h2 {
        font-size: 23px;
    }

    .hero-catch {
        font-size: 12px;
    }

    .section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .service-card {
        min-height: 180px;
    }

    .section-heading h2 {
        font-size: 20px;
    }
}

/* =========================================================
   20. 料金について
   ========================================================= */

.pricing-notice {
    margin: 10px 0 50px;

    padding: 30px 35px;

    background: #e4e9ec;

    border: 1px solid #cbd4da;

    box-shadow:
        0 5px 18px rgba(35, 50, 65, 0.05);
}

.pricing-notice h3 {
    margin: 0 0 18px;

    color: #334a5c;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 19px;
    font-weight: 500;

    letter-spacing: 0.08em;
}

.pricing-notice ul {
    margin: 0;

    padding-left: 22px;
}

.pricing-notice li {
    margin-bottom: 8px;

    color: #525f68;

    font-size: 13px;

    line-height: 1.7;
}

.pricing-notice li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   21. 料金表CTA
   ========================================================= */

.pricing-cta {
    margin: 0 0 70px;

    padding: 60px 30px;

    background:
        linear-gradient(
            135deg,
            #293c4d,
            #405568
        );

    color: #ffffff;

    text-align: center;

    box-shadow:
        0 12px 32px rgba(35, 50, 65, 0.16);
}

.pricing-cta-label {
    margin: 0 0 8px;

    color: #cbd5db;

    font-size: 11px;

    letter-spacing: 0.25em;
}

.pricing-cta h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 24px;
    font-weight: 500;

    letter-spacing: 0.1em;
}

.pricing-cta > p:not(.pricing-cta-label) {
    margin: 0 0 30px;

    color: #e5eaed;

    font-size: 14px;

    line-height: 1.8;
}

.pricing-cta .cta-button {
    background: #ffffff;

    color: #304658;
}

.pricing-cta .cta-button:hover {
    background: transparent;

    color: #ffffff;

    border-color: #ffffff;
}


/* =========================================================
   22. サービス案内ページ
   ========================================================= */


/* サービスページ全体 */

.services-page {
    width: 92%;
    max-width: 1000px;

    margin: 0 auto 80px;
}


/* ---------------------------------------------------------
   サービス導入
   --------------------------------------------------------- */

.service-intro {
    margin: 35px 0 55px;

    padding: 45px 50px;

    background: #ffffff;

    border: 1px solid #d2d9de;

    box-shadow:
        0 8px 25px rgba(35, 50, 65, 0.065);

    text-align: center;
}

.service-intro-label {
    margin: 0 0 10px;

    color: #405568;

    font-family: Georgia, serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.3em;
}

.service-intro h2 {
    margin: 0 0 22px;

    color: #2f4354;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 25px;
    font-weight: 500;

    line-height: 1.75;

    letter-spacing: 0.08em;
}

.service-intro > p:last-child {
    max-width: 720px;

    margin: 0 auto;

    color: #5a656d;

    font-size: 14px;

    line-height: 2.05;
}


/* ---------------------------------------------------------
   サービスカード
   --------------------------------------------------------- */

.service-cards-section {
    margin-bottom: 70px;
}

.service-cards {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.service-card {
    display: flex;

    flex-direction: column;

    min-height: 430px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #d2d9de;

    color: #303a43;

    text-decoration: none;

    box-shadow:
        0 7px 21px rgba(35, 50, 65, 0.055);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: #aebbc4;

    color: #303a43;

    box-shadow:
        0 14px 30px rgba(35, 50, 65, 0.12);
}


/* =========================================================
   23. サービスイラスト
   ========================================================= */

.service-icon {
    position: relative;

    width: 100%;

    height: 210px;

    overflow: visible;

    background:
        linear-gradient(
            135deg,
            #edf1f3 0%,
            #e4e9ec 100%
        );

    border-bottom: 1px solid #d1d9de;

    color: #405568;
}


/* ---------------------------------------------------------
   背景の円
   --------------------------------------------------------- */

.service-icon::after {
    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(64, 85, 104, 0.12);

    border-radius: 50%;

    pointer-events: none;
}


/* ---------------------------------------------------------
   建物
   --------------------------------------------------------- */

.icon-building {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 170px;
    height: 120px;

    transform: translate(-50%, -50%);

    background: #f8f9fa;

    border: 2px solid #405568;
    border-bottom: 4px solid #405568;

    z-index: 2;
}

.icon-building::before {
    content: "";

    position: absolute;

    left: -25px;
    top: -23px;

    width: 220px;
    height: 23px;

    background: #405568;

    clip-path: polygon(
        8% 100%,
        50% 0,
        92% 100%
    );
}

.icon-window {
    position: absolute;

    width: 31px;
    height: 25px;

    background: #dfe5e9;

    border: 1px solid #405568;
}

.window-one {
    left: 29px;
    top: 23px;
}

.window-two {
    right: 29px;
    top: 23px;
}

.window-three {
    left: 29px;
    top: 55px;
}

.window-four {
    right: 29px;
    top: 55px;
}


/* ---------------------------------------------------------
   書類・税務
   --------------------------------------------------------- */

.icon-document {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 155px;
    height: 135px;

    transform: translate(-50%, -50%);

    background: #ffffff;

    border: 2px solid #405568;

    z-index: 2;
}

.icon-document::before {
    content: "";

    position: absolute;

    right: -2px;
    top: -2px;

    width: 43px;
    height: 43px;

    background: #e4e9ec;

    border-left: 2px solid #405568;
    border-bottom: 2px solid #405568;

    clip-path: polygon(
        0 0,
        100% 100%,
        0 100%
    );
}

.icon-document-line {
    position: absolute;

    left: 27px;

    width: 96px;
    height: 2px;

    background: #71808b;
}

.line-one {
    top: 52px;
}

.line-two {
    top: 71px;
}

.line-three {
    top: 90px;
}

.icon-check {
    position: absolute;

    right: -34px;
    bottom: -22px;

    display: flex;

    justify-content: center;
    align-items: center;

    width: 62px;
    height: 62px;

    background: #405568;

    color: #ffffff;

    border: 4px solid #edf1f3;

    border-radius: 50%;

    font-size: 28px;
    font-weight: bold;

    z-index: 4;
}


/* ---------------------------------------------------------
   電卓
   --------------------------------------------------------- */

.icon-calculator {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 145px;
    height: 140px;

    transform: translate(-50%, -50%);

    background: #f8f9fa;

    border: 2px solid #405568;

    border-radius: 7px;

    z-index: 2;
}

.calc-display {
    position: absolute;

    left: 22px;
    top: 17px;

    width: 97px;
    height: 24px;

    background: #dce3e7;

    border: 1px solid #405568;
}

.calc-button {
    position: absolute;

    width: 24px;
    height: 16px;

    background: #e0e6e9;

    border: 1px solid #667782;
}

.b1 {
    left: 22px;
    top: 54px;
}

.b2 {
    left: 60px;
    top: 54px;
}

.b3 {
    left: 98px;
    top: 54px;
}

.b4 {
    left: 22px;
    top: 80px;
}

.b5 {
    left: 60px;
    top: 80px;
}

.b6 {
    left: 98px;
    top: 80px;
}


/* ---------------------------------------------------------
   家・相続
   --------------------------------------------------------- */

.icon-house {
    position: absolute;

    left: 50%;
    top: 78px;

    width: 150px;
    height: 68px;

    transform: translateX(-50%);

    background: #ffffff;

    border: 2px solid #405568;

    z-index: 2;
}

.icon-house::before {
    content: "";

    position: absolute;

    left: -25px;
    top: -38px;

    width: 200px;
    height: 50px;

    background: #405568;

    clip-path: polygon(
        50% 0,
        100% 65%,
        92% 65%,
        92% 100%,
        8% 100%,
        8% 65%,
        0 65%
    );
}

.icon-person {
    position: absolute;

    bottom: 34px;

    width: 24px;
    height: 28px;

    background: #ffffff;

    border: 2px solid #405568;

    border-radius: 11px 11px 3px 3px;

    z-index: 4;
}

.icon-person::before {
    content: "";

    position: absolute;

    left: 50%;
    top: -18px;

    width: 17px;
    height: 17px;

    transform: translateX(-50%);

    background: #ffffff;

    border: 2px solid #405568;

    border-radius: 50%;
}

.person-one {
    left: calc(50% - 66px);
}

.person-two {
    left: calc(50% - 12px);

    transform: scale(1.2);
}

.person-three {
    left: calc(50% + 42px);
}

.icon-ground {
    position: absolute;

    left: 50%;
    bottom: 31px;

    width: 225px;
    height: 3px;

    transform: translateX(-50%);

    background: #405568;

    z-index: 5;
}


/* ---------------------------------------------------------
   グラフ・経営分析
   --------------------------------------------------------- */

.icon-chart-axis {
    position: absolute;

    left: 50%;
    bottom: 48px;

    width: 185px;
    height: 95px;

    transform: translateX(-50%);

    border-left: 2px solid #405568;
    border-bottom: 2px solid #405568;

    z-index: 2;
}

.chart-bar {
    position: absolute;

    bottom: 0;

    width: 28px;

    background: #718391;

    border: 1px solid #405568;
}

.bar-one {
    left: 25px;
    height: 35px;
}

.bar-two {
    left: 77px;
    height: 58px;
}

.bar-three {
    left: 129px;
    height: 80px;
}

.chart-line {
    position: absolute;

    left: 23px;
    bottom: 31px;

    width: 140px;
    height: 58px;

    border-top: 3px solid #34495e;

    transform:
        skewY(-28deg)
        rotate(-8deg);

    z-index: 4;
}


/* ---------------------------------------------------------
   シールド・内部統制
   --------------------------------------------------------- */

.icon-shield {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 155px;
    height: 130px;

    transform: translate(-50%, -50%);

    background: #f8f9fa;

    border: 3px solid #405568;

    clip-path: polygon(
        50% 0,
        92% 16%,
        86% 62%,
        68% 85%,
        50% 100%,
        32% 85%,
        14% 62%,
        8% 16%
    );

    z-index: 2;
}

.shield-check {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    color: #405568;

    font-size: 50px;
    font-weight: bold;

    z-index: 5;
}


/* ---------------------------------------------------------
   IPO・上場準備支援
   --------------------------------------------------------- */

/* IPOアイコン全体 */
.icon-ipo {
    position: relative;
    overflow: hidden;
}

/* ---------------------------------------------------------
   旗のポール
   --------------------------------------------------------- */

.icon-ipo .icon-pole {
    position: absolute;

    left: calc(50% - 25px) ;
    top: 50%;

    width: 6px;
    height: 88px;

    background: #405568;
    border-radius: 3px;

    transform: translate(-50%, -50%);

    z-index: 2;
}


/* ---------------------------------------------------------
   旗本体
   --------------------------------------------------------- */

.icon-ipo .icon-flag {
    position: absolute;

    left: calc(50% - 10px);
    top: calc(50% - 28px);

    width: 82px;
    height: 48px;

    background: #405568;

    clip-path: polygon(
        0 0,
        100% 0,
        72% 50%,
        100% 100%,
        0 100%
    );

    z-index: 3;
}


/* ---------------------------------------------------------
   矢印
   ※ 旗と重なって不自然になるため非表示
   --------------------------------------------------------- */

.icon-ipo .icon-arrow-up {
    display: none;
}


/* ---------------------------------------------------------
   本・会計専門
   --------------------------------------------------------- */

.icon-book {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 180px;
    height: 120px;

    transform: translate(-50%, -50%);

    background: #f8f9fa;

    border: 2px solid #405568;

    border-radius: 6px;

    z-index: 2;
}

.icon-book::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 0;

    width: 2px;
    height: 100%;

    background: #405568;
}

.book-line {
    position: absolute;

    width: 50px;
    height: 2px;

    background: #71808b;
}

.book-one {
    left: 21px;
    top: 36px;
}

.book-two {
    left: 21px;
    top: 57px;
}

.book-three {
    right: 21px;
    top: 46px;
}


/* =========================================================
   24. サービスカード本文
   ========================================================= */

.service-card-body {
    position: relative;

    flex: 1;

    padding: 27px 30px 28px;
}

.service-card-number {
    margin: 0 0 5px;

    color: #9aa6ae;

    font-family: Georgia, serif;

    font-size: 11px;

    letter-spacing: 0.15em;
}

.service-card h3 {
    margin: 0 0 14px;

    padding-left: 13px;

    border-left: 3px solid #405568;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 19px;
    font-weight: 500;

    line-height: 1.5;
}

.service-card p:not(.service-card-number) {
    margin: 0;

    color: #59646c;

    font-size: 13px;

    line-height: 1.9;
}

.service-card-link {
    display: block;

    margin-top: 22px;

    padding-top: 14px;

    border-top: 1px solid #e0e5e8;

    color: #405568;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.06em;
}

.service-card:hover .service-card-link {
    color: #263746;
}


/* =========================================================
   25. サービスフロー
   ========================================================= */

.service-flow-section {
    margin-bottom: 60px;
}

.service-section-heading {
    margin-bottom: 30px;

    text-align: center;
}

.service-section-heading p {
    margin: 0 0 6px;

    color: #405568;

    font-family: Georgia, serif;

    font-size: 11px;

    letter-spacing: 0.25em;
}

.service-section-heading h2 {
    margin: 0;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 23px;
    font-weight: 500;

    letter-spacing: 0.08em;
}

.service-flow {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}

.service-flow li {
    position: relative;

    min-height: 190px;

    padding: 27px 22px;

    background: #ffffff;

    border-top: 1px solid #d2d9de;
    border-bottom: 1px solid #d2d9de;
    border-left: 1px solid #d2d9de;
}

.service-flow li:last-child {
    border-right: 1px solid #d2d9de;
}

.flow-number {
    display: block;

    margin-bottom: 13px;

    color: #405568;

    font-family: Georgia, serif;

    font-size: 12px;

    letter-spacing: 0.1em;
}

.service-flow h3 {
    margin: 0 0 10px;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 16px;
    font-weight: 500;
}

.service-flow p {
    margin: 0;

    color: #657078;

    font-size: 12px;

    line-height: 1.8;
}


/* フロー矢印 */

.service-flow li:not(:last-child)::after {
    content: "→";

    position: absolute;

    right: -11px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;

    justify-content: center;
    align-items: center;

    width: 22px;
    height: 22px;

    background: #405568;

    color: #ffffff;

    border-radius: 50%;

    font-size: 11px;

    z-index: 5;
}


/* =========================================================
   26. サービス料金リンク
   ========================================================= */

.service-price-box {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;

    margin-bottom: 35px;

    padding: 32px 38px;

    background: #e4e9ec;

    border: 1px solid #cbd4da;

    box-shadow:
        0 5px 18px rgba(35, 50, 65, 0.05);
}

.service-price-label {
    margin: 0 0 4px;

    color: #405568;

    font-family: Georgia, serif;

    font-size: 10px;

    letter-spacing: 0.25em;
}

.service-price-box h2 {
    margin: 0 0 7px;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 19px;
    font-weight: 500;
}

.service-price-box div > p:last-child {
    margin: 0;

    color: #5e6971;

    font-size: 13px;
}

.service-price-box > a {
    flex-shrink: 0;

    padding: 13px 23px;

    background: #34495e;

    color: #ffffff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.05em;
}

.service-price-box > a:hover {
    background: #526779;

    color: #ffffff;

    transform: translateX(2px);
}


/* =========================================================
   27. サービスページお問い合わせ
   ========================================================= */

.service-contact {
    padding: 55px 30px;

    background:
        linear-gradient(
            135deg,
            #293c4d,
            #405568
        );

    color: #ffffff;

    text-align: center;

    box-shadow:
        0 12px 32px rgba(35, 50, 65, 0.16);
}

.service-contact-label {
    margin: 0 0 8px;

    color: #cbd5db;

    font-family: Georgia, serif;

    font-size: 10px;

    letter-spacing: 0.3em;
}

.service-contact h2 {
    margin: 0 0 17px;

    color: #ffffff;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 23px;
    font-weight: 500;

    line-height: 1.7;

    letter-spacing: 0.08em;
}

.service-contact > p:not(.service-contact-label) {
    margin: 0 0 28px;

    color: #e2e8eb;

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   28. フッター
   ========================================================= */

footer {
    margin-top: 70px;

    padding: 35px 20px;

    background: #e7eaed;

    color: #737d84;

    text-align: center;

    font-size: 12px;

    letter-spacing: 0.04em;
}

footer hr {
    max-width: 1000px;

    margin: 0 auto 25px;

    border: 0;

    border-top: 1px solid #c5cdd3;
}

footer p {
    margin: 0;
}


/* =========================================================
   29. タブレット
   ========================================================= */

@media screen and (max-width: 768px) {

    body {
        font-size: 14px;
    }


    /* -----------------------------------------------------
       ヘッダー
       ----------------------------------------------------- */

    header {
        padding: 30px 15px 0;
    }

    header h1 {
        font-size: 22px;

        letter-spacing: 0.08em;
    }

    .subtitle {
        margin-bottom: 22px;

        font-size: 11px;

        letter-spacing: 0.06em;
    }


    /* -----------------------------------------------------
       ナビ
       ----------------------------------------------------- */

    .main-nav ul {
        flex-wrap: wrap;
    }

    .main-nav li {
        flex: 0 0 33.333%;

        max-width: none;
    }

    .main-nav a {
        min-height: 48px;

        padding: 10px 5px;

        font-size: 11px;
    }


    /* -----------------------------------------------------
       ヒーロー
       ----------------------------------------------------- */

    .hero-img {
        height: 280px;
    }


    /* -----------------------------------------------------
       コンテンツ幅
       ----------------------------------------------------- */

    main,
    .message,
    .services-summary,
    .pricing-summary,
    .news,
    .contact-cta,
    .about,
    .services,
    .contact,
    .column,
    .pricing,
    .services-page {
        width: 92%;
    }


    /* -----------------------------------------------------
       ページタイトル
       ----------------------------------------------------- */

    .index-title-box,
    .contact-title-box {
        margin-top: 45px;

        margin-bottom: 25px;
    }

    .index-title-box h2,
    .contact-title-box h2 {
        font-size: 20px;
    }


    /* -----------------------------------------------------
       メッセージ
       ----------------------------------------------------- */

    .message {
        padding: 26px 22px;
    }


    /* -----------------------------------------------------
       サービス概要
       ----------------------------------------------------- */

    .services-summary ul {
        grid-template-columns: 1fr;
    }


    /* -----------------------------------------------------
       料金概要
       ----------------------------------------------------- */

    .pricing-summary {
        padding: 23px 20px;
    }

    .pricing-summary li {
        display: block;

        padding: 12px 0;
    }


    /* -----------------------------------------------------
       共通ページ
       ----------------------------------------------------- */

    .about section,
    .services section,
    .contact section,
    .column section {
        padding: 25px 20px;
    }


    /* -----------------------------------------------------
       サービス旧
       ----------------------------------------------------- */

    .service-list,
    .column-list {
        grid-template-columns: 1fr;
    }


    /* -----------------------------------------------------
       お問い合わせ
       ----------------------------------------------------- */

    .contact-form {
        padding: 27px 20px;
    }


    /* =====================================================
       料金表
       ===================================================== */

    .pricing-intro {
        margin-top: 25px;

        padding: 22px 20px;
    }

    .pricing-section {
        margin-bottom: 30px;
    }

    .pricing-section-heading {
        padding: 22px 20px 22px 24px;
    }

    .pricing-section-heading::before {
        width: 4px;
    }

    .pricing-section-heading h3 {
        font-size: 18px;
    }

    .pricing-section-heading p {
        font-size: 12px;

        line-height: 1.7;
    }


    /* テーブルをカード型に */

    .pricing-section table,
    .pricing-section tbody,
    .pricing-section tr,
    .pricing-section td {
        display: block;
    }

    .pricing-section thead {
        display: none;
    }

    .pricing-section tr {
        margin: 0;

        padding: 18px 20px;

        background: #ffffff;

        border-bottom: 1px solid #dfe4e8;
    }

    .pricing-section tr:last-child {
        border-bottom: none;
    }

    .pricing-section td {
        width: 100% !important;

        padding: 0;

        border: none;

        text-align: left !important;
    }

    .pricing-section td::before {
        content: attr(data-label);

        display: block;

        margin-bottom: 5px;

        color: #7a858d;

        font-size: 11px;
        font-weight: 600;

        letter-spacing: 0.08em;
    }

    .pricing-section td.price {
        margin-top: 12px;

        padding-top: 10px;

        border-top: 1px solid #e5e9ec;

        color: #2f4a60;

        text-align: left !important;

        font-size: 17px;

        white-space: normal;
    }

    .pricing-section td.price::before {
        color: #405568;
    }

    .pricing-section td strong {
        font-size: 15px;
    }

    .pricing-section td small {
        font-size: 11px;
    }

    .price-detail-link {
        font-size: 12px;
    }


    /* -----------------------------------------------------
       料金について
       ----------------------------------------------------- */

    .pricing-notice {
        margin-bottom: 35px;

        padding: 25px 20px;
    }


    /* -----------------------------------------------------
       料金CTA
       ----------------------------------------------------- */

    .pricing-cta {
        margin-bottom: 50px;

        padding: 45px 20px;
    }

    .pricing-cta h2 {
        font-size: 20px;
    }


    /* =====================================================
       サービスページ
       ===================================================== */

    .service-intro {
        margin-top: 25px;

        margin-bottom: 40px;

        padding: 32px 24px;
    }

    .service-intro h2 {
        font-size: 21px;
    }

    .service-intro > p:last-child {
        font-size: 13px;
    }


    /* サービスカード */

    .service-cards {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .service-card {
        min-height: auto;
    }

    .service-icon {
        height: 175px;
    }

    .service-card-body {
        padding: 25px 25px 26px;
    }


    /* サービスフロー */

    .service-flow {
        grid-template-columns: 1fr 1fr;

        gap: 0;
    }

    .service-flow li {
        border-right: 1px solid #d2d9de;
    }

    .service-flow li:nth-child(1),
    .service-flow li:nth-child(2) {
        border-bottom: none;
    }

    .service-flow li:not(:last-child)::after {
        display: none;
    }


    /* 料金 */

    .service-price-box {
        align-items: flex-start;

        flex-direction: column;

        padding: 27px 25px;
    }

    .service-price-box > a {
        width: 100%;

        text-align: center;
    }


    /* サービスお問い合わせ */

    .service-contact {
        padding: 45px 22px;
    }

    .service-contact h2 {
        font-size: 20px;
    }

}


/* =========================================================
   30. 小型スマートフォン
   ========================================================= */

@media screen and (max-width: 480px) {

    /* -----------------------------------------------------
       ヘッダー
       ----------------------------------------------------- */

    header h1 {
        font-size: 19px;
    }

    .subtitle {
        font-size: 10px;
    }


    /* -----------------------------------------------------
       ヒーロー
       ----------------------------------------------------- */

    .hero-img {
        height: 220px;
    }


    /* -----------------------------------------------------
       ナビ
       ----------------------------------------------------- */

    .main-nav li {
        flex: 0 0 50%;
    }

    .main-nav a {
        font-size: 10px;
    }


    /* -----------------------------------------------------
       ページタイトル
       ----------------------------------------------------- */

    .index-title-box,
    .contact-title-box {
        margin-top: 38px;
    }

    .index-title-box h2,
    .contact-title-box h2 {
        font-size: 18px;
    }


    /* -----------------------------------------------------
       料金表
       ----------------------------------------------------- */

    .pricing-section-heading h3 {
        font-size: 17px;
    }

    .pricing-section-heading p {
        line-height: 1.6;
    }

    .pricing-section tr {
        padding: 17px 16px;
    }

    .pricing-cta h2 {
        font-size: 18px;

        letter-spacing: 0.06em;
    }


    /* =====================================================
       サービスページ
       ===================================================== */

    .service-intro {
        padding: 28px 18px;
    }

    .service-intro h2 {
        font-size: 18px;

        line-height: 1.8;
    }

    .service-intro > p:last-child {
        font-size: 12px;

        line-height: 1.9;
    }

    .service-icon {
        height: 160px;
    }

    .service-card-body {
        padding: 23px 20px 24px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p:not(.service-card-number) {
        font-size: 12px;
    }


    /* フロー */

    .service-flow {
        grid-template-columns: 1fr;
    }

    .service-flow li {
        min-height: auto;

        border-right: 1px solid #d2d9de;

        border-bottom: none;
    }

    .service-flow li:last-child {
        border-bottom: 1px solid #d2d9de;
    }


    /* サービスCTA */

    .service-contact h2 {
        font-size: 18px;

        letter-spacing: 0.04em;
    }

}

/* =========================================================
   サービス詳細ページ
   ========================================================= */

.service-detail-page {
    width: 92%;
    max-width: 1000px;

    margin: 0 auto 80px;
}


/* =========================================================
   詳細ページ ヒーロー
   ========================================================= */

.service-detail-hero {
    margin: 35px 0 45px;

    padding: 48px 50px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #eef1f3 100%
        );

    border: 1px solid #d2d9de;

    border-left: 5px solid #405568;

    box-shadow:
        0 8px 25px rgba(35, 50, 65, 0.065);
}


.service-detail-label {
    margin: 0 0 9px;

    color: #405568;

    font-family: Georgia, serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.28em;
}


.service-detail-hero h2 {
    margin: 0 0 16px;

    color: #293c4d;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 28px;
    font-weight: 500;

    line-height: 1.6;

    letter-spacing: 0.08em;
}


.service-detail-lead {
    max-width: 760px;

    margin: 0;

    color: #59656d;

    font-size: 15px;

    line-height: 2;
}


/* =========================================================
   詳細ページ本文
   ========================================================= */

.service-detail-section {
    margin-bottom: 40px;

    padding: 35px 38px;

    background: #ffffff;

    border: 1px solid #d7dee3;

    box-shadow:
        0 7px 22px rgba(35, 50, 65, 0.05);
}


.service-detail-section h3 {
    margin: 0 0 22px;

    padding-left: 15px;

    border-left: 3px solid #405568;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 21px;
    font-weight: 500;

    line-height: 1.5;
}


.service-detail-section p {
    margin: 0 0 18px;

    color: #505c64;

    font-size: 14px;

    line-height: 2;
}


.service-detail-section p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   対応内容リスト
   ========================================================= */

.service-detail-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.service-detail-list li {
    position: relative;

    padding: 15px 18px 15px 42px;

    background: #f1f4f6;

    border: 1px solid #dce2e6;

    color: #4e5b64;

    font-size: 13px;

    line-height: 1.7;
}


.service-detail-list li::before {
    content: "✓";

    position: absolute;

    left: 17px;
    top: 14px;

    color: #405568;

    font-weight: bold;
}


/* =========================================================
   ポイント
   ========================================================= */

.service-point-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}


.service-point {
    padding: 23px 20px;

    background: #eef1f3;

    border: 1px solid #d5dde2;

    text-align: center;
}


.service-point-number {
    margin: 0 0 8px;

    color: #7d8991;

    font-family: Georgia, serif;

    font-size: 11px;

    letter-spacing: 0.15em;
}


.service-point h4 {
    margin: 0 0 10px;

    color: #34495e;

    font-size: 16px;
    font-weight: 500;
}


.service-point p {
    margin: 0;

    color: #606b72;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   料金ボックス
   ========================================================= */

.service-detail-price {
    padding: 30px 35px;

    background: #e4e9ec;

    border: 1px solid #cbd4da;

    box-shadow:
        0 5px 18px rgba(35, 50, 65, 0.05);
}


.service-detail-price h3 {
    margin-bottom: 15px;
}


.service-detail-price p {
    margin: 0;

    color: #52616a;
}


.service-detail-price strong {
    color: #2f4a60;

    font-size: 21px;

    font-weight: 600;
}


/* =========================================================
   詳細ページCTA
   ========================================================= */

.service-detail-cta {
    margin-top: 55px;

    padding: 55px 30px;

    background:
        linear-gradient(
            135deg,
            #293c4d,
            #405568
        );

    color: #ffffff;

    text-align: center;

    box-shadow:
        0 12px 32px rgba(35, 50, 65, 0.16);
}


.service-detail-cta-label {
    margin: 0 0 8px;

    color: #cbd5db;

    font-family: Georgia, serif;

    font-size: 10px;

    letter-spacing: 0.3em;
}


.service-detail-cta h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 23px;
    font-weight: 500;

    letter-spacing: 0.08em;
}


.service-detail-cta > p:not(.service-detail-cta-label) {
    margin: 0 0 28px;

    color: #e2e8eb;

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   サービス一覧へ戻る
   ========================================================= */

.service-back {
    margin: 35px 0 0;

    text-align: center;
}


.service-back a {
    color: #405568;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}


.service-back a:hover {
    color: #263746;

    text-decoration: underline;
}


/* =========================================================
   サービス詳細ページ
   タブレット
   ========================================================= */

@media screen and (max-width: 768px) {

    .service-detail-page {
        width: 92%;
    }


    .service-detail-hero {
        margin-top: 25px;

        padding: 32px 25px;
    }


    .service-detail-hero h2 {
        font-size: 23px;
    }


    .service-detail-lead {
        font-size: 13px;
    }


    .service-detail-section {
        padding: 27px 22px;
    }


    .service-detail-section h3 {
        font-size: 19px;
    }


    .service-detail-list {
        grid-template-columns: 1fr;
    }


    .service-point-grid {
        grid-template-columns: 1fr;
    }


    .service-detail-cta {
        padding: 45px 22px;
    }


    .service-detail-cta h2 {
        font-size: 20px;
    }

}


/* =========================================================
   サービス詳細ページ
   スマートフォン
   ========================================================= */

@media screen and (max-width: 480px) {

    .service-detail-hero {
        padding: 27px 20px;
    }


    .service-detail-hero h2 {
        font-size: 20px;

        line-height: 1.7;
    }


    .service-detail-lead {
        font-size: 12px;

        line-height: 1.9;
    }


    .service-detail-section {
        padding: 24px 18px;
    }


    .service-detail-section h3 {
        font-size: 18px;
    }


    .service-detail-section p {
        font-size: 12px;
    }


    .service-detail-list li {
        font-size: 12px;
    }


    .service-detail-price {
        padding: 25px 20px;
    }


    .service-detail-price strong {
        font-size: 18px;
    }


    .service-detail-cta {
        padding: 40px 18px;
    }


    .service-detail-cta h2 {
        font-size: 18px;

        letter-spacing: 0.04em;
    }

}

/* =========================================================
   事務所概要ページ
   ========================================================= */

.about-page {
    width: 92%;
    max-width: 1000px;
    margin: 0 auto 80px;
}


/* ---------------------------------------------------------
   セクション見出し
   --------------------------------------------------------- */

.about-section-heading {
    margin-bottom: 30px;
}

.about-section-heading p {
    margin: 0 0 6px;

    color: #71808a;

    font-family: Georgia, serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.25em;
}

.about-section-heading h2 {
    margin: 0;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 23px;
    font-weight: 500;

    letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   ごあいさつ
   --------------------------------------------------------- */

.about-greeting {
    margin-bottom: 55px;

    padding: 42px 45px;

    background: #ffffff;

    border: 1px solid #d5dde2;

    box-shadow:
        0 8px 25px rgba(35, 50, 65, 0.06);
}

.greeting-content p {
    margin: 0 0 22px;

    color: #4f5b63;

    font-size: 14px;

    line-height: 2.1;
}

.greeting-message {
    margin: 32px 0;

    padding: 23px 25px;

    background: #eef1f3;

    border-left: 4px solid #405568;
}

.greeting-message p {
    margin: 0 0 8px;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 15px;
    font-weight: 500;
}

.greeting-message p:last-child {
    margin-bottom: 0;

    font-family: inherit;

    color: #5c6870;

    font-size: 13px;

    font-weight: normal;
}

.greeting-signature {
    margin-top: 32px;

    padding-top: 20px;

    border-top: 1px solid #dce2e6;

    text-align: right;
}

.greeting-signature p {
    margin: 0 0 3px;

    color: #34495e;

    font-size: 13px;
}

.greeting-signature p:first-child {
    font-size: 17px;
    font-weight: 600;
}


/* ---------------------------------------------------------
   経歴
   --------------------------------------------------------- */

.about-career {
    margin-bottom: 55px;
}

.career-card {
    position: relative;

    padding: 5px 35px;

    background: #ffffff;

    border: 1px solid #d5dde2;

    box-shadow:
        0 7px 22px rgba(35, 50, 65, 0.05);
}

.career-item {
    display: grid;

    grid-template-columns: 130px 1fr;

    gap: 25px;

    padding: 27px 0;

    border-bottom: 1px solid #dfe4e8;
}

.career-item:last-child {
    border-bottom: none;
}

.career-year {
    color: #405568;

    font-family: Georgia, serif;

    font-size: 22px;
    font-weight: 600;

    letter-spacing: 0.04em;
}

.career-text h3 {
    margin: 0 0 7px;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 16px;
    font-weight: 500;
}

.career-text p {
    margin: 0;

    color: #5d6870;

    font-size: 13px;

    line-height: 1.8;
}


/* ---------------------------------------------------------
   事務所情報
   --------------------------------------------------------- */

.about-information {
    margin-bottom: 55px;
}

.office-table {
    background: #ffffff;

    border: 1px solid #d5dde2;

    box-shadow:
        0 7px 22px rgba(35, 50, 65, 0.05);
}

.office-row {
    display: grid;

    grid-template-columns: 190px 1fr;

    border-bottom: 1px solid #dfe4e8;
}

.office-row:last-child {
    border-bottom: none;
}

.office-label {
    padding: 20px 25px;

    background: #eef1f3;

    color: #405568;

    font-size: 13px;
    font-weight: 600;

    border-right: 1px solid #d5dde2;
}

.office-value {
    padding: 20px 25px;

    color: #4d5961;

    font-size: 14px;
}


/* ---------------------------------------------------------
   所在地・アクセス
   --------------------------------------------------------- */

.about-location {
    margin-bottom: 55px;
}

.location-content {
    padding: 35px 38px;

    background: #ffffff;

    border: 1px solid #d5dde2;

    box-shadow:
        0 7px 22px rgba(35, 50, 65, 0.05);
}

.location-content > p:first-child {
    margin: 0 0 30px;

    color: #4f5b63;

    font-size: 14px;

    line-height: 2;
}

.location-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.location-card {
    padding: 23px 20px;

    background: #eef1f3;

    border: 1px solid #d8e0e5;
}

.location-card h3 {
    margin: 0 0 10px;

    color: #34495e;

    font-size: 15px;
    font-weight: 600;
}

.location-card p {
    margin: 0;

    color: #5d6870;

    font-size: 12px;

    line-height: 1.8;
}

.location-note {
    margin: 25px 0 0 !important;

    color: #59656d !important;

    font-size: 13px !important;
}


/* ---------------------------------------------------------
   事務所の特徴
   --------------------------------------------------------- */

.about-features {
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.feature-card {
    padding: 30px 25px;

    background: #ffffff;

    border: 1px solid #d5dde2;

    box-shadow:
        0 7px 20px rgba(35, 50, 65, 0.05);
}

.feature-number {
    display: block;

    margin-bottom: 12px;

    color: #7b8890;

    font-family: Georgia, serif;

    font-size: 11px;

    letter-spacing: 0.18em;
}

.feature-card h3 {
    margin: 0 0 13px;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 17px;
    font-weight: 500;
}

.feature-card p {
    margin: 0;

    color: #5b666e;

    font-size: 13px;

    line-height: 1.9;
}


/* ---------------------------------------------------------
   お問い合わせ
   --------------------------------------------------------- */

.about-contact {
    padding: 55px 30px;

    background:
        linear-gradient(
            135deg,
            #293c4d,
            #405568
        );

    color: #ffffff;

    text-align: center;

    box-shadow:
        0 12px 32px rgba(35, 50, 65, 0.15);
}

.about-contact-label {
    margin: 0 0 8px;

    color: #cbd5db;

    font-family: Georgia, serif;

    font-size: 10px;

    letter-spacing: 0.3em;
}

.about-contact h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 23px;
    font-weight: 500;

    line-height: 1.7;

    letter-spacing: 0.08em;
}

.about-contact > p:not(.about-contact-label) {
    margin: 0 0 28px;

    color: #e2e8eb;

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   事務所概要：スマートフォン
   ========================================================= */

@media screen and (max-width: 768px) {

    .about-page {
        width: 92%;
    }

    .about-greeting {
        padding: 30px 24px;
    }

    .about-section-heading h2 {
        font-size: 20px;
    }

    .greeting-content p {
        font-size: 13px;
        line-height: 2;
    }

    .career-card {
        padding: 5px 22px;
    }

    .career-item {
        grid-template-columns: 85px 1fr;

        gap: 18px;

        padding: 22px 0;
    }

    .career-year {
        font-size: 18px;
    }

    .career-text h3 {
        font-size: 14px;
    }

    .career-text p {
        font-size: 12px;
    }

    .office-row {
        grid-template-columns: 110px 1fr;
    }

    .office-label,
    .office-value {
        padding: 17px 15px;

        font-size: 12px;
    }

    .location-content {
        padding: 27px 22px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 25px 22px;
    }

    .about-contact {
        padding: 45px 22px;
    }

    .about-contact h2 {
        font-size: 20px;
    }

}


@media screen and (max-width: 480px) {

    .about-greeting {
        padding: 25px 18px;
    }

    .about-section-heading {
        margin-bottom: 23px;
    }

    .about-section-heading h2 {
        font-size: 18px;
    }

    .greeting-content p {
        font-size: 12px;
    }

    .greeting-message {
        padding: 20px 18px;
    }

    .greeting-message p:first-child {
        font-size: 13px;
    }

    .career-card {
        padding: 3px 17px;
    }

    .career-item {
        grid-template-columns: 65px 1fr;

        gap: 12px;
    }

    .career-year {
        font-size: 16px;
    }

    .career-text h3 {
        font-size: 13px;
    }

    .career-text p {
        font-size: 11px;
    }

    .office-row {
        grid-template-columns: 90px 1fr;
    }

    .office-label,
    .office-value {
        padding: 15px 11px;

        font-size: 11px;
    }

    .location-content {
        padding: 23px 17px;
    }

    .location-card {
        padding: 20px 17px;
    }

    .feature-card {
        padding: 23px 18px;
    }

    .about-contact {
        padding: 40px 18px;
    }

    .about-contact h2 {
        font-size: 18px;
    }

}

/* =========================================================
   お問い合わせページ
   ========================================================= */

.contact-page {
    width: 92%;
    max-width: 900px;
    margin: 0 auto 80px;
}


/* =========================================================
   導入文
   ========================================================= */

.contact-intro {
    margin-bottom: 35px;
    padding: 30px 35px;

    background: #ffffff;

    border: 1px solid #d5dde2;

    box-shadow:
        0 7px 22px rgba(35, 50, 65, 0.05);
}

.contact-intro p {
    margin: 0 0 8px;

    color: #4f5b63;

    font-size: 14px;
    line-height: 1.9;
}

.contact-intro p:last-child {
    margin-bottom: 0;
}

.contact-intro .privacy-note {
    margin-top: 18px;
    padding-top: 18px;

    border-top: 1px solid #e0e5e8;

    color: #707b82;

    font-size: 12px;
}


/* =========================================================
   フォーム全体
   ========================================================= */

.contact-form-section {
    margin-bottom: 45px;

    padding: 42px 48px;

    background: #ffffff;

    border: 1px solid #cfd8de;

    box-shadow:
        0 9px 28px rgba(35, 50, 65, 0.075);
}


/* =========================================================
   フォーム見出し
   ========================================================= */

.contact-form-heading {
    margin-bottom: 38px;

    padding-bottom: 22px;

    border-bottom: 1px solid #d9e0e4;
}

.contact-form-heading p {
    margin: 0 0 5px;

    color: #71808a;

    font-family: Georgia, serif;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.25em;
}

.contact-form-heading h2 {
    margin: 0 0 8px;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 23px;
    font-weight: 500;

    letter-spacing: 0.08em;
}

.contact-form-heading span {
    color: #737e85;

    font-size: 13px;
}


/* =========================================================
   入力項目
   ========================================================= */

.large-form-group {
    margin-bottom: 28px;
}

.large-form-group label {
    display: flex;

    align-items: center;

    margin-bottom: 10px;

    color: #34495e;

    font-size: 15px;
    font-weight: 600;

    letter-spacing: 0.03em;
}


/* 必須 */

.large-form-group .required {
    display: inline-block;

    margin-left: 9px;
    padding: 3px 7px;

    background: #eef1f3;

    color: #c43d3d;

    border: 1px solid #d6dee3;

    font-size: 10px;
    font-weight: 600;

    line-height: 1.3;

    letter-spacing: 0.05em;
}


/* =========================================================
   入力欄
   ========================================================= */

.large-contact-form input,
.large-contact-form textarea {
    width: 100%;

    padding: 16px 17px;

    background: #fafbfc;

    border: 1px solid #c6d0d7;

    border-radius: 0;

    color: #303a43;

    font-family: inherit;

    font-size: 15px;

    line-height: 1.7;

    outline: none;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


.large-contact-form input {
    min-height: 55px;
}


.large-contact-form textarea {
    min-height: 240px;

    resize: vertical;
}


.large-contact-form input::placeholder,
.large-contact-form textarea::placeholder {
    color: #a2abb1;
}


.large-contact-form input:focus,
.large-contact-form textarea:focus {
    background: #ffffff;

    border-color: #405568;

    box-shadow:
        0 0 0 3px rgba(64, 85, 104, 0.08);
}


/* =========================================================
   送信ボタン
   ========================================================= */

.large-form-submit {
    margin-top: 38px;

    padding-top: 30px;

    border-top: 1px solid #dce2e6;

    text-align: center;
}


.large-form-submit button {
    min-width: 220px;

    padding: 17px 35px;

    background:
        linear-gradient(
            135deg,
            #293c4d,
            #405568
        );

    color: #ffffff;

    border: 1px solid #293c4d;

    font-family: inherit;

    font-size: 15px;
    font-weight: 600;

    letter-spacing: 0.1em;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.large-form-submit button:hover {
    background:
        linear-gradient(
            135deg,
            #405568,
            #526779
        );

    transform: translateY(-1px);

    box-shadow:
        0 6px 18px rgba(35, 50, 65, 0.16);
}


.large-form-submit p {
    margin: 13px 0 0;

    color: #8a949a;

    font-size: 11px;
}


/* =========================================================
   電話お問い合わせ
   ========================================================= */

.contact-phone {
    padding: 42px 30px;

    background:
        linear-gradient(
            135deg,
            #e7ebee,
            #f1f3f5
        );

    border: 1px solid #cfd7dd;

    text-align: center;

    box-shadow:
        0 6px 20px rgba(35, 50, 65, 0.05);
}


.contact-phone-label {
    margin: 0 0 5px;

    color: #71808a;

    font-family: Georgia, serif;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.25em;
}


.contact-phone h2 {
    margin: 0 0 14px;

    color: #34495e;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 21px;
    font-weight: 500;

    letter-spacing: 0.08em;
}


.phone-number {
    display: inline-block;

    margin-bottom: 10px;

    color: #30495d;

    font-family: Georgia, serif;

    font-size: 28px;
    font-weight: 600;

    letter-spacing: 0.08em;

    text-decoration: none;
}


.phone-number:hover {
    color: #526779;
}


.contact-phone > p:not(.contact-phone-label):not(.phone-note) {
    margin: 0;

    color: #59666e;

    font-size: 13px;
}


.phone-note {
    max-width: 600px;

    margin: 18px auto 0;

    padding-top: 18px;

    border-top: 1px solid #d1d9de;

    color: #707b82;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   タブレット
   ========================================================= */

@media screen and (max-width: 768px) {

    .contact-page {
        width: 92%;
    }


    .contact-intro {
        padding: 25px 22px;
    }


    .contact-form-section {
        padding: 32px 25px;
    }


    .contact-form-heading h2 {
        font-size: 20px;
    }


    .large-form-group {
        margin-bottom: 24px;
    }


    .large-form-group label {
        font-size: 14px;
    }


    .large-contact-form input {
        min-height: 53px;
    }


    .large-contact-form input,
    .large-contact-form textarea {
        padding: 15px;

        font-size: 14px;
    }


    .large-contact-form textarea {
        min-height: 220px;
    }


    .large-form-submit button {
        width: 100%;
        max-width: 320px;
    }


    .contact-phone {
        padding: 35px 20px;
    }


    .phone-number {
        font-size: 25px;
    }

}


/* =========================================================
   スマートフォン
   ========================================================= */

@media screen and (max-width: 480px) {

    .contact-page {
        width: 94%;
    }


    .contact-intro {
        padding: 22px 18px;
    }


    .contact-intro p {
        font-size: 12px;
    }


    .contact-form-section {
        padding: 27px 18px;
    }


    .contact-form-heading {
        margin-bottom: 30px;
        padding-bottom: 18px;
    }


    .contact-form-heading h2 {
        font-size: 18px;
    }


    .contact-form-heading span {
        font-size: 11px;
    }


    .large-form-group {
        margin-bottom: 22px;
    }


    .large-form-group label {
        margin-bottom: 8px;

        font-size: 13px;
    }


    .large-contact-form input {
        min-height: 52px;
    }


    .large-contact-form input,
    .large-contact-form textarea {
        padding: 14px;

        font-size: 14px;
    }


    .large-contact-form textarea {
        min-height: 200px;
    }


    .large-form-submit {
        margin-top: 30px;
        padding-top: 25px;
    }


    .large-form-submit button {
        min-width: 0;
        width: 100%;

        padding: 16px 20px;
    }


    .contact-phone {
        padding: 32px 18px;
    }


    .contact-phone h2 {
        font-size: 18px;
    }


    .phone-number {
        font-size: 22px;
    }

}

/* =========================================================
   05. 経営支援・財務分析
   グラフを円の中に完全に収める
   ========================================================= */

.icon-management {
    position: relative;
    height: 210px;
    overflow: hidden;
}

/* 背景の円 */
.icon-management::after {
    content: "";
    position: absolute;

    width: 210px;
    height: 210px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(68, 92, 112, 0.13);
    border-radius: 50%;

    z-index: 0;
}


/* -------------------------
   グラフの縦・横軸
   ------------------------- */

.icon-management .icon-chart-axis {
    position: absolute;

    width: 150px;
    height: 90px;

    left: 50%;
    bottom: 50px;

    transform: translateX(-50%);

    border-left: 3px solid #3c5369;
    border-bottom: 3px solid #3c5369;

    z-index: 2;
}


/* -------------------------
   棒グラフ
   ------------------------- */

.icon-management .chart-bar {
    position: absolute;

    bottom: 50px;

    width: 22px;

    background: #718495;

    border: 1px solid #526a7e;

    z-index: 2;
}


/* 1本目 */
.icon-management .bar-one {
    left: calc(50% - 63px);
    height: 35px;
}

/* 2本目 */
.icon-management .bar-two {
    left: calc(50% - 16px);
    height: 58px;
}

/* 3本目 */
.icon-management .bar-three {
    left: calc(50% + 31px);
    height: 80px;
}


/* -------------------------
   右肩上がりの折れ線
   ------------------------- */

.icon-management .chart-line {
    position: absolute;

    width: 130px;
    height: 48px;

    left: 50%;
    bottom: 105px;

    transform:
        translateX(-50%)
        skewY(-30deg)
        rotate(-2deg);

    border-top: 3px solid #3c5369;

    z-index: 3;
}

/* =========================================================
   07. IPO・上場準備支援
   旗のイラストを円の内側に完全に収める
   ========================================================= */

.icon-ipo {
    position: relative;
    height: 210px;
    overflow: hidden;
}


/* -------------------------
   背景の円
   ------------------------- */

.icon-ipo::after {
    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(68, 92, 112, 0.13);

    border-radius: 50%;

    z-index: 0;
}


/* -------------------------
   旗のポール
   ------------------------- */

.icon-ipo .icon-pole {
    position: absolute;

    width: 5px;
    height: 120px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background: #3c5369;

    z-index: 2;
}


/* -------------------------
   旗本体
   ------------------------- */

.icon-ipo .icon-flag {
    position: absolute;

    width: 105px;
    height: 55px;

    left: calc(50% - 1px);
    top: calc(50% - 48px);

    background: #3c5369;

    clip-path: polygon(
        0 0,
        100% 0,
        72% 50%,
        100% 100%,
        0 100%
    );

    z-index: 3;
}


/* -------------------------
   上昇を表す矢印
   ------------------------- */

.icon-ipo .icon-arrow-up {
    position: absolute;

    width: 48px;
    height: 48px;

    left: calc(50% - 24px);
    top: calc(50% - 2px);

    border-left: 4px solid #ffffff;
    border-top: 4px solid #ffffff;

    transform: rotate(45deg);

    z-index: 4;
}


/* 矢印の先端を少し整える */
.icon-ipo .icon-arrow-up::after {
    content: "";

    position: absolute;

    width: 34px;
    height: 4px;

    background: #ffffff;

    top: 20px;
    left: 8px;

    transform: rotate(-90deg);

    transform-origin: left center;
}


/* =========================================================
   07 アイコン：円とイラストのサイズを統一
   ========================================================= */

.icon-ipo::before {
    content: "";
    position: absolute;

    width: 1px;
    height: 1px;

    left: 50%;
    top: 50%;

    z-index: 1;
}

/* =========================================================
   02. 税務顧問・申告
   チェックマークを非表示
   ========================================================= */

.icon-tax .icon-check {
    display: none !important;
}

/* =========================================================
   事務所長プロフィール
   ========================================================= */

.about-career {
    margin-top: 70px;
}


/* プロフィール表 */

.profile-table {
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0;
    border: 1px solid #d5dde4;
    background: #ffffff;
}


/* 各行 */

.profile-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    border-bottom: 1px solid #d5dde4;
}

.profile-row:last-child {
    border-bottom: none;
}


/* 左側の項目 */

.profile-label {
    display: flex;
    align-items: center;

    padding: 16px 14px;

    background: #f1f4f7;
    color: #263d52;

    font-size: 15px;
    font-weight: 500;

    border-right: 1px solid #d5dde4;
}


/* 右側の内容 */

.profile-value {
    padding: 16px 18px;

    color: #303a43;

    font-size: 15px;
    line-height: 1.8;

    background: #ffffff;
}


/* 職歴部分 */

.profile-value p {
    margin: 0 0 7px;
}

.profile-value p:last-child {
    margin-bottom: 0;
}


/* 勤務先名 */

.profile-value .career-company {
    margin-bottom: 8px;

    color: #263d52;
    font-weight: 600;
}


/* =========================================================
   スマートフォン対応
   ========================================================= */

@media screen and (max-width: 768px) {

    .about-career {
        margin-top: 50px;
    }

    .profile-table {
        width: 100%;
        margin-top: 25px;
    }

    .profile-row {
        grid-template-columns: 105px 1fr;
    }

    .profile-label {
        padding: 13px 10px;

        font-size: 13px;
    }

    .profile-value {
        padding: 13px 12px;

        font-size: 14px;
        line-height: 1.7;
    }

}


/* =========================================================
   小さいスマートフォン
   ========================================================= */

@media screen and (max-width: 480px) {

    .profile-row {
        grid-template-columns: 90px 1fr;
    }

    .profile-label {
        padding: 12px 8px;

        font-size: 12px;
    }

    .profile-value {
        padding: 12px 10px;

        font-size: 13px;
    }

}

/* =========================================================
   料金の目安：白枠をゆったり見せる
   ========================================================= */

.pricing-section {
    padding-top: 65px;
    padding-bottom: 80px;
}

/* 料金一覧全体 */
.pricing-content {
    margin-top: 55px;
}

/* 料金表 */
.price-table {
    padding-bottom: 15px;
}

/* 各料金項目 */
.price-row {
    min-height: 74px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
}

/* 最後の行の下に余白を追加 */
.price-table .price-row:last-child {
    margin-bottom: 25px;
}

/* 詳しい料金表リンク */
.price-link {
    margin-top: 25px;
}

/* =========================================================
   ヘッダー上部の余白調整
   ========================================================= */

header {
    padding-top: 28px;
}

/* 事務所名 */
header h1 {
    margin-top: 0;
    margin-bottom: 22px;
}

/* サブタイトル */
header .subtitle {
    margin-top: 0;
    margin-bottom: 42px;
}

/* ナビゲーション */
header .main-nav {
    margin-top: 0;
}





/* =========================================================
   2026 スマートフォン完全対応・共通上書き
   ========================================================= */

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
}

@media screen and (max-width: 700px) {

    /* -------------------------
       共通ヘッダー
       ------------------------- */

    header,
    .site-header {
        padding-top: 16px;
        border-top-width: 3px;
    }

    .header-inner {
        width: 100%;
        min-height: 0;
        padding: 0 12px 10px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    header h1,
    .site-header h1,
    .logo-area h1 {
        max-width: 100%;
        margin: 0 auto 6px;
        font-size: 19px;
        line-height: 1.45;
        letter-spacing: 0.04em;
        white-space: normal;
    }

    header:not(.site-header) .subtitle,
    .site-header .subtitle {
        max-width: 100%;
        margin: 0 auto 10px;
        padding: 0 10px;
        font-size: 10px;
        line-height: 1.7;
        letter-spacing: 0.04em;
    }

    .main-nav {
        width: 100%;
        overflow: visible;
    }

    .main-nav ul {
        width: 100%;
        max-width: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: stretch;
        align-items: stretch;
        margin: 0;
        padding: 0;
    }

    .main-nav li {
        flex: 0 0 33.3333%;
        width: 33.3333%;
        max-width: none;
    }

    .main-nav a {
        min-height: 42px;
        width: 100%;
        padding: 7px 4px;
        font-size: 11px;
        line-height: 1.35;
        letter-spacing: 0;
        white-space: nowrap;
        border-top-width: 2px;
    }

    /* -------------------------
       ページタイトル
       ------------------------- */

    .index-title-box,
    .contact-title-box {
        width: 92%;
        margin: 34px auto 24px;
        padding-bottom: 11px;
    }

    .index-title-box h2,
    .contact-title-box h2 {
        font-size: 21px;
        line-height: 1.5;
        letter-spacing: 0.06em;
    }

    /* -------------------------
       共通コンテンツ
       ------------------------- */

    main,
    .about-page,
    .services-page,
    .service-detail-page,
    .pricing,
    .contact-page,
    .column,
    .flow {
        width: 92%;
        max-width: 100%;
    }

    /* -------------------------
       サービス一覧
       ------------------------- */

    .service-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        min-height: 0;
    }

    .service-icon {
        height: 175px;
    }

    .service-card-body {
        padding: 22px 20px 24px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 13px;
        line-height: 1.9;
    }

    .service-card-link {
        font-size: 12px;
    }

    /* -------------------------
       サービスフロー
       ------------------------- */

    .service-flow {
        grid-template-columns: 1fr;
    }

    .service-flow li {
        min-height: 0;
        padding: 24px 20px 24px 68px;
        border-left: 1px solid #d2d9de;
        border-right: 1px solid #d2d9de;
    }

    .service-flow li + li {
        border-top: none;
    }

    /* -------------------------
       サービス料金・CTA
       ------------------------- */

    .service-price-box {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 26px 22px;
    }

    .service-price-box > a {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .service-contact {
        padding: 42px 20px;
    }

    .service-contact h2 {
        font-size: 20px;
        line-height: 1.7;
    }

    /* -------------------------
       料金表
       ------------------------- */

    .pricing {
        width: 92%;
    }

    .pricing-intro {
        margin: 25px 0 32px;
        padding: 22px 18px;
        border-left-width: 4px;
        font-size: 13px;
        line-height: 1.9;
    }

    .pricing-section {
        margin-bottom: 30px;
        overflow: visible;
    }

    .pricing-section-heading {
        padding: 20px 18px;
    }

    .pricing-section-heading h3 {
        font-size: 18px;
        line-height: 1.6;
    }

    .pricing-section-heading p {
        font-size: 12px;
        line-height: 1.8;
    }

    .pricing-section table {
        width: 100%;
        min-width: 0 !important;
        display: block;
    }

    .pricing-section thead {
        display: none;
    }

    .pricing-section tbody,
    .pricing-section tr,
    .pricing-section td {
        display: block;
        width: 100%;
    }

    .pricing-section tr {
        margin: 0;
        padding: 14px 16px;
        box-sizing: border-box;
        border-bottom: 1px solid #dfe4e8;
    }

    .pricing-section td {
        box-sizing: border-box;
        padding: 4px 0;
        border: 0;
        text-align: left !important;
    }

    .pricing-section td:first-child::before,
    .pricing-section td:last-child::before {
        display: block;
        margin-bottom: 3px;
        color: #7a8790;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.05em;
    }

    .pricing-section td:first-child::before {
        content: "サービス";
    }

    .pricing-section td:last-child::before {
        content: "料金（税込）";
    }

    .pricing-section td strong {
        font-size: 14px;
    }

    .pricing-section td small {
        font-size: 11px;
        line-height: 1.7;
    }

    .pricing-section td.price,
    .pricing-section td.price-custom {
        margin-top: 5px;
        font-size: 16px;
        white-space: normal;
    }

    .price-detail-link {
        font-size: 12px;
    }

    .pricing-cta {
        margin-bottom: 45px;
        padding: 42px 20px;
    }

    .pricing-cta h2 {
        font-size: 20px;
        line-height: 1.7;
    }

    /* -------------------------
       事務所概要
       ------------------------- */

    .about-page {
        margin-bottom: 55px;
    }

    .about-greeting {
        padding: 25px 18px;
    }

    .greeting-content p {
        font-size: 13px;
        line-height: 2;
    }

    .greeting-message {
        padding: 18px 16px;
    }

    .career-card {
        padding: 0 16px;
    }

    .career-item {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 20px 0;
    }

    .career-year {
        font-size: 18px;
    }

    .office-row {
        grid-template-columns: 100px 1fr;
    }

    .office-label {
        padding: 13px 9px;
        font-size: 12px;
    }

    .office-value {
        padding: 13px 11px;
        font-size: 13px;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

    .location-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .location-card,
    .feature-card {
        padding: 22px 18px;
    }

    .about-contact {
        padding: 40px 18px;
    }

    .about-contact h2 {
        font-size: 20px;
        line-height: 1.7;
    }

    /* プロフィール写真 */
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .profile-photo {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .profile-photo img {
        width: 100%;
        height: auto;
    }

    .profile-row {
        grid-template-columns: 92px 1fr;
    }

    .profile-label {
        padding: 12px 8px;
        font-size: 12px;
    }

    .profile-value {
        padding: 12px 10px;
        font-size: 13px;
        line-height: 1.75;
        overflow-wrap: anywhere;
    }

    /* -------------------------
       コラム一覧
       ------------------------- */

    .column {
        margin-bottom: 45px;
    }

    .column-item {
        margin: 0 0 20px;
        padding: 22px 18px;
        background: #ffffff;
        border: 1px solid #d7dee3;
        box-shadow: 0 5px 18px rgba(35, 50, 65, 0.05);
    }

    .column-item h3 {
        margin: 0 0 14px;
        font-size: 18px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .column-item p {
        margin: 0 0 18px;
        font-size: 13px;
        line-height: 2;
    }

    .column-item a {
        display: inline-block;
        padding: 9px 15px;
        font-size: 12px;
    }

    /* -------------------------
       古いサービスフロー
       ------------------------- */

    .flow {
        margin-bottom: 50px;
    }

    .flow-step {
        margin-bottom: 14px;
        padding: 19px 18px;
        background: #ffffff;
        border: 1px solid #d7dee3;
        box-shadow: 0 4px 15px rgba(35, 50, 65, 0.035);
    }

    .flow-step h3 {
        margin: 0 0 8px;
        color: #34495e;
        font-size: 17px;
        line-height: 1.6;
    }

    .flow-step p {
        margin: 0;
        color: #59666e;
        font-size: 13px;
        line-height: 1.9;
    }

    /* -------------------------
       お問い合わせ
       ------------------------- */

    .contact-page {
        width: 92%;
    }

    .contact-intro {
        padding: 22px 18px;
        font-size: 13px;
        line-height: 1.9;
    }

    .contact-form-section {
        padding: 28px 18px;
    }

    .large-contact-form input,
    .large-contact-form textarea,
    .large-contact-form select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .large-form-group label {
        line-height: 1.6;
    }

    .large-form-submit button {
        width: 100%;
        max-width: none;
    }

    .contact-phone {
        padding: 30px 18px;
    }

    .phone-number {
        font-size: 22px;
        overflow-wrap: anywhere;
    }

    /* -------------------------
       サービス詳細ページ
       ------------------------- */

    .service-detail-page {
        width: 92%;
    }

    .service-detail-hero {
        margin-top: 25px;
        padding: 28px 20px;
    }

    .service-detail-hero h2 {
        font-size: 20px;
        line-height: 1.7;
    }

    .service-detail-lead {
        font-size: 13px;
        line-height: 1.9;
    }

    .service-detail-section {
        padding: 24px 18px;
    }

    .service-detail-section h3 {
        font-size: 18px;
        line-height: 1.7;
    }

    .service-detail-section p,
    .service-detail-list li {
        font-size: 13px;
        line-height: 1.9;
    }

    .service-detail-list {
        grid-template-columns: 1fr;
    }

    .service-point-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-price {
        padding: 24px 18px;
    }

    .service-detail-cta {
        padding: 40px 18px;
    }

    .service-detail-cta h2 {
        font-size: 19px;
        line-height: 1.7;
    }

    /* -------------------------
       フッター
       ------------------------- */

    footer {
        padding-left: 14px;
        padding-right: 14px;
        text-align: center;
    }

    footer p {
        font-size: 10px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }
}

@media screen and (max-width: 420px) {

    header h1,
    .site-header h1,
    .logo-area h1 {
        font-size: 17px;
    }

    .main-nav a {
        min-height: 40px;
        font-size: 10px;
    }

    .index-title-box,
    .contact-title-box {
        margin-top: 28px;
    }

    .hero {
        height: 520px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-catch {
        font-size: 13px;
    }

    .section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .service-icon {
        height: 160px;
    }

    .pricing-section-heading h3 {
        font-size: 17px;
    }

    .profile-photo {
        max-width: 250px;
    }

    .profile-row {
        grid-template-columns: 82px 1fr;
    }

    .profile-label {
        font-size: 11px;
    }

    .profile-value {
        font-size: 12px;
    }
}

/* =========================================================
   スマートフォン対応
   トップページ・ヒーロー部分
   ========================================================= */

@media screen and (max-width: 768px) {

    /* -----------------------------------------------------
       全体
       ----------------------------------------------------- */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    /* -----------------------------------------------------
       ヘッダー
       ----------------------------------------------------- */

    .site-header {
        width: 100%;
    }

    .header-inner {
        width: 100%;
        padding: 14px 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo-area {
        width: 100%;
        text-align: center;
    }

    .logo-area h1 {
        margin: 0;
        font-size: 19px;
        line-height: 1.5;
        white-space: normal;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 14px;
        margin: 0;
        padding: 0;
    }

    .main-nav li {
        list-style: none;
    }

    .main-nav a {
        font-size: 13px;
        white-space: nowrap;
    }


    /* -----------------------------------------------------
       ヒーロー
       ----------------------------------------------------- */

    .hero {
        position: relative;
        width: 100%;
        height: 390px;
        min-height: 390px;
        overflow: hidden;
    }

    .hero-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    /* 写真を少し暗くして文字を見やすくする */
    .hero-overlay {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                to bottom,
                rgba(20, 48, 75, 0.28),
                rgba(20, 48, 75, 0.58)
            );
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;

        width: calc(100% - 32px);
        max-width: 600px;

        height: 100%;
        margin: 0 auto;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        text-align: center;

        padding: 25px 10px;
    }


    /* -----------------------------------------------------
       英字・サブタイトル
       ----------------------------------------------------- */

    .hero-subtitle {
        margin: 0 0 12px;

        font-size: 11px;
        line-height: 1.8;
        letter-spacing: 0.12em;

        color: #ffffff;
        font-weight: 600;

        text-shadow:
            0 1px 4px rgba(0, 0, 0, 0.65);
    }


    /* -----------------------------------------------------
       事務所名
       ----------------------------------------------------- */

    .hero h2 {
        margin: 0;

        font-size: 25px;
        line-height: 1.45;

        letter-spacing: 0.04em;

        color: #ffffff;
        font-weight: 700;

        text-shadow:
            0 2px 7px rgba(0, 0, 0, 0.75);
    }


    /* PC用改行をスマホでは解除 */
    .hero h2 .pc-break,
    .hero-catch .pc-break {
        display: none;
    }


    /* -----------------------------------------------------
       キャッチコピー
       ----------------------------------------------------- */

    .hero-catch {
        margin: 15px 0 0;

        font-size: 15px;
        line-height: 1.8;

        color: #ffffff;
        font-weight: 500;

        text-shadow:
            0 1px 5px rgba(0, 0, 0, 0.75);
    }


    /* -----------------------------------------------------
       説明文
       ----------------------------------------------------- */

    .hero-description {
        margin: 12px 0 0;

        max-width: 340px;

        font-size: 12px;
        line-height: 1.8;

        color: #ffffff;

        text-shadow:
            0 1px 4px rgba(0, 0, 0, 0.75);
    }


    /* -----------------------------------------------------
       お問い合わせボタン
       ----------------------------------------------------- */

    .hero-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin-top: 20px;

        min-width: 210px;
        padding: 12px 22px;

        font-size: 14px;

        border-radius: 30px;

        box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .hero-button span {
        margin-left: 8px;
    }


    /* -----------------------------------------------------
       セクション全体
       ----------------------------------------------------- */

    .section {
        width: 100%;
    }

    .section-inner {
        width: calc(100% - 32px);
        margin: 0 auto;
    }


    /* -----------------------------------------------------
       セクション見出し
       ----------------------------------------------------- */

    .section-heading {
        gap: 10px;
        align-items: center;
    }

    .section-heading h2 {
        font-size: 24px;
        line-height: 1.5;
    }

    .heading-en {
        font-size: 10px;
        letter-spacing: 0.15em;
    }

    .heading-link {
        font-size: 12px;
        white-space: nowrap;
    }


    /* -----------------------------------------------------
       サービスカード
       ----------------------------------------------------- */

    .service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        width: 100%;
    }


    /* -----------------------------------------------------
       料金
       ----------------------------------------------------- */

    .price-table {
        width: 100%;
    }

    .price-row {
        padding: 15px 14px;
        gap: 10px;
    }

    .price-row strong {
        font-size: 13px;
    }

    .price-row span {
        font-size: 13px;
        white-space: nowrap;
    }


    /* -----------------------------------------------------
       お知らせ
       ----------------------------------------------------- */

    .news-item {
        padding: 15px 5px;
        gap: 10px;
    }

    .news-item time {
        font-size: 11px;
        white-space: nowrap;
    }

    .news-item span {
        font-size: 13px;
    }


    /* -----------------------------------------------------
       お問い合わせ
       ----------------------------------------------------- */

    .contact-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .contact-text h2 {
        font-size: 24px;
    }

    .contact-text p {
        font-size: 13px;
        line-height: 1.8;
    }

    .contact-button {
        width: 100%;
        max-width: 280px;
    }


    /* -----------------------------------------------------
       フッター
       ----------------------------------------------------- */

    .footer-logo {
        font-size: 15px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .footer-nav a {
        font-size: 12px;
    }

    .copyright {
        font-size: 10px;
        line-height: 1.6;
        text-align: center;
    }

}

/* =========================================================
   スマホ最終調整
   2026.10
   ========================================================= */

@media screen and (max-width: 700px) {

    /* =====================================================
       1. ヘッダー
       ===================================================== */

    .site-header {
        width: 100%;
        padding: 0;
    }

    .header-inner {
        width: 100%;
        min-height: 0;
        padding: 13px 12px 9px;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
    }

    .logo-area {
        width: 100%;
        text-align: center;
    }

    .logo-area h1,
    header h1 {
        margin: 0;
        padding: 0;

        font-size: 17px;
        line-height: 1.5;
        letter-spacing: 0.04em;

        white-space: normal;
    }


    /* =====================================================
       2. ナビゲーション
       ===================================================== */

    .main-nav {
        width: 100%;
        overflow: visible;
    }

    .main-nav ul {
        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;

        flex-wrap: wrap;

        gap: 2px 7px;

        margin: 0;
        padding: 0;
    }

    .main-nav li {
        margin: 0;
        padding: 0;
    }

    .main-nav a {
        min-height: 34px;

        padding: 4px 7px;

        font-size: 10px;
        line-height: 1.4;

        letter-spacing: 0;

        white-space: nowrap;
    }


    /* =====================================================
       3. ヒーロー
       ===================================================== */

    .hero {
        position: relative;

        width: 100%;
        height: 430px;
        min-height: 430px;

        overflow: hidden;
    }

    .hero-img,
    .hero-image {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: cover;

        /*
         * スマホでは写真の中心付近を表示
         */
        object-position: 55% center;

        filter:
            saturate(82%)
            contrast(98%)
            brightness(82%);
    }


    /* =====================================================
       4. ヒーロー画像の暗幕
       ===================================================== */

    .hero-overlay {
        position: absolute;

        inset: 0;

        background:
            linear-gradient(
                180deg,
                rgba(15, 48, 76, 0.28) 0%,
                rgba(15, 48, 76, 0.35) 35%,
                rgba(15, 48, 76, 0.68) 100%
            );

        z-index: 1;
    }


    /* =====================================================
       5. ヒーロー文字
       ===================================================== */

    .hero-content {
        position: absolute;

        top: 50%;
        right: auto;
        bottom: auto;
        left: 50%;

        width: calc(100% - 32px);
        max-width: 600px;

        padding: 0;

        transform: translate(-50%, -50%);

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        text-align: center;

        color: #ffffff;

        z-index: 2;

        /*
         * 文字が写真に埋もれないようにする
         */
        text-shadow:
            0 2px 5px rgba(0, 0, 0, 0.75),
            0 4px 15px rgba(0, 0, 0, 0.45);
    }


    /* =====================================================
       6. 英字タイトル
       ===================================================== */

    .hero-subtitle {
        margin: 0 0 12px;

        color: #ffffff;

        font-size: 10px;
        font-weight: 600;

        line-height: 1.8;

        letter-spacing: 0.13em;

        text-shadow:
            0 2px 5px rgba(0, 0, 0, 0.75);
    }


    /* =====================================================
       7. 事務所名
       ===================================================== */

    .hero-content h2 {
        margin: 0;

        color: #ffffff;

        font-size: 27px;
        font-weight: 600;

        line-height: 1.5;

        letter-spacing: 0.04em;

        text-align: center;

        text-shadow:
            0 2px 6px rgba(0, 0, 0, 0.85),
            0 4px 14px rgba(0, 0, 0, 0.45);
    }


    /* PC用改行を解除 */
    .hero-content h2 .pc-break,
    .hero-catch .pc-break {
        display: none;
    }


    /* =====================================================
       8. キャッチコピー
       ===================================================== */

    .hero-catch {
        margin: 14px 0 0;

        color: #ffffff;

        font-size: 14px;
        font-weight: 500;

        line-height: 1.9;

        letter-spacing: 0.04em;

        text-align: center;

        text-shadow:
            0 2px 5px rgba(0, 0, 0, 0.8);
    }


    /* =====================================================
       9. 説明文
       ===================================================== */

    .hero-description {
        display: block;

        max-width: 330px;

        margin: 12px auto 0;

        color: rgba(255, 255, 255, 0.95);

        font-size: 11px;

        line-height: 1.8;

        text-align: center;

        text-shadow:
            0 2px 5px rgba(0, 0, 0, 0.8);
    }


    /* =====================================================
       10. お問い合わせボタン
       ===================================================== */

    .hero-button {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        min-width: 210px;

        margin-top: 20px;

        padding: 11px 23px;

        background: rgba(255, 255, 255, 0.96);

        color: #1e638f;

        border: 1px solid #ffffff;
        border-radius: 30px;

        font-size: 12px;
        font-weight: 600;

        letter-spacing: 0.05em;

        box-shadow:
            0 5px 18px rgba(0, 0, 0, 0.22);
    }

    .hero-button span {
        margin-left: 8px;
        font-size: 17px;
    }


    /* =====================================================
       11. セクション
       ===================================================== */

    .section {
        width: 100%;

        padding: 48px 16px;
    }

    .section-inner {
        width: 100%;
        max-width: none;

        margin: 0 auto;
    }


    /* =====================================================
       12. セクション見出し
       ===================================================== */

    .section-heading {
        gap: 10px;

        margin-bottom: 25px;
    }

    .heading-line {
        width: 4px;
        height: 39px;
    }

    .heading-en {
        margin-bottom: 0;

        font-size: 8px;

        letter-spacing: 0.18em;
    }

    .section-heading h2 {
        font-size: 21px;
        line-height: 1.5;

        letter-spacing: 0.05em;
    }

    .heading-link {
        margin-left: auto;

        font-size: 10px;

        white-space: nowrap;
    }


    /* =====================================================
       13. 代表者メッセージ
       ===================================================== */

    .message-inner {
        display: flex;

        flex-direction: column;

        gap: 28px;
    }

    .message-text p {
        font-size: 13px;
        line-height: 2;
    }

    .message-image {
        width: 100%;
        min-height: 230px;
    }

    .message-image-overlay {
        min-height: 230px;

        padding: 25px;
    }

    .message-script {
        font-size: 34px;
    }


    /* =====================================================
       14. サービス
       ===================================================== */

    .service-grid {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .service-card {
        width: 100%;
        min-height: 175px;

        padding: 18px 8px 15px;
    }

    .service-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 10px;

        font-size: 27px;
    }

    .service-card h3 {
        font-size: 11px;
        line-height: 1.6;
    }

    .service-card p {
        font-size: 8px;
        line-height: 1.6;
    }


    /* =====================================================
       15. 料金
       ===================================================== */

    .pricing-content {
        display: block;

        margin-top: 25px;
    }

    .price-table {
        width: 100%;
    }

    .price-row {
        min-height: 0;

        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 3px;

        padding: 14px 14px;
    }

    .price-row strong {
        font-size: 12px;
    }

    .price-row span {
        font-size: 12px;
    }

    .price-link {
        display: block;

        margin-top: 18px;

        padding: 0;

        text-align: right;

        font-size: 10px;
    }


    /* =====================================================
       16. お知らせ
       ===================================================== */

    .news-item {
        grid-template-columns: 78px 1fr 20px;

        min-height: 52px;

        padding: 6px 3px;

        gap: 6px;

        font-size: 11px;
    }

    .news-item time {
        font-size: 9px;
    }


    /* =====================================================
       17. お問い合わせ
       ===================================================== */

    .contact-cta {
        width: auto;

        margin: 0 0 5px;
    }

    .contact-cta-inner {
        min-height: 0;

        padding: 25px 17px;

        display: grid;

        grid-template-columns: 48px 1fr;

        gap: 13px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;

        font-size: 21px;
    }

    .contact-text h2 {
        font-size: 20px;
    }

    .contact-text > p:last-child {
        font-size: 10px;
        line-height: 1.8;
    }

    .contact-button {
        grid-column: 1 / -1;

        width: 100%;
        min-width: 0;

        padding: 12px;

        font-size: 11px;
    }


    /* =====================================================
       18. フッター
       ===================================================== */

    .site-footer {
        margin-top: 40px;
    }

    .footer-inner {
        padding: 28px 14px 20px;
    }

    .footer-logo {
        font-size: 14px;
    }

    .footer-nav {
        gap: 5px 10px;
    }

    .footer-nav a {
        padding: 0 5px;

        font-size: 9px;
    }

    .copyright {
        font-size: 8px;
        line-height: 1.6;
    }
}


/* =========================================================
   小型スマートフォン
   ========================================================= */

@media screen and (max-width: 420px) {

    .logo-area h1,
    .site-header h1 {
        font-size: 16px;
    }

    .main-nav a {
        padding-left: 6px;
        padding-right: 6px;

        font-size: 9px;
    }

    .hero {
        height: 410px;
        min-height: 410px;
    }

    .hero-content {
        width: calc(100% - 28px);
    }

    .hero-subtitle {
        font-size: 9px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-catch {
        font-size: 13px;
    }

    .hero-description {
        font-size: 10px;
    }

    .hero-button {
        min-width: 195px;
        font-size: 11px;
    }

    .section {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* =========================================================
   スマホ：サービスイラスト最終調整
   イラストがカードからはみ出さないように縮小
   ========================================================= */

@media screen and (max-width: 700px) {

    /* -----------------------------------------------------
       サービスカード
       ----------------------------------------------------- */

    .service-cards {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }


    /* -----------------------------------------------------
       イラストエリア
       ----------------------------------------------------- */

    .service-icon {
        position: relative;

        width: 100%;
        height: 175px;

        min-width: 0;

        overflow: hidden;

        display: flex;
        align-items: center;
        justify-content: center;
    }


    /* -----------------------------------------------------
       背景の円
       210px → 150px
       ----------------------------------------------------- */

    .service-icon::after,
    .icon-management::after,
    .icon-ipo::after {

        width: 150px;
        height: 150px;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);
    }


    /* =====================================================
       ① 建物
       ===================================================== */

    .icon-building {

        width: 120px;
        height: 85px;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);

        border-width: 2px;
        border-bottom-width: 3px;
    }

    .icon-building::before {

        left: -18px;
        top: -16px;

        width: 156px;
        height: 16px;
    }

    .icon-window {

        width: 22px;
        height: 18px;

        border-width: 1px;
    }

    .window-one,
    .window-three {
        left: 20px;
    }

    .window-two,
    .window-four {
        right: 20px;
    }

    .window-one,
    .window-two {
        top: 16px;
    }

    .window-three,
    .window-four {
        top: 39px;
    }


    /* =====================================================
       ② 書類・税務
       ===================================================== */

    .icon-document {

        width: 110px;
        height: 95px;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);

        border-width: 2px;
    }

    .icon-document::before {

        width: 30px;
        height: 30px;
    }

    .icon-document-line {

        left: 19px;

        width: 68px;
        height: 1px;
    }

    .line-one {
        top: 37px;
    }

    .line-two {
        top: 51px;
    }

    .line-three {
        top: 65px;
    }

    .icon-check {

        right: -25px;
        bottom: -16px;

        transform: scale(0.72);
        transform-origin: center;
    }


    /* =====================================================
       ③ 経営支援・財務分析
       ===================================================== */

    .icon-management {

        position: relative;

        height: 175px;

        overflow: hidden;
    }

    .icon-management .icon-chart-axis {

        width: 105px;
        height: 65px;

        left: 50%;
        bottom: 38px;

        transform: translateX(-50%);

        border-left-width: 2px;
        border-bottom-width: 2px;
    }

    .icon-management .chart-bar {

        bottom: 38px;

        width: 15px;
    }

    .icon-management .bar-one {
        left: calc(50% - 44px);
        height: 25px;
    }

    .icon-management .bar-two {
        left: calc(50% - 10px);
        height: 40px;
    }

    .icon-management .bar-three {
        left: calc(50% + 23px);
        height: 55px;
    }

    .icon-management .chart-line {

        width: 91px;
        height: 34px;

        left: 50%;
        bottom: 76px;

        transform:
            translateX(-50%)
            skewY(-30deg)
            rotate(-2deg);

        border-top-width: 2px;
    }


    /* =====================================================
       ④ IPO・上場準備支援
       ===================================================== */

    .icon-ipo {

        position: relative;

        height: 175px;

        overflow: hidden;
    }

    .icon-ipo .icon-pole {

        width: 4px;
        height: 86px;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);
    }

    .icon-ipo .icon-flag {

        width: 70px;
        height: 40px;

        left: calc(50% - 2px);
        top: calc(50% - 32px);
    }

    .icon-ipo .icon-arrow-up {
        display: none !important;
    }


    /* =====================================================
       ⑤ 本・会計専門
       ===================================================== */

    .icon-book {

        width: 125px;
        height: 84px;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);

        border-width: 2px;
    }


    /* =====================================================
       ⑥ シールド・内部統制
       ===================================================== */

    .icon-shield {

        width: 110px;
        height: 92px;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);

        border-width: 2px;
    }

    .shield-check {

        font-size: 36px;
    }


    /* =====================================================
       その他のイラスト
       共通してカード幅からはみ出さない
       ===================================================== */

    .service-icon > * {

        max-width: 100%;
    }

}


/* =========================================================
   420px以下
   さらに少しだけコンパクト
   ========================================================= */

@media screen and (max-width: 420px) {

    .service-icon {
        height: 165px;
    }

    .service-icon::after,
    .icon-management::after,
    .icon-ipo::after {

        width: 140px;
        height: 140px;
    }

    .icon-building {
        width: 112px;
        height: 79px;
    }

    .icon-building::before {
        width: 146px;
    }

    .icon-document {
        width: 102px;
        height: 88px;
    }

    .icon-book {
        width: 116px;
        height: 78px;
    }

    .icon-shield {
        width: 102px;
        height: 85px;
    }
}

/* =========================================================
   事務所概要：スマートフォン最終調整
   ========================================================= */

@media screen and (max-width: 700px) {

    /* 全体 */
    .about-page,
    main {
        overflow-x: hidden;
    }


    /* -----------------------------------------------------
       事務所概要の各セクション
       ----------------------------------------------------- */

    .about-greeting,
    .about-career,
    .about-location,
    .about-features {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }


    /* -----------------------------------------------------
       セクション見出し
       ----------------------------------------------------- */

    .about-section-heading {
        margin-bottom: 25px;
        text-align: center;
    }

    .about-section-heading p {
        margin-bottom: 5px;

        font-size: 9px;
        letter-spacing: 0.18em;
    }

    .about-section-heading h2 {
        margin: 0;

        font-size: 22px;
        line-height: 1.5;
    }


    /* -----------------------------------------------------
       代表者あいさつ
       ----------------------------------------------------- */

    .greeting-message {
        margin: 25px 0;
        padding: 20px 17px;

        border-left: 3px solid #5d9fc7;
    }

    .about-greeting p {
        font-size: 13px;
        line-height: 2;
    }


    /* -----------------------------------------------------
       プロフィール
       ----------------------------------------------------- */

    .profile-layout {
        display: flex;
        flex-direction: column;

        gap: 25px;

        width: 100%;
        margin-top: 20px;
    }


    .profile-photo {
        width: 100%;
        max-width: 280px;

        margin: 0 auto;
    }


    .profile-photo img {
        width: 100%;
        height: auto;

        aspect-ratio: 4 / 5;

        object-fit: cover;
        object-position: center top;

        border-radius: 12px;
    }


    .profile-photo-caption {
        margin-top: 10px;

        font-size: 11px;
        line-height: 1.7;

        text-align: center;
    }


    /* -----------------------------------------------------
       プロフィール表
       ----------------------------------------------------- */

    .profile-table {
        width: 100%;
    }

    .profile-row {
        display: grid;

        grid-template-columns: 92px minmax(0, 1fr);

        width: 100%;
    }

    .profile-label {
        padding: 12px 8px;

        font-size: 11px;
        line-height: 1.6;

        word-break: keep-all;
    }

    .profile-value {
        min-width: 0;

        padding: 12px 10px;

        font-size: 12px;
        line-height: 1.8;

        overflow-wrap: anywhere;
    }


    /* -----------------------------------------------------
       経歴
       ----------------------------------------------------- */

    .career-text {
        font-size: 13px;
        line-height: 2;
    }


    /* -----------------------------------------------------
       事務所所在地・対応エリア
       ----------------------------------------------------- */

    .location-content {
        width: 100%;
    }

    .location-content p {
        font-size: 13px;
        line-height: 2;
    }

    .location-note {
        margin-top: 20px;

        font-size: 11px;
        line-height: 1.8;
    }


    /* -----------------------------------------------------
       事務所の特徴
       ----------------------------------------------------- */

    .feature-grid {
        display: grid;

        grid-template-columns: 1fr;

        gap: 14px;

        width: 100%;
    }

    .feature-card {
        width: 100%;
        min-height: 0;

        padding: 22px 18px;
    }

    .feature-number {
        font-size: 10px;
    }

    .feature-card h3 {
        margin: 7px 0 10px;

        font-size: 16px;
        line-height: 1.7;
    }

    .feature-card p {
        font-size: 12px;
        line-height: 1.9;
    }


    /* -----------------------------------------------------
       最下部お問い合わせ
       ----------------------------------------------------- */

    .about-contact {
        margin-left: 14px;
        margin-right: 14px;

        padding: 38px 20px;

        text-align: center;
    }

    .about-contact-label {
        font-size: 9px;
        letter-spacing: 0.18em;
    }

    .about-contact h2 {
        font-size: 20px;
        line-height: 1.7;
    }

    .about-contact p {
        font-size: 12px;
        line-height: 1.9;
    }

    .about-contact .cta-button {
        width: 100%;
        max-width: 280px;

        margin: 20px auto 0;
    }
}

/* =========================================================
   料金表：スマートフォン最終調整
   ========================================================= */

@media screen and (max-width: 700px) {

    .pricing {
        width: calc(100% - 28px);
        max-width: none;

        margin-left: auto;
        margin-right: auto;
    }


    /* -----------------------------------------------------
       料金表イントロ
       ----------------------------------------------------- */

    .pricing-intro {
        margin: 20px 0 28px;

        padding: 20px 17px;

        font-size: 12px;
        line-height: 1.9;
    }


    /* -----------------------------------------------------
       各料金セクション
       ----------------------------------------------------- */

    .pricing-section {
        width: 100%;

        margin-bottom: 28px;

        overflow: hidden;

        border-radius: 10px;
    }


    .pricing-section-heading {
        padding: 20px 17px;
    }

    .pricing-section-heading h3 {
        margin: 0;

        font-size: 18px;
        line-height: 1.6;
    }

    .pricing-section-heading p {
        margin: 9px 0 0;

        font-size: 11px;
        line-height: 1.8;
    }


    /* -----------------------------------------------------
       表をスマホではカード化
       ----------------------------------------------------- */

    .pricing-section table {
        display: block;

        width: 100%;
        min-width: 0 !important;

        border-collapse: collapse;
    }

    .pricing-section thead {
        display: none;
    }

    .pricing-section tbody {
        display: block;
        width: 100%;
    }

    .pricing-section tr {
        display: block;

        width: 100%;

        margin: 0;
        padding: 17px 16px;

        border-bottom: 1px solid #dfe5e9;

        box-sizing: border-box;
    }

    .pricing-section tr:last-child {
        border-bottom: none;
    }

    .pricing-section td {
        display: block;

        width: 100%;

        padding: 0;

        border: none;

        text-align: left !important;

        box-sizing: border-box;
    }


    /* -----------------------------------------------------
       サービス名
       ----------------------------------------------------- */

    .pricing-section td:first-child::before {
        content: "SERVICE";

        display: block;

        margin-bottom: 5px;

        color: #7b8a94;

        font-size: 8px;
        font-weight: 600;

        letter-spacing: 0.16em;
    }

    .pricing-section td strong {
        display: block;

        margin-bottom: 7px;

        color: #34495e;

        font-size: 14px;
        line-height: 1.7;
    }


    /* -----------------------------------------------------
       補足説明
       ----------------------------------------------------- */

    .pricing-section td small {
        display: block;

        margin-top: 5px;

        color: #69757c;

        font-size: 11px;
        line-height: 1.8;
    }


    /* -----------------------------------------------------
       料金
       ----------------------------------------------------- */

    .pricing-section td:last-child {
        margin-top: 12px;

        padding-top: 11px;

        border-top: 1px solid #edf0f2;
    }

    .pricing-section td:last-child::before {
        content: "PRICE";

        display: block;

        margin-bottom: 4px;

        color: #7b8a94;

        font-size: 8px;
        font-weight: 600;

        letter-spacing: 0.16em;
    }

    .pricing-section td.price,
    .pricing-section td.price-custom {
        color: #2c709c;

        font-size: 17px;
        font-weight: 700;

        line-height: 1.6;

        white-space: normal;
    }


    /* -----------------------------------------------------
       相続税詳細リンク
       ----------------------------------------------------- */

    .price-detail-link {
        display: inline-block;

        margin-top: 10px;

        font-size: 11px;
        line-height: 1.6;
    }


    /* -----------------------------------------------------
       高度会計・IPO
       ----------------------------------------------------- */

    .pricing-section-special {
        margin-top: 30px;
    }


    /* -----------------------------------------------------
       注記
       ----------------------------------------------------- */

    .pricing-note {
        margin-top: 18px;

        padding: 15px;

        font-size: 10px;
        line-height: 1.8;
    }
}

/* =========================================================
   コラム：スマートフォン最終調整
   ========================================================= */

@media screen and (max-width: 700px) {

    .column {
        width: 100%;
        margin-bottom: 40px;
    }


    .column-item {
        width: 100%;

        margin: 0 0 18px;
        padding: 21px 17px;

        box-sizing: border-box;

        border-radius: 8px;

        background: #ffffff;

        box-shadow:
            0 4px 14px rgba(35, 50, 65, 0.05);
    }


    .column-item h3 {
        margin: 0 0 12px;

        color: #34495e;

        font-size: 17px;
        line-height: 1.7;

        overflow-wrap: anywhere;
    }


    .column-item p {
        margin: 0 0 15px;

        color: #59666e;

        font-size: 12px;
        line-height: 1.9;
    }


    .column-item a {
        display: inline-flex;

        align-items: center;

        min-height: 36px;

        padding: 7px 14px;

        box-sizing: border-box;

        font-size: 11px;

        border-radius: 4px;
    }


    /* コラム本文 */
    .column-content {
        width: 100%;
    }

    .column-content h2 {
        font-size: 20px;
        line-height: 1.6;
    }

    .column-content h3 {
        margin-top: 28px;

        font-size: 17px;
        line-height: 1.7;
    }

    .column-content p {
        font-size: 13px;
        line-height: 2;
    }

    .column-content ul,
    .column-content ol {
        padding-left: 22px;

        font-size: 13px;
        line-height: 2;
    }
}

/* =========================================================
   お問い合わせ：スマートフォン最終調整
   ========================================================= */

@media screen and (max-width: 700px) {

    .contact-page {
        width: calc(100% - 28px);

        margin-left: auto;
        margin-right: auto;
    }


    /* -----------------------------------------------------
       導入部分
       ----------------------------------------------------- */

    .contact-intro {
        padding: 22px 17px;

        border-radius: 8px;
    }

    .contact-intro p {
        margin: 0;

        font-size: 12px;
        line-height: 1.9;
    }


    /* -----------------------------------------------------
       フォーム
       ----------------------------------------------------- */

    .contact-form-section {
        padding: 27px 17px;

        border-radius: 8px;
    }


    .contact-form-heading {
        margin-bottom: 27px;

        padding-bottom: 16px;
    }

    .contact-form-heading h2 {
        font-size: 19px;
        line-height: 1.6;
    }

    .contact-form-heading span {
        font-size: 10px;
    }


    /* -----------------------------------------------------
       各入力項目
       ----------------------------------------------------- */

    .large-form-group {
        margin-bottom: 21px;
    }


    .large-form-group label {
        display: block;

        margin-bottom: 8px;

        color: #34495e;

        font-size: 13px;
        font-weight: 600;

        line-height: 1.6;
    }


    /* 必須 */
    .large-form-group .required {
        display: inline-block;

        margin-left: 7px;

        padding: 2px 6px;

        color: #c43d3d;

        background: #fff5f5;

        border: 1px solid #e7caca;

        font-size: 9px;
        line-height: 1.4;
    }


    /* -----------------------------------------------------
       入力欄
       ----------------------------------------------------- */

    .large-contact-form input,
    .large-contact-form textarea,
    .large-contact-form select {
        width: 100%;
        max-width: 100%;

        box-sizing: border-box;

        padding: 13px 14px;

        font-size: 14px;

        border-radius: 5px;
    }


    .large-contact-form input {
        min-height: 52px;
    }


    .large-contact-form textarea {
        min-height: 190px;
    }


    /* -----------------------------------------------------
       送信ボタン
       ----------------------------------------------------- */

    .large-form-submit {
        margin-top: 27px;

        padding-top: 23px;
    }


    .large-form-submit button {
        width: 100%;
        min-width: 0;

        padding: 15px 18px;

        font-size: 14px;

        border-radius: 5px;
    }


    .large-form-submit p {
        margin-top: 11px;

        font-size: 10px;
        line-height: 1.7;
    }


    /* -----------------------------------------------------
       電話お問い合わせ
       ----------------------------------------------------- */

    .contact-phone {
        padding: 30px 17px;

        text-align: center;
    }

    .contact-phone h2 {
        font-size: 18px;
        line-height: 1.7;
    }

    .phone-number {
        font-size: 23px;
    }
}

/* =========================================================
   コラムページ専用
   スマートフォン表示 完全修正版
   ========================================================= */


/* ---------------------------------------------------------
   PC
   --------------------------------------------------------- */

.column-page .column {
    width: min(1100px, calc(100% - 40px));
    margin: 40px auto 70px;
}

.column-page .column-item {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 30px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #d8e0e5;
    border-radius: 8px;

    box-shadow:
        0 5px 18px rgba(35, 50, 65, 0.05);
}


/* タイトル */

.column-page .column-item h3 {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0 0 18px;
    padding: 0 0 0 14px;

    box-sizing: border-box;

    border-left: 4px solid #358dcc;

    color: #34495e;

    font-size: 22px;
    font-weight: 500;

    line-height: 1.7;

    text-align: left;

    white-space: normal;

    word-break: normal;

    overflow-wrap: break-word;
}


/* 日付 */

.column-page .column-date {
    display: inline;

    margin-left: 5px;

    color: #7b878e;

    font-size: 11px;
    font-weight: 400;

    white-space: nowrap;
}


/* 本文 */

.column-page .column-item p {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0 0 24px;
    padding: 0;

    box-sizing: border-box;

    color: #59666e;

    font-size: 14px;

    line-height: 2;

    text-align: left;

    white-space: normal;

    word-break: normal;

    overflow-wrap: break-word;
}


/* リンク */

.column-page .column-link {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    text-align: left;
}

.column-page .column-link a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: auto;

    min-height: 38px;

    padding: 8px 18px;

    box-sizing: border-box;

    color: #358dcc;

    background: #ffffff;

    border: 1px solid #b9cbd8;

    border-radius: 20px;

    font-size: 12px;

    line-height: 1.5;

    text-decoration: none;

    white-space: nowrap;
}

.column-page .column-link a span {
    margin-left: 6px;
}


/* =========================================================
   スマートフォン
   ========================================================= */

@media screen and (max-width: 700px) {

    /* コラム全体 */

    .column-page .column {
        display: block !important;

        width: calc(100% - 28px) !important;
        max-width: none !important;

        margin: 24px auto 45px !important;

        padding: 0 !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       コラムカード
       ----------------------------------------------------- */

    .column-page .column-item {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;

        padding: 22px 18px 20px !important;

        box-sizing: border-box !important;

        background: #ffffff !important;

        border: 1px solid #d8e0e5 !important;
        border-radius: 8px !important;

        overflow: hidden !important;

        text-align: left !important;

        /* 既存CSSのgrid等を解除 */
        grid-template-columns: none !important;
        grid-template-rows: none !important;

        flex-direction: column !important;
    }


    /* -----------------------------------------------------
       タイトル
       ----------------------------------------------------- */

    .column-page .column-item h3 {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 0 15px !important;

        padding: 0 0 0 11px !important;

        box-sizing: border-box !important;

        border-left: 3px solid #358dcc !important;

        color: #34495e !important;

        font-size: 18px !important;

        font-weight: 500 !important;

        line-height: 1.7 !important;

        letter-spacing: 0 !important;

        text-align: left !important;

        /* 縦書きになっている場合を完全解除 */
        writing-mode: horizontal-tb !important;

        text-orientation: mixed !important;

        /* 1文字ずつの強制改行を解除 */
        word-break: normal !important;

        overflow-wrap: break-word !important;

        white-space: normal !important;

        transform: none !important;
    }


    /* 日付 */

    .column-page .column-date {

        display: inline !important;

        margin-left: 3px !important;

        color: #7b878e !important;

        font-size: 10px !important;

        white-space: nowrap !important;
    }


    /* -----------------------------------------------------
       本文
       ----------------------------------------------------- */

    .column-page .column-item p {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 0 18px !important;

        padding: 0 !important;

        box-sizing: border-box !important;

        color: #59666e !important;

        font-size: 13px !important;

        line-height: 2 !important;

        text-align: left !important;

        writing-mode: horizontal-tb !important;

        word-break: normal !important;

        overflow-wrap: break-word !important;

        white-space: normal !important;

        transform: none !important;
    }


    /* -----------------------------------------------------
       リンク
       ----------------------------------------------------- */

    .column-page .column-link {

        display: block !important;

        width: 100% !important;

        margin: 0 !important;

        padding: 0 !important;

        text-align: left !important;
    }


    .column-page .column-link a {

        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: auto !important;

        min-width: 0 !important;
        min-height: 36px !important;

        margin: 0 !important;

        padding: 8px 16px !important;

        box-sizing: border-box !important;

        color: #358dcc !important;

        background: #ffffff !important;

        border: 1px solid #b9cbd8 !important;

        border-radius: 20px !important;

        font-size: 11px !important;

        line-height: 1.5 !important;

        white-space: nowrap !important;

        writing-mode: horizontal-tb !important;

        transform: none !important;
    }

    .column-page .column-link a span {
        margin-left: 5px !important;
    }
}


/* =========================================================
   小型スマートフォン
   ========================================================= */

@media screen and (max-width: 420px) {

    .column-page .column {
        width: calc(100% - 24px) !important;
    }

    .column-page .column-item {
        padding: 20px 15px 18px !important;
    }

    .column-page .column-item h3 {
        font-size: 17px !important;
        line-height: 1.65 !important;
    }

    .column-page .column-item p {
        font-size: 12px !important;
        line-height: 1.9 !important;
    }
}

/* =========================================================
   スマホ用メニュー調整
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       メインナビゲーション
       ----------------------------------------- */

    .main-nav {
        width: 100%;
        margin: 6px 0 0;
    }

    .main-nav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;

        width: 100%;
        margin: 0;
        padding: 0;

        list-style: none;

        row-gap: 2px;
    }

    .main-nav li {
        margin: 0;
        padding: 0;
    }

    /* メニューリンク */
    .main-nav a {
        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 46px;

        padding: 8px 6px;

        font-size: 14px;
        font-weight: 500;

        line-height: 1.4;

        text-decoration: none;

        -webkit-tap-highlight-color: rgba(42, 77, 122, 0.10);

        transition: background-color 0.2s ease;
    }

    /* -----------------------------------------
       お問い合わせを中央配置
       ----------------------------------------- */

    .main-nav li:last-child {
        grid-column: 1 / 3;

        display: flex;
        justify-content: center;
    }

    .main-nav li:last-child a {
        width: 50%;
        min-height: 46px;
    }

    /* -----------------------------------------
       タップ時
       ----------------------------------------- */

    .main-nav a:active {
        background-color: rgba(42, 77, 122, 0.07);
    }
}

/* =========================================================
   スマホ用ヘッダー・メニュー 最終調整
   ※必ずCSSの一番最後に追加
   ========================================================= */

@media screen and (max-width: 700px) {

    /* -----------------------------------------
       ヘッダー全体
       ----------------------------------------- */

    header,
    .site-header {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
    }


    /* -----------------------------------------
       ヘッダー内部
       ----------------------------------------- */

    .header-inner {
        width: 100% !important;
        min-height: 0 !important;

        padding: 10px 10px 6px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;

        gap: 3px !important;
    }


    /* -----------------------------------------
       事務所名
       ----------------------------------------- */

    .logo-area {
        width: 100% !important;
        text-align: center !important;
    }

    .logo-area h1,
    header h1,
    .site-header h1 {
        margin: 0 0 3px !important;
        padding: 0 !important;

        font-size: 18px !important;
        line-height: 1.4 !important;

        letter-spacing: 0.04em !important;

        white-space: nowrap !important;
    }


    /* -----------------------------------------
       ナビゲーション
       ----------------------------------------- */

    .main-nav {
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }


    /* 2列レイアウト */
    .main-nav ul {
        width: 100% !important;

        display: grid !important;

        grid-template-columns: 1fr 1fr !important;

        gap: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        list-style: none !important;
    }


    /* -----------------------------------------
       各メニュー
       ----------------------------------------- */

    .main-nav li {
        width: auto !important;
        max-width: none !important;

        flex: none !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* リンクそのものを大きなタップ領域にする */
    .main-nav a {
        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;

        min-height: 48px !important;

        padding: 8px 5px !important;

        font-size: 13px !important;
        font-weight: 500 !important;

        line-height: 1.4 !important;

        letter-spacing: 0 !important;

        white-space: nowrap !important;

        text-decoration: none !important;

        border: none !important;
    }


    /* -----------------------------------------
       お問い合わせ
       ----------------------------------------- */

    .main-nav li:last-child {
        grid-column: 1 / 3 !important;

        width: 100% !important;

        display: flex !important;

        justify-content: center !important;
    }

    .main-nav li:last-child a {
        width: 50% !important;

        min-height: 48px !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;
    }


    /* -----------------------------------------
       タップ時
       ----------------------------------------- */

    .main-nav a:active {
        background: rgba(42, 77, 122, 0.07) !important;
    }
}


/* =========================================================
   小型スマートフォン
   ========================================================= */

@media screen and (max-width: 420px) {

    .logo-area h1,
    header h1,
    .site-header h1 {
        font-size: 17px !important;
    }

    .main-nav a {
        min-height: 46px !important;
        font-size: 13px !important;
    }

    .main-nav li:last-child a {
        min-height: 46px !important;
    }
}

```css
/* =========================================
   LINEお問い合わせ
   ========================================= */

.contact-line {
    max-width: 1000px;
    margin: 40px auto;
    padding: 38px 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f2f8f5 100%
    );

    border: 1px solid #dcebe2;
    border-radius: 18px;

    box-shadow: 0 8px 24px rgba(35, 65, 50, 0.07);
}

.contact-line-content {
    flex: 1;
    min-width: 0;
}

.contact-line-label {
    margin: 0 0 10px;
    color: #168b55;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-line h2 {
    margin: 0 0 18px;
    color: #304653;
    font-size: 25px;
    line-height: 1.5;
}

.contact-line-description {
    margin: 0 0 22px;
    color: #52616b;
    font-size: 15px;
    line-height: 2;
}

.line-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;
    padding: 13px 26px;

    background: #06c755;
    color: #ffffff;

    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;

    box-shadow: 0 4px 10px rgba(6, 199, 85, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}

.line-contact-button:hover {
    background: #05ad49;
    transform: translateY(-2px);
}

.line-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 24px;

    background: #ffffff;
    color: #06a947;
    border-radius: 5px;

    font-size: 11px;
    font-weight: 800;
}

.line-arrow {
    font-size: 25px;
    line-height: 1;
}

.contact-line-note {
    margin: 14px 0 0;
    color: #748078;
    font-size: 12px;
    line-height: 1.8;
}

.contact-line-qr {
    flex: 0 0 210px;
    padding: 18px;

    background: #ffffff;
    border: 1px solid #e4ebe6;
    border-radius: 14px;

    text-align: center;
}

.contact-line-qr img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.contact-line-qr p {
    margin: 12px 0 0;
    color: #52616b;
    font-size: 12px;
    line-height: 1.8;
}

/* スマートフォン対応 */
@media (max-width: 600px) {

    .contact-line {
        margin: 28px 12px;
        padding: 28px 20px;

        flex-direction: column;
        gap: 26px;

        border-radius: 14px;
    }

    .contact-line-content {
        width: 100%;
        text-align: center;
    }

    .contact-line h2 {
        font-size: 22px;
    }

    .contact-line-description {
        font-size: 14px;
    }

    .line-contact-button {
        width: 100%;
        min-height: 54px;
        padding: 14px 12px;
    }

    .contact-line-qr {
        flex: initial;
        width: 100%;
        max-width: 260px;
        padding: 18px;
    }

    .contact-line-qr img {
        width: 180px;
    }
}

/* =========================================
   LINE欄：スマートフォン中央配置の最終調整
   ========================================= */

@media screen and (max-width: 768px) {

    main.contact-page section.contact-line {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;

        width: auto !important;
        margin: 28px 12px !important;
        padding: 28px 16px !important;

        box-sizing: border-box !important;
    }

    main.contact-page section.contact-line > .contact-line-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    main.contact-page section.contact-line > .contact-line-qr {
        display: block !important;
        position: static !important;
        float: none !important;

        width: 100% !important;
        max-width: 260px !important;
        margin: 24px auto 0 !important;

        padding: 18px !important;
        box-sizing: border-box !important;

        align-self: center !important;
        text-align: center !important;
        transform: none !important;
    }

    main.contact-page section.contact-line > .contact-line-qr img {
        display: block !important;
        width: 180px !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 auto !important;
    }

    main.contact-page section.contact-line > .contact-line-qr p {
        width: 100% !important;
        margin: 12px 0 0 !important;
        text-align: center !important;
    }
}





/* =========================================
   フッター X公式ロゴ
   ========================================= */

.footer-sns {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 28px;
}

.footer-sns-link {
    width: 48px;
    height: 48px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #000000;
    border: 1px solid #000000;
    border-radius: 6px;

    text-decoration: none;

    transition: all 0.25s ease;
}

.footer-sns-link svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: #ffffff;
}

.footer-sns-link:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-3px);
}

/* スマートフォン */
@media screen and (max-width: 768px) {
    .footer-sns-link {
        width: 43px;
        height: 43px;
    }

    .footer-sns-link svg {
        width: 21px;
        height: 21px;
    }
}


/* X公式ロゴ専用CSS（強制適用） */

.footer-sns {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 28px !important;
}

.footer-sns a.footer-sns-link {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #000000 !important;
    border: 1px solid #000000 !important;
    border-radius: 6px !important;
    padding: 0 !important;
    text-decoration: none !important;
}

.footer-sns a.footer-sns-link svg {
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    fill: #ffffff !important;
}

.footer-sns a.footer-sns-link:hover {
    background-color: #333333 !important;
}

@media screen and (max-width: 768px) {
    .footer-sns a.footer-sns-link {
        width: 43px !important;
        height: 43px !important;
    }
}
