/*
Theme Name: ママリブ コーポレートサイト
Theme URI: https://mamareb.example.com/
Author: ママリブ
Author URI: https://mamareb.example.com/
Description: 子育て世帯の可能性を広げる会社「ママリブ（MAMARIVE）」のコーポレートサイト用WordPressテーマ。コミュニティ・教育・DX・メディア・BPO（オンライン秘書）・MEO(口コミAI)などの事業を紹介。白・ベージュ・くすみピンクを基調とした、温かく信頼感のあるエディトリアルデザイン。
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mamalive-corp
*/

/* =========================================================================
   ママリブ コーポレート — Design Tokens
   ブランドブック指定：白・ベージュ・くすみピンク・グレージュ／余白広め／
   温かく信頼できる社会性ブランド（情報商材風はNG）
   ========================================================================= */
:root {
  /* Base neutrals */
  --white:   #FFFFFF;
  --paper:   #FBF7F3;   /* 温かい紙の色（ページ背景） */
  --beige:   #F2EBE2;
  --beige-2: #EAE0D5;
  --greige:  #DCD2C6;

  /* Brand pink（くすみピンク #daa8b8 基調） */
  --pink:      #DAA8B8;
  --pink-soft: #EED7DF;
  --pink-tint: #F7ECF0;
  --rose:      #B06E85;  /* アクセント文字・下線 */
  --rose-deep: #935A70;
  --plum:      #6E4152;  /* 濃色アクセント */

  /* Ink / text */
  --ink:   #332E31;      /* 見出し・主ボタン */
  --ink-2: #2A2528;
  --text:  #55504F;
  --muted: #8C8480;
  --line:      rgba(110, 65, 82, 0.16);
  --line-soft: rgba(110, 65, 82, 0.09);

  /* Shadows（やわらかく浅め） */
  --sh-sm: 0 2px 12px rgba(74, 52, 44, 0.05);
  --sh-md: 0 16px 40px rgba(74, 52, 44, 0.08);
  --sh-lg: 0 30px 70px rgba(74, 52, 44, 0.12);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Type */
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --latin: "Cormorant Garamond", "Zen Old Mincho", serif;

  --container: 1180px;
  --container-narrow: 940px;
  --gutter: clamp(22px, 5vw, 48px);
}

/* =========================================================================
   Reset & base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 2;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--ink); line-height: 1.5; letter-spacing: .04em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
::selection { background: var(--pink-soft); }

/* =========================================================================
   Layout helpers
   ========================================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--beige { background: var(--beige); }
.section--tint  { background: linear-gradient(180deg, var(--white) 0%, var(--pink-tint) 100%); }

/* Section heading */
.eyebrow {
  font-family: var(--latin); font-style: italic; font-weight: 500;
  font-size: 1.05rem; letter-spacing: .12em; color: var(--rose);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--pink); }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow::after { content: ""; width: 30px; height: 1px; background: var(--pink); }
