/* =========================
  Takenodouguten - v2 Craft (Structured + Washi + Spacious)
  - Strong corporate rhythm + craft mood
  - Washi-like texture (CSS only)
  - Larger photography, more whitespace
  - No section-note layout (lead only)
  - Top hero: one-column big image
  - Top news: non-click items
========================= */

:root{
  --bg:#ffffff;
  --surface:#fbfbfb;
  --text:#101010;
  --muted:#5d5d5d;

  --line:rgba(16,16,16,.12);
  --line2:rgba(16,16,16,.08);

  --shadow: 0 26px 70px rgba(16,16,16,.10);
  --shadow2: 0 16px 42px rgba(16,16,16,.08);

  --radius: 18px;
  --radius-lg: 28px;

  --container: 1140px;
  --gutter: 26px;

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --track: 0.08em;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  color:var(--text);
  background: var(--bg);
  font-family:var(--sans);
  line-height:1.9;
  letter-spacing:.01em;
}

/* Subtle “washi” texture: purely CSS */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(1200px 800px at 20% 0%, rgba(16,16,16,.03), transparent 60%),
    radial-gradient(900px 700px at 100% 20%, rgba(16,16,16,.02), transparent 55%),
    repeating-linear-gradient(90deg, rgba(16,16,16,.012), rgba(16,16,16,.012) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(0deg, rgba(16,16,16,.008), rgba(16,16,16,.008) 1px, transparent 1px, transparent 22px);
  opacity: .65;
  mix-blend-mode: multiply;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0 0 1.15em; color:var(--muted); }
strong{ color:var(--text); font-weight:600; }

.container{
  max-width:var(--container);
  padding:0 var(--gutter);
  margin:0 auto;
}

/* Accessibility / SEO helper */
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px;
  background:#fff; border:1px solid var(--line);
  border-radius:12px; z-index:9999;
}

/* =========================
  Header / Nav
========================= */
.header{
  position:sticky; top:0; z-index:1000;
  background:rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
  gap:18px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-logo{
  width:178px; height:28px; display:block;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(16,16,16,.14), rgba(16,16,16,.04));
}

.nav{ display:flex; align-items:center; gap:18px; }
.nav a{
  font-size:13px;
  color:rgba(16,16,16,.78);
  letter-spacing:.06em;
  padding:10px 10px;
  border-radius:999px;
}
.nav a:hover{ background:rgba(16,16,16,.04); }
.nav .cta{
  border:1px solid var(--line);
  background:#fff;
}
.nav .cta:hover{ box-shadow:0 10px 24px rgba(16,16,16,.08); }

.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:10px 12px;
  font-size:13px;
  letter-spacing:.06em;
}
.nav-panel{
  display:none;
  border-top:1px solid var(--line);
  padding:10px 0 16px;
}
.nav-panel a{
  display:block;
  padding:12px 10px;
  border-radius:14px;
  color:rgba(16,16,16,.78);
}
.nav-panel a:hover{ background:rgba(16,16,16,.04); }
.nav-panel .cta{ border:1px solid var(--line); background:#fff; }

/* =========================
  Buttons
========================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px;
  padding:12px 16px;
  font-size:13px;
  letter-spacing:.06em;
  border:1px solid var(--line);
  background:#fff;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(16,16,16,.10);
}
.btn.primary{
  background:#101010;
  color:#fff;
  border-color:#101010;
}
.btn.primary:hover{ box-shadow:0 20px 50px rgba(16,16,16,.18); }
.btn.ghost{ background:transparent; }

/* =========================
  Labels / Headings (English section labels)
========================= */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  color: rgba(16,16,16,.70);
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.eyebrow::before{
  content:"";
  width:18px; height:1px;
  background: rgba(16,16,16,.55);
}
.h2{
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .02em;
  font-size: clamp(22px, 2.2vw, 30px);
}
.lead{
  margin: 10px 0 0;
  max-width: 860px;
  font-size: 14px;
  color: rgba(16,16,16,.62);
}
/* Larger lead text (for contact / important sections only) */
.lead2{
  margin: 10px 0 0;
  max-width: 860px;
  font-size: 15.5px;          /* lead(13px) より一段大きい */
  line-height: 1.9;
  color: rgba(16,16,16,.70);  /* 少しだけ濃くして可読性UP */
}
.rule{ height:1px; background:var(--line); margin-top:18px; }

/* =========================
  Section rhythm
========================= */
.section{ padding: 76px 0; }
.section-tight{ padding: 52px 0; }

/* NOTE: section-note is not used. */
.section-head{
  display:block;
  margin-bottom: 6px;
}

/* =========================
  Panels / Cards
========================= */
.panel{
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  background:#fff;
  overflow:hidden;
}
.panel.shadow{ box-shadow: var(--shadow); }

.card{
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
  background:#fff;
}
.card.pad{ padding: 20px; }
.card h3{
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing:.02em;
  font-size: 17px;
}
.card p{ font-size: 13px; margin:0; }

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

/* Card media for ABOUT cards */
.card-media{
  height: 190px;
  background:#f2f2f2;
  border-bottom:1px solid var(--line);
}
.card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.92) contrast(1.03);
}

