@charset "UTF-8";

/* トップと下層に共通する導線。既存の色・書体の変数を利用します。 */
[hidden] { display: none !important; }
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px 30px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; }
.service-more { display: flex; justify-content: space-between; align-items: center; border-block: 1px solid var(--line); padding-block: 16px; margin-top: 21px; font-size: 14px; }
.service-more span { font: 20px var(--english); transition: transform .2s; }
.service-more:hover span { transform: translate(3px, -3px); }
.news-heading .text-link { font-size: 13px; gap: 26px; }

/* 下層ページの共通タイトル・導入。 */
.page-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; padding-block: 68px 76px; }
.page-heading h1 { overflow-wrap: anywhere; font: 500 50px/1.65 var(--serif); letter-spacing: .1em; margin-top: 0; }
.page-intro { font-size: 16px; line-height: 2.2; color: var(--muted); padding-bottom: 7px; }
.page-visual { margin-inline: 24px; height: 320px; position: relative; overflow: hidden; background: var(--navy); }
.page-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.page-visual::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #102d4066); }
.page-visual > span { position: absolute; z-index: 1; bottom: 25px; left: max(40px, calc((100vw - 1248px)/2)); color: white; font: 12px var(--english); letter-spacing: .16em; }
.tone-section { background: var(--mist); }
.outline-button, .solid-button { display: inline-flex; justify-content: center; align-items: center; gap: 35px; min-height: 60px; padding: 16px 28px; font: 16px/1.8 var(--sans); letter-spacing: .03em; border: 1px solid var(--navy); background: transparent; color: var(--navy); }
.solid-button { background: var(--navy); color: #fff; }
.outline-button:hover { background: var(--mist); }
.solid-button:hover:not(:disabled) { background: #25516c; }
.outline-button > span, .solid-button > span { font-size: 19px; }
.solid-button:disabled { background: #e2e7e8; border-color: #e2e7e8; color: #4f5e68; cursor: not-allowed; }
.related-link { display: flex; justify-content: space-between; align-items: center; gap: 45px; padding-block: 68px; }
.related-link h2 { font-size: 33px; margin-top: 15px; }
.related-link p:last-child { font-size: 16px; color: var(--muted); margin-top: 9px; }

/* 事業案内：写真と説明、具体的な対応内容。 */
.service-section + .service-section { border-top: 1px solid var(--line); }
.detail-heading { margin-bottom: 38px; }
.detail-heading h2 { margin-top: 14px; }
.service-story { display: grid; grid-template-columns: 1.12fr 1fr; gap: 70px; align-items: center; }
.service-story figure { margin: 0; }
.service-story img { width: 100%; aspect-ratio: 1.33; object-fit: cover; }
#sales .service-story img { object-position: 77% center; }
.service-story figcaption { font-size: 12px; text-align: right; color: var(--muted); margin-top: 9px; }
.service-story-copy h3 { font: 500 33px/1.9 var(--serif); letter-spacing: .07em; margin-bottom: 22px; }
.service-story-copy > p { font-size: 16px; line-height: 2.25; color: var(--muted); }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 50px; }
.spec-grid > div { border-top: 1px solid var(--line); padding-top: 20px; }
.spec-grid span { font: 14px var(--english); color: #587386; }
.spec-grid h3 { font: 500 23px/1.8 var(--serif); margin-top: 10px; }
.spec-grid p { font-size: 16px; line-height: 2; color: var(--muted); margin-top: 10px; }
.consultation-note { display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding: 25px 30px; margin-top: 35px; background: var(--mist); }
.consultation-note h3 { font-size: 16px; font-weight: 500; }
.consultation-note p { font-size: 16px; color: var(--muted); line-height: 2; }

/* ご依頼の流れ */
.process-section { padding-top: 10px; }
.process-list { list-style: none; max-width: 960px; margin-inline: auto; }
.process-list li { display: grid; grid-template-columns: 145px 1fr; gap: 40px; border-top: 1px solid var(--line); padding-block: 42px 50px; }
.process-number { font: 300 68px/1.2 var(--english); color: #587386; }
.process-number > span { display: block; font: 13px var(--english); letter-spacing: .15em; margin-bottom: 10px; color: var(--navy); }
.process-copy h2 { font-size: 33px; }
.process-copy h3 { margin-top: 18px; font-size: 18px; }
.process-copy > p { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 2.2; }
.process-note { border-left: 2px solid #cad4d8; padding: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 14px; }

/* 会社情報 */
.company-message { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; }
.company-message h2 { font-size: 42px; margin-top: 25px; }
.prose p { font-size: 16px; line-height: 2.3; color: var(--muted); margin-bottom: 22px; }
.prose .lead-serif { font: 500 26px/1.9 var(--serif); color: var(--ink); }
.prose .company-sign { margin-top: 32px; color: var(--ink); }
.company-sign span { display: inline-block; font-size: 18px; margin-top: 5px; }
.access-note { border-top: 1px solid var(--line); margin-top: 45px; padding-top: 25px; display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 16px; line-height: 2; }

/* お知らせ一覧・記事詳細 */
.archive-section { padding-top: 5px; min-height: 340px; }
.archive-label { display: flex; justify-content: flex-end; color: var(--muted); font: 13px var(--english); letter-spacing: .08em; margin-bottom: 20px; }
.news-entry { display: grid; grid-template-columns: 100px 90px 1fr 40px; gap: 30px; align-items: center; padding: 32px 5px; border-block: 1px solid var(--line); }
.news-entry time, .article-meta time { font: 16px var(--english); color: var(--muted); }
.news-entry h2 { font: 500 20px/1.8 var(--sans); letter-spacing: .02em; }
.news-entry .news-category { justify-self: start; }
.news-entry:hover .round-arrow { transform: translate(3px, -3px); }
.article-layout { max-width: 860px; padding-top: 10px; }
.article-meta { display: flex; align-items: center; gap: 20px; }
.article-title { font: 500 35px/1.8 var(--serif); letter-spacing: .04em; margin-top: 22px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.article-body { font-size: 17px; line-height: 2.4; padding-block: 45px 75px; }
.article-section-label { margin-top: 0; font: 500 36px var(--serif); }

/* お問い合わせ：静的プレビュー。送信先はWordPress化時に接続。 */
.contact-page-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 100px; padding-top: 15px; align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header) + 35px); }
.contact-aside h2 { font-size: 32px; margin-top: 20px; }
.contact-aside > p { font-size: 16px; color: var(--muted); line-height: 2.2; margin-top: 20px; }
.aside-phone { display: flex; flex-direction: column; margin-top: 30px; padding-block: 25px; border-block: 1px solid var(--line); }
.aside-phone span, .aside-phone small { font-size: 13px; color: var(--muted); }
.aside-phone a { font: 34px/1.5 var(--english); letter-spacing: .02em; color: var(--navy); padding-block: 8px; }
.form-notice { background: var(--mist); padding: 18px 22px; border-left: 2px solid #a8b9c4; font-size: 16px; line-height: 1.9; color: var(--muted); }
.form-progress { display: flex; list-style: none; margin-block: 32px; border-bottom: 1px solid var(--line); }
.form-progress li { width: 50%; padding: 15px 10px; color: #576975; text-align: center; font-size: 16px; }
.form-progress span { font: 14px var(--english); margin-right: 12px; }
.form-progress [aria-current="step"] { border-bottom: 2px solid var(--navy); color: var(--navy); }
#contact-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-row { margin-bottom: 25px; }
.form-row label { display: flex; align-items: center; gap: 12px; font-size: 16px; margin-bottom: 10px; }
.required, .optional { font-size: 12px; padding: 1px 7px; letter-spacing: .03em; }
.required { background: #e8eef1; color: var(--navy); }
.optional { border: 1px solid var(--line); color: var(--muted); }
.form-row input, .form-row select, .form-row textarea { display: block; width: 100%; min-height: 51px; border: 1px solid #cbd4d8; border-radius: 0; color: var(--ink); background: #fff; padding: 13px 16px; font: 17px/1.8 var(--sans); }
.form-row select { appearance: auto; }
.form-row textarea { resize: vertical; min-height: 170px; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #5b6c77; opacity: 1; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: 2px solid var(--navy); outline-offset: 2px; }
.form-row small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.form-policy { font-size: 14px; margin-block: 15px 28px; }
.form-policy a { text-decoration: underline; text-underline-offset: 4px; }
#contact-form .solid-button { width: 100%; }
.contact-review h2 { font-size: 30px; }
.contact-review > p { color: var(--muted); font-size: 16px; margin-block: 10px 25px; }
.contact-review dl { margin-bottom: 28px; }
.contact-review dl > div { padding-block: 18px; border-top: 1px solid var(--line); }
.contact-review dt { font-size: 14px; margin-bottom: 6px; }
.contact-review dd { font-size: 17px; white-space: pre-wrap; overflow-wrap: anywhere; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px; }
.form-actions button { gap: 12px; padding-inline: 14px; }

/* プライバシーポリシー */
.policy-content { max-width: 900px; padding-top: 10px; }
.policy-content > p { font-size: 16px; color: var(--muted); line-height: 2.3; margin-bottom: 35px; }
.policy-content section { border-top: 1px solid var(--line); padding-block: 30px; }
.policy-content h2 { font-size: 27px; margin-bottom: 17px; }
.policy-content section p, .policy-content li { color: var(--muted); font-size: 16px; line-height: 2.2; }
.policy-content ul, .policy-content ol { padding-left: 23px; margin-block: 13px; }
.policy-content section p + p { margin-top: 15px; }
.policy-content a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1199px) {
  .service-story { gap: 45px; }
  .service-story-copy h3 { font-size: 29px; }
  .contact-page-grid { grid-template-columns: 265px minmax(0, 1fr); gap: 60px; }
  .company-message { gap: 65px; }
}
@media (max-width: 959px) {
  .page-heading { gap: 30px; padding-block: 50px 58px; }
  .page-heading h1 { font-size: 41px; }
  .page-intro { font-size: 16px; }
  .page-visual { height: 270px; margin-inline: 16px; }
  .service-story { gap: 30px; }
  .service-story-copy h3 { font-size: 26px; }
  .service-story-copy > p { font-size: 16px; }
  .spec-grid { gap: 24px; }
  .spec-grid h3 { font-size: 21px; }
  .company-message { gap: 40px; }
  .company-message h2 { font-size: 34px; }
  .prose .lead-serif { font-size: 23px; }
  .contact-page-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 35px; }
  .contact-aside h2 { font-size: 28px; }
  .aside-phone a { font-size: 29px; }
  .form-actions { grid-template-columns: 1fr; }
  .related-link { gap: 30px; }
  .related-link .outline-button { padding-inline: 20px; gap: 20px; font-size: 14px; }
  .news-entry { gap: 20px; grid-template-columns: 90px 75px 1fr 35px; }
  .news-entry h2 { font-size: 17px; }
  .news-entry .round-arrow { width: 35px; height: 35px; }
}
@media (max-width: 639px) {
  .footer-nav { gap: 14px 22px; font-size: 13px; }
  .news-heading .text-link { margin-top: 18px; }
  .page-heading { grid-template-columns: 1fr; gap: 22px; padding-block: 38px 42px; }
  .page-heading h1 { font-size: clamp(31px, 8vw, 38px); letter-spacing: .04em; margin-top: 0; overflow-wrap: anywhere; }
  .page-intro { font-size: 16px; padding: 0; line-height: 2.1; }
  .page-intro:empty { display: none; }
  .page-visual { margin-inline: 10px; height: 210px; }
  .page-visual > span { left: 22px; bottom: 18px; font-size: 11px; }
  .detail-heading { margin-bottom: 26px; }
  .detail-heading h2 { font-size: 31px; margin-top: 12px; }
  .service-story { grid-template-columns: 1fr; gap: 26px; }
  .service-story img { aspect-ratio: 1.4; }
  .service-story-copy h3 { font-size: 30px; line-height: 1.75; margin-bottom: 17px; }
  .service-story-copy > p { font-size: 16px; line-height: 2.2; }
  .spec-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 35px; }
  .spec-grid > div { padding-top: 18px; }
  .spec-grid h3 { font-size: 23px; margin-top: 7px; }
  .spec-grid p { margin-top: 7px; }
  .consultation-note { grid-template-columns: 1fr; gap: 8px; padding: 20px; margin-top: 28px; }
  .consultation-note p { font-size: 14px; }
  .related-link { display: block; padding-block: 48px; }
  .related-link .outline-button { width: 100%; margin-top: 26px; justify-content: space-between; }
  .process-section { padding-top: 8px; }
  .process-list li { grid-template-columns: 45px minmax(0, 1fr); gap: 20px; padding-block: 28px 35px; }
  .process-number { font-size: 39px; }
  .process-number > span { font-size: 12px; margin-bottom: 7px; }
  .process-copy h2 { font-size: 27px; letter-spacing: .03em; }
  .process-copy h3 { font-size: 16px; line-height: 1.9; margin-top: 13px; }
  .process-copy > p { font-size: 16px; line-height: 2.1; margin-top: 11px; }
  .process-note { font-size: 13px; padding-inline: 13px; margin-top: 18px; }
  .company-message { grid-template-columns: 1fr; gap: 33px; }
  .company-message h2 { font-size: 35px; margin-top: 18px; }
  .prose p { font-size: 16px; }
  .prose .lead-serif { font-size: 25px; }
  .access-note { flex-direction: column; gap: 15px; margin-top: 28px; padding-top: 22px; font-size: 14px; }
  .archive-section { min-height: 260px; }
  .news-entry { grid-template-columns: auto 1fr 32px; gap: 16px; padding-block: 26px; }
  .news-entry h2 { grid-column: 1 / 3; grid-row: 2; font-size: 16px; }
  .news-entry > .round-arrow { grid-column: 3; grid-row: 1 / 3; width: 32px; height: 32px; }
  .news-entry time { font-size: 14px; }
  .article-title { font-size: 29px; line-height: 1.8; }
  .article-body { font-size: 16px; padding-block: 32px 50px; }
  .article-section-label { font-size: 31px; margin-top: 0; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 43px; padding-top: 5px; }
  .contact-aside { position: static; }
  .contact-aside h2 { font-size: 31px; }
  .contact-aside > p { margin-top: 14px; }
  .aside-phone { margin-top: 25px; padding-block: 20px; }
  .aside-phone a { font-size: 36px; }
  .preview-notice { padding: 15px 17px; font-size: 16px; }
  .form-progress { margin-block: 23px 27px; }
  .form-row { margin-bottom: 22px; }
  .form-row label { font-size: 16px; }
  .form-row input, .form-row select, .form-row textarea { font-size: 20px; padding: 12px; }
  .form-row textarea::placeholder { font-size: 16px; }
  .contact-review h2 { font-size: 28px; }
  .contact-review dd { font-size: 16px; }
  .policy-content h2 { font-size: 25px; }
  .policy-content > p, .policy-content section p, .policy-content li { font-size: 16px; }
}

/* 大きな文字でもフォームや記事の導線が収まるようにする。 */
.form-row input, .form-row select, .form-row textarea,
.form-row textarea::placeholder { font-size: 17px; }
.news-entry { grid-template-columns: 110px 110px minmax(0, 1fr) 40px; }
.news-entry h2 { overflow-wrap: anywhere; }
.form-policy, .contact-review dt { font-size: 14px; }
@media (max-width: 959px) {
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}
@media (max-width: 639px) {
  .news-entry { grid-template-columns: auto minmax(0, 1fr) 32px; }
  .outline-button, .solid-button { gap: 20px; padding-inline: 20px; }
}
