/*
Theme Name: STRUCTS Original
Theme URI: https://structs.co.jp/
Author: STRUCTS株式会社
Author URI: https://structs.co.jp/
Description: STRUCTS株式会社のオリジナルWordPressテーマ
Version: 1.1.0
Text Domain: structs-original
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
    --color-main:    #2e3c3f;
    --color-accent:  #c4bd97;
    --color-bg:      #ffffff;
    --color-light:   #f6f6f3;
    --color-soft:    #faf9f6;
    --color-text:    #222222;
    --color-muted:   #666666;
    --color-sub:     #888888;
    --color-border:  #e5e5e5;
    --color-rule:    #ececea;

    --space-section: clamp(80px, 10vw, 140px);
    --space-narrow:  clamp(56px, 7vw, 96px);
}

/* =========================================================
   2. Base
   ========================================================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.9;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.site-nav a:hover,
.card:hover,
.card a:hover,
.service-item:hover,
.case-row:hover,
.text-link:hover,
.btn:hover,
.btn-outline:hover { text-decoration: none; }

img { max-width: 100%; height: auto; }
ul, ol { padding-left: 1.4em; }

/* =========================================================
   3. Layout helpers
   ========================================================= */
.inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
.inner--narrow { max-width: 820px; }
.center { text-align: center; }
.mt-40  { margin-top: 40px; }

/* =========================================================
   4. Header / Nav
   ========================================================= */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--color-rule);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo {
    line-height: 0; /* 子のimg周辺の余白消し */
}
.site-logo a {
    display: inline-flex;
    align-items: center;
    color: var(--color-main);
    transition: opacity 0.3s;
}
.site-logo a:hover {
    opacity: 0.7;
    text-decoration: none;
}
.site-logo img {
    display: block;
    height: 40px;
    width: auto;
    /* SVGの色がメインカラーなので、ホバーで色を変えたい場合はfilterで反転処理可 */
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
}
.site-nav a {
    display: inline-flex;
    align-items: center;
    height: 40px;
    color: var(--color-main);
}
.site-nav a:hover { color: var(--color-accent); }
.nav-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--color-main);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
}
.nav-contact:hover {
    background: var(--color-accent);
    color: #ffffff !important;
}

/* =========================================================
   5. Hero (汎用 / 既存ページ向け中央寄せ)
   ========================================================= */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, var(--color-light) 100%);
}
.hero__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 90px 24px;
    text-align: center;
}
.hero h1 {
    margin: 0 0 24px;
    font-size: clamp(28px, 4.4vw, 44px);
    line-height: 1.55;
    letter-spacing: 0.04em;
    color: var(--color-main);
}
.hero p {
    margin: 0 0 20px;
    font-size: 16px;
    color: #555555;
}
.hero-tagline {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-main);
}

