:root{
  --bg:#f6f3ee;
  --bg2:#ffffff;
  --bg3:#1a50ab;/* フッター */
  --text:#1c1c1c;
  --muted:#6b6b6b;
  --accent: #00b6ea;
  --primary: #e7d5b8;
  --line:rgba(0,0,0,.12);
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color:var(--text);
  background:var(--bg);}
  h1, h2, h3, .brand__name{
  font-family: "Noto Serif CJK JP", serif;
  font-weight:600;
}


a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width:min(1100px, calc(100% - 40px)); margin-inline:auto}
.ellipsis{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

.topbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;

  height:80px;          /* ← ここを80pxに */
  padding:0 24px;       /* 上下paddingは不要 */

  display:flex;
  align-items:center;
  justify-content:space-between;

  background:#ffffff;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.topbar__left{display:flex; gap:10px; align-items:center; font-size:12px; color:var(--muted)}
.dot{opacity:.5}
.topbar__right{display:flex; gap:10px; align-items:center}
.topbar .btn,
.topbar a{
  font-family: "Noto Sans JP", sans-serif;
  font-weight:500;
  letter-spacing:.05em;
}
/* ヘッダーのお問い合わせボタン */
.topbar .btn{
  font-family: "Noto Sans JP", sans-serif;
  font-weight:500;
  font-size:14px;

  padding:10px 18px;
  border-radius:999px;

  border:1px solid #ddd;
  background:#ffffff;
  color:#222;

  transition:.3s ease;

  box-shadow:0 4px 12px rgba(0,0,0,.06); /* ← 追加 */
}


/* hover時 */
.topbar .btn:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:#ffffff;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.12); /* ← 追加 */  
}

.menuBtn{border:none; background:transparent; cursor:pointer; padding:10px 12px; border-radius:999px}
.menuBtn:hover{background:rgba(0,0,0,.06)}

/* ===== Header Brand (Logo + Text) ===== */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0; /* 省略表示のため */
}
.brand__logo{
  width: 170px;
  height: 170px;
  display: block;
  object-fit: contain;
}

.brand__text{
  display:grid;
  line-height:1.1;
}
.brand__tagline{
  font-size:15px;            /* 会社名より小さめ */
  font-weight:700;
  letter-spacing:.02em;
  color:#00b6ea;             /* 指定カラー */
}
.brand__name{
  font-size:34px;            /* キャッチコピーより少し大きめ */
  font-weight:700;
  letter-spacing:.02em;
  color:#000000;             /* 指定カラー */
}

.brand__name{
  font-family: "Noto Serif CJK JP", serif;
  display:flex;
  align-items:baseline;
  white-space:nowrap;   /* ← 1行固定 */
  font-size:30px;
}

.brand__kana{
  font-weight:600;       /* 少しだけ強く */
  letter-spacing:.08em;  /* 字間で存在感 */
}

.brand__corp{
  font-size:21px;
  margin-left:6px;
  color:#1c1c1c;
}

/* 画面が狭い時にロゴ＋文字が潰れないように */
@media (max-width: 420px){
  .brand__name{font-size:13px}
  .brand__tagline{font-size:11px}
}

/* お問い合わせラベル：ヘッダー専用（競合回避） */
.contactLabel--sp{ display:none; }
.contactLabel--pc{ display:inline; }

@media (max-width: 430px){
  .contactLabel--pc{ display:none; }
  .contactLabel--sp{ display:inline; }
}


/* ===== Hamburger ===== */
.hamburger{
  width:44px;
  height:44px;
  border:none;
  background:transparent;
  cursor:pointer;
  border-radius:999px;
  display:grid;
  place-items:center;
  gap:5px;
  padding:10px;
}
.hamburger:hover{background:rgba(0,0,0,.06)}
.hamburger span{
  display:block;
  width:20px;
  height:2px;
  background:var(--text);
  border-radius:999px;
}

/* 開いている時の見た目（×に変形） */
.hamburger.is-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2){
  opacity:0;
}
.hamburger.is-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* デフォルト（PC表示） */
.sp{ display:none; }
.pc{ display:inline; }

/* iPhone表示 */
@media (max-width: 430px){
  .pc{ display:none; }
  .sp{ display:inline; }
}

.btn--primary{
  background:#00b6ea;
  border:1px solid #00b6ea;
  color:#ffffff;
  box-shadow:0 6px 18px rgba(230,107,20,.25);
}

.btn--primary:hover{
  transform:translateY(-2px);
}

/* Button base (元の大きさ・丸さを復活) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:18px 26px;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.02em;
  border:1px solid transparent;
  cursor:pointer;
  line-height:1;
  transition:.2s;
}

.btn:hover{transform:translateY(-1px)}
.btn--ghost{background:transparent; color:var(--text)}

.btn--orange{
  background:#00b6ea;
  border-color:#00b6ea;
  color:#ffffff;
}

.btn--orange:hover{
  background:#1a50ab;
  border-color:#1a50ab;
}

.overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.55);
  opacity:0; pointer-events:none;
  transition:.2s;
  z-index:60;
}
.overlay.is-open{opacity:1; pointer-events:auto}
.overlay__panel{
  position:absolute; right:16px; top:72px;
  width:min(340px, calc(100% - 32px));
  background:var(--bg2);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:18px;
  display:grid; gap:10px;
}
.overlay__panel a{
  padding:12px; border-radius:12px; border:1px solid var(--line);
}
.overlay__panel a:hover{background:rgba(0,0,0,.04)}
.overlay__close{
  position:absolute; right:18px; top:14px;
  width:40px; height:40px; border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.25);
  color:#fff; cursor:pointer;
}

/* Hero */
.hero{
  position:relative;
  height:100svh;
  padding-top:56px;
  overflow:hidden;
}
.hero__slides{position:absolute; inset:0}
.hero__slide{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.02);
  transition:opacity 1s ease, transform 2s ease;
}
.hero__slide.is-active{opacity:1; transform:scale(1.00)}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.35));
}
.hero__content{
  position:relative; z-index:2;
  width:min(760px, calc(100% - 40px));
  margin:0 auto;
  padding:18svh 0 0;
  color:#fff;
  text-shadow:0 6px 30px rgba(0,0,0,.4);
}
.hero__content h1{font-size:clamp(28px, 4vw, 48px); margin:0 0 14px; letter-spacing:.02em}
.hero__content p{margin:0 0 22px; line-height:1.9; color:rgba(255,255,255,.92)}
.hero__scroll{
  position:absolute; left:50%; bottom:24px; transform:translateX(-50%);
  z-index:2; display:grid; gap:10px; place-items:center;
  color:rgba(255,255,255,.9); font-size:12px;
}
.hero__scroll i{width:1px; height:30px; background:rgba(255,255,255,.7); animation:scrollLine 1.2s infinite ease-in-out}
@keyframes scrollLine{0%{transform:translateY(-6px);opacity:.3}50%{transform:translateY(6px);opacity:1}100%{transform:translateY(-6px);opacity:.3}}

