
/* 試作：白を地にしたトップページ。色は現行トークンを踏襲し、面の色分けは「相談」区画の1か所だけにする */
:root {
  --ink: #16323a;
  --muted: #56676b;
  --line: #e3e8e9;
  --link: #0f6f7e;          /* 現行 --accent を白地の小さい文字でも読める濃さに */
  --dot: #e8643b;           /* Clear ロゴの点。強調は点だけに使う */
  --tint: #f5f7f7;          /* 唯一の面色：相談区画 */
  --gutter: 24px;
  --max: 1120px;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.8; -webkit-text-size-adjust: 100%; font-feature-settings: "palt"; letter-spacing: .02em; }
img { max-width: 100%; display: block; }
a { color: var(--link); }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

/* ボタン：主＝塗り、副＝線。どの区画でも同じ2種類だけ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; letter-spacing: .04em; border: 1.5px solid var(--ink); cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #0d2329; }
.btn-ghost { background: #fff; color: var(--ink); }
.btn-ghost:hover { background: var(--tint); }
.more { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand img { width: 112px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 14px; }
.header-nav a:not(.btn):hover { color: var(--link); }
.header-nav .btn { min-height: 40px; padding: 6px 18px; font-size: 14px; }
@media (max-width: 767px) { .header-nav a:not(.btn) { display: none; } }

/* ヒーロー：文字は無地の白の上だけに置き、絵は下に「一枚の絵」として独立させる */
.hero { padding: 56px 0 0; }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(31px, 8.4vw, 60px); line-height: 1.38; letter-spacing: .01em; }
.hero h1 .s { display: block; }
.hero h1 .s + .s { margin-top: .22em; }
.hero h1 .l { display: block; }
.hero .lead { margin: 22px 0 0; font-size: clamp(16px, 4.2vw, 19px); color: var(--muted); line-height: 1.8; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { margin: 48px 0 0; }
.hero-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 78% 60%; }
@media (min-width: 960px) {
  /* PC：1文を1行に。読点で折らず、2文を同じ左端・同じ大きさで積む */
  .hero { padding-top: 104px; }
  .hero h1 { font-size: min(4.7vw, 60px); line-height: 1.32; }
  .hero h1 .l { display: inline; }
  .hero h1 .s + .s { margin-top: .12em; }
  .hero .lead { margin-top: 28px; }
  .hero .cta { margin-top: 36px; }
  .hero-art { margin-top: 72px; }
  .hero-art img { aspect-ratio: 2.4 / 1; border-radius: 20px; object-position: 50% 62%; }
}
@media (max-width: 959px) { .hero-art.wrap { padding: 0; } }

/* 区画の共通 */
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 36px; }
.sec-head h2 { margin: 0; font-size: clamp(25px, 6.4vw, 38px); line-height: 1.4; font-weight: 700; }
.sec-head p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 767px) { .section { padding: 64px 0; } .sec-head { margin-bottom: 28px; } }

/* 任せられる仕事：用途ごとの棚。スマホは横に送る棚、PCは3列 */
.shelf + .shelf { margin-top: 56px; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; }
.shelf-head h3 { margin: 0; font-size: clamp(19px, 5vw, 22px); line-height: 1.5; }
.shelf-note { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card a { display: block; color: var(--ink); text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); transition: transform .25s ease; }
.card a:hover img { transform: translateY(-3px); }
.card a:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.card .t { display: block; margin-top: 12px; font-weight: 700; font-size: 17px; line-height: 1.5; }
.card .d { display: block; margin-top: 4px; font-size: 14px; line-height: 1.65; }
.card .m { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.shelf-foot { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.all { margin-top: 48px; }
@media (max-width: 767px) {
  .cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 74%; scroll-snap-align: start; }
}

/* 事業：2つを同じ形で並べる。色面で分けず、ロゴで見分ける */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service { border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; }
.service-brand { display: flex; align-items: center; gap: 16px; }
.service-brand img { width: 64px; height: 64px; object-fit: contain; }
.service-brand p { margin: 0; font-size: 13px; color: var(--muted); }
.service-brand h3 { margin: 0; font-size: 26px; line-height: 1.3; }
.service-brand h3 .dot { color: var(--dot); }
.service-one { margin: 24px 0 28px; font-size: 17px; line-height: 1.85; flex: 1; }
.service-links { display: flex; flex-direction: column; gap: 10px; }
.service-links a { font-size: 15px; text-decoration: none; font-weight: 700; }
.service-links a + a { font-weight: 500; }
.service-links a:hover { text-decoration: underline; }
@media (max-width: 767px) { .services { grid-template-columns: 1fr; gap: 16px; } .service { padding: 26px 22px; } }

/* 代表の話：動画と漫画を、同じ大きさの2枚で */
.origins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.origin .media { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--tint); border: 1px solid var(--line); }
.origin .media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .3s ease; }
.origin .media:hover img { transform: scale(1.02); }
.origin .play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 14px; font-weight: 700; }
.origin .play::before { content: ""; width: 0; height: 0; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.origin h3 { margin: 18px 0 4px; font-size: 20px; line-height: 1.5; }
.origin p { margin: 0; font-size: 15px; color: var(--muted); }
.origin .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; }
@media (max-width: 767px) { .origins { grid-template-columns: 1fr; gap: 40px; } }