/* ---- Hero (TOPページ専用 / 左寄せ) ---- */
body.home .hero {
    min-height: 78vh;
    background:
        radial-gradient(120% 80% at 100% 0%, #f3f1ec 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--color-light) 100%);
}
body.home .hero__inner {
    text-align: left;
    padding: clamp(96px, 12vw, 160px) 24px;
}
.hero__title {
    margin: 18px 0 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.6;
    letter-spacing: 0.04em;
    color: var(--color-main);
    font-weight: 700;
}
.hero__rule {
    display: block;
    width: 48px;
    height: 1px;
    margin: 36px 0 28px;
    background: var(--color-main);
    opacity: 0.4;
}
.hero__lead {
    margin: 0 0 14px;
    font-size: clamp(15px, 1.4vw, 17px);
    font-weight: 600;
    color: var(--color-main);
    letter-spacing: 0.02em;
}
.hero__desc {
    margin: 0;
    font-size: 15px;
    color: var(--color-muted);
    line-height: 2;
}

/* =========================================================
   6. Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    background: var(--color-main);
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.08em;
    transition: 0.3s;
}
.btn:hover { background: var(--color-accent); color: #ffffff; }
.btn-white { background: #ffffff; color: var(--color-main); }
.btn-white:hover { background: var(--color-accent); color: #ffffff; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    background: transparent;
    color: var(--color-main);
    border: 1px solid var(--color-main);
    font-size: 14px;
    letter-spacing: 0.08em;
    transition: 0.3s;
}
.btn-outline:hover { background: var(--color-main); color: #ffffff; }
.btn-outline span { transition: transform 0.3s; }
.btn-outline:hover span { transform: translateX(4px); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-main);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--color-main);
    padding-bottom: 4px;
}
.text-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.text-link span { transition: transform 0.3s; }
.text-link:hover span { transform: translateX(4px); }

/* =========================================================
   7. Section base (既存ページ互換)
   ========================================================= */
.section {
    padding: var(--space-section) 0;
    background: #ffffff;
}
.section-light { background: var(--color-light); }

/* 既存ページ互換: .section > .inner > h2 のみ中央寄せ維持 */
.section > .inner > h2 {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(24px, 2.6vw, 30px);
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: var(--color-main);
}
.section-lead {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 2;
}

/* =========================================================
   8. Section Head (新構造)
   ========================================================= */
.eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-sub);
}
.section-head {
    margin-bottom: clamp(48px, 6vw, 72px);
    text-align: left;
    max-width: 720px;
}
.section-head h2 {
    margin: 0 0 20px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.55;
    letter-spacing: 0.04em;
    color: var(--color-main);
    font-weight: 700;
}
.section-head .section-lead {
    margin: 0;
    max-width: none;
    text-align: left;
}
.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-head--center .section-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
}
.section-head--with-link {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.section-head--with-link > div { max-width: 720px; }

/* =========================================================
   9. Section: Statement (2カラム緩衝)
   ========================================================= */
.section-statement {
    background: #ffffff;
    border-top: 1px solid var(--color-rule);
    border-bottom: 1px solid var(--color-rule);
    padding: var(--space-narrow) 0;
}
.statement-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 1.6fr;
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}
.statement-grid__head .eyebrow { margin-bottom: 18px; }
.statement__title {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: var(--color-main);
    font-weight: 700;
}
.statement-grid__body p {
    margin: 0 0 1.4em;
    color: #444;
    line-height: 2.05;
    font-size: 15.5px;
}
.statement-grid__body p:last-child { margin-bottom: 0; }

/* =========================================================
  10. Service list (番号付き横長行)
   ========================================================= */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--color-rule);
}
.service-list > li { border-bottom: 1px solid var(--color-rule); }
.service-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: clamp(20px, 3vw, 40px);
    align-items: center;
    padding: clamp(28px, 3.5vw, 40px) 8px;
    color: var(--color-main);
    transition: background 0.3s, padding 0.3s;
}
.service-item:hover {
    background: var(--color-soft);
    padding-left: 20px;
}
.service-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--color-rule);
    border-radius: 50%;
    color: var(--color-main);
    background: #ffffff;
    transition: 0.3s;
}
.service-item__icon svg {
    width: 28px;
    height: 28px;
}
.service-item:hover .service-item__icon {
    border-color: var(--color-main);
    background: var(--color-main);
    color: #ffffff;
}
.service-item__cat {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-sub);
}
.service-item__cat span {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    padding-right: 12px;
    border-right: 1px solid var(--color-rule);
}
.service-item__body h3 {
    margin: 0 0 6px;
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.6;
    color: var(--color-main);
    font-weight: 700;
}
.service-item__body p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14.5px;
    line-height: 1.85;
}
.service-item__arrow {
    font-size: 20px;
    color: var(--color-main);
    transition: transform 0.3s;
}
.service-item:hover .service-item__arrow {
    transform: translateX(6px);
    color: var(--color-accent);
}