/* HERO spacing (黄金比バランス) */
.hero{
  position:relative;
  height:100svh;
  padding-top:56px;
  overflow:hidden;
  margin-bottom:clamp(80px, 8vw, 120px); /* ← 黄金比 */
}

/* Page header */
.pageHeader{
  padding-top:56px;
  background:var(--bg2);
  border-bottom:1px solid var(--line);
}
.pageHeader__inner{padding:52px 0}
.breadcrumb{font-size:12px; color:var(--muted)}
.pageTitle{margin:12px 0 0; font-size:clamp(22px, 2.8vw, 34px)}

/* Sections */
.section{padding:72px 0; background:var(--bg)}
.section--alt{background:var(--bg2)}
.section h2{margin:0 0 18px; font-size:clamp(22px, 2.8vw, 34px); letter-spacing:.02em}
.lead{color:var(--muted); line-height:1.9; margin:0 0 18px}
.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:10px 0}

.section{
  padding:clamp(60px, 6vw, 100px) 0;
  background:var(--bg);
}

/* Brand Section Heading */
.sectionHead{
  margin-bottom:28px;
  text-align:left;
}

.sectionHead__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#a99064; /* フッター文字色と合わせて上質感 */
}

.sectionHead__eyebrow::before{
  content:"";
  width:36px;
  height:1px;
  background:#00b6ea; /* ブランドオレンジ */
  opacity:.9;
}

.sectionHead__title{
  margin:10px 0 10px;
  font-size:clamp(26px, 3.2vw, 40px);
  letter-spacing:.04em;
}

.sectionHead__lead{
  margin:0;
  color:var(--muted);
  line-height:1.9;
  max-width:60ch;
}

/* ほんのり温かい白 */
/*.service{
  background:#fffdf9; 
}*/

/* オレンジのごく薄い光 */
.service{
  background:
    linear-gradient(
      180deg,
      rgba(230,107,20,0.06) 0%,   
      #fffdf9 25%,
      #fffdf9 100%
    );
}

/* 光が差す感じ */
/*.service{
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(230,107,20,0.07),
      transparent 60%
    ),
    #fffdf9;
}*/


/* Cards / grid */
.service__grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:32px; /* 少し広げて上質感 */
  margin-top:40px;
}

.service__card{
  background:#ffffff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 36px rgba(0,0,0,.08);
  transition:.4s ease;
  display:block;
  position:relative;
}

.service__card::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(
    circle at 50% 30%,
    rgba(230,107,20,0.12),
    transparent 70%
  );
  opacity:0;
  transition:.4s ease;
  pointer-events:none;
}

.service__card:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 48px rgba(0,0,0,.14);
}

.service__card:hover::after{
  opacity:1;
}

/* SERVICE */
.service{
  padding-top:clamp(50px, 5vw, 70px); /* ヒーローとの黄金比 */
  background:
    linear-gradient(
      180deg,
      rgba(230,107,20,0.06) 0%,
      #fffdf9 30%,
      #fffdf9 100%
    );
}

/* === WORKS（施工実績） === */
.works{
  background-color:#fdfdfd; /* 猫動画に合わせた色 */
  padding:80px 0;
}

.cat-stage{
  position:relative;
  height:120px;
  background-color:#fdfdfd; /* 猫動画に合わせた色 */
  overflow:hidden;
}

.cat{
  position:absolute;
  right:18%;
  bottom:0;
  width:120px;
  height:auto;
  pointer-events:none;
}

/* ステージ */
.works__stage{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  padding:18px 0;
}

/* 横スクロール */
.works__track{
  display:flex;
  gap:14px;
  width:max-content;
  animation:worksMarquee 26s linear infinite;
  padding:0 12px;
}

@keyframes worksMarquee{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

.work{
  flex:0 0 auto;
  border-radius:16px;
  overflow:hidden;
}

.work img{
  width:320px;
  height:210px;
  object-fit:cover;
  display:block;
}

/* スマホ */
@media (max-width:768px){
  .cat-stage{ height:90px; }
  .cat{ width:80px; right:12%; }

  .work img{ width:260px; height:180px; }
}


/* スマホ用 */
@media (max-width: 768px) {

  .cat-stage {
    height: 90px;          /* 帯を少し低く */
  }

  .cat {
    width: 80px;           /* 猫を小さく */
    right: 12%;            /* 位置も少し調整 */
    bottom: 0;
  }

}

/* FAQ */
.faq{display:grid; gap:12px}
.faq details{
  background:var(--bg2);
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 14px;
}
.faq summary{cursor:pointer; font-weight:600}
.faq p{margin:10px 0 0; color:var(--muted); line-height:1.9}

/* Form */
.form{display:grid; gap:12px; max-width:720px}
label{display:grid; gap:6px; color:var(--muted); font-size:13px}
input, textarea{
  padding:12px; border-radius:12px; border:1px solid var(--line); font-size:16px;
}

/* Footer */
.footer{
  padding:48px 0;
  background:#fff;   /* ← 背景色 */
  color:#6d3d04;        /* ← 基本文字色 */
}

.footer__inner{
  display:flex;
  gap:28px;
  justify-content:space-between;
  align-items:flex-start;
}

.footer__brand{
  font-weight:700;
  letter-spacing:.04em;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:10px;
}

.footer__brand img{
  width:36px;
  height:auto;
}

.footer__small{
  color:#6d3d04;
  line-height:1.9;
  font-size:13px;
}

.footer__links{
  display:grid;
  gap:10px;
}

.footer__links a{
  color:#6d3d04;
}

.footer__copy{
  padding:14px 0 0;
  text-align:center;
  color:#6d3d04;
  font-size:12px;
}

.footer__illustration{
  width:100%;
  margin-top:24px;
  line-height:0; /* 下の隙間防止 */
}

.footer__illustration img{
  width:100%;
  height:auto;
  display:block;
}

/* Reveal */
.reveal{opacity:0; transform:translateY(14px); transition:.6s}
.reveal.is-in{opacity:1; transform:none}

@media (max-width: 900px){
  .topbar__left{display:none}
  .grid{grid-template-columns:1fr}
  .footer__inner{flex-direction:column}
}

.service__grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
  margin-top:32px;
}

