:root{
  --bg:#f6f3ee;
  --bg2:#ffffff;
  --bg3:#a99064;/* フッター */
  --text:#1c1c1c;
  --muted:#6b6b6b;
  --accent: #e66b14;
  --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: 60px;
  height: 60px;
  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:#ff8709;             /* 指定カラー */
}
.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:#e66b14;
  border:1px solid #e66b14;
  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:#e66b14;
  border-color:#e66b14;
  color:#ffffff;
}

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

.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:#e66b14; /* ブランドオレンジ */
  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:left;
  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:left;
  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{
  width:100%;
  max-width:500px;
  border-radius:18px;
}

.office__map{width: calc(100% - 540px);}
.office__info{
  font-size:15px;
  line-height:1.9;
  width: 500px;
}

.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;
    margin-top: 0px;
  }
  .office__wrap > div{width: 100%;}
  .office__info{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;
  }
}