/* =========================================================
  11. Feature list (dl: 強み)
   ========================================================= */
.feature-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-rule);
}
.feature-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: clamp(24px, 4vw, 64px);
    padding: clamp(28px, 3.5vw, 44px) 0;
    border-bottom: 1px solid var(--color-rule);
    align-items: baseline;
}
.feature-row dt {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-main);
    flex-shrink: 0;
}
.feature-icon svg {
    width: 22px;
    height: 22px;
}
.feature-no {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    font-weight: 500;
    padding-right: 14px;
    border-right: 1px solid var(--color-rule);
}
.feature-label {
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 700;
    color: var(--color-main);
    line-height: 1.55;
    letter-spacing: 0.02em;
}
.feature-row dd {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 2;
}

/* =========================================================
  12. Check list (対応している内容)
   ========================================================= */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--color-rule);
}
.check-list > li {
    position: relative;
    padding: clamp(24px, 3vw, 32px) 0 clamp(24px, 3vw, 32px) 28px;
    border-bottom: 1px solid var(--color-rule);
}
.check-list > li::before {
    content: "";
    position: absolute;
    top: calc(clamp(24px, 3vw, 32px) + 0.7em);
    left: 4px;
    width: 8px;
    height: 8px;
    border-top: 1px solid var(--color-main);
    border-right: 1px solid var(--color-main);
    transform: rotate(45deg);
    opacity: 0.7;
}
.check-list h3 {
    margin: 0 0 8px;
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--color-main);
    font-weight: 700;
    line-height: 1.6;
}
.check-list p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14.5px;
    line-height: 2;
}

/* =========================================================
  13. Industry list (業種別)
   ========================================================= */
.industry-list { border-top: 1px solid var(--color-rule); }
.industry-row {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: clamp(24px, 4vw, 64px);
    padding: clamp(32px, 4vw, 48px) 0;
    border-bottom: 1px solid var(--color-rule);
    align-items: baseline;
}
.industry-row__head { margin: 0; }
.industry-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    color: var(--color-main);
    border: 1px solid var(--color-rule);
    border-radius: 50%;
    background: #ffffff;
}
.industry-row__icon svg {
    width: 22px;
    height: 22px;
}
.industry-row__en {
    margin: 0 0 6px;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-sub);
}
.industry-row__head h3 {
    margin: 0;
    font-size: clamp(20px, 2vw, 26px);
    color: var(--color-main);
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.industry-row__body {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 2.05;
}

/* =========================================================
  14. Case list (実績・事例)
   ========================================================= */
.case-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--color-rule);
}
.case-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(28px, 3.2vw, 36px) 4px;
    border-bottom: 1px solid var(--color-rule);
    align-items: start;
}
.case-row__tag {
    margin: 6px 0 0;
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--color-main);
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-main);
    width: max-content;
    line-height: 1.6;
}
.case-row__body h3 {
    margin: 0 0 6px;
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--color-main);
    font-weight: 700;
    line-height: 1.6;
}
.case-row__body p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14.5px;
    line-height: 1.95;
}

/* =========================================================
  15. Card (既存ページ互換 + Columnカード)
   ========================================================= */
.card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    display: block;
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(46, 60, 63, 0.06);
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(46, 60, 63, 0.1);
}
.card h3 {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-main);
}
.card p {
    margin: 0;
    font-size: 14.5px;
    color: #555555;
    line-height: 1.95;
}
.card span {
    display: inline-block;
    margin-top: 20px;
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 700;
}