.service__card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.service__image img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.service__body{
  padding:24px;
}

.service__body h3{
  margin:0 0 10px;
  font-size:18px;
  letter-spacing:.03em;
}

.service__body p{
  margin:0;
  font-size:14px;
  line-height:1.8;
  color:#6b6b6b;
}

/* レスポンシブ */
@media (max-width: 1000px){
  .service__grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .service__grid{
    grid-template-columns:1fr;
  }
}

/* ================================
   VALUES Section
================================ */
.values{
  padding:120px 0;
  background:#f9f7f4;
}

.values__head{
  text-align:center;
  margin-bottom:80px;
}

.values__label{
  font-family:"Noto Sans JP", sans-serif;
  letter-spacing:.25em;
  font-size:12px;
  color:var(--accent);
  margin-bottom:16px;
}

.values h2{
  font-family:"Noto Serif CJK JP", serif;
  font-size:28px;
  font-weight:500;
}

.values__grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:30px;
}

.values__card{
  background:#efe9df;
  padding:40px 24px;
  border-radius:20px;
  text-align:center;
  transition:.4s ease;
}

.values__card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.values__num{
  font-family:"Noto Serif CJK JP", serif;
  font-size:22px;
  color:var(--accent);
  margin-bottom:20px;
}

.values__card h3{
  font-size:15px;
  margin-bottom:16px;
  line-height:1.6;
}

.values__card p{
  font-size:13px;
  line-height:1.8;
  color:#555;
}

.values{
  background:linear-gradient(to bottom,#f9f7f4,#f5f1eb);
}

/* ================================
   TEAM
================================ */
.team{
  background: var(--bg);
  padding: 100px 0;
}

.team__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.team__card{
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0,0,0,.08);
  transition: .4s ease;
}

.team__card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,.12);
}

.team__card img{
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 18px;
}

.team__card h3{
  margin: 0 0 12px;
  font-size: 16px;
}