/* =========================
  Hero (default)
========================= */
.hero{ padding: 54px 0 34px; }
.hero-media{
  height: 520px;
  background:#f2f2f2;
  position:relative;
}
.hero-media img{
  width:100%; height:100%;
  object-fit:cover;
  filter:saturate(.92) contrast(1.04);
  transform: scale(1.01);
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 650px at 0% 0%, rgba(255,255,255,.74), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,.12), transparent 55%, rgba(0,0,0,.08));
  pointer-events:none;
}
.hero-body{ padding: 28px 28px 24px; }
.hero h1{
  margin: 14px 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing:.02em;
  line-height:1.18;
  font-size: clamp(30px, 3.3vw, 46px);
}
.hero-lead{
  margin:0 0 16px;
  font-size: 14px;
  color: rgba(16,16,16,.64);
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:10px; }

/* Top hero: one-column big image */
.hero-onecol .hero-media{ height: 620px; }
.hero-onecol .hero-body{ padding: 28px 28px 24px; }

/* =========================
  Image band (large)
========================= */
.imageband{
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
  background:#f2f2f2;
  box-shadow: var(--shadow2);
}
.imageband img{
  width:100%;
  height: 440px;
  object-fit:cover;
  filter:saturate(.92) contrast(1.03);
}

/* =========================
  Service grid (Products categories)
========================= */
.service-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.service{
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
  background:#fff;
}
.service .thumb{
  height: 230px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.service .thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(.92) contrast(1.03);
}
.service .body{ padding: 16px 18px 18px; }
.service .name{
  margin:0 0 6px;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing:.02em;
  font-size: 16px;
}
.service .desc{ margin:0; font-size: 12px; color: rgba(16,16,16,.62); }

/* =========================
  News list (non-click)
========================= */
.news{
  margin-top: 22px;
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
  background:#fff;
}
.news-item{
  display:grid;
  grid-template-columns: 120px 1fr 120px;
  gap:12px;
  padding:14px 18px;
  border-top:1px solid var(--line2);
  align-items:center;
}
.news-item:first-child{ border-top:none; }
.news-item .date{ font-size:12px; color:rgba(16,16,16,.58); letter-spacing:.04em; }
.news-item .title{ font-size:13px; color:rgba(16,16,16,.78); }
.news-item .tag{
  justify-self:end;
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  color:rgba(16,16,16,.68);
  background:rgba(16,16,16,.02);
}

/* =========================
  Company table
========================= */
.company{
  margin-top: 22px;
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
  background:#fff;
}
.row{
  display:grid;
  grid-template-columns: 240px 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line2);
}
.row:first-child{ border-top:none; }
.row .k{
  font-size: 12px;
  color: rgba(16,16,16,.60);
  letter-spacing: .08em;
}
.row .v{
  font-size: 13px;
  color: rgba(16,16,16,.74);
}