/* ---- Column 専用カード (静かなフラット型) ---- */
.card-list--column {
    gap: 1px;
    background: var(--color-rule);
    border: 1px solid var(--color-rule);
    border-radius: 0;
    box-shadow: none;
}
.card--column {
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    transition: background 0.3s;
}
.card--column .card__thumb {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-light);
}
.card--column .card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.card--column:hover .card__thumb img {
    transform: scale(1.04);
}
.card__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.card__thumb--placeholder span {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.24em;
    color: var(--color-sub);
    opacity: 0.55;
}
.card--column .card__body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.card--column:hover {
    transform: none;
    box-shadow: none;
    background: var(--color-soft);
}
.card--column .card__date {
    margin: 0;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--color-sub);
}
.card--column h3 {
    margin: 0;
    font-size: 16px;
    color: var(--color-main);
    line-height: 1.65;
}
.card--column .card__excerpt {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.9;
}
.card--column .card__more {
    margin-top: auto;
    padding-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.card--column .card__more span {
    margin: 0;
    color: inherit;
    font-weight: 600;
    transition: transform 0.3s;
}
.card--column:hover .card__more span { transform: translateX(4px); }

/* =========================================================
  16. CTA — 旧 (ダーク背景 / 既存ページ用)
   ========================================================= */
.cta {
    background: var(--color-main);
    color: #ffffff;
    text-align: center;
}
.cta h2 {
    color: #ffffff !important;
    text-align: center !important;
}
.cta p {
    margin: 0 auto 32px;
    max-width: 760px;
    color: #ffffff;
}

/* =========================================================
  17. CTA — 新 (静かな枠線囲み / TOPページ用)
   ========================================================= */
.cta-quiet { background: #ffffff; }
.cta-quiet__box {
    padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 64px);
    border: 1px solid var(--color-main);
    text-align: center;
}
.cta-quiet__box .eyebrow {
    color: var(--color-main);
    opacity: 0.7;
}
.cta-quiet__box h2 {
    margin: 0 0 24px;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.6;
    color: var(--color-main);
    letter-spacing: 0.04em;
}
.cta-quiet__text {
    margin: 0 auto 36px;
    max-width: 560px;
    font-size: 15px;
    color: #444;
    line-height: 2;
}

/* =========================================================
  18. 会社概要テーブル / フォーム / プライバシー
   ========================================================= */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}
.company-table th,
.company-table td {
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    text-align: left;
    font-size: 14px;
}
.company-table th {
    width: 160px;
    color: var(--color-main);
}
.license-details {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}
.license-details summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--color-main);
}
.license-details ul {
    columns: 2;
    margin-top: 20px;
}
.contact-form { margin-top: 40px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-top: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}
.contact-form textarea { min-height: 140px; }
.contact-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-main);
}
.contact-form input[type="submit"] {
    background: var(--color-main);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}
.contact-form input[type="submit"]:hover { background: var(--color-accent); }
.privacy-content h2 { margin-top: 48px; color: var(--color-main); }
.privacy-content h3 { margin-top: 28px; color: var(--color-main); }
.policy-date { margin-top: 48px; text-align: right; }

/* =========================================================
  19. Footer / To-top
   ========================================================= */
.site-footer {
    background: var(--color-main);
    color: #ffffff;
}
.site-footer__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 24px;
    font-size: 13px;
}
.footer-nav { margin-bottom: 12px; }
.footer-nav a {
    color: #ffffff;
    font-size: 13px;
    text-decoration: underline;
}
.footer-nav a:hover { color: var(--color-accent); }
.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-main);
    color: #ffffff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 99;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--color-accent); }

/* =========================================================
  20. Responsive
   ========================================================= */
/* =========================================================
  21. Sub-page hero (TOP以外のページ用)
   ========================================================= */