.team__card p{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* スマホ */
@media (max-width: 768px){
  .team__grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.office__wrap{
  display:flex;
  gap:40px;
  align-items:center;
  margin-top:50px;
}

.office__image img,
.office__image iframe {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  display: block;
}
.office__image iframe {
  height: 350px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.office__info{
  font-size:15px;
  line-height:1.9;
}

.office__license{
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.8;
}


/* スマホ */
@media (max-width: 768px){
  .office__wrap{
    flex-direction:column;
  }
  .office__image iframe {
    height: 280px;
    max-width: 100%;
  }
}


/* ========================================
   iPhone最適化（～430px）※安定版
======================================== */
@media (max-width: 430px){

  /* Header */
  .topbar{
    height:72px;
    padding:0 14px;
  }

  body{
    padding-top:72px;
  }

  .brand__logo{
    width:42px;
    height:42px;
  }

  .brand__tagline{
    display:none;
  }

  .brand__name{
    font-size:14px;
    white-space:nowrap;
    letter-spacing:.02em;
  }

  .brand__name .brand__corp{
    font-size:11px;
    margin-left:4px;
  }

  .topbar__right{
    gap:10px;
  }

  .topbar .btn{
    padding:8px 12px;
    font-size:12px;
    white-space:nowrap;
  }

  .hamburger{
    width:40px;
    height:40px;
  }

  /* PC/SP表示切替 */
  .pc{ display:none; }
  .sp{ display:inline; }

  /* Hero */
  .hero{
    height:92svh;
  }

  .hero__content{
    padding:0 14px;
  }

  .hero__content h1{
    font-size:clamp(24px, 7vw, 34px);
    line-height:1.35;
    letter-spacing:.04em;
    max-width:18em;
    margin-bottom:16px;
  }
}
/* === VALUES：スマホで1列に固定（崩れ防止） === */
@media (max-width: 768px){
  .values__grid{
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
}

/* --- Company Page Specific --- */
.container--narrow {
  max-width: 860px;
  margin-inline: auto;
}

.greeting {
  line-height: 2;
  color: var(--text);
  background: var(--bg2);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.greeting__text p {
  margin-bottom: 2em;
}

.greeting__text p:last-child {
  margin-bottom: 0;
}

.greeting__sign {
  text-align: right;
  margin-top: 3rem;
  font-family: "Noto Serif CJK JP", serif;
  font-weight: 600;
  font-size: 1.2rem;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
}

.greeting__sign span {
  font-size: 2rem;
  margin-left: 1.5rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 5px;
}

@media (max-width: 640px) {
  .greeting {
    padding: 30px 20px;
  }
  .greeting__sign {
    flex-direction: column;
    align-items: flex-end;
  }
  .greeting__sign span {
    margin-left: 0;
    margin-top: 10px;
    font-size: 1.6rem;
  }
}

.profileTable {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  border: 1px solid var(--line);
}

.profileTable__row {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.profileTable__row:last-child {
  border-bottom: none;
}

.profileTable dt {
  width: 250px;
  padding: 24px 30px;
  background: #fcfaf7;
  font-weight: 700;
  color: #333;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.profileTable dd {
  flex-grow: 1;
  padding: 24px 30px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .profileTable__row {
    flex-direction: column;
  }
  .profileTable dt {
    width: 100%;
    padding: 15px 20px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    background: #f9f7f2;
  }
  .profileTable dd {
    width: 100%;
    padding: 15px 20px;
  }
}

.map__frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid var(--line);
}

.map__frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

/* --- About Page Specific --- */
.message {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-top: 40px;
}

.message__image {
  flex: 0 0 320px;
}

.message__image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border: 1px solid var(--line);
}

.message__content {
  flex: 1;
}

.message__lead {
  font-family: "Noto Serif CJK JP", serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding-left: 24px;
}

.message__text {
  color: var(--muted);
  line-height: 2;
  font-size: 1.05rem;
}

.message__text p {
  margin-bottom: 1.5rem;
}

.message__sign {
  text-align: right;
  margin-top: 40px;
  font-family: "Noto Serif CJK JP", serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.message__sign span {
  font-size: 1.8rem;
  margin-left: 1rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

@media (max-width: 900px) {
  .message {
    flex-direction: column;
    gap: 40px;
  }
  .message__image {
    width: 240px;
    margin: 0 auto;
  }
  .message__lead {
    font-size: 1.25rem;
    padding-left: 15px;
  }
}

.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.philosophy__item {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.philosophy__item:hover {
  transform: translateY(-5px);
}

.philosophy__item h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--text);
}

.philosophy__item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .philosophy__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Magazine Page Specific --- */
.container--magazine {
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(60px, 8vw, 100px) 20px;
}

.magazineLayout {
  display: flex;
  gap: 60px;
}

.magazineMain {
  flex: 1;
}

.magazineSidebar {
  flex: 0 0 280px;
}

.postList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.postCard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.postCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.postCard__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.postCard__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.postCard:hover .postCard__image img {
  transform: scale(1.05);
}

.postCard__category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 2;
}

.postCard__body {
  padding: 25px;
  flex: 1;
}

.postCard__date {
  font-size: 0.85rem;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.postCard__title {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
}

.postCard__excerpt {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* Sidebar Widget */
.sidebarWidget {
  margin-bottom: 50px;
}

.sidebarWidget__title {
  font-size: 1.1rem;
  border-bottom: 2px solid var(--text);
  padding-bottom: 12px;
  margin-bottom: 24px;
  font-family: "Noto Serif CJK JP", serif;
}

.sidebarWidget__list {
  list-style: none;
  padding: 0;
}

.sidebarWidget__list li {
  margin-bottom: 14px;
}

.sidebarWidget__list a {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  transition: color 0.2s;
  font-size: 0.95rem;
}

.sidebarWidget__list a span {
  opacity: 0.5;
  font-size: 0.85rem;
}

.sidebarWidget__list a:hover {
  color: var(--accent);
}

.sidebarWidget__ranking {
  list-style: none;
  padding: 0;
}

.sidebarWidget__ranking li {
  margin-bottom: 20px;
}

.sidebarWidget__ranking a {
  display: flex;
  gap: 15px;
  align-items: center;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.sidebarWidget__rankImg {
  flex: 0 0 80px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
}

.sidebarWidget__rankImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 80px;
}

.pagination__current, .pagination__link, .pagination__next {
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.pagination__current {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.pagination__link:hover, .pagination__next:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 1000px) {
  .magazineLayout {
    flex-direction: column;
    gap: 80px;
  }
  .magazineSidebar {
    flex: none;
    order: 2;
  }
}

@media (max-width: 640px) {
  .postList {
    grid-template-columns: 1fr;
  }
  .container--magazine {
    padding-top: 40px;
  }
}



/* ================================================================
   DESIGN REFINEMENT (2026-07 spacing / sizing / alignment pass)
   既存ルールを上書き。末尾ロードにより最優先で適用。
================================================================ */

/* ---- Root spacing scale (8pt grid) ---- */
:root{
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --gap-xl: 64px;
  --gap-xxl: 96px;
  --topbar-h: 88px;
  --topbar-h-sp: 72px;
  --text-strong: #1a1a1a;
  --text-body: #333333;
  --text-mute: #6b6b6b;
}

/* ---- Base rhythm ---- */
body{
  padding-top: var(--topbar-h);            /* fixed topbar のぶんコンテンツを押し下げ */
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ height: auto; }

.container{
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.container--narrow{
  width: min(820px, calc(100% - 40px));
  max-width: none;
  margin-inline: auto;
}

/* ---- Topbar / brand ---- */
.topbar{
  height: var(--topbar-h);
  padding: 0 clamp(16px, 3vw, 32px);
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
  border-bottom: none;
}
.brand{ gap: 14px; }
.brand__logo{
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 72px;
}
.brand__tagline{
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--accent);
  line-height: 1.2;
  font-weight: 700;
}
.brand__name{
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  line-height: 1.2;
  color: var(--text-strong);
}
.brand__corp{
  font-size: 14px;
  margin-left: 6px;
  color: var(--text-mute);
  font-weight: 500;
}

/* ---- Hero (topbar と重ならないよう調整) ---- */
.hero{
  height: calc(100svh - var(--topbar-h));
  min-height: 520px;
  padding-top: 0;
  margin-bottom: 0;
}
.hero__content{
  width: min(760px, calc(100% - 40px));
  padding: clamp(12svh, 18svh, 22svh) 0 0;
}
.hero__content h1{
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .04em;
  margin: 0 0 20px;
}
.hero__content p{
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.95;
  margin: 0 0 28px;
}

/* ---- Page header (subpage 共通) ---- */
.pageHeader{
  padding-top: 0;
}
.pageHeader__inner{
  padding: clamp(48px, 6vw, 72px) 0;
}
.breadcrumb{
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-mute);
}
.pageTitle{
  margin: 12px 0 0;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.35;
}

/* ---- Section (垂直リズム統一) ---- */
.section{
  padding: clamp(64px, 7vw, 104px) 0;
}
.section h2,
.sectionHead__title{
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
  margin: 8px 0 12px;
}
.sectionHead{
  margin-bottom: clamp(32px, 4vw, 48px);
}
.sectionHead__lead{
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-mute);
  max-width: 62ch;
}

/* ---- Buttons (視認性・タップターゲット) ---- */
.btn{
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: .06em;
  min-height: 48px;
}
.topbar .btn{
  padding: 10px 20px;
  min-height: 40px;
  font-size: 13px;
}

/* ---- VALUES ---- */
.values{
  padding: clamp(72px, 8vw, 120px) 0;
}
.values__grid{
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 1.5vw, 24px);
}
.values__card{
  padding: clamp(28px, 2.5vw, 40px) clamp(16px, 1.5vw, 24px);
  border-radius: 16px;
}
.values__num{
  font-size: 22px;
  margin-bottom: 16px;
}
.values__card h3{
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  min-height: 3.2em;                        /* 高さ揃え */
}
.values__card p{
  font-size: 13px;
  line-height: 1.8;
}
@media (max-width: 1024px){
  .values__grid{ grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .values__card h3{ min-height: 0; }
}
@media (max-width: 560px){
  .values__grid{ grid-template-columns: 1fr; }
}

/* ---- SERVICE ---- */
.service__grid{
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 28px);
  margin-top: clamp(32px, 3.5vw, 48px);
}
.service__image img{
  height: clamp(180px, 15vw, 220px);
}
.service__body{
  padding: clamp(20px, 2vw, 28px);
}
.service__body h3{
  font-size: 17px;
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.service__body p{
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-mute);
}
@media (max-width: 900px){
  .service__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .service__grid{ grid-template-columns: 1fr; }
}

/* ---- WORKS ---- */
.works{
  padding: clamp(64px, 7vw, 96px) 0;
}
.work img{
  width: clamp(240px, 22vw, 320px);
  height: clamp(160px, 15vw, 210px);
  border-radius: 12px;
}

/* ---- OFFICE ---- */
.office__wrap{
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(32px, 3.5vw, 48px);
  align-items: stretch;
}
.office__info{
  font-size: 15px;
  line-height: 1.95;
  align-self: center;
}
.office__info h3{
  font-size: 18px;
  margin: 0 0 12px;
  letter-spacing: .02em;
}

/* ---- Footer (コントラスト + レイアウト) ---- */
.footer{
  padding: clamp(48px, 5vw, 72px) 0 24px;
  background: #f6f3ee;
  color: var(--text-body);
}
.footer__inner{
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: flex-start;
}
.footer__brand{
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--text-strong);
}
.footer__brand img{
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
}
.footer__small{
  color: var(--text-body);
  font-size: 13px;
  line-height: 2;
}
.footer__small a{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__links{
  gap: 12px;
  padding-top: 4px;
}
.footer__links a{
  color: var(--text-body);
  font-size: 14px;
  padding: 4px 0;
  transition: color .2s;
}
.footer__links a:hover{
  color: var(--accent);
}
.footer__copy{
  color: var(--text-mute);
  font-size: 12px;
  letter-spacing: .06em;
  padding: 32px 0 0;
  border-top: 1px solid rgba(0,0,0,.06);
  margin: 32px clamp(20px, 3vw, 40px) 0;
}
.footer__illustration{ margin-top: 16px; }
@media (max-width: 900px){
  .footer__inner{
    flex-direction: column;
    gap: 32px;
  }
  .footer__links{ gap: 8px; }
}

/* ---- Message (about) ---- */
.message{
  gap: clamp(32px, 4vw, 60px);
  margin-top: clamp(24px, 3vw, 40px);
}
.message__image{ flex: 0 0 clamp(220px, 22vw, 300px); }
.message__lead{
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.65;
  margin-bottom: 24px;
  padding-left: 20px;
}
.message__text{
  font-size: 15px;
  line-height: 2;
  color: var(--text-body);
}
.message__text p{ margin-bottom: 1.4em; }
.message__sign span{ font-size: 1.4rem; }
@media (max-width: 900px){
  .message{ flex-direction: column; gap: 32px; }
  .message__image{ width: 200px; margin: 0 auto; flex: none; }
}

/* ---- Philosophy (about) ---- */
.philosophy__grid{
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(24px, 3vw, 40px);
}
.philosophy__item{
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  border-radius: 16px;
}
.philosophy__item h3{
  font-size: 17px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.philosophy__item p{
  font-size: 14px;
  line-height: 1.85;
}
@media (max-width: 900px){
  .philosophy__grid{ grid-template-columns: 1fr; }
}

/* ---- Greeting (company) ---- */
.greeting{
  padding: clamp(32px, 4vw, 56px);
  border-radius: 16px;
  line-height: 1.95;
  font-size: 15px;
}
.greeting__text p{
  margin-bottom: 1.6em;
}
.greeting__sign{ font-size: 1.05rem; margin-top: 2.4rem; }
.greeting__sign span{ font-size: 1.5rem; }

/* ---- Profile table (company) ---- */
.profileTable dt{
  width: 200px;
  padding: 20px 24px;
  font-size: 14px;
}
.profileTable dd{
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-body);
}
@media (max-width: 768px){
  .profileTable dt{ padding: 14px 20px; font-size: 13px; }
  .profileTable dd{ padding: 14px 20px; font-size: 14px; }
}

/* ---- FAQ ---- */
.faq{ gap: 14px; }
.faq details{
  padding: 18px 22px;
  border-radius: 12px;
}
.faq summary{
  font-size: 15px;
  padding: 4px 0;
}
.faq p{
  font-size: 14px;
  line-height: 1.9;
  margin-top: 12px;
}

/* ---- Form (contact) ---- */
.form{
  gap: 20px;
  max-width: 720px;
  margin: 32px 0 0;
}
.form label{
  font-size: 13px;
  color: var(--text-body);
  gap: 8px;
}
.form input,
.form textarea{
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  border: 1px solid rgba(0,0,0,.15);
}
.form input:focus,
.form textarea:focus{
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.form .btn{
  align-self: flex-start;
  margin-top: 8px;
}

/* ---- Magazine / postCard ---- */
.container--magazine{
  padding: clamp(48px, 6vw, 80px) 20px;
}
.magazineLayout{ gap: clamp(32px, 4vw, 56px); }
.magazineSidebar{ flex: 0 0 clamp(240px, 22vw, 280px); }
.postList{
  gap: clamp(24px, 3vw, 40px);
}
.postCard__body{ padding: 22px; }
.postCard__title{ font-size: 1.15rem; line-height: 1.45; }
.postCard__excerpt{ font-size: 0.9rem; line-height: 1.7; }
.postCard__date{ font-size: 0.8rem; }
.postCard__category{
  padding: 4px 10px;
  font-size: 0.7rem;
}

/* ---- Workflow (steps) ---- */
.workflow{ margin-top: clamp(24px, 3vw, 40px); }
.workflow__item{
  margin-bottom: clamp(40px, 4vw, 56px);
  padding-left: 88px;
}
.workflow::before{ left: 27px; }
.workflow__num{
  width: 56px;
  height: 56px;
}
.workflow__title{
  font-size: clamp(18px, 1.5vw, 22px);
  margin: 0 0 12px;
}
.workflow__text{
  font-size: 14px;
  line-height: 1.95;
}
.workflow__point{
  font-size: 13px;
  padding: 14px 18px;
  line-height: 1.75;
}
.workflow__footer{
  padding: clamp(32px, 4vw, 56px);
  margin-top: clamp(48px, 5vw, 72px);
  border-radius: 16px;
}

/* ---- Privacy page ---- */
.privacyContent{
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-body);
}
.privacyContent h2{
  font-size: 17px !important;
  margin-top: 40px !important;
}

/* ---- Iphone / mobile refinement ---- */
@media (max-width: 640px){
  body{ padding-top: var(--topbar-h-sp); }
  .topbar{ height: var(--topbar-h-sp); padding: 0 12px; }
  .brand{ gap: 8px; min-width: 0; overflow: hidden; }
  .brand__logo{ width: 48px; height: 48px; flex: 0 0 48px; }
  .brand__text{ min-width: 0; overflow: hidden; }
  .brand__tagline{ display: none; }
  .brand__name{
    font-size: 14px;
    letter-spacing: .02em;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand__corp{ font-size: 11px; margin-left: 3px; }
  .topbar__right{ flex-shrink: 0; gap: 6px; }
  .topbar .btn{ padding: 8px 14px; font-size: 12px; min-height: 36px; }
}

/* ---- Very small phones (iPhone SE 等) ---- */
@media (max-width: 430px){
  .brand__name{ display: none; }        /* 社名を隠しロゴのみで見せる */
  .brand__logo{ width: 44px; height: 44px; flex: 0 0 44px; }

  .hero{ height: calc(100svh - var(--topbar-h-sp)); min-height: 480px; }
  .hero__content h1{ font-size: clamp(24px, 6.5vw, 32px); line-height: 1.4; }
  .hero__content p{ font-size: 13px; line-height: 1.85; }
  .pageHeader__inner{ padding: 32px 0; }
  .pageTitle{ font-size: 24px; }
  .section{ padding: 48px 0; }
  .sectionHead{ margin-bottom: 24px; }
  .footer__inner{ padding: 0 20px; }
  .footer__copy{ margin: 24px 20px 0; padding-top: 20px; }
  .btn{ padding: 12px 22px; font-size: 13px; }
  .form input, .form textarea{ font-size: 16px; } /* iOS zoom 抑制 */
}

/* ================================================================
   DESIGN-TASTE PASS (2026-07 · taste-skill applied)
   Redesign–preserve mode. Dials: variance 6 / motion 3 / density 3.
   Locks: cyan #00b6ea + cream #f6f3ee + Noto Serif JP + Zen Kaku.
   Reads as: 和モダン editorial trust-first B2B.
================================================================ */

:root{
  /* Warm neutral scale (paper-like) */
  --paper-100: #fbf9f4;
  --paper-200: #f6f3ee;   /* base bg (locked) */
  --paper-300: #ede9df;
  --paper-400: #ddd6c5;
  --ink-900: #12100e;     /* warm near-black */
  --ink-700: #3a3630;
  --ink-500: #6b6558;
  --ink-400: #928a7a;
  --ink-200: #d6cfbf;
  --accent-500: #00b6ea;  /* cyan (locked, CTA only) */
  --accent-700: #0088b5;
  --accent-ink: #0a3a4a;  /* deep cyan for text emphasis */
  --deep-500: #1a50ab;    /* deep blue accent (existing palette) */
  --hairline: rgba(18, 16, 14, 0.08);
  --hairline-strong: rgba(18, 16, 14, 0.16);
  --shadow-warm: 0 1px 2px rgba(60, 40, 20, 0.04), 0 8px 24px rgba(60, 40, 20, 0.06);
  --shadow-warm-hover: 0 2px 4px rgba(60, 40, 20, 0.06), 0 16px 40px rgba(60, 40, 20, 0.10);
  --radius: 12px;         /* shape lock: ONE radius */
  --radius-sm: 8px;
  --radius-pill: 999px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Base typography, Japanese-optimised ---- */
html{ font-feature-settings: "palt" 1; }
body{
  background: var(--paper-200);
  color: var(--ink-700);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

h1, h2, h3, .brand__name, .pageTitle, .sectionHead__title{
  font-family: "Noto Serif JP", "Noto Serif CJK JP", serif;
  color: var(--ink-900);
  font-feature-settings: "palt" 1;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* Tabular numbers for phone/address/dates */
.footer__small, .office__info, .postCard__date, .profileTable dd,
address, time, .breadcrumb, .brand__logo + *, .pagination *{
  font-feature-settings: "palt" 1, "tnum" 1;
}

a{
  color: inherit;
  transition: color .2s var(--ease-out-expo);
}
a:hover{ color: var(--accent-ink); }

/* ---- Topbar: hairline + subtler shadow ---- */
.topbar{
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: none;
}
.brand__tagline{ color: var(--accent-ink); }

/* ---- Hero: remove text-shadow, softer gradient, wider composition ---- */
.hero::after{
  background:
    linear-gradient(180deg,
      rgba(10, 20, 40, 0.15) 0%,
      rgba(10, 20, 40, 0.05) 40%,
      rgba(10, 20, 40, 0.35) 100%);
}
.hero__content{
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);   /* subtle only */
  padding: clamp(14svh, 20svh, 24svh) 0 0;
  max-width: 720px;
}
.hero__content h1{
  font-family: "Noto Serif JP", "Noto Serif CJK JP", serif;
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 56px);
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin: 0 0 24px;
}
.hero__content p{
  font-size: clamp(14px, 1.1vw, 16.5px);
  line-height: 2;
  letter-spacing: 0.04em;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.94);
}

/* Scroll cue: banned (§9.F) */
.hero__scroll{ display: none !important; }

/* ---- Page header: subtle divider instead of hard border ---- */
.pageHeader{
  background: transparent;
  border-bottom: 1px solid var(--hairline);
}
.breadcrumb{
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.breadcrumb a{
  color: var(--ink-500);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color .2s;
}
.breadcrumb a:hover{ border-bottom-color: var(--accent-500); }
.pageTitle{
  margin: 20px 0 0;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---- Section: editorial rhythm, subtle tone variation ---- */
.section{
  padding: clamp(80px, 8vw, 120px) 0;
}
.section--alt{ background: var(--paper-100); }
.section h2,
.sectionHead__title{
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: 0.06em;
  margin: 0;
}

/* SectionHead: refined eyebrow ONLY where kept (see HTML edits) */
.sectionHead{ margin-bottom: clamp(40px, 5vw, 64px); }
.sectionHead__eyebrow{
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--ink-400);
  text-transform: uppercase;
  font-weight: 600;
  gap: 14px;
  margin-bottom: 20px;
}
.sectionHead__eyebrow::before{
  width: 28px;
  height: 1px;
  background: var(--ink-200);
  opacity: 1;
}
.sectionHead__lead{
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-500);
  max-width: 56ch;
  letter-spacing: 0.02em;
}

/* ---- NEWS: editorial hairline treatment ---- */
.section .list{
  border-top: 1px solid var(--hairline);
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}
.section .list li{
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  margin: 0;
  color: var(--ink-700);
  font-size: 14.5px;
  transition: padding-left .3s var(--ease-out-expo);
}
.section .list li:hover{
  padding-left: 12px;
  color: var(--ink-900);
}
.section .list a{ display: block; }

/* ---- VALUES: refined card system ---- */
.values{
  background: linear-gradient(180deg, var(--paper-200) 0%, var(--paper-300) 100%);
  padding: clamp(88px, 9vw, 132px) 0;
}
.values__card{
  background: var(--paper-100);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: none;
  padding: clamp(28px, 2.6vw, 40px) clamp(18px, 1.6vw, 26px);
  transition: transform .4s var(--ease-out-expo),
              box-shadow .4s var(--ease-out-expo),
              border-color .4s var(--ease-out-expo);
}
.values__card:hover{
  transform: translateY(-4px);
  border-color: var(--ink-200);
  box-shadow: var(--shadow-warm-hover);
}
.values__num{
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--accent-ink);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}
.values__card h3{
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-900);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  min-height: 3.4em;
}
.values__card p{
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}

/* ---- SERVICE: refined card system ---- */
.service{
  background: var(--paper-100);
  padding: clamp(88px, 9vw, 132px) 0;
}
.service__grid{
  gap: clamp(20px, 2vw, 32px);
  margin-top: clamp(40px, 4vw, 56px);
}
.service__card{
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: none;
  overflow: hidden;
  transition: transform .4s var(--ease-out-expo),
              box-shadow .4s var(--ease-out-expo);
}
.service__card::after{ display: none; }        /* remove radial gradient overlay */
.service__card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-warm-hover);
}
.service__image{
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out-expo);
}
.service__card:hover .service__image img{
  transform: scale(1.05);
}
.service__body{ padding: clamp(20px, 2.2vw, 28px); }
.service__body h3{
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.service__body p{
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-500);
  margin: 0;
}