.sec-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.9rem); line-height: 1.5; letter-spacing: .05em;
  color: var(--ink); margin-top: 22px;
}
.sec-title .accent { color: var(--rose); }
.sec-title .thin { font-weight: 400; }
.sec-lead { margin-top: 26px; font-size: 1.02rem; line-height: 2.15; color: var(--text); max-width: 640px; }
.sec-head--center .sec-lead { margin-inline: auto; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  font-family: var(--sans); font-weight: 500; font-size: .96rem; letter-spacing: .08em;
  padding: 16px 34px; border-radius: var(--r-pill); position: relative;
  transition: transform .25s ease, background .3s ease, color .25s ease, box-shadow .3s ease, border-color .3s ease;
  line-height: 1.4; white-space: nowrap;
}
.btn .arrow { width: 1.1em; height: 1.1em; transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--rose); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--greige); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--rose); color: var(--rose); }
.btn--rose { background: var(--rose); color: #fff; }
.btn--rose:hover { background: var(--rose-deep); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--lg { padding: 19px 42px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* text link */
.tlink { display: inline-flex; align-items: center; gap: .6em; font-weight: 500; color: var(--ink); letter-spacing: .06em; }
.tlink::after { content: "→"; color: var(--rose); transition: transform .3s ease; }
.tlink:hover { color: var(--rose); }
.tlink:hover::after { transform: translateX(5px); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 243, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled { box-shadow: var(--sh-sm); background: rgba(251, 247, 243, 0.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-family: var(--sans); font-weight: 500; font-size: .92rem; color: var(--ink);
  padding: 10px 15px; position: relative; letter-spacing: .06em;
}
.nav a .en { display: block; font-family: var(--latin); font-style: italic; font-size: .68rem; color: var(--rose); letter-spacing: .1em; text-align: center; margin-bottom: -2px; opacity: .85; }
.nav a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:hover { color: var(--rose); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 12px 24px; font-size: .88rem; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .header-inner { height: 68px; }
  .brand img { height: 34px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 6px; width: 46px; height: 46px;
    align-items: center; justify-content: center;
  }
  .nav-toggle span { width: 24px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* Mobile menu（backdrop-filterヘッダーの外に配置） */
.mobile-panel { display: none; }
@media (max-width: 1080px) {
  .mobile-panel {
    display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; z-index: 99;
    width: 100%; background: var(--paper); padding: 32px var(--gutter) 48px; overflow-y: auto;
  }
  body.menu-open .mobile-panel { display: block; animation: mpFade .3s ease; }
  @keyframes mpFade { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .mobile-panel a.m-link {
    display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-weight: 500;
    font-size: 1.2rem; padding: 18px 4px; border-bottom: 1px solid var(--line-soft); color: var(--ink);
  }
  .mobile-panel a.m-link .en { font-family: var(--latin); font-style: italic; font-size: .8rem; color: var(--rose); }
  .mobile-panel .m-cta { margin-top: 32px; display: grid; gap: 14px; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(56px, 8vw, 108px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 0.84fr 1.16fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero .eyebrow { margin-bottom: 30px; }
.hero h1 {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.62; letter-spacing: .06em;
}
.hero h1 .accent { color: var(--rose); }
.hero h1 .small { display: block; font-size: 62%; font-weight: 500; margin-top: .5em; letter-spacing: .08em; }
.hero-sub { margin-top: 32px; font-size: 1.04rem; line-height: 2.2; color: var(--text); max-width: 500px; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-visual { position: relative; }
.hero-photo { position: relative; z-index: 2; border-radius: 180px 180px 22px 22px; overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 5 / 4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero-visual .leaf { position: absolute; z-index: 1; }
.hero-dot { position: absolute; z-index: 0; width: 220px; height: 220px; border-radius: 50%; background: var(--pink-soft); filter: blur(4px); top: -34px; right: -30px; opacity: .7; }
.hero-badge {
  position: absolute; z-index: 3; bottom: 26px; left: -18px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: 16px 20px; display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.hero-badge .n { font-family: var(--latin); font-weight: 600; font-size: 2rem; color: var(--rose); line-height: 1; }
.hero-badge .t { font-size: .78rem; color: var(--muted); line-height: 1.5; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
.hero-badge { animation: floaty 5s ease-in-out infinite; }

/* mini stat strip under hero */
.hero-strip { margin-top: clamp(40px, 6vw, 70px); border-top: 1px solid var(--line); padding-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hero-strip .cell { text-align: center; }
.hero-strip .cell .v { font-family: var(--latin); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--ink); line-height: 1; }
.hero-strip .cell .v .u { font-family: var(--sans); font-size: .8rem; color: var(--rose); margin-left: 3px; }
.hero-strip .cell .k { margin-top: 10px; font-size: .82rem; color: var(--muted); letter-spacing: .06em; }

/* =========================================================================
   About / message split
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--sh-md); width: 100%; }
.split-media .frame { position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--pink); border-radius: var(--r-lg); z-index: -1; }
.split-body .lead-big { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 2; color: var(--ink); letter-spacing: .05em; }
.split-body p + p { margin-top: 22px; }
.split-body .body-text { margin-top: 26px; color: var(--text); line-height: 2.15; }
.split-body .btn { margin-top: 34px; }

/* Mission / Vision cards */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; }
.mv-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(30px, 4vw, 46px); box-shadow: var(--sh-sm); border: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.mv-card .tag { font-family: var(--latin); font-style: italic; font-size: 1.4rem; color: var(--pink); letter-spacing: .08em; }
.mv-card h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.7; margin-top: 12px; letter-spacing: .05em; }
.mv-card p { margin-top: 16px; font-size: .94rem; color: var(--muted); }

/* =========================================================================
   Values
   ========================================================================= */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { text-align: center; padding: 34px 16px; background: var(--white); border-radius: var(--r-md); box-shadow: var(--sh-sm); border: 1px solid var(--line-soft); transition: transform .3s ease; }
.value:hover { transform: translateY(-6px); }
.value .no { font-family: var(--latin); font-style: italic; color: var(--pink); font-size: 1.1rem; }
.value .ic { width: 52px; height: 52px; margin: 14px auto 16px; color: var(--rose); }
.value h4 { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; letter-spacing: .06em; line-height: 1.6; }

/* =========================================================================
   Numbers
   ========================================================================= */
.numbers { background: linear-gradient(160deg, var(--plum) 0%, var(--rose-deep) 100%); color: #fff; }
.numbers .eyebrow { color: var(--pink-soft); }
.numbers .eyebrow::before, .numbers .sec-head--center .eyebrow::after { background: var(--pink-soft); }
.numbers .sec-title { color: #fff; }
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; margin-top: 14px; }
.num { text-align: center; padding: 24px 14px; }
.num .v { font-family: var(--latin); font-weight: 600; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; letter-spacing: .01em; }
.num .v .u { font-family: var(--sans); font-weight: 500; font-size: .32em; margin-left: 6px; }
.num .v .pre { font-family: var(--sans); font-weight: 500; font-size: .42em; margin-right: 3px; }
.num .v .num-count { font-variant-numeric: tabular-nums; }
.num .k { margin-top: 14px; font-size: .92rem; color: rgba(255,255,255,.85); letter-spacing: .05em; }
.numbers .note { text-align: center; margin-top: 34px; font-size: .78rem; color: rgba(255,255,255,.6); }

/* =========================================================================
   Business
   ========================================================================= */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz {
  background: var(--white); border-radius: var(--r-lg); padding: 38px 32px; box-shadow: var(--sh-sm);
  border: 1px solid var(--line-soft); position: relative; transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.biz:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.biz .no { font-family: var(--latin); font-style: italic; font-size: 1.15rem; color: var(--pink); letter-spacing: .06em; }
.biz .ic { width: 56px; height: 56px; border-radius: 15px; background: var(--pink-tint); color: var(--rose); display: grid; place-items: center; margin: 16px 0 20px; }
.biz .ic svg { width: 28px; height: 28px; }
.biz h3 { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; letter-spacing: .04em; }
.biz p { margin-top: 14px; font-size: .92rem; color: var(--muted); line-height: 2; }
.biz .tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.biz .tags span { font-size: .74rem; color: var(--rose); background: var(--pink-tint); padding: 4px 12px; border-radius: var(--r-pill); letter-spacing: .04em; }

/* biz card link（口コミAI等の詳細リンク） */
.biz-link { margin-top: 18px; align-self: flex-start; font-size: .9rem; }

/* =========================================================================
   Column（コラム）
   ========================================================================= */
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.col-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--line-soft); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.col-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.col-thumb { display: block; overflow: hidden; aspect-ratio: 16/10; background: var(--beige); }
.col-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.col-card:hover .col-thumb img { transform: scale(1.05); }
.col-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.col-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.col-meta .date { font-family: var(--latin); color: var(--muted); font-size: .95rem; letter-spacing: .04em; }
.col-meta .cat { font-size: .7rem; color: var(--rose); border: 1px solid var(--pink); border-radius: var(--r-pill); padding: 3px 12px; letter-spacing: .04em; }
.col-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.14rem; line-height: 1.7; letter-spacing: .03em; }
.col-card h3 a:hover { color: var(--rose); }
.col-excerpt { margin-top: 14px; font-size: .86rem; color: var(--muted); line-height: 1.9; }

/* =========================================================================
   Story
   ========================================================================= */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: 22px 22px 160px 160px; box-shadow: var(--sh-lg); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.story-media .quote { position: absolute; right: -16px; bottom: 30px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-md); padding: 18px 22px; max-width: 230px; font-family: var(--serif); font-size: .96rem; color: var(--ink); line-height: 1.8; }
.story-media .quote .mk { font-family: var(--latin); font-size: 2.4rem; color: var(--pink); line-height: 0; position: relative; top: 12px; }
.story-steps { margin-top: 20px; }
.story-step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.story-step:last-child { border-bottom: none; }
.story-step .n { font-family: var(--latin); font-style: italic; font-size: 1.5rem; color: var(--pink); line-height: 1.2; min-width: 46px; }
.story-step h4 { font-family: var(--serif); font-weight: 600; font-size: 1.14rem; letter-spacing: .04em; }
.story-step p { margin-top: 8px; font-size: .92rem; color: var(--muted); }

/* =========================================================================
   Works
   ========================================================================= */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work { background: var(--white); border-radius: var(--r-lg); padding: 34px 34px 30px; box-shadow: var(--sh-sm); border: 1px solid var(--line-soft); }
.work .meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.work .meta .cat { font-size: .74rem; color: #fff; background: var(--rose); padding: 4px 13px; border-radius: var(--r-pill); letter-spacing: .05em; }
.work .meta .biz-name { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.work h4 { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--text); margin-top: 16px; line-height: 1.8; letter-spacing: .03em; }
.work .kpis { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.work .kpi { flex: 1; min-width: 110px; background: var(--pink-tint); border-radius: var(--r-sm); padding: 16px 14px; text-align: center; }
.work .kpi .v { font-family: var(--latin); font-weight: 600; font-size: 1.7rem; color: var(--rose); line-height: 1; }
.work .kpi .v .u { font-family: var(--sans); font-size: .5em; }
.work .kpi .k { margin-top: 8px; font-size: .72rem; color: var(--muted); }
.work .desc { margin-top: 18px; font-size: .88rem; color: var(--muted); line-height: 1.95; }

/* clients / partners marquee-ish */
.clients { margin-top: 46px; text-align: center; }
.clients .label { font-size: .82rem; color: var(--muted); letter-spacing: .1em; margin-bottom: 20px; }
.clients .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.clients .chip { font-family: var(--serif); font-size: .96rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 22px; }

/* =========================================================================
   Strengths
   ========================================================================= */
.str-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.str { text-align: center; }
.str .ring { width: 132px; height: 132px; margin: 0 auto 24px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-sm); display: grid; place-items: center; color: var(--rose); border: 1px solid var(--line-soft); position: relative; }
.str .ring::before { content: ""; position: absolute; inset: -8px; border: 1px solid var(--pink); border-radius: 50%; opacity: .55; }
.str .ring svg { width: 52px; height: 52px; }
.str h4 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .06em; }
.str p { margin-top: 12px; font-size: .92rem; color: var(--muted); }

/* =========================================================================
   News
   ========================================================================= */
.news-list { display: grid; gap: 4px; max-width: 900px; margin: 0 auto; }
.news-item { display: grid; grid-template-columns: 130px 120px 1fr; gap: 20px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line-soft); transition: background .25s ease; }
.news-item:hover { background: var(--white); }
.news-item .date { font-family: var(--latin); font-size: 1.02rem; color: var(--muted); letter-spacing: .05em; }
.news-item .cat { font-size: .72rem; color: var(--rose); border: 1px solid var(--pink); border-radius: var(--r-pill); padding: 4px 0; text-align: center; letter-spacing: .05em; }
.news-item .ttl { font-size: .98rem; color: var(--ink); font-weight: 500; }

/* =========================================================================
   Recruit / Partner split CTA
   ========================================================================= */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.join-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--sh-sm); }
.join-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.join-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(51,46,49,.05) 0%, rgba(51,46,49,.72) 100%); z-index: 1; }
.join-card .inner { position: relative; z-index: 2; padding: 40px; color: #fff; }
.join-card .en { font-family: var(--latin); font-style: italic; letter-spacing: .1em; opacity: .9; }
.join-card h3 { font-family: var(--serif); font-weight: 600; color: #fff; font-size: 1.7rem; margin-top: 6px; letter-spacing: .05em; }
.join-card p { margin-top: 12px; font-size: .9rem; color: rgba(255,255,255,.88); line-height: 1.9; max-width: 340px; }
.join-card .tlink { margin-top: 20px; color: #fff; }
.join-card .tlink::after { color: var(--pink-soft); }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-info .sec-title { margin-top: 20px; }
.contact-info .lead { margin-top: 24px; color: var(--text); line-height: 2.1; }
.contact-meta { margin-top: 34px; display: grid; gap: 20px; }
.contact-meta .row { display: flex; gap: 16px; align-items: flex-start; }
.contact-meta .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--white); box-shadow: var(--sh-sm); color: var(--rose); display: grid; place-items: center; flex: 0 0 auto; }
.contact-meta .ic svg { width: 20px; height: 20px; }
.contact-meta .k { font-size: .76rem; color: var(--muted); letter-spacing: .08em; }
.contact-meta .v { font-size: 1rem; color: var(--ink); font-weight: 500; margin-top: 2px; }

.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--sh-md); border: 1px solid var(--line-soft); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 9px; letter-spacing: .04em; }
.field .req { color: #fff; background: var(--rose); font-size: .64rem; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; letter-spacing: .04em; }
.field .opt { color: var(--muted); background: var(--beige); font-size: .64rem; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--greige); background: var(--paper);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose); background: #fff; box-shadow: 0 0 0 3px var(--pink-tint); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { display: flex; align-items: flex-start; gap: 11px; font-size: .84rem; color: var(--muted); line-height: 1.7; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--rose); }
.consent a { color: var(--rose); text-decoration: underline; }
.form-alert { border-radius: var(--r-sm); padding: 15px 18px; font-size: .92rem; margin-bottom: 24px; }
.form-alert--ok { background: #EEF6F0; color: #35734F; border: 1px solid #C4E2CE; }
.form-alert--err { background: #FBECEF; color: #A0455C; border: 1px solid #EFC9D2; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); box-shadow: var(--sh-sm); overflow: hidden; }
.faq-q { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 24px 26px; font-family: var(--serif); font-weight: 600; font-size: 1.04rem; color: var(--ink); letter-spacing: .03em; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .qmark { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 8px; background: var(--pink-tint); color: var(--rose); display: grid; place-items: center; font-family: var(--latin); font-weight: 600; }
.faq-qt { flex: 1; line-height: 1.6; }
.faq-q .faq-ic { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq-q .faq-ic::before, .faq-q .faq-ic::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--rose); border-radius: 2px; }
.faq-q .faq-ic::before { width: 100%; height: 1.5px; }
.faq-q .faq-ic::after { width: 1.5px; height: 100%; transition: transform .3s ease; }
.faq-item[open] .faq-q .faq-ic::after { transform: scaleY(0); }
.faq-a { padding: 0 26px 28px 74px; color: var(--text); line-height: 2.1; font-size: .94rem; }
@media (max-width: 640px) { .faq-a { padding-left: 26px; } }

/* =========================================================================
   Company table
   ========================================================================= */
.co-table { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
.co-row { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px solid var(--line-soft); }
.co-row:last-child { border-bottom: none; }
.co-key { padding: 22px 26px; background: var(--beige); font-weight: 500; color: var(--ink); font-size: .92rem; letter-spacing: .04em; }
.co-val { padding: 22px 26px; font-size: .94rem; color: var(--text); line-height: 1.95; }
@media (max-width: 600px) {
  .co-row { grid-template-columns: 1fr; }
  .co-key { padding-bottom: 6px; }
  .co-val { padding-top: 6px; }
}

/* =========================================================================
   Service pages（事業専用ページ）
   ========================================================================= */
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 30px; flex-wrap: wrap; }
.breadcrumb a { color: var(--rose); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .current { color: var(--ink); }

.svc-hero { padding-block: clamp(28px, 4vw, 50px) clamp(50px, 7vw, 90px); }
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.svc-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.4; letter-spacing: .04em; margin-top: 20px; }
.svc-tagline { margin-top: 22px; font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--rose); line-height: 1.8; letter-spacing: .03em; }
.svc-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-tags span { font-size: .76rem; color: var(--rose); background: var(--pink-tint); border-radius: var(--r-pill); padding: 6px 16px; }
.svc-hero-media img { border-radius: var(--r-lg); box-shadow: var(--sh-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.svc-lead { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 2; color: var(--ink); text-align: center; letter-spacing: .04em; }

.svc-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-point { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 36px 30px; box-shadow: var(--sh-sm); }
.svc-point .np { font-family: var(--latin); font-style: italic; font-size: 1.4rem; color: var(--pink); }
.svc-point h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-top: 12px; letter-spacing: .04em; }
.svc-point p { margin-top: 14px; font-size: .92rem; color: var(--muted); line-height: 1.95; }

.svc-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc-menu-item { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 24px 26px; }
.svc-menu-item .mi-ic { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 9px; background: var(--pink-tint); color: var(--rose); display: grid; place-items: center; }
.svc-menu-item .mi-ic svg { width: 18px; height: 18px; }
.svc-menu-item h4 { font-family: var(--serif); font-weight: 600; font-size: 1.04rem; letter-spacing: .03em; }
.svc-menu-item p { margin-top: 6px; font-size: .88rem; color: var(--muted); line-height: 1.85; }

.svc-flow { display: grid; gap: 0; }
.svc-flow-item { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px dashed var(--line); align-items: start; }
.svc-flow-item:last-child { border-bottom: none; }
.svc-flow-item .fn { font-family: var(--latin); font-style: italic; font-size: 1.5rem; color: var(--pink); min-width: 44px; }
.svc-flow-item h4 { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.svc-flow-item p { margin-top: 6px; font-size: .9rem; color: var(--muted); }

.svc-price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-price-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 34px 28px; box-shadow: var(--sh-sm); text-align: center; }
.svc-price-card .pp-name { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.svc-price-card .pp-amount { margin-top: 16px; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.svc-price-card .pp-num { font-family: var(--latin); font-weight: 600; font-size: 2.2rem; color: var(--rose); }
.svc-price-card .pp-per { font-size: .84rem; color: var(--muted); }
.svc-price-card .pp-desc { margin-top: 16px; font-size: .84rem; color: var(--muted); line-height: 1.9; }

.svc-note { text-align: center; font-size: .94rem; color: var(--text); background: var(--pink-tint); border-radius: var(--r-md); padding: 22px 26px; }

.svc-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-rel { display: block; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s ease, box-shadow .3s ease; }
.svc-rel:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.svc-rel .rel-img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.svc-rel .rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-rel:hover .rel-img img { transform: scale(1.05); }
.svc-rel .rel-body { display: block; padding: 22px 24px; }
.svc-rel .rel-en { display: block; font-family: var(--latin); font-style: italic; color: var(--rose); font-size: .85rem; }
.svc-rel .rel-title { display: block; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.1rem; margin-top: 4px; }

@media (max-width: 900px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-hero-media { order: -1; }
  .svc-points, .svc-price, .svc-related { grid-template-columns: 1fr 1fr; }
  .svc-menu { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-points, .svc-price, .svc-related { grid-template-columns: 1fr; }
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: 72px 34px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 42px; margin-bottom: 22px; background: #fff; padding: 9px 14px; border-radius: 10px; }
.footer-brand p { font-size: .88rem; line-height: 2; color: rgba(255,255,255,.6); max-width: 320px; }
.footer-brand .tag { font-family: var(--serif); color: var(--pink-soft); margin-top: 18px; letter-spacing: .06em; font-size: .92rem; }
.footer-col h4 { font-family: var(--latin); font-style: italic; font-size: 1rem; color: var(--pink-soft); margin-bottom: 18px; letter-spacing: .08em; }
.footer-col a { display: block; font-size: .88rem; padding: 7px 0; color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--pink); }
.footer-bottom { margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: rgba(255,255,255,.5); }

/* =========================================================================
   Reveal & responsive
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-badge { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 1080px) {
  .num-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .split--rev .split-media, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .hero-visual { order: -1; max-width: 560px; margin-inline: auto; }
  .mv-grid, .biz-grid, .works-grid, .str-grid, .join-grid, .col-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .story-media { max-width: 420px; margin-inline: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-strip, .num-grid, .biz-grid, .works-grid, .str-grid, .mv-grid, .join-grid, .col-grid, .field-row { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .hero-strip .cell { display: flex; align-items: baseline; gap: 12px; justify-content: center; }
  .hero-strip .cell .k { margin-top: 0; }
  .news-item { grid-template-columns: auto 1fr; grid-template-areas: "date cat" "ttl ttl"; row-gap: 8px; }
  .news-item .date { grid-area: date; } .news-item .cat { grid-area: cat; width: fit-content; padding: 4px 14px; } .news-item .ttl { grid-area: ttl; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .hero-badge { left: 0; }
  .story-media .quote { right: 0; }
}