.hero--sub {
    min-height: 0;
    align-items: stretch;
    background:
        radial-gradient(80% 60% at 100% 0%, #f3f1ec 0%, transparent 65%),
        linear-gradient(180deg, #ffffff 0%, var(--color-light) 100%);
}
.hero--sub .hero__inner {
    padding: clamp(80px, 10vw, 120px) 24px;
    text-align: center;
}
.hero--sub .eyebrow {
    margin: 0 0 18px;
}
.hero--sub h1 {
    margin: 0;
    font-size: clamp(26px, 3.6vw, 38px);
    line-height: 1.55;
    letter-spacing: 0.04em;
    color: var(--color-main);
    font-weight: 700;
}
.hero--sub .hero__rule {
    margin: 28px auto 24px;
}
.hero--sub p {
    margin: 0 auto;
    max-width: 720px;
    font-size: 15px;
    color: var(--color-muted);
    line-height: 2;
}

/* =========================================================
  22. Prose section (本文だけの落ち着いたセクション)
   ========================================================= */
.section-prose .inner {
    max-width: 820px;
}
.section-prose p {
    color: #444;
    font-size: 15.5px;
    line-height: 2.05;
    margin: 0 0 1.4em;
}
.section-prose p:last-child {
    margin-bottom: 0;
}

/* =========================================================
  23. Step list (導入の流れ / 数字円+縦ライン)
   ========================================================= */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.step-item {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: clamp(20px, 3vw, 40px);
    padding-bottom: clamp(32px, 4vw, 48px);
}
.step-item:last-child {
    padding-bottom: 0;
}
.step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: 0;
    width: 1px;
    background: var(--color-rule);
}
.step-item__no {
    width: 56px;
    height: 56px;
    border: 1px solid var(--color-main);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--color-main);
    letter-spacing: 0.06em;
    background: #ffffff;
    position: relative;
    z-index: 1;
}
.step-item__body {
    padding-top: 12px;
}
.step-item__body h3 {
    margin: 0 0 8px;
    font-size: clamp(17px, 1.6vw, 19px);
    color: var(--color-main);
    font-weight: 700;
    line-height: 1.6;
}
.step-item__body p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14.5px;
    line-height: 1.95;
}

/* =========================================================
  24. Info table (会社概要などの整理されたテーブル)
   ========================================================= */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.info-table tr:first-child th,
.info-table tr:first-child td {
    border-top: 1px solid var(--color-rule);
}
.info-table th,
.info-table td {
    border-bottom: 1px solid var(--color-rule);
    padding: 22px 16px;
    text-align: left;
    font-size: 14.5px;
    line-height: 1.95;
    vertical-align: top;
}
.info-table th {
    width: 200px;
    color: var(--color-sub);
    font-weight: 600;
    letter-spacing: 0.06em;
    background: transparent;
}
.info-table td {
    color: #333;
}
.info-table td a {
    color: var(--color-main);
    border-bottom: 1px solid var(--color-rule);
    padding-bottom: 1px;
    transition: 0.3s;
}
.info-table td a:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.info-table ul {
    margin: 0;
    padding-left: 1.2em;
}
.info-table li {
    margin-bottom: 6px;
}
.info-table li:last-child {
    margin-bottom: 0;
}

/* =========================================================
  25. Note box (注意・案内のための静かな枠)
   ========================================================= */
.note-box {
    border: 1px solid var(--color-rule);
    background: #ffffff;
    padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 48px);
    color: #444;
    line-height: 2;
    font-size: 14.5px;
}
.note-box p {
    margin: 0;
}
.note-box p + p {
    margin-top: 1em;
}

/* =========================================================
  26. Highlight card (運営サービス1つ用の強調ブロック)
   ========================================================= */