/* ---- WORKS: subtler, more editorial ---- */
.works{
  background: var(--paper-200);
  padding: clamp(88px, 9vw, 132px) 0;
}
.cat-stage{ background: var(--paper-200); }
.work{ border-radius: var(--radius); }
.work img{ border-radius: var(--radius); }

/* ---- OFFICE ---- */
.office{ background: var(--paper-100); }
.office__wrap{ gap: clamp(32px, 4vw, 56px); }
.office__image iframe{
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: none;
}
.office__info h3{
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.office__info p{
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}

/* ---- Buttons: refined ---- */
.btn{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  transition: transform .3s var(--ease-out-expo),
              box-shadow .3s var(--ease-out-expo),
              background-color .3s var(--ease-out-expo),
              color .3s var(--ease-out-expo);
}
.btn--orange{
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 182, 234, 0.25);
}
.btn--orange:hover{
  background: var(--accent-700);
  border-color: var(--accent-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 182, 234, 0.35);
}
.btn--ghost{
  background: transparent;
  border: 1px solid var(--ink-200);
  color: var(--ink-900);
}
.btn--ghost:hover{
  background: var(--ink-900);
  color: var(--paper-100);
  border-color: var(--ink-900);
}
.topbar .btn{
  padding: 10px 22px;
  font-size: 12.5px;
  min-height: 40px;
  background: transparent;
  border: 1px solid var(--ink-200);
  color: var(--ink-900);
  box-shadow: none;
}
.topbar .btn:hover{
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper-100);
  transform: none;
  box-shadow: none;
}

