/*
Theme Name: W's Link Corporate
Theme URI: https://ws-link.co.jp/
Author: W's Link
Author URI: https://ws-link.co.jp/
Description: メディミー・タスミー・集客総合支援を紹介する、株式会社W's Link専用の軽量コーポレートテーマです。Elementorは不要です。
Version: 1.5.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ws-link
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* WordPress admin bar adjustment */
.admin-bar header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar header {
    top: 46px;
  }
}

/* Contact Form 7 */
.contact-form {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  padding: 44px clamp(20px, 5vw, 56px);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 24px 60px rgba(39, 101, 132, .1);
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.cta .contact-form > p { margin-bottom: 26px; }
.contact-form .wpcf7-form p { margin: 0 0 18px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.contact-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea,
.entry input[type="text"],
.entry input[type="email"],
.entry input[type="tel"],
.entry select,
.entry textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.contact-form textarea, .entry textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid #58b9d8; outline-offset: 1px; border-color: transparent; }
.contact-form .wpcf7-list-item { margin: 0 18px 0 0; font-weight: 400; }
.contact-form input[type="submit"],
.entry input[type="submit"] {
  display: inline-flex;
  min-height: 58px;
  padding: 0 44px;
  border: 0;
  border-radius: 999px;
  background: #20445e;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.contact-form input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(11, 31, 51, .2); }
.contact-form .wpcf7-not-valid-tip { font-size: .82rem; margin-top: 4px; }
.contact-form .wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: 6px; font-weight: 400; }
@media (max-width: 680px) {
  .contact-form input[type="submit"] { width: 100%; }
}


/* 1.1.1: Japanese line breaks and mobile sizing */
.nw { display: inline-block; }
.offer-price strong { white-space: nowrap; }
@media (max-width: 680px) {
  .section-head h2 { font-size: clamp(1.75rem, 7.4vw, 2.4rem); line-height: 1.5; }
  .cta h2 { font-size: clamp(1.6rem, 6.8vw, 2.2rem); line-height: 1.5; }
  .story-quote { font-size: clamp(1.3rem, 5.6vw, 1.7rem); }
  .offer-price strong { font-size: 1.4rem; }
}

/* 1.2.0: Section header with link */
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 760px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.more-link:after { content: "→"; color: var(--green-dark); }
.more-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* News list */
.news { background: #fff; }
.news .section-head { margin-bottom: 40px; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 110px auto 1fr; gap: 10px 22px; align-items: center; padding: 24px 6px; transition: background .2s; }
.news-list a:hover { background: var(--ice); }
.news-list time, .post-meta time { font: 600 .95rem "EB Garamond", serif; letter-spacing: .08em; color: var(--muted); }
.news-cat { display: inline-block; justify-self: start; padding: 3px 12px; border-radius: 999px; background: var(--cyan); color: var(--green-dark); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.news-list .news-title { font-weight: 600; line-height: 1.7; }
.news-list a > .news-title:nth-child(2) { grid-column: 2 / -1; }

/* note column */
.column { background: linear-gradient(135deg, #e7f6fb 0%, #f8fcfe 52%, #dff2fa 100%); }
.column .section-head { margin-bottom: 44px; }
.column-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.column-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 18px 50px rgba(39, 101, 132, .09); transition: transform .25s, box-shadow .25s; }
.column-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.column-thumb { display: block; aspect-ratio: 1.91 / 1; background: linear-gradient(135deg, #d8f1fa, #edf9fc); }
.column-thumb img { width: 100%; height: 100%; object-fit: cover; }
.column-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.column-body time { font: 600 .9rem "EB Garamond", serif; letter-spacing: .08em; color: var(--muted); }
.column-body strong { font-family: "Shippori Mincho", serif; font-size: 1.08rem; line-height: 1.6; }
.column-src { margin-top: auto; padding-top: 8px; color: var(--green-dark); font-size: .8rem; font-weight: 700; }

/* Sub pages */
.sub-hero { padding: 170px 0 64px; background: radial-gradient(circle at 82% 10%, rgba(174, 226, 244, .7), transparent 34%), linear-gradient(135deg, #fbfeff 0%, #eef9fd 55%, #e1f3fa 100%); }
.sub-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.45; letter-spacing: .02em; margin: 0; }
.sub-hero .post-meta { display: flex; gap: 14px; align-items: center; margin: 0 0 12px; }
.entry { max-width: 860px; padding: 64px 0 120px; }
.entry > * + * { margin-top: 1.4em; }
.entry p, .entry li { color: #3c5463; line-height: 2; }
.entry h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.5; margin: 2.4em 0 .8em; padding-bottom: .5em; border-bottom: 1px solid var(--line); letter-spacing: .02em; }
.entry h3 { font-size: 1.25rem; margin: 2em 0 .6em; padding-left: 14px; border-left: 3px solid #58b9d8; }
.entry h4 { font-size: 1.05rem; margin: 1.6em 0 .4em; }
.entry a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry img { height: auto; border-radius: 8px; }
.entry figure { margin: 2em 0; }
.entry table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry th, .entry td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry th { width: 28%; background: var(--ice); font-weight: 700; }
.entry blockquote { margin: 2em 0; padding: 18px 24px; border-left: 3px solid #58b9d8; background: var(--ice); }
.entry .wp-block-button__link { display: inline-flex; padding: 14px 32px; border-radius: 999px; background: #20445e; color: #fff; text-decoration: none; font-weight: 700; }
.entry-thumb img { width: 100%; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px !important; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; }
.back-link { margin-top: 32px !important; }
.nav-links-wrap, .pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; position: static; padding: 0; border: 0; background: none; box-shadow: none; flex-direction: row; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); }
.pagination .page-numbers.current { background: #20445e; color: #fff; border-color: #20445e; }
.entry .news-list a { text-decoration: none; color: inherit; }

/* Footer legal links */
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 22px 0 0; font-size: .8rem; }
.legal-links a:hover { color: #fff; }

@media (max-width: 980px) {
  .column-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .news-list a { grid-template-columns: auto 1fr; padding: 20px 4px; }
  .news-list .news-title { grid-column: 1 / -1; }
  .column-grid { grid-template-columns: 1fr; }
  .sub-hero { padding: 120px 0 44px; }
  .entry { padding: 44px 0 90px; }
  .entry th, .entry td { display: block; width: 100%; }
  .entry th { border-bottom: 0; }
  .post-nav { flex-direction: column; }
}

/* 1.2.1: WL logo */
.logo-img { width: 64px; height: 64px; object-fit: contain; flex: 0 0 auto; }
footer .logo-img { width: 60px; height: 60px; }
@media (max-width: 680px) {
  .logo-img { width: 52px; height: 52px; }
  .hero h1 { font-size: clamp(2.2rem, 10.6vw, 3.6rem); }
}

/* 1.3.0: タスミー page */
.tasumi-page { --tasu: #e8962a; --tasu-dark: #a2620a; --tasu-soft: #fff4dd; }
.t-hero { padding: 170px 0 100px; background: radial-gradient(circle at 82% 18%, rgba(255,226,180,.55), transparent 32%), radial-gradient(circle at 10% 80%, rgba(217,242,251,.9), transparent 40%), linear-gradient(135deg, #fbfeff 0%, #f3f9fc 55%, #fdf6ec 100%); }
.t-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.t-hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.3; letter-spacing: .02em; margin-bottom: 28px; }
.t-hero h1 em { font-style: normal; color: var(--tasu); }
.t-hero .lead { max-width: 640px; }
.t-hero-card { justify-self: center; width: min(420px, 100%); padding: 44px 40px 40px; border-radius: 210px 210px 18px 18px; background: #fff; text-align: center; box-shadow: 0 30px 80px rgba(162,98,10,.12); }
.t-hero-card img { width: 230px; height: auto; margin: 0 auto 10px; }
.t-hero-tag { font-family: "Shippori Mincho", serif; font-weight: 600; color: var(--muted); margin: 0 0 18px; }
.t-hero-price { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 800; }
.t-hero-price strong { color: var(--tasu); font: 800 1.7rem Manrope, "Noto Sans JP", sans-serif; }
.t-hero-price small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }

.t-card { position: relative; padding: 34px 30px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(39,101,132,.07); }
.t-card h3 { font-size: 1.22rem; line-height: 1.55; margin-bottom: 12px; }
.t-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.9; }
.t-worries { background: #fff; }
.t-worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-worries .t-card { border-top: 4px solid var(--tasu); }

.t-why { background: linear-gradient(135deg, #e7f6fb 0%, #f8fcfe 52%, #dff2fa 100%); }
.t-why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.t-why-list { display: grid; gap: 1px; background: #d6eaf2; border: 1px solid #d6eaf2; }
.t-why-list > div { padding: 30px 34px; background: rgba(255,255,255,.88); }
.t-why-list h3 { font-size: 1.2rem; margin-bottom: 10px; }
.t-why-list p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.9; }

.t-benefits { background: #fff; }
.t-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.t-num { display: block; font: 600 1.3rem "EB Garamond", serif; color: var(--tasu-dark); letter-spacing: .1em; margin-bottom: 14px; }

.t-tasks { background: var(--ice); }
.t-task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-task { padding: 32px 30px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.t-task-label { font: 600 .82rem "EB Garamond", serif; letter-spacing: .18em; color: var(--tasu-dark); }
.t-task h3 { font-size: 1.35rem; margin: 8px 0 14px; }
.t-task ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.t-task li { position: relative; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 600; }
.t-task li:before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--tasu); }

.t-strengths { background: #fff; }
.t-plan { background: linear-gradient(120deg, #fdf6ec 0%, #fbfdff 55%, #eef8fc 100%); }
.t-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.t-plan-card { padding: 46px 44px; border-radius: 12px; background: #fff; box-shadow: 0 24px 60px rgba(162,98,10,.10); border-top: 6px solid var(--tasu); }
.t-plan-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; }
.t-plan-price { font-weight: 800; margin: 0 0 18px; }
.t-plan-price strong { color: var(--tasu); font: 800 2.3rem Manrope, "Noto Sans JP", sans-serif; }
.t-plan-price small { color: var(--muted); font-weight: 500; font-size: .85rem; }
.t-plan-card > p:not(.eyebrow):not(.t-plan-price) { color: var(--muted); font-size: .95rem; line-height: 1.95; margin-bottom: 28px; }
.t-terms { padding: 46px 44px; border-radius: 12px; background: rgba(255,255,255,.8); border: 1px solid var(--line); }
.t-terms h3 { font-size: 1.3rem; margin-bottom: 18px; }
.t-terms dl { margin: 0; border-top: 1px solid var(--line); }
.t-terms dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.t-terms dt { font-weight: 800; color: var(--tasu-dark); font-size: .92rem; }
.t-terms dd { margin: 0; font-size: .95rem; }

.t-story-inner { max-width: 900px; }
.t-story-text p { color: var(--muted); line-height: 2.1; }

@media (max-width: 980px) {
  .t-hero-grid, .t-why-grid, .t-plan-grid { grid-template-columns: 1fr; }
  .t-worry-grid, .t-task-grid { grid-template-columns: 1fr 1fr; }
  .t-benefit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .t-hero { padding: 120px 0 70px; }
  .t-worry-grid, .t-task-grid, .t-benefit-grid { grid-template-columns: 1fr; }
  .t-plan-card, .t-terms { padding: 34px 24px; }
  .t-terms dl > div { grid-template-columns: 1fr; gap: 4px; }
}

.detail-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; padding: 12px 18px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-weight: 800; background: #fff; transition: background .2s; }
.detail-link:after { content: "→"; }
.detail-link:hover { background: var(--soft); }
.detail-link + .text-link { margin-top: 12px; }
.flagship-card.tasu .detail-link { color: #a2620a; border-color: #e8962a; }
.t-plan-price strong, .t-hero-price strong { white-space: nowrap; }
@media (max-width: 680px) { .t-plan-price strong { font-size: 1.8rem; } }

/* 1.4.0: メディミー page (reuses .t-* layout with blue accent) */
.medimee-page { --tasu: #2388d8; --tasu-dark: #1b6fb3; --tasu-soft: #eaf5ff; }
.medimee-page .t-hero { background: radial-gradient(circle at 82% 18%, rgba(174,226,244,.85), transparent 34%), radial-gradient(circle at 10% 80%, rgba(217,242,251,.9), transparent 40%), linear-gradient(135deg, #fbfeff 0%, #eef8fd 55%, #e3f2fb 100%); }
.m-hero-card { padding-bottom: 0; overflow: hidden; box-shadow: 0 30px 80px rgba(35,136,216,.14); }
.m-hero-card .m-hero-logo { width: 120px; height: auto; margin: 0 auto 6px; }
.m-hero-card .m-hero-illust { width: 100%; height: auto; margin: 0; }
.m-tag { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--tasu-soft); color: var(--tasu-dark); font-size: .76rem; font-weight: 800; }
.t-card .m-answer { margin-top: 14px; color: var(--tasu-dark); font-weight: 800; }
.m-solution-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.m-solution h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.45; }
.m-checks { list-style: none; margin: 26px 0; padding: 0; }
.m-checks li { position: relative; padding: 12px 0 12px 38px; border-bottom: 1px solid var(--line); font-weight: 700; }
.m-checks li:before { content: "✓"; position: absolute; left: 0; top: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tasu-soft); color: var(--tasu-dark); font-size: .8rem; }
.m-quote { padding: 18px 24px; border-left: 4px solid var(--tasu); background: var(--ice); font-family: "Shippori Mincho", serif; font-weight: 700; font-size: 1.15rem; }
.m-solution-img { width: 100%; height: auto; border-radius: 16px; }
.m-support-grid { grid-template-columns: repeat(4, 1fr); }
.m-tools { margin-top: 26px; color: var(--muted); font-size: .9rem; text-align: center; }
.m-compare-wrap { overflow-x: auto; }
.m-compare { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; font-size: .95rem; }
.m-compare th, .m-compare td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.m-compare thead th { background: var(--ice); color: var(--muted); font-weight: 700; }
.m-compare tbody th { color: var(--muted); font-weight: 700; }
.m-compare .is-us { background: var(--tasu-soft); color: var(--tasu-dark); font-weight: 800; }
.m-compare thead .is-us { background: var(--tasu); color: #fff; font-size: 1.05rem; }
.m-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.m-plan { position: relative; padding: 40px 32px 34px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-top: 6px solid #cfd9e3; text-align: center; }
.m-plan.is-featured { border-top-color: var(--tasu); box-shadow: 0 24px 60px rgba(35,136,216,.13); }
.m-plan-badge { position: absolute; top: 16px; right: 16px; padding: 3px 12px; border-radius: 999px; background: var(--tasu); color: #fff; font-size: .74rem; font-weight: 800; }
.m-plan h3 { font-size: 1.6rem; margin-bottom: 6px; }
.m-plan-for { color: var(--tasu-dark); font-weight: 700; font-size: .9rem; }
.m-plan ul { list-style: none; margin: 18px 0; padding: 0; border-top: 1px solid var(--line); }
.m-plan li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .92rem; }
.m-plan-price { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 700; }
.m-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 56px; text-align: center; }
.m-member img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; margin: 0 auto 18px; border: 4px solid #fff; box-shadow: 0 16px 40px rgba(39,101,132,.16); }
.m-role { margin: 0 0 4px; color: var(--tasu-dark); font-size: .85rem; font-weight: 800; }
.m-member h3 { font-size: 1.5rem; margin-bottom: 8px; }
.m-member p:last-child { color: var(--muted); font-size: .92rem; }
@media (max-width: 980px) {
  .m-solution-grid { grid-template-columns: 1fr; }
  .m-support-grid { grid-template-columns: 1fr 1fr; }
  .m-plan-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .m-support-grid { grid-template-columns: 1fr; }
  .m-team-grid { grid-template-columns: 1fr; gap: 40px; }
}
.medimee-page .t-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }

/* 1.4.2: 主力サービス dropdown */
.nav-drop { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 9px 10px; font-family: "EB Garamond", "Noto Sans JP", serif; font-size: .84rem; letter-spacing: .08em; }
.nav-drop-toggle:after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-sub { position: absolute; left: -12px; top: calc(100% + 10px); z-index: 60; min-width: 300px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
           box-shadow: 0 22px 50px rgba(23,54,79,.14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-sub:before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: block; padding: 12px 14px; border-radius: 10px; font-family: "Noto Sans JP", sans-serif; letter-spacing: 0; }
.nav-sub a:hover { background: var(--ice); color: var(--ink); }
.nav-sub b { display: block; font-size: .92rem; color: var(--navy); }
.nav-sub small { display: block; margin-top: 2px; font-size: .74rem; font-weight: 500; color: var(--muted); }
@media (max-width: 980px) {
  .nav-drop-toggle { padding: 12px 0; font-size: .95rem; }
  .nav-drop-toggle:after { display: none; }
  .nav-sub { position: static; min-width: 0; padding: 0 0 8px 14px; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-sub:before { display: none; }
  .nav-sub a { padding: 8px 10px; }
  .nav-sub small { display: none; }
}
@media (max-width: 980px) {
  .nav-links { background: #fff; backdrop-filter: none; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav-sub { background: transparent; }
  .nav-links > a:not(.nav-cta), .nav-drop-toggle { font-size: .95rem; }
}
@media (max-width: 980px) { .nav-drop-toggle { padding: 12px 10px; } .nav-sub { margin-left: 10px; } }

/* 1.4.3: members in 会社情報 */
.about-members { margin-top: 90px; padding-top: 60px; border-top: 1px solid var(--line); text-align: center; }
.about-members .eyebrow { justify-content: center; }
.about-members-title { font-family: "Shippori Mincho", serif; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 44px; }
.about-members .m-role { color: #2f84a8; }
@media (max-width: 680px) { .about-members { margin-top: 64px; padding-top: 44px; } }

/* ==========================================================
   1.5.0: Unified typography + no overlapping background words
   ========================================================== */
:root {
  --ws-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --ws-latin: "EB Garamond", "Shippori Mincho", serif;
  --ws-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
/* 本文・見出し・リスト・表など、サイト全体を明朝体に統一 */
body { font-family: var(--ws-serif); font-weight: 500; }
h1, h2, h3, h4, p, li, dt, dd, th, td, summary, label, small, b, strong, input, select, textarea { font-family: inherit; }
.nav-links > a:not(.nav-cta), .nav-drop-toggle, .nav-sub a, .footer-links a, .legal-links a,
.offer-price strong, .t-hero-price strong, .t-plan-price strong, .result b, .results.qualitative .result b,
.t-card h3, .t-task h3, .m-plan h3, .m-member h3, .about-members-title, .column-body strong, .news-list .news-title { font-family: var(--ws-serif); }
.service-no, .product-label, .t-task-label, .fit-card span, .eyebrow, .logo small, .offer-mini .num, .flow-card:before, .t-num { font-family: var(--ws-latin); }
.offer-price strong, .t-hero-price strong, .t-plan-price strong { font-weight: 800; letter-spacing: .01em; }

/* ボタン類は目立つゴシック体 */
.btn, .nav-cta, .text-link, .detail-link, .more-link, .cta-actions a, .hero-actions a,
.contact-form input[type="submit"], .entry input[type="submit"], .entry .wp-block-button__link,
.m-plan-badge, .news-cat, .m-tag {
  font-family: var(--ws-sans); letter-spacing: .04em;
}
.btn, .nav-cta, .text-link, .detail-link, .more-link, .cta-actions a, .hero-actions a { font-weight: 800; }

/* 背景の大きな英字：文字や写真に重ならないように */
.hero-script { z-index: 0; }
.hero .hero-grid { position: relative; z-index: 2; }
@media (max-width: 980px) {
  .hero-script, .flagship:before, .fit:after { display: none; }
}
@media (min-width: 981px) {
  /* SERVICES は見出しの右上の空きスペースだけに置く */
  .flagship:before { top: 40px; width: auto; left: auto; right: max(24px, calc((100% - 1180px) / 2)); transform: none; font-size: clamp(4rem, 8vw, 7.5rem); }
  .flagship .section-head { position: relative; z-index: 1; max-width: 560px; }
  /* LINK はカードの下の余白に */
  /* Your vision, our team. は写真・チェック項目の下の余白に */
  .hero { padding-bottom: 190px; }
  .hero-script { bottom: 22px; }
  .fit { padding-bottom: 220px; }
  .fit:after { bottom: 30px; }
}

/* 英字ラベルがスマホで折り返して線とずれないように */
@media (max-width: 680px) {
  .eyebrow { font-size: .78rem; letter-spacing: .12em; align-items: flex-start; }
  .eyebrow:before { flex: 0 0 28px; width: 28px; margin-top: .55em; }
}

/* 1.5.1: Company overview on the top page */
.about-company { margin-top: clamp(48px, 7vw, 80px); }
.company-table { margin: 18px 0 0; border-top: 1px solid rgba(23,54,79,.14); background: rgba(255,255,255,.72); }
.company-table > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid rgba(23,54,79,.14); }
.company-table dt { margin: 0; font-weight: 700; color: #17364f; }
.company-table dd { margin: 0; color: #4a5d6c; }
@media (max-width: 680px) { .company-table > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; } }
