/* Readable type and responsive layouts for the existing navigation and sections.
   The new Nishida hero has its own stylesheet. */
body { font-size: 18px; }

.site-header { gap: 32px; }
.brand { flex-shrink: 0; }
.desktop-nav { gap: 26px; }
.desktop-nav a { font-size: 16px; white-space: nowrap; }
.header-contact { min-width: 160px; font-size: 16px; flex-shrink: 0; }
.mobile-nav a { font-size: 28px; }
.mobile-nav a span { font-size: 20px; }
.skip-link { font-size: 16px; }

.section-pad { padding-top: 104px; padding-bottom: 104px; }
.section-pad .eyebrow { font-size: 13px; letter-spacing: .13em; }
.section-top { gap: 24px; align-items: baseline; }
.section-top > span { font-size: 14px; line-height: 1.7; }
.section-heading { gap: 48px; align-items: flex-start; }
.section-heading h2 {
  font-size: clamp(48px, 4.2vw, 60px);
  line-height: 1.55;
  letter-spacing: .01em;
}
.section-heading > p { font-size: 18px; line-height: 1.95; padding-top: 10px; }
.section-pad .text-link { font-size: 16px; gap: 24px; }
.section-pad .circle-arrow { width: 44px; height: 44px; font-size: 22px; flex-shrink: 0; }
.section-pad :is(p, h2, h3) { overflow-wrap: break-word; }
.section-pad :is(.section-heading, .approach-intro, .profile-grid, .publications, .book, .faq, .form-pair) > * { min-width: 0; }

.result-main { gap: 48px; padding-right: 0; }
.result-main h2 { font-size: clamp(48px, 4.2vw, 60px); line-height: 1.55; }
.result-main p { font-size: 16px; line-height: 1.9; }
.main-number { gap: 24px; flex-shrink: 0; }
.result-two { font-size: clamp(180px, 21vw, 300px); }
.result-unit { font-size: clamp(48px, 5vw, 68px); }
.result-unit > span { font-size: 25px; }
.result-timeline { gap: 32px; }
.result-timeline p { font-size: 16px; }
.result-timeline strong { font-size: 80px; }
.result-timeline strong span { font-size: 23px; }
.support-results { gap: 32px; }
.support-results > div { min-width: 0; }
.support-results > div + div { padding-left: 32px; }
.support-results strong { font-size: 54px; white-space: nowrap; }
.support-results strong span { font-size: 22px; }
.support-results p { font-size: 18px; line-height: 1.9; }
.industries { grid-template-columns: 180px minmax(0, 1fr); font-size: 16px; }
.industries > span { line-height: 1.8; }
.industries p { font-size: 16px; line-height: 2; }

.approach-intro { grid-template-columns: 1.2fr 1fr; gap: 7%; }
.approach-intro h2 { font-size: clamp(48px, 3.5vw, 52px); line-height: 1.65; }
.approach-intro > div p { font-size: 18px; line-height: 2; }
.work-steps { gap: 32px; }
.work-steps article { min-width: 0; }
.step-number { font-size: 28px; }
.work-steps h3 { font-size: 20px; line-height: 1.7; letter-spacing: 0; }
.work-steps p { font-size: 18px; line-height: 1.9; }
.approach-foot { font-size: 32px; line-height: 1.8; letter-spacing: .015em; }

.service-group > h3 { font-size: 16px; line-height: 1.8; gap: 20px; }
.service-group > h3 > span { font-size: 20px; white-space: nowrap; }
.service-row summary { grid-template-columns: 48px minmax(0, 1fr) auto 24px; gap: 24px; padding: 30px 4px; }
.service-num { font-size: 36px; }
.service-title { font-size: 22px; line-height: 1.65; }
.service-title small { font-size: 15px; line-height: 1.8; }
.service-price { font-size: 40px; }
.service-price > span { font-size: 18px; }
.service-price > small { font-size: 16px; }
.service-detail { padding: 0 52px 32px 76px; font-size: 18px; gap: 28px; }
.service-detail p { line-height: 1.95; }
.service-detail a { font-size: 16px; line-height: 1.8; }

.profile-grid { gap: 8%; }
.portrait-caption { font-size: 13px; letter-spacing: .09em; }
.profile-copy > .eyebrow { font-size: 14px; }
.profile-copy h2 { font-size: 52px; line-height: 1.55; }
.profile-copy h2 > span { font-size: 26px; }
.profile-copy .profile-lead { font-size: 28px; line-height: 1.85; }
.profile-copy > p:not(.profile-lead):not(.eyebrow) { font-size: 18px; line-height: 2; }
.brand-thought { gap: 40px; }
.brand-thought img { flex-shrink: 0; }
.brand-thought p { font-size: 18px; line-height: 2; }