/* ---- Message (about) ---- */
.message__lead{
  border-left: 2px solid var(--accent-500);
  padding-left: 24px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  color: var(--ink-900);
}
.message__image img{
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 50px rgba(60, 40, 20, 0.08);
}
.message__sign span{
  border-bottom: 1px solid var(--accent-500);
  padding-bottom: 4px;
}

/* ---- Philosophy (about) ---- */
.philosophy__item{
  background: var(--paper-100);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: none;
  transition: transform .4s var(--ease-out-expo),
              border-color .4s var(--ease-out-expo);
}
.philosophy__item:hover{
  transform: translateY(-4px);
  border-color: var(--ink-200);
}
.philosophy__item h3{
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: 0.04em;
}
.philosophy__item p{ color: var(--ink-500); line-height: 2; }

/* ---- Greeting (company) ---- */
.greeting{
  background: var(--paper-100);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: none;
}
.greeting__sign span{
  border-bottom: 1px solid var(--accent-500);
}

/* ---- Profile table (company) — hairline discipline ---- */
.profileTable{
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: none;
  background: var(--paper-100);
}
.profileTable__row{ border-bottom: 1px solid var(--hairline); }
.profileTable dt{
  background: transparent;
  color: var(--ink-900);
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  border-right: 1px solid var(--hairline);
}
.profileTable dd{
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* ---- Map (company) ---- */
.map__frame{
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: none;
}

/* ---- FAQ ---- */
.faq details{
  background: var(--paper-100);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color .3s;
}
.faq details[open]{ border-color: var(--ink-200); }
.faq summary{
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-900);
  letter-spacing: 0.04em;
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ink-500);
  border-bottom: 1.5px solid var(--ink-500);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease-out-expo);
}
.faq details[open] summary::after{
  transform: translateY(-30%) rotate(-135deg);
}
.faq p{
  color: var(--ink-500);
  line-height: 2;
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ---- Form ---- */
.form{ margin-top: 40px; }
.form label{
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
.form input, .form textarea{
  background: var(--paper-100);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-900);
  transition: border-color .2s, background-color .2s;
}
.form input:focus, .form textarea:focus{
  outline: none;
  border-color: var(--accent-500);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 182, 234, 0.12);
}

