/*
Theme Name: Arkhe Child
Theme URI: https://soleia.jp/
Template: arkhe
Version: 1.6.1
Description: Arkhe child theme for SOLEIA.
Author: SOLEIA
Text Domain: arkhe-child
License: GNU General Public License v3 or later
*/

@import 'tailwindcss';

:root {
  --ink: #202523;
  --paper: #f9f8f4;
  --white: #ffffff;
  --line: #d9ddd8;
  --accent: #496d5a;
  --accent-dark: #31503f;
  --soft: #edf1ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.9;
  letter-spacing: .025em;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 860px; }
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(32,37,35,.12);
  background: rgba(249,248,244,.94);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 17px/1 sans-serif; letter-spacing: .18em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 12px; letter-spacing: 0; }
nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; }
.nav-cta { border-bottom: 1px solid var(--ink); padding: 5px 0; }
.hero { min-height: 700px; padding-block: clamp(110px, 16vw, 190px) 100px; }
.eyebrow, .section-index { color: var(--accent); font: 700 11px/1.4 sans-serif; letter-spacing: .18em; }
.hero h1 { margin: 26px 0 24px; font-size: clamp(48px, 8vw, 96px); line-height: 1.18; letter-spacing: -.045em; font-weight: 650; }
.hero-copy { max-width: 560px; margin: 0 0 42px; color: #535c57; font-size: clamp(14px, 1.8vw, 17px); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-width: 300px; padding: 17px 21px; background: var(--accent); color: white; font-size: 14px; font-weight: 700; transition: background .2s ease; }
.button:hover { background: var(--accent-dark); }
.section { padding-block: clamp(90px, 12vw, 150px); }
.section-muted { background: var(--soft); }
h2 { margin: 20px 0 52px; font-size: clamp(30px, 5vw, 50px); line-height: 1.4; letter-spacing: -.025em; }
.check-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cbd2cb; }
.check-list li { position: relative; padding: 23px 20px 23px 42px; border-bottom: 1px solid #cbd2cb; font-size: clamp(15px, 2.2vw, 18px); }
.check-list li::before { content: "✓"; position: absolute; left: 10px; color: var(--accent); font-weight: 700; }
.lead { max-width: 720px; margin: 42px 0 0; }
.split-copy { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.split-copy > p, .split-copy > div > p { margin-top: 0; }
.layer-list { border-top: 1px solid var(--line); }
.layer-list > div { display: grid; grid-template-columns: 40px 110px 1fr; gap: 12px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.layer-list span, .service-list span { color: var(--accent); font-size: 11px; font-weight: 700; }
.layer-list p { margin: 0; color: #66706b; font-size: 13px; }
.placeholder { min-height: 250px; display: grid; place-content: center; justify-items: center; padding: 30px; border: 1px solid #cbd0ca; background: #e7e9e5; color: #69716d; text-align: center; }
.placeholder span { font: 700 10px/1 sans-serif; letter-spacing: .22em; }
.placeholder p { max-width: 520px; margin: 13px 0 0; font-size: 12px; line-height: 1.6; }
.wide-placeholder { max-width: 820px; min-height: 340px; margin: 76px auto 0; }
.section-figure { margin: 0; background: var(--white); }
.section-figure img { display: block; width: 100%; max-width: 100%; height: auto; }
.section-figure-layers { max-width: 820px; margin: 76px auto 0; }
.closing-copy { max-width: 760px; margin: 50px auto 0; font-weight: 650; text-align: center; }
.case-section { background: var(--ink); color: var(--paper); }
.case-section .section-index { color: #9fbea9; }
.case-section .lead { color: #c9cfcb; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 75px 0 90px; border-block: 1px solid #515654; }
.metrics > div { padding: 45px 30px; border-right: 1px solid #515654; }
.metrics > div:last-child { border-right: 0; }
.metrics strong { display: block; color: white; font: 600 clamp(54px, 7vw, 90px)/1 sans-serif; letter-spacing: -.06em; }
.metrics small { margin-left: 8px; font-size: .28em; letter-spacing: 0; }
.metrics p { margin: 16px 0 0; color: #aeb6b1; font-size: 12px; line-height: 1.6; }
.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.case-body > div:first-child p { margin: 0 0 28px; color: #d7dbd8; }
.case-images { display: grid; gap: 18px; }
.case-images figure { margin: 0; background: white; }
.case-images img { display: block; width: 100%; max-width: 100%; height: auto; }
.case-section .placeholder { min-height: 220px; border-color: #555b57; background: #303633; color: #aeb6b1; }
.article-link { margin: 76px 0 0; padding-top: 32px; border-top: 1px solid #515654; color: #aeb6b1; }
.article-link a { display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; color: white; font-weight: 700; }
.cta { margin-block: 80px; padding: clamp(42px, 7vw, 80px); border: 1px solid var(--line); background: #f4f1e8; }
.cta h2 { margin-bottom: 24px; }
.cta p:not(.section-index) { margin: 0 0 34px; }
.cta-compact { margin-top: 80px; }
.service-list { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid #cbd2cb; }
.service-list > div { min-height: 225px; padding: 30px 26px; border-right: 1px solid #cbd2cb; }
.service-list > div:last-child { border-right: 0; }
.service-list h3 { margin: 24px 0 12px; font-size: 25px; }
.service-list p { color: #5e6762; font-size: 13px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 95px 1fr; padding: 28px 12px; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--accent); font: 700 13px/2 sans-serif; }
.process-list h3 { margin: 0 0 5px; font-size: 22px; }
.process-list p { margin: 0; color: #606965; }
.price-section { background: #f0efe9; }
.monitor { margin-bottom: 70px; padding: 34px 38px; border-left: 4px solid var(--accent); background: var(--white); }
.monitor > p:first-child { margin: 0; color: var(--accent); font: 700 10px/1 sans-serif; letter-spacing: .2em; }
.monitor h3 { margin: 16px 0 8px; font-size: 24px; }
.monitor > p:last-child { margin: 0; color: #626a66; font-size: 14px; }
.price-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.price-grid h3 { margin: 0 0 18px; font-size: 20px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 18px 12px; border-block: 1px solid #c9ccc7; text-align: left; vertical-align: top; }
th { width: 35%; font-weight: 600; }
td { text-align: right; }
td small { display: block; margin-top: 3px; color: #69716d; font-size: 11px; }
.note { margin-top: 36px; color: #69716d; font-size: 12px; }
.works-section { background: #f7f5ef; }
.works-block + .works-block { margin-top: clamp(100px, 14vw, 170px); padding-top: clamp(80px, 10vw, 120px); border-top: 1px solid var(--line); }
.works-block h2 { margin-bottom: 30px; }
.works-block > h3 { max-width: 800px; margin: 18px 0 38px; font-size: clamp(29px, 4.5vw, 46px); line-height: 1.4; letter-spacing: -.025em; }
.works-label { margin: 0; color: var(--accent); font: 700 10px/1.4 sans-serif; letter-spacing: .2em; }
.works-metrics { display: grid; grid-template-columns: repeat(2, 1fr); margin: 64px 0 60px; border-block: 1px solid var(--line); }
.works-metrics > div { padding: 42px 34px; border-right: 1px solid var(--line); }
.works-metrics > div:last-child { border-right: 0; }
.works-metrics strong { display: block; color: var(--accent-dark); font: 650 clamp(48px, 7vw, 78px)/1 sans-serif; letter-spacing: -.055em; }
.works-metrics small { margin-left: 8px; font-size: .27em; letter-spacing: 0; }
.works-metrics p { margin: 14px 0 0; color: #69716d; font-size: 12px; }
.works-table-wrap { width: 100%; overflow-x: auto; }
.works-table td { text-align: left; }
.works-closing { margin: 42px 0 0; padding: 30px 34px; border-left: 3px solid var(--accent); background: var(--white); font-weight: 600; }
.works-closing p { margin: 0 0 14px; }
.works-closing p:last-child { margin-bottom: 0; }
.content-work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.content-work-grid article { padding: 34px; border: 1px solid var(--line); background: var(--white); }
.content-work-grid h4 { margin: 0 0 20px; color: var(--accent-dark); font-size: 24px; }
.content-work-grid ul { margin: 22px 0 0; padding-left: 1.25em; }
.content-work-grid li { margin: 8px 0; }
.content-process { display: grid; grid-template-columns: repeat(5, 1fr); margin: 32px 0 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.content-process li { min-height: 116px; padding: 22px 18px; border-right: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.content-process li:last-child { border-right: 0; }
.content-process span { display: block; margin-bottom: 18px; color: var(--accent); font-size: 10px; }
.concepts-notice { max-width: 820px; margin: 0 0 64px; padding: 26px 30px; background: #e8ede7; }
.concept-featured { padding: clamp(32px, 5vw, 58px); background: var(--ink); color: var(--paper); }
.concept-heading span { color: #91b09d; font: 700 10px/1.4 sans-serif; letter-spacing: .18em; }
.concept-heading h4 { margin: 12px 0 5px; font-size: clamp(30px, 5vw, 52px); line-height: 1.2; }
.concept-heading p { margin: 0; color: #abb4af; }
.concept-meta { display: grid; gap: 8px; margin: 34px 0; }
.concept-meta p { margin: 0; }
.concept-meta strong { display: inline-block; min-width: 86px; margin-right: 12px; color: inherit; }
.concept-images { display: grid; gap: 18px; }
.concept-images-pair { grid-template-columns: repeat(2, 1fr); }
.concept-featured .placeholder { min-height: 320px; border-color: #555b57; background: #303633; color: #aeb6b1; }
.comparison-table { margin-top: 34px; background: var(--white); color: var(--ink); }
.comparison-table th, .comparison-table td { width: 50%; padding: 16px; text-align: left; }
.comparison-table thead th { background: #e7ece7; color: var(--accent-dark); }
.experience-note { margin: 36px 0 0; padding: 26px 0 0; border-top: 1px solid #515654; color: #d7dbd8; font-weight: 600; }
.concept-supporting { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 28px; }
.concept-supporting > article { padding: 30px; border: 1px solid var(--line); background: var(--white); }
.concept-supporting .concept-heading span { color: var(--accent); }
.concept-supporting .concept-heading h4 { font-size: clamp(23px, 3vw, 31px); }
.concept-supporting .placeholder { min-height: 240px; }
.concept-supporting .comparison-table { font-size: 12px; }
.concept-supporting .comparison-table th, .concept-supporting .comparison-table td { padding: 12px 10px; }
.bio-section { background: #e7ece7; }
.body-copy { font-size: 16px; }
.body-copy p { margin: 0 0 28px; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 42px max(24px, calc((100vw - 1120px) / 2)); border-top: 1px solid var(--line); font-size: 12px; color: #66706b; }
.site-footer div { display: flex; gap: 24px; }
.page-main { min-height: 70vh; padding-block: clamp(80px, 11vw, 140px); }
.page-title { margin: 18px 0 60px; font-size: clamp(52px, 8vw, 90px); line-height: 1.15; letter-spacing: -.05em; }
.post-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 88px); padding-block: 52px; border-block: 1px solid var(--line); }
.post-card-visual { min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; background: var(--ink); color: white; }
.post-card-visual span { color: #a8bcae; font: 700 10px/1 sans-serif; letter-spacing: .17em; }
.post-card-visual strong { font: 600 clamp(70px, 9vw, 112px)/1 sans-serif; letter-spacing: -.07em; }
.post-card-visual small { font-size: .23em; letter-spacing: 0; }
.post-card h2 { margin: 16px 0 22px; font-size: clamp(25px, 3.5vw, 38px); }
.post-card h2 a:hover, .text-link:hover { color: var(--accent); }
.post-meta { color: #6d7671; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.text-link { display: inline-block; margin-top: 20px; border-bottom: 1px solid currentColor; color: var(--accent-dark); font-weight: 700; }
.article-hero { padding-block: clamp(80px, 12vw, 140px); background: var(--soft); }
.article-shell { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.article-hero h1 { margin: 24px 0 26px; font-size: clamp(36px, 6vw, 63px); line-height: 1.35; letter-spacing: -.04em; }
.article-layout { padding-block: 72px 130px; }
.toc { margin-bottom: 90px; padding: 28px 32px; border: 1px solid var(--line); background: #f5f4ef; }
.toc > p { margin: 0 0 16px; font-weight: 700; }
.toc ol { margin: 0; padding-left: 22px; font-size: 13px; }
.toc li { margin: 5px 0; }
.toc a:hover { color: var(--accent); }
.article-body { font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; }
.article-body > h2 { margin: 100px 0 36px; padding-top: 12px; font-size: clamp(28px, 4.6vw, 42px); scroll-margin-top: 30px; }
.article-body > h3 { margin: 58px 0 22px; font-size: clamp(21px, 3.2vw, 28px); line-height: 1.5; }
.article-body > p { margin: 0 0 28px; }
.article-body > ul, .article-body > ol { margin: 0 0 32px; padding-left: 1.5em; }
.article-body > ul li, .article-body > ol li { margin: 7px 0; }
.article-body figure { width: calc(100% + 80px); margin: 50px 0 50px -40px; }
.article-body img { display: block; width: 100%; height: auto; background: white; }
.article-placeholder { min-height: 290px; margin: 44px 0; }
.article-body .article-figure { width: 100%; margin: 44px 0; }
.article-figure img { display: block; width: 100%; max-width: 100%; height: auto; }
.article-figure figcaption { margin-top: 14px; color: #5f6863; font-size: 12px; line-height: 1.8; }
.article-image-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-body pre { overflow-x: auto; margin: 30px 0; padding: 20px 22px; background: #262b29; color: white; font: 14px/1.7 ui-monospace, monospace; }
.article-table-wrap { overflow-x: auto; margin: 38px 0; }
.article-table-wrap th, .article-table-wrap td { min-width: 150px; text-align: left; }
.article-cta { margin: 60px 0; padding: 38px; border-left: 4px solid var(--accent); background: #edf1ec; }
.article-cta p { margin: 0 0 24px; }
.article-cta .button { min-width: 0; }
.self-check { list-style: none; padding-left: 0 !important; }
.self-check li::before { content: "□"; margin-right: 10px; color: var(--accent); }
.article-layout > article > .placeholder { margin-top: 70px; }
.contact-page { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 120px); align-items: start; }
.contact-page .page-title { margin-bottom: 34px; }
.page-intro > p:not(.section-index) { color: #59625e; }
.contact-form-wrap { padding: 42px; background: white; border: 1px solid var(--line); }
.contact-form-wrap .wpcf7-form { display: grid; gap: 30px; }
.contact-form-wrap .wpcf7-form > p { margin: 0; }
.contact-form-wrap label { display: grid; gap: 9px; font-weight: 700; }
.contact-form-wrap label > span { font-size: 13px; }
.contact-form-wrap em { margin-left: 5px; padding: 3px 6px; background: #e2e9e2; color: var(--accent-dark); font-size: 10px; font-style: normal; }
.contact-form-wrap small { margin-left: 5px; color: #79807c; font-weight: 400; }
input, textarea { width: 100%; border: 1px solid #bcc3bd; border-radius: 0; background: #fbfbf9; padding: 14px; color: var(--ink); font: inherit; }
input:focus, textarea:focus { outline: 2px solid #8eab98; outline-offset: 1px; }
.consent { display: flex !important; grid-template-columns: 20px 1fr; align-items: center; gap: 10px !important; font-weight: 400 !important; }
.consent input { width: 18px; height: 18px; }
.consent a { border-bottom: 1px solid currentColor; }
.form-button { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.form-button:disabled { opacity: .65; cursor: wait; }
.thanks { max-width: 760px; padding-block: 150px; }
.thanks h1 { margin: 24px 0; font-size: clamp(35px, 6vw, 60px); line-height: 1.3; }
.thanks p { margin-bottom: 40px; }
.legal > h2 { margin: 70px 0 22px; font-size: 28px; }
.legal > p { margin: 0 0 24px; }
.policy-info { margin-top: 60px !important; padding-top: 24px; border-top: 1px solid var(--line); color: #626a66; font-size: 13px; }

@media (max-width: 600px) {
  .shell { width: min(100% - 32px, 1120px); }
  .site-header { height: 70px; padding-inline: 16px; }
  nav { gap: 16px; }
  nav > a:not(.nav-cta) { display: none; }
  .hero { min-height: 590px; padding-top: 100px; }
  .hero h1 { font-size: clamp(43px, 13.2vw, 58px); }
  .button { width: 100%; min-width: 0; }
  h2 { margin-bottom: 36px; }
  .check-list li { padding-left: 35px; }
  .desktop-only { display: none; }
  .split-copy, .case-body, .price-grid { grid-template-columns: 1fr; gap: 42px; }
  .layer-list > div { grid-template-columns: 32px 92px 1fr; }
  .wide-placeholder { min-height: 230px; margin-top: 50px; }
  .section-figure-layers { margin-top: 50px; }
  .closing-copy { text-align: left; }
  .metrics { grid-template-columns: 1fr; margin: 52px 0 62px; }
  .metrics > div { padding: 30px 10px; border-right: 0; border-bottom: 1px solid #515654; }
  .metrics > div:last-child { border-bottom: 0; }
  .metrics strong { font-size: 64px; }
  .article-link a { display: block; }
  .cta { margin-block: 48px; padding: 34px 24px; }
  .service-list { grid-template-columns: 1fr 1fr; }
  .service-list > div { min-height: 190px; border-bottom: 1px solid #cbd2cb; }
  .service-list > div:nth-child(2) { border-right: 0; }
  .service-list > div:nth-last-child(-n+2) { border-bottom: 0; }
  .process-list li { grid-template-columns: 54px 1fr; padding-inline: 0; }
  .monitor { padding: 28px 24px; }
  .works-metrics, .content-work-grid, .concept-images-pair, .concept-supporting { grid-template-columns: 1fr; }
  .works-metrics > div { padding: 30px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .works-metrics > div:last-child { border-bottom: 0; }
  .works-metrics strong { font-size: 52px; }
  .works-closing, .content-work-grid article, .concept-supporting > article { padding: 24px 20px; }
  .content-process { grid-template-columns: 1fr 1fr; }
  .content-process li { min-height: 100px; border-bottom: 1px solid var(--line); }
  .content-process li:nth-child(2n) { border-right: 0; }
  .content-process li:last-child { border-bottom: 0; }
  .concepts-notice { padding: 22px 20px; }
  .concept-featured { padding: 30px 20px; }
  .concept-meta strong { display: block; margin-bottom: 2px; }
  .concept-featured .placeholder { min-height: 220px; }
  .comparison-table th, .comparison-table td { padding: 12px 9px; font-size: 11px; }
  .experience-note br { display: none; }
  .site-footer { flex-direction: column; }
  .site-footer div { flex-direction: column; gap: 8px; }
  .page-title { margin-bottom: 42px; }
  .post-card, .contact-page { grid-template-columns: 1fr; }
  .post-card-visual { min-height: 230px; }
  .article-shell { width: min(100% - 32px, 760px); }
  .article-hero { padding-block: 70px 80px; }
  .article-body > h2 { margin-top: 75px; }
  .article-body figure { width: 100%; margin-inline: 0; }
  .article-image-scroll img { width: 960px; max-width: none; }
  .article-cta { padding: 28px 22px; }
  .contact-form-wrap { padding: 28px 20px; }
}

/* WordPress / Arkhe integration */
body.soleia-site { overflow-x: clip; }
body.soleia-site .l-content { max-width: none; padding: 0; margin: 0; }
body.soleia-site .l-mainContent { width: 100%; max-width: none; }
body.soleia-site .p-breadcrumb, body.soleia-site .c-pageTitle { display: none; }
.admin-bar .site-header { top: 32px; }
.site-header { position: sticky; top: 0; z-index: 50; }
.soleia-content { min-height: 70vh; }
.soleia-content.alignwide { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.article-body .wp-block-image img { width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { position: relative; top: 0; } }