.highlight-card {
    display: grid;
    grid-template-columns: minmax(120px, 200px) 1fr auto;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    padding: clamp(36px, 4vw, 48px);
    border: 1px solid var(--color-main);
    background: #ffffff;
    color: var(--color-main);
    transition: 0.3s;
}
.highlight-card:hover {
    background: var(--color-main);
    color: #ffffff;
    text-decoration: none;
}
.highlight-card__name {
    margin: 0;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
}
.highlight-card__body {
    color: inherit;
}
.highlight-card__body h3 {
    margin: 0 0 10px;
    font-size: clamp(15px, 1.4vw, 17px);
    color: inherit;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.highlight-card__body p {
    margin: 0;
    color: inherit;
    opacity: 0.9;
    font-size: 14.5px;
    line-height: 1.95;
}
.highlight-card__arrow {
    font-size: 22px;
    color: inherit;
    transition: transform 0.3s;
}
.highlight-card:hover .highlight-card__arrow {
    transform: translateX(6px);
}

/* =========================================================
  27. Privacy / 長文ページの整形
   ========================================================= */
.privacy-content {
    max-width: 820px;
    margin: 0 auto;
}
.privacy-content > p {
    color: #444;
    font-size: 15px;
    line-height: 2.05;
}
.privacy-content > p:first-of-type {
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--color-rule);
    color: var(--color-muted);
    font-size: 14.5px;
}
.privacy-content h2 {
    margin: 56px 0 16px !important;
    font-size: clamp(20px, 2vw, 24px);
    color: var(--color-main);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: left !important;
}
.privacy-content h2:first-of-type {
    margin-top: 0 !important;
}
.privacy-content h3 {
    margin: 28px 0 12px !important;
    font-size: 16px;
    color: var(--color-main);
    font-weight: 700;
}
.privacy-content ul {
    padding-left: 1.4em;
    color: #444;
    font-size: 14.5px;
    line-height: 2;
}
.privacy-content ul li {
    margin-bottom: 6px;
}
.privacy-content .policy-date {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--color-rule);
    color: var(--color-sub);
    font-size: 13px;
}

/* =========================================================
  28. Contact intro (お問い合わせページ用のリード)
   ========================================================= */
.contact-intro ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.contact-intro li {
    padding: 18px 24px;
    border: 1px solid var(--color-rule);
    color: var(--color-main);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: #ffffff;
}

/* =========================================================
  29. Media banner (Hero後/セクション内の横長画像)
   ========================================================= */
.media-banner {
    margin: 0;
    overflow: hidden;
}
.media-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--color-light);
}
.media-banner figcaption {
    margin-top: 12px;
    font-size: 13px;
    color: var(--color-sub);
    letter-spacing: 0.04em;
}

/* セクションとして単独で使う型 (Hero直後など) */
.section-banner {
    padding: var(--space-narrow) 0;
    background: #ffffff;
}

/* 概要セクション内などに差し込む型 */
.media-banner--inset {
    margin-top: 32px;
}

/* =========================================================
  30. Compare grid (Before/After 比較)
   ========================================================= */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2vw, 24px);
}
.compare-grid__item {
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-rule);
    background: var(--color-light);
}
.compare-grid__item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.compare-grid__label {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(46, 60, 63, 0.92);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.6;
}

/* =========================================================
  31. Single post (記事詳細ページ)
   ========================================================= */

/* --- Hero (post 用) --- */
.hero--post .hero__inner {
    text-align: center;
    padding: clamp(72px, 9vw, 110px) 24px clamp(56px, 7vw, 80px);
}
.hero--post h1 {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.65;
    letter-spacing: 0.02em;
    color: var(--color-main);
    font-weight: 700;
}
.post-meta {
    margin: 0 0 24px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--color-sub);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.post-meta time {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--color-main);
}
.post-meta__sep {
    color: var(--color-rule);
}
.post-meta__cat {
    font-weight: 600;
    color: var(--color-main);
    border-bottom: 1px solid var(--color-rule);
    padding-bottom: 1px;
}
.post-meta__cat:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    text-decoration: none;
}
.post-excerpt {
    margin: 22px auto 0;
    max-width: 680px;
    font-size: 14.5px;
    line-height: 2;
    color: var(--color-muted);
}

/* --- Article 本文 --- */
.section-article {
    padding-top: clamp(40px, 6vw, 72px);
}
.post-content {
    font-size: 16px;
    line-height: 2;
    color: #333;
}
.post-content > *:first-child { margin-top: 0; }
.post-content > *:last-child { margin-bottom: 0; }