/* ---- Magazine cards ---- */
.postCard{
  background: var(--paper-100);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: none;
  transition: transform .4s var(--ease-out-expo),
              border-color .4s var(--ease-out-expo);
}
.postCard:hover{
  transform: translateY(-4px);
  border-color: var(--ink-200);
  box-shadow: var(--shadow-warm-hover);
}
.postCard__category{
  background: var(--ink-900);
  color: var(--paper-100);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.postCard__title{
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: 0.04em;
}
.postCard__excerpt{
  color: var(--ink-500);
  line-height: 1.9;
  font-size: 13.5px;
}
.postCard__date{
  color: var(--ink-400);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.sidebarWidget__title{
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-200);
  letter-spacing: 0.06em;
}
.sidebarWidget__list a{ color: var(--ink-500); font-size: 13.5px; }
.sidebarWidget__list a:hover{ color: var(--accent-ink); }

/* Pagination */
.pagination{ margin-top: clamp(56px, 6vw, 88px); }
.pagination__current, .pagination__link, .pagination__next{
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
}
.pagination__current{ background: var(--ink-900); color: var(--paper-100); border-color: var(--ink-900); }
.pagination__link:hover, .pagination__next:hover{
  border-color: var(--ink-900);
  color: var(--ink-900);
}

/* ---- Workflow ---- */
.workflow__num{
  background: var(--paper-100);
  border: 1.5px solid var(--accent-500);
  color: var(--accent-ink);
  box-shadow: 0 2px 8px rgba(60, 40, 20, 0.04);
}
.workflow__count{
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}
.workflow__title{
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: 0.06em;
}
.workflow__text{ color: var(--ink-500); line-height: 2; }
.workflow__point{
  background: var(--paper-100);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--accent-500);
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-size: 13.5px;
}
.workflow__point strong{ color: var(--accent-ink); }
.workflow__footer{
  background: var(--paper-100);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: none;
}