.notes-heading { align-items: flex-start; }
.notes-heading h2 { font-size: clamp(48px, 4.2vw, 60px); line-height: 1.55; }
.notes-heading > div { padding-top: 12px; gap: 20px; }
.small-link { font-size: 15px; line-height: 1.8; }
.art-small { font-size: 13px; }
.art-title { font-size: clamp(36px, 3.8vw, 54px); }
.article-info { padding-top: 24px; padding-bottom: 30px; }
.article-meta { font-size: 14px; line-height: 1.8; }
.article-meta i { font-size: 13px; }
.article h3 { font-size: 24px; line-height: 1.75; }
.featured h3 { font-size: 32px; }
.book { grid-template-columns: 110px minmax(0, 1fr); gap: 28px; }
.book img { width: 110px; height: 165px; }
.book h3 { font-size: 23px; line-height: 1.7; }
.book p:not(.eyebrow) { font-size: 18px; line-height: 1.9; }
.book a { font-size: 15px; line-height: 1.8; }
.podcasts { gap: 40px; }
.podcasts p { font-size: 18px; line-height: 1.9; }
.podcasts a { font-size: 16px; line-height: 1.8; }

.process-steps { gap: 30px; }
.process-steps li { min-width: 0; }
.process-steps li > span { font-size: 38px; }
.process-steps li.contract > span { font-size: 15px; height: 48px; }
.process-steps h3 { font-size: 20px; line-height: 1.7; }
.process-steps p { font-size: 18px; line-height: 1.9; }
.faq { grid-template-columns: 1fr 2fr; gap: 56px; }
.faq h2 { font-size: 48px; line-height: 1.6; }
.faq summary { font-size: 18px; line-height: 1.85; padding: 26px 0; }
.faq details > p { font-size: 18px; line-height: 1.95; }

.contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; }
.contact-intro h2 { font-size: clamp(48px, 4.2vw, 60px); line-height: 1.55; }
.contact-intro > p:not(.eyebrow) { font-size: 18px; line-height: 2; }
.contact-form h3 { font-size: 26px; }
.form-note { font-size: 15px; line-height: 1.9; }
.contact-form label { font-size: 16px; line-height: 1.8; margin-bottom: 28px; }
.contact-form label > span { font-size: 13px; }
.contact-form input:not([type=file]), .contact-form textarea { font-size: 18px; line-height: 1.8; padding-top: 13px; padding-bottom: 13px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { font-size: 16px; line-height: 1.8; }
.file-label input { font-size: 14px; }
.file-label small { font-size: 13px; line-height: 1.9; }
.file-label input::file-selector-button { font-size: 14px; padding: 11px 13px; }
.form-submit { font-size: 17px; min-height: 64px; }
.form-feedback { font-size: 16px; line-height: 1.9; }
.site-footer > div { gap: 28px; font-size: 15px; flex-wrap: wrap; }
.site-footer > span { font-size: 13px; white-space: nowrap; }
.demo-bar, .demo-bar button { font-size: 13px; }
.demo-bar { flex-wrap: wrap; gap: 18px 28px; }

@media (max-width: 1279px) {
  .section-heading { display: block; }
  .section-heading > p { margin-top: 26px; padding-top: 0; }
  .result-timeline strong { font-size: 68px; }
  .result-timeline strong span { display: block; margin: 0; font-size: 22px; }
  .work-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
  .step-diagram { margin-left: 0; }
  .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
  .service-row summary { gap: 18px; grid-template-columns: 38px minmax(0, 1fr) auto 22px; }
  .service-price { font-size: 36px; }
  .service-detail { padding-left: 60px; flex-direction: column; gap: 16px; }
  .publications { gap: 40px; }
  .book { grid-template-columns: 90px minmax(0, 1fr); gap: 22px; }
  .book img { width: 90px; height: 135px; }
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .site-header { gap: 24px; }
  .section-pad { padding-top: 80px; padding-bottom: 80px; }
  .result-main { display: block; }
  .main-number { justify-content: flex-end; margin-top: 36px; }
  .support-results { gap: 24px; }
  .support-results > div + div { padding-left: 24px; }
  .support-results strong { font-size: 44px; }
  .support-results strong span { display: block; margin: 8px 0 0; font-size: 20px; }
  .approach-intro { display: block; }
  .approach-intro h2 { font-size: 48px; }
  .approach-intro > div { margin-top: 34px; max-width: 660px; }
  .profile-grid { gap: 36px; align-items: start; }
  .profile-copy h2 { font-size: 48px; }
  .profile-copy .profile-lead { font-size: 24px; }
  .profile-copy .profile-lead br { display: none; }
  .notes-heading { display: block; }
  .notes-heading > div { flex-direction: row; align-items: center; flex-wrap: wrap; margin-top: 24px; padding-top: 0; }
  .article-list { gap: 36px; }
  .article h3 { font-size: 22px; }
  .featured h3 { font-size: 28px; }
  .article-art { aspect-ratio: 1.5; }
  .art-title { left: 24px; }
  .art-small { font-size: 12px; }
  .publications { grid-template-columns: 1fr; gap: 40px; }
  .book { grid-template-columns: 110px minmax(0, 1fr); gap: 28px; }
  .book img { width: 110px; height: 165px; }
  .faq { display: block; }
  .faq-list { margin-top: 36px; }
  .contact { display: block; }
  .contact-word { display: none; }
  .contact-form { margin-top: 48px; padding-top: 36px; border-top: 1px solid #f1f5e74a; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { gap: 14px; padding: 0 20px; }
  .brand { width: 110px; }
  .header-contact { font-size: 14px; min-width: 108px; gap: 14px; padding: 10px 12px; }
  .menu-toggle { flex-shrink: 0; }
  .mobile-nav a { font-size: 25px; }
  .mobile-nav a span { font-size: 18px; }
  .section-pad { padding-top: 64px; padding-bottom: 64px; }
  .section-pad .eyebrow { font-size: 12px; letter-spacing: .09em; }
  .section-top { gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
  .section-top > span { font-size: 12px; }
  .section-heading h2 { font-size: clamp(32px, 8.5vw, 40px); line-height: 1.65; }
  .section-heading > p { font-size: 16px; line-height: 1.95; margin-top: 24px; }
  .section-heading > p br { display: none; }
  .section-pad .text-link { font-size: 15px; gap: 18px; }
  .section-pad .circle-arrow { width: 40px; height: 40px; font-size: 20px; }
  .services .nowrap { white-space: normal; }

  .result-main h2 { font-size: clamp(32px, 8.5vw, 40px); line-height: 1.65; }
  .result-main p { font-size: 14px; margin-top: 20px; }
  .main-number { margin-top: 34px; gap: 20px; padding-right: 0; }
  .result-two { font-size: clamp(150px, 43vw, 200px); }
  .result-unit { font-size: 44px; }
  .result-unit > span { font-size: 21px; margin-top: 12px; }
  .result-timeline { gap: 16px; }
  .result-timeline p { font-size: 14px; line-height: 1.7; }
  .result-timeline strong { font-size: 50px; margin-top: 14px; }
  .result-timeline strong span { font-size: 15px; margin-top: 10px; line-height: 1.6; }
  .support-results > div { display: block; padding: 28px 0; }
  .support-results > div + div { padding-left: 0; }
  .support-results strong { font-size: 48px; }
  .support-results strong span { display: inline; font-size: 21px; margin-left: 8px; }
  .support-results p { font-size: 16px; margin-top: 14px; line-height: 1.95; }
  .industries { font-size: 14px; }
  .industries p { font-size: 16px; line-height: 1.95; margin-top: 12px; }

  .approach-intro h2 { font-size: clamp(32px, 8.1vw, 38px); line-height: 1.65; }
  .approach-intro > div { margin-top: 28px; }
  .approach-intro > div p { font-size: 16px; line-height: 2; }
  .work-steps { gap: 34px 24px; margin-top: 42px; }
  .step-number { font-size: 26px; }
  .step-diagram { margin: 0 auto 12px; }
  .work-steps h3 { font-size: 18px; line-height: 1.75; letter-spacing: 0; }
  .work-steps p { font-size: 16px; line-height: 1.95; }
  .approach-foot { font-size: 24px; line-height: 1.85; letter-spacing: 0; }

  .service-group > h3 { font-size: 14px; gap: 14px; }
  .service-group > h3 > span { font-size: 18px; }
  .service-row summary { grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 12px; padding: 26px 0; }
  .service-num { font-size: 28px; }
  .service-title { font-size: 18px; line-height: 1.75; }
  .service-title small { font-size: 14px; line-height: 1.7; margin-top: 8px; }
  .service-price { font-size: 34px; margin-top: 5px; line-height: 1.5; }
  .service-price > span { font-size: 16px; margin-left: 6px; }
  .service-price > small { font-size: 14px; margin-right: 8px; }
  .service-detail { padding: 0 0 28px 40px; font-size: 16px; gap: 16px; }
  .service-detail a { font-size: 15px; }

  .portrait-caption { font-size: 12px; left: 18px; letter-spacing: .05em; }
  .profile-copy { margin-top: 36px; }
  .profile-copy > .eyebrow { font-size: 13px; }
  .profile-copy h2 { font-size: 40px; }
  .profile-copy h2 > span { font-size: 24px; }
  .profile-copy .profile-lead { font-size: 24px; }
  .profile-copy > p:not(.profile-lead):not(.eyebrow) { font-size: 16px; line-height: 2; }
  .brand-thought { gap: 20px; }
  .brand-thought p { font-size: 16px; line-height: 1.95; }
  .brand-thought p br { display: none; }

  .notes-heading h2 { font-size: clamp(32px, 8.5vw, 40px); line-height: 1.65; }
  .notes-heading > div { gap: 20px; }
  .small-link { font-size: 14px; }
  .article-art { aspect-ratio: 1.7; padding: 22px; }
  .art-small { font-size: 12px; letter-spacing: .1em; }
  .art-title { font-size: clamp(32px, 9vw, 42px); left: 24px; top: 25%; }
  .article-meta { font-size: 13px; }
  .article-meta i { font-size: 12px; margin-left: 14px; }
  .article h3 { font-size: 20px; line-height: 1.8; }
  .featured h3 { font-size: 28px; }
  .book { grid-template-columns: 90px minmax(0, 1fr); gap: 22px; }
  .book img { width: 90px; height: 135px; }
  .book .eyebrow { font-size: 12px; }
  .book h3 { font-size: 21px; line-height: 1.7; }
  .book p:not(.eyebrow) { font-size: 16px; line-height: 1.95; }
  .book a { font-size: 14px; }
  .podcasts p { font-size: 16px; line-height: 1.95; }
  .podcasts a { font-size: 15px; margin-top: 14px; }

  .process-steps { display: block; }
  .process-steps li { grid-template-columns: 52px minmax(0, 1fr); gap: 10px 18px; padding: 26px 0; }
  .process-steps li > span { font-size: 34px; }
  .process-steps li.contract > span { font-size: 12px; }
  .process-steps h3 { font-size: 19px; line-height: 1.75; }
  .process-steps p { font-size: 16px; line-height: 1.95; }
  .faq h2 { font-size: 32px; }
  .faq summary { font-size: 17px; line-height: 1.85; padding: 24px 0; }
  .faq details > p { font-size: 16px; line-height: 1.95; padding-right: 0; }

  .contact-intro h2 { font-size: clamp(32px, 8.5vw, 40px); line-height: 1.65; }
  .contact-intro > p:not(.eyebrow) { font-size: 16px; line-height: 2; }
  .contact-form { padding-top: 30px; }
  .contact-form h3 { font-size: 24px; }
  .form-note { font-size: 14px; line-height: 1.9; }
  .contact-form label { font-size: 15px; }
  .contact-form label > span { font-size: 12px; margin-left: 8px; }
  .contact-form input:not([type=file]), .contact-form textarea { font-size: 16px; }
  .contact-form input::placeholder, .contact-form textarea::placeholder { font-size: 16px; }
  .file-label input { font-size: 13px; }
  .file-label small { font-size: 12px; line-height: 1.9; }
  .file-label input::file-selector-button { font-size: 13px; }
  .form-submit { font-size: 16px; min-height: 62px; }
  .form-feedback { font-size: 15px; }
  .site-footer > div { font-size: 14px; gap: 18px 24px; }
  .site-footer > span { font-size: 12px; }
  .demo-bar, .demo-bar button { font-size: 12px; }
}

@media (max-width: 480px) {
  .work-steps { grid-template-columns: minmax(0, 1fr); }
  .work-steps article { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px 16px; }
  .step-number { grid-column: 1; grid-row: 1; }
  .step-diagram { grid-column: 2; grid-row: 1; margin-left: 0; }
  .work-steps h3, .work-steps p { grid-column: 2; }
  .work-steps h3 { margin-bottom: 0; }
  .book { grid-template-columns: 74px minmax(0, 1fr); gap: 18px; }
  .book img { width: 74px; height: 111px; }
  .book h3 { font-size: 20px; }
  .book h3 br { display: none; }
  .form-pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (max-width: 360px) {
  .site-header { padding: 0 15px; gap: 10px; }
  .brand { width: 98px; }
  .header-contact { min-width: 102px; padding-left: 10px; padding-right: 10px; gap: 10px; }
  .section-top { gap: 8px 14px; }
  .main-number { gap: 18px; }
  .result-unit { font-size: 40px; }
  .result-timeline { gap: 12px; }
  .result-timeline strong { font-size: 44px; }
  .result-timeline strong span { font-size: 14px; }
  .service-price { font-size: 31px; }
  .service-price > small { display: block; margin-bottom: 2px; }
  .portrait-caption { font-size: 12px; letter-spacing: 0; }
  .art-title { left: 22px; }
}

/* note記事の見出し画像(note.comのアイキャッチをそのまま出す) */
.article-art--photo { padding: 0; background: #e2e8dc; aspect-ratio: 1.91; }
.article-art--photo img { width: 100%; height: 100%; object-fit: cover; }

/* FAQとサービス一覧の開閉アニメーション(高さの動きは disclosure.js が付ける) */
.faq-list > details[open] > p,
details.service-row[open] > .service-detail { animation: disclosure-open .36s cubic-bezier(.22,.61,.36,1) both; }
.faq-list > details .plus:after,
details.service-row .plus:after { transition: transform .36s cubic-bezier(.22,.61,.36,1); }
@keyframes disclosure-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* スマホで指が当たる範囲を44px角まで広げる。見た目は変えず、透明な擬似要素で当たり判定だけ足す */
@media (max-width: 760px) {
  .header-contact, .menu-toggle, .hero-link, .story-chapters button, .story-scroll,
  .service-detail a, .text-link, .publications .book a, .podcasts a, .site-footer a { position: relative; }
  .header-contact::after, .menu-toggle::after, .hero-link::after, .story-chapters button::after,
  .story-scroll::after, .service-detail a::after, .text-link::after,
  .publications .book a::after, .podcasts a::after, .site-footer a::after {
    content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 100%; min-width: 44px; height: 100%; min-height: 44px;
  }
}
/* 縦に近接して並ぶリンクは当たり判定が隣と重なるので、実寸で間隔を取る */
@media (max-width: 760px) {
  .podcasts a { padding-block: 9px; }
  .site-footer > div > a { padding-block: 12px; }
}

/* 料金は画面に出さず「お見積もり」と置く。数字向けの大きな欧文書体のままだと浮くので、
   本文の書体に戻して小さく、押せば内容が開くことが分かる右端のラベルにする */
.service-price-quote,
.service-price-closed {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #5c705f;
  border: 1px solid #bac7b7;
  border-radius: 999px;
  padding: 7px 15px;
  line-height: 1;
  white-space: nowrap;
  transition: border-color .25s, color .25s;
}
.service-row summary:hover .service-price-quote { border-color: #7a9377; color: var(--ink); }
@media (max-width: 1100px) {
  .service-price-quote, .service-price-closed { font-size: 12px; padding: 6px 13px; }
}
@media (max-width: 760px) {
  .service-price-quote, .service-price-closed { font-size: 11px; padding: 6px 12px; margin-top: 9px; justify-self: start; }
}

/* 受付を止めている行は、字を読める濃さのまま面だけ引いて、開けば内容が読めるようにする */
.service-row-closed .service-title,
.service-row-closed .service-num { opacity: .72; }
.service-price-closed {
  color: #8a8578;
  border-color: #d2cec2;
  background: #0000000a;
}
.service-row-closed summary:hover .service-price-closed { border-color: #d2cec2; color: #8a8578; }

/* 本の一覧: 広い画面は3列。表紙を上、説明を下に積む */
@media (min-width: 981px) {
  .publications { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
  .book { display: flex; flex-direction: column; gap: 22px; }
  .book img { width: 140px; height: 210px; }
}

/* note節: 無料の記事と有料の本を分ける */
.notes-group { font-size: 15px; font-weight: 600; letter-spacing: .08em; color: var(--ink); margin: 0 0 28px; }
.notes-paid { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 44px; }
.notes-paid .publications { margin-top: 0; border-top: 0; padding-top: 0; }
@media (max-width: 760px) {
  .notes-group { font-size: 14px; margin-bottom: 22px; }
  .notes-paid { margin-top: 40px; padding-top: 32px; }
}