/* 会社概要 */
.company { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; }
.company .sec-head { margin: 0; }
.company dl { margin: 0; }
.company dl div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company dl div:first-child { border-top: 1px solid var(--line); }
.company dt { color: var(--muted); font-size: 14px; }
.company dd { margin: 0; font-size: 15px; }
.company small { color: var(--muted); }
@media (max-width: 767px) { .company { grid-template-columns: 1fr; } .company dl div { grid-template-columns: 5.5em 1fr; gap: 12px; } }

/* 相談：ページで唯一の面色。ここが「行動する場所」だと分かるように */
.contact { background: var(--tint); border-top: 0 !important; }
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.contact h2 { margin: 0; font-size: clamp(25px, 6.4vw, 38px); line-height: 1.45; }
.contact-info > p { margin: 16px 0 0; }
.contact .phone { display: inline-block; margin-top: 28px; font-size: 26px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: .04em; }
.contact .note { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.contact .email { display: inline-block; margin-top: 14px; font-size: 15px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: #fff; border-radius: 20px; padding: 32px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.form .wide { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cfd8da; border-radius: 10px; padding: 11px 12px; min-height: 48px; width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--link); outline-offset: 0; border-color: transparent; }
.required { margin-left: 6px; font-size: 11px; color: var(--dot); font-weight: 700; }
.form .fine { margin: 0; font-size: 13px; font-weight: 400; color: var(--muted); }
.form .btn { width: 100%; }
#form-status:empty { display: none; }
@media (max-width: 767px) { .contact-layout { grid-template-columns: 1fr; gap: 36px; } .form { grid-template-columns: 1fr; padding: 22px 18px; } }

/* フッター */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* Local hero typography proposal only. Uses the existing brand colors and Mincho. */
.home .hero-art, .home .hero-wash { display: none; }
.home .hero { background: var(--cream); }
.home .hero-inner { min-height: 0; padding: 184px 0 88px; display: block; }
.home .hero-copy { width: 100%; max-width: none; }
.home .hero h1.ht-copy { margin: 0 0 25px; max-width: none; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-wrap: initial; }
.home .hero h1.ht-copy .ht-main { display: block; font-size: clamp(40px, 4.4vw, 56px); font-weight: 600; line-height: 1.4; letter-spacing: -.018em; }
.home .hero h1.ht-copy .ht-sub { display: block; margin-top: 18px; font-size: 30px; font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.home .hero h1.ht-copy .ht-chunk { display: inline-block; white-space: nowrap; }
.home .hero .lead { margin: 0; max-width: 42em; font-size: 15px; line-height: 1.9; letter-spacing: 0; color: var(--muted); }
.ht-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 27px; }
.ht-actions .button { min-height: 46px; padding: 10px 19px; border-radius: 2px; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.ht-contact { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 767px) {
  .home .hero-inner { padding: 121px 0 54px; }
  .home .hero h1.ht-copy { margin-bottom: 22px; }
  .home .hero h1.ht-copy .ht-main { font-size: clamp(27px, 8.6vw, 34px); line-height: 1.45; letter-spacing: -.018em; }
  .home .hero h1.ht-copy .ht-sub { margin-top: 17px; font-size: clamp(22px, 5.9vw, 24px); line-height: 1.55; letter-spacing: 0; }
  .home .hero .lead { font-size: 13px; line-height: 1.9; max-width: 25em; }
  .ht-actions { gap: 23px; margin-top: 25px; }
  .ht-actions .button { min-height: 44px; padding: 10px 16px; font-size: 13px; }
  .ht-contact { font-size: 13px; }
}


/* C: A typography, B page. Only the header/hero alignment and video removal adapt the join. */
.home .hero {padding:0;background:#fff;}
.home .hero .hero-inner {width:100%;padding:104px var(--gutter) 88px;}
.home .hero h1.ht-copy {font-family:"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Serif",serif;font-feature-settings:normal;}
.home .hero .hero-copy {letter-spacing:0;}
.home .hero .button {display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ink);background:var(--ink);color:#fff;text-decoration:none;line-height:1.6;}
.home .hero .ht-contact {color:var(--ink);}

@media(max-width:767px){:root{--gutter:20px}.home .hero .hero-inner{padding:56px var(--gutter) 54px;}}


#founder-video-play img{height:auto;aspect-ratio:16/10;object-fit:contain}.video-embed{width:100%;aspect-ratio:16/9;border:0;display:block;border-radius:16px;background:#111}