/* =========================
  CTA block
========================= */
.cta{
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(180deg, rgba(16,16,16,.02), rgba(16,16,16,0));
}
.cta h3{
  margin:0 0 8px;
  font-family:var(--serif);
  font-weight:500;
  letter-spacing:.02em;
}
.cta p{ margin:0 0 14px; }
.small{ font-size:12px; color: rgba(16,16,16,.60); }

/* Contact spacing (Top requested) */
#contact .cta{ margin-top: 22px; }

/* =========================
  Inner Page head
========================= */
.pagehead{ padding: 54px 0 10px; }
.pagehead .title{
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing:.02em;
  font-size: clamp(24px, 2.6vw, 36px);
}
.pagehead .lead{
  margin: 10px 0 0;
  max-width: 860px;
  font-size: 14px;
  color: rgba(16,16,16,.62);
}

/* =========================
  Product list (bigger thumbs)
========================= */
.filters{
  display:flex; flex-wrap:wrap; gap: 10px;
  margin-top: 18px;
}
.filter{
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background:#fff;
  color: rgba(16,16,16,.72);
}
.products-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.product{
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
  background:#fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(16,16,16,.10);
}
.product .ph{ height: 240px; background:#f1f1f1; }
.product .ph img{ width:100%; height:100%; object-fit:cover; filter:saturate(.92) contrast(1.03); }
.product .body{ padding: 14px 16px 16px; }
.product .name{
  margin:0 0 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .02em;
  color: rgba(16,16,16,.90);
}
.product .desc{
  margin:0;
  font-size: 12px;
  color: rgba(16,16,16,.62);
}

/* =========================
  Figure blocks (About gallery)
========================= */
.gallery{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
.figure{
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
  background:#f2f2f2;
  box-shadow: var(--shadow2);
}
.figure img{
  width:100%;
  height: 360px;
  object-fit:cover;
  filter:saturate(.92) contrast(1.03);
}
.figure figcaption{
  padding: 12px 16px;
  font-size: 12px;
  color: rgba(16,16,16,.62);
  background: rgba(255,255,255,.86);
  border-top:1px solid var(--line);
}

/* =========================
  Footer
========================= */
.footer{
  border-top:1px solid var(--line);
  padding: 38px 0 28px;
  background:#fff;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  align-items:start;
}
.footer-grid p{
  padding-right: 28px;
}
.footer h4{
  margin:0 0 10px;
  font-family:var(--serif);
  font-weight:500;
  letter-spacing:.02em;
}
.footer a{ color: rgba(16,16,16,.72); }
.footer a:hover{ text-decoration: underline; }
.copyright{
  margin-top: 18px;
  padding-top: 14px;
  border-top:1px solid var(--line);
  font-size:12px;
  color: rgba(16,16,16,.55);
}

/* Reveal */
[data-reveal]{
  opacity:0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
.revealed{ opacity:1 !important; transform: translateY(0) !important; }

/* Responsive */
@media (max-width: 980px){
  .hero-media{ height: 380px; }
  .hero-onecol .hero-media{ height: 420px; }
  .imageband img{ height: 320px; }
  .grid-3{ grid-template-columns: 1fr; }
  .service-grid{ grid-template-columns: 1fr; }
  .products-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery{ grid-template-columns: 1fr; }
  .news-item{ grid-template-columns: 1fr; gap:8px; }
  .news-item .tag{ justify-self:start; }
  .row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .nav-panel{ display:block; }
  .nav-panel[hidden]{ display:none; }
}
@media (max-width: 520px){
  :root{ --gutter: 18px; }
  .hero-body{ padding: 20px 18px 18px; }
  .products-grid{ grid-template-columns: 1fr; }
  .product .ph{ height: 220px; }
  .figure img{ height: 300px; }
}
.logo{
  transform: translateY(1px);
}
.card.pad{
  border: none;
  box-shadow: none;
  background-color: #fff;
  margin-top: -8px;
}
.service .name,
.product .name{
  margin: 0;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
}
/* aboutページの特定カードだけ枠線を出す */
.card.pad.about-card{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
/* about画像キャプション */
.figure figcaption{
  margin-top:0px;
  line-height:1.5;
}
.fig-title{
  display:block;
  font-family: var(--serif);
  font-size:15px;
  font-weight:500;
  letter-spacing:.03em;
  color:rgba(16,16,16,0.9);
  margin-bottom:4px;
}
.fig-desc{
  display:block;
  font-size:12px;
  color:rgba(16,16,16,0.6);
}
/* aboutページ GUIDEセクション余白調整 */
.guide-section{
  padding-top: 0px;
  padding-bottom: 0;
}
/* business.html の追加B2Bセクション直後だけ余白を調整 */
.business-b2b-section{
  padding-bottom: 36px;
}

.business-b2b-section + .section{
  padding-top: 36px;
}
/* businessページ B2Bセクション余白調整 */
.business-b2b-section{
  padding-top: 10px;
}
/* =========================
  business.html カタログ紹介
========================= */
.business-catalog-section{
  padding-top: 36px;
}

.catalog-intro{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;
}

.catalog-media img{
  display:block;
  width:100%;
  max-width:420px;
  height:280px;
  object-fit:cover;
  border-radius: var(--radius-lg);
  border:1px solid var(--line);
}

.catalog-title{
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .04em;
  color: rgba(16,16,16,0.92);
}

.catalog-text{
  margin: 0 0 14px;
  color: rgba(16,16,16,0.72);
  line-height: 1.9;
}

.catalog-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 900px){

  .catalog-intro{
    grid-template-columns:1fr;
    gap:22px;
    align-items:start;
  }

  .catalog-media img{
    max-width:100%;
    height:220px;
  }

}
/* カタログセクション余白調整 */
.business-catalog-section .catalog-intro{
  margin-top: 28px;
}
/* =========================
  トップページ ヒーロー画像調整（PCのみ）
========================= */
@media (min-width: 900px){
  .hero-onecol .hero-media{
    height: 500px;
  }

  .hero-onecol .hero-body{
    padding: 24px 28px 22px;
  }
}
/* =========================
  トップページだけセクション間を少し詰める
========================= */

/* ABOUT と PRODUCTS の通常セクション */
.home-page .section{
  padding: 60px 0;
}

/* 画像帯は少しだけ控えめに */
.home-page .section-tight{
  padding: 40px 0;
}
/* =========================
  aboutページ カタログ紹介
========================= */
.about-catalog-section{
  padding-top: 56px;
  padding-bottom: 0;
}

.about-catalog-stack{
  margin-top: 28px;
}

.about-catalog-row{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: center;
}

.about-catalog-row + .about-catalog-row{
  margin-top: 36px;
}

.about-catalog-row-reverse{
  grid-template-columns: 1fr 420px;
}

.about-catalog-row-reverse .about-catalog-body{
  grid-column: 1;
  grid-row: 1;
}

.about-catalog-row-reverse .about-catalog-media{
  grid-column: 2;
  grid-row: 1;
}

.about-catalog-media img{
  display: block;
  width: 100%;
  max-width: 420px;
  height: 280px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.about-catalog-title{
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .03em;
  color: rgba(16,16,16,0.92);
}

.about-catalog-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(16,16,16,0.72);
}

.about-catalog-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 900px){
  .about-catalog-section{
    padding-top: 44px;
  }

  .about-catalog-stack{
    margin-top: 24px;
  }

  .about-catalog-row,
  .about-catalog-row-reverse{
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .about-catalog-row + .about-catalog-row{
    margin-top: 28px;
  }

  .about-catalog-row-reverse .about-catalog-body,
  .about-catalog-row-reverse .about-catalog-media{
    grid-column: auto;
    grid-row: auto;
  }

  .about-catalog-media img{
    max-width: 100%;
    height: 220px;
  }

  .about-catalog-title{
    font-size: 22px;
  }
}
/* B2Bページ専用：カタログ上の余白調整 */
.about-catalog-section {
  padding-top: 100px;
  padding-bottom: 60px;
}
.card-meta {
  font-size: 11px;
  color: #999;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-top: -8px;
}
/* カタログページctaのフォント調整 */
.catalog-cta p {
  font-size: 14px;
  line-height: 1.9;
}