.post-content p {
    margin: 0 0 1.6em;
}
.post-content h2 {
    margin: 64px 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-rule);
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.55;
    letter-spacing: 0.02em;
    color: var(--color-main);
    font-weight: 700;
}
.post-content h2:first-child { margin-top: 0; }
.post-content h3 {
    margin: 44px 0 14px;
    padding-left: 12px;
    border-left: 3px solid var(--color-main);
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-main);
    font-weight: 700;
}
.post-content h4 {
    margin: 32px 0 10px;
    font-size: 16px;
    color: var(--color-main);
    font-weight: 700;
}
.post-content ul,
.post-content ol {
    margin: 0 0 1.6em;
    padding-left: 1.6em;
}
.post-content li {
    margin-bottom: 8px;
    line-height: 1.95;
}
.post-content a {
    color: var(--color-main);
    text-decoration: underline;
    text-decoration-color: var(--color-rule);
    text-underline-offset: 4px;
    transition: 0.3s;
}
.post-content a:hover {
    color: var(--color-accent);
    text-decoration-color: var(--color-accent);
}
.post-content blockquote {
    margin: 32px 0;
    padding: 4px 0 4px 28px;
    border-left: 2px solid var(--color-main);
    color: var(--color-muted);
    font-style: normal;
}
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 32px auto;
}
.post-content figure {
    margin: 32px 0;
}
.post-content figure img {
    margin: 0 auto;
}
.post-content figcaption {
    margin-top: 12px;
    font-size: 13px;
    color: var(--color-sub);
    text-align: center;
    line-height: 1.7;
}
.post-content code {
    padding: 2px 8px;
    background: var(--color-light);
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.92em;
}
.post-content pre {
    margin: 32px 0;
    padding: 22px;
    background: var(--color-light);
    overflow-x: auto;
    font-size: 13.5px;
    line-height: 1.7;
}
.post-content pre code {
    padding: 0;
    background: none;
    font-size: inherit;
}
.post-content hr {
    margin: 56px 0;
    border: none;
    border-top: 1px solid var(--color-rule);
}
.post-content table {
    width: 100%;
    margin: 32px 0;
    border-collapse: collapse;
    font-size: 14.5px;
}
.post-content th,
.post-content td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-rule);
    text-align: left;
}
.post-content th {
    color: var(--color-main);
    font-weight: 600;
    background: var(--color-soft);
}
.post-content .wp-caption {
    max-width: 100%;
    margin: 32px 0;
}
.post-content .wp-caption-text,
.post-content .wp-block-image figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--color-sub);
    text-align: center;
}

/* --- Tags --- */
.post-tags {
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid var(--color-rule);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.post-tag {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--color-rule);
    color: var(--color-muted);
    font-size: 12px;
    letter-spacing: 0.04em;
    transition: 0.3s;
}
.post-tag:hover {
    border-color: var(--color-main);
    color: var(--color-main);
    text-decoration: none;
}

/* --- 前後の記事 / 一覧へ戻る --- */
.post-nav {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--color-rule);
}
.post-nav__siblings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}
.post-nav__link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    border: 1px solid var(--color-rule);
    color: var(--color-main);
    transition: 0.3s;
    min-height: 88px;
}
.post-nav__link:hover {
    border-color: var(--color-main);
    background: var(--color-soft);
    text-decoration: none;
}
.post-nav__link--disabled {
    border: none;
    background: transparent;
}
.post-nav__link--prev {
    text-align: left;
}
.post-nav__link--next {
    text-align: right;
}
.post-nav__direction {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--color-sub);
}
.post-nav__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-main);
    line-height: 1.55;
    /* 1行で省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.post-nav__back {
    text-align: center;
}
.post-nav__back .text-link span {
    transition: transform 0.3s;
}
.post-nav__back .text-link:hover span {
    transform: translateX(-4px);
}

/* =========================================================
  32. Breadcrumb
   ========================================================= */