/* ---- Footer refinement ---- */
.footer{
  background: var(--paper-300);
  color: var(--ink-700);
  padding: clamp(56px, 6vw, 80px) 0 24px;
}
.footer__inner{ align-items: flex-start; }
.footer__brand{
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer__small{
  color: var(--ink-700);
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.02em;
}
.footer__small a{
  color: var(--accent-ink);
  border-bottom: 1px solid var(--accent-500);
  text-decoration: none !important;
  padding-bottom: 1px;
}
.footer__links{
  padding-left: clamp(0px, 3vw, 40px);
  border-left: 1px solid var(--hairline);
  padding-top: 4px;
}
.footer__links a{
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink-700);
  letter-spacing: 0.04em;
  padding: 6px 0;
  transition: color .2s, padding-left .3s var(--ease-out-expo);
}
.footer__links a:hover{
  color: var(--accent-ink);
  padding-left: 8px;
}
.footer__copy{
  color: var(--ink-400);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-top: 1px solid var(--hairline-strong);
  margin: 40px clamp(20px, 3vw, 40px) 0;
  padding: 24px 0 0;
}
@media (max-width: 900px){
  .footer__links{
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--hairline);
    padding-top: 24px;
  }
}

/* ---- Reveal animation refinement ---- */
.reveal{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}
.reveal.is-in{ opacity: 1; transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .reveal, .service__card, .values__card, .postCard, .philosophy__item,
  .btn, .footer__links a, .section .list li{
    transition: none !important;
    animation: none !important;
  }
  .reveal{ opacity: 1; transform: none; }
}

/* ---- Selection color ---- */
::selection{ background: var(--accent-500); color: #ffffff; }

/* ---- Table + list hairline ---- */
.list{ list-style: none; padding: 0; }

/* --- Workflow Page Specific --- */
.workflow {
  position: relative;
  margin-top: 40px;
}

.workflow::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
  z-index: 1;
}

.workflow__item {
  position: relative;
  margin-bottom: 60px;
  padding-left: 80px;
  z-index: 2;
}

.workflow__item:last-child {
  margin-bottom: 0;
}

.workflow__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: "Noto Serif CJK JP", serif;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.workflow__count {
  font-size: 0.7rem;
  margin-top: -2px;
  opacity: 0.8;
}

.workflow__icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}


.workflow__title {
  font-size: 1.4rem;
  margin: 0 0 15px;
  color: var(--text);
  line-height: 1.4;
}

.workflow__text {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 15px;
}

.workflow__point {
  background: #fdfaf5;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  border-left: 4px solid var(--accent);
  color: #555;
}

.workflow__point strong {
  color: var(--accent);
  margin-right: 8px;
}

.workflow__footer {
  margin-top: 80px;
  text-align: center;
  background: var(--bg2);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.workflow__footer p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--text);
}

@media (max-width: 640px) {
  .workflow__item {
    padding-left: 65px;
  }
  .workflow::before {
    left: 20px;
  }
  .workflow__num {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .workflow__title {
    font-size: 1.2rem;
  }
}