.breadcrumb {
    background: #ffffff;
    border-bottom: 1px solid var(--color-rule);
    padding: 14px 0;
}
.breadcrumb .inner {
    max-width: 1280px;
}
.breadcrumb__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--color-sub);
}
.breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.breadcrumb__item:not(:first-child)::before {
    content: "›";
    color: var(--color-rule);
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
}
.breadcrumb__item a {
    color: var(--color-muted);
    transition: color 0.3s;
}
.breadcrumb__item a:hover {
    color: var(--color-main);
    text-decoration: none;
}
.breadcrumb__item span[aria-current] {
    color: var(--color-main);
    font-weight: 500;
    /* 長いタイトルは1行で省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 360px;
}

@media (max-width: 900px) {
    .statement-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .feature-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px 0;
    }
    .industry-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 28px 0;
    }
    .industry-row__head h3 { font-size: 20px; }
    .section-head--with-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .site-header__inner {
        flex-direction: column;
        gap: 12px;
    }
    .site-logo img { height: 34px; }
    .site-nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .site-nav a { height: 36px; }
    .nav-contact { height: 36px; padding: 0 16px; }

    .hero { min-height: auto; }
    .hero__inner { padding: 64px 24px; }
    .hero p br { display: none; }

    body.home .hero__inner { padding: 80px 24px 72px; }
    .hero__title br { display: none; }
    .hero__rule { margin: 28px 0 22px; }
    .hero__desc br { display: none; }


    .section { padding: clamp(64px, 12vw, 96px) 0; }
    .section > .inner > h2 { font-size: 22px; }
    .section-head { margin-bottom: 36px; }
    .section-head h2 { font-size: 22px; }

    .service-item {
        grid-template-columns: 48px 1fr;
        grid-template-areas:
            "ico  body"
            "arr  arr";
        gap: 16px;
        padding: 24px 4px;
    }
    .service-item:hover { padding-left: 4px; }
    .service-item__icon {
        grid-area: ico;
        width: 48px;
        height: 48px;
    }
    .service-item__icon svg { width: 24px; height: 24px; }
    .service-item__body { grid-area: body; }
    .service-item__arrow {
        grid-area: arr;
        justify-self: flex-end;
    }
    .service-item__cat span {
        padding-right: 8px;
    }

    .industry-row__icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    .industry-row__icon svg { width: 20px; height: 20px; }

    .case-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 24px 0;
    }
    .case-row__tag { margin: 0; }

    .card-list { grid-template-columns: 1fr; }
    .card { padding: 28px; }

    .card-list--column {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    .card--column { padding: 24px 20px; }

    .cta-quiet__box { padding: 48px 24px; }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
    }
    .company-table th {
        border-bottom: none;
        padding-bottom: 4px;
    }
    .license-details ul { columns: 1; }
}



/* compare-grid: showcase variant (概要内のPC/モバイル並列表示用) */
.section-prose .compare-grid {
    margin-top: 32px;
}
.compare-grid--showcase .compare-grid__item {
    border: 1px solid var(--color-rule);
}
.compare-grid--showcase .compare-grid__item img {
    aspect-ratio: 16 / 11;
}

@media (max-width: 768px) {
    .compare-grid { grid-template-columns: 1fr; }
    .media-banner img { aspect-ratio: 16 / 10; }
}

/* Single post: mobile */
@media (max-width: 768px) {
    .hero--post h1 { font-size: 20px; }
    .post-meta { font-size: 11px; gap: 10px; }
    .post-content { font-size: 15.5px; }
    .post-content h2 { margin: 48px 0 14px; font-size: 18px; }
    .post-content h3 { margin: 32px 0 10px; font-size: 16px; }
    .post-nav__siblings {
        grid-template-columns: 1fr;
    }
    .post-nav__link { min-height: 0; }
    .post-nav__link--next { text-align: left; }
}