@charset "UTF-8";

/* ============================================================
   株式会社ボディーショップツダ  スタイルシート
   ブランドカラー: 濃紺 #16305c × イエロー #f7c948
   ============================================================ */

:root{
  --navy:        #16305c;
  --navy-dark:   #0f2242;
  --navy-light:  #24457c;
  --yellow:      #f7c948;
  --yellow-dark: #e3b02c;

  --text:  #1b2230;
  --muted: #5c6879;
  --line:  #e2e7ee;
  --bg:    #ffffff;
  --bg-alt:#f5f7fa;

  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(16,34,66,.08), 0 1px 2px rgba(16,34,66,.06);
  --shadow-md: 0 6px 24px rgba(16,34,66,.10);
  --shadow-lg: 0 16px 48px rgba(16,34,66,.16);

  --header-h: 76px;
  --container: 1140px;

  --font: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
          "BIZ UDPGothic", Meiryo, "Yu Gothic Medium", "Yu Gothic", sans-serif;
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  line-height:1.85;
  font-size:16px;
  letter-spacing:.02em;
  overflow-wrap:break-word;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--navy); text-decoration:none; }
a:hover{ text-decoration:underline; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
table{ border-collapse:collapse; width:100%; }
iframe{ border:0; display:block; }
button{ font:inherit; color:inherit; }

/* フォーカスリング（キーボード操作時のみ） */
:focus-visible{
  outline:3px solid var(--yellow);
  outline-offset:2px;
  border-radius:4px;
}

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--navy); color:#fff; padding:12px 20px; font-weight:700;
}
.skip-link:focus{ left:0; }

.container{
  width:min(100% - 40px, var(--container));
  margin-inline:auto;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.96);
  backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; min-height:var(--header-h);
}
.brand{
  display:flex; align-items:center; gap:12px;
  color:inherit; text-decoration:none; flex:0 1 auto; min-width:0;
}
.brand:hover{ text-decoration:none; }
.brand img{ width:44px; height:auto; flex:none; }
.brand-text{ display:flex; flex-direction:column; line-height:1.35; min-width:0; }
.brand-text strong{
  font-size:17px; font-weight:800; color:var(--navy);
  letter-spacing:.01em; white-space:nowrap;
}
.brand-text small{ font-size:11px; color:var(--muted); white-space:nowrap; }

.site-nav{ display:flex; align-items:center; gap:24px; }
.site-nav > ul{ display:flex; align-items:center; gap:22px; }
.site-nav > ul a{
  font-size:14.5px; font-weight:700; color:var(--text);
  padding:6px 0; position:relative; white-space:nowrap;
}
.site-nav > ul a:hover{ color:var(--navy); text-decoration:none; }
.site-nav > ul a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:var(--yellow); transform:scaleX(0); transform-origin:left;
  transition:transform .22s ease;
}
.site-nav > ul a:hover::after{ transform:scaleX(1); }

.btn-tel-header{
  display:flex; flex-direction:column; align-items:center;
  background:var(--navy); color:#fff; border-radius:10px;
  padding:8px 18px; line-height:1.25; white-space:nowrap;
  transition:background .2s ease;
}
.btn-tel-header:hover{ background:var(--navy-light); text-decoration:none; }
.btn-tel-header .tel-label{ font-size:10.5px; opacity:.85; letter-spacing:.06em; }
.btn-tel-header .tel-num{ font-size:19px; font-weight:800; letter-spacing:.03em; }

/* ハンバーガー */
.nav-toggle{
  display:none; width:46px; height:46px; padding:0;
  background:var(--navy); border:0; border-radius:10px; cursor:pointer;
  position:relative; flex:none;
}
.nav-toggle span{
  position:absolute; left:13px; width:20px; height:2px; background:#fff;
  border-radius:2px; transition:transform .25s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1){ top:16px; }
.nav-toggle span:nth-child(2){ top:22px; }
.nav-toggle span:nth-child(3){ top:28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero{ position:relative; color:#fff; isolation:isolate; }
.hero-media{ position:absolute; inset:0; z-index:-2; }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position:center 55%; }
.hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(100deg, rgba(15,34,66,.94) 0%, rgba(15,34,66,.86) 42%, rgba(15,34,66,.55) 72%, rgba(15,34,66,.42) 100%);
}
.hero-inner{ padding:96px 0 104px; max-width:820px; margin-inline:auto; }

.hero-eyebrow{
  display:inline-block; font-size:13px; font-weight:700; letter-spacing:.12em;
  color:var(--yellow); border-left:3px solid var(--yellow);
  padding-left:12px; margin-bottom:22px;
}
.hero-title{
  font-size:clamp(30px, 5.2vw, 54px);
  font-weight:900; line-height:1.35; letter-spacing:.01em;
  text-shadow:0 2px 20px rgba(0,0,0,.3);
}
.hero-title .hl{
  background:linear-gradient(transparent 68%, rgba(247,201,72,.35) 68%);
}
.hero-lead{
  margin-top:24px; font-size:clamp(15px, 1.9vw, 17.5px);
  line-height:2; color:rgba(255,255,255,.94);
  text-shadow:0 1px 12px rgba(0,0,0,.35);
}

.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:36px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:16px 30px; border-radius:10px; font-weight:800; font-size:16px;
  letter-spacing:.03em; transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{ text-decoration:none; transform:translateY(-2px); }
.btn svg{ width:20px; height:20px; fill:currentColor; flex:none; }
.btn-primary{ background:var(--yellow); color:var(--navy-dark); box-shadow:0 6px 18px rgba(247,201,72,.35); }
.btn-primary:hover{ background:#ffd75f; box-shadow:0 10px 26px rgba(247,201,72,.45); }
.btn-ghost{ background:rgba(255,255,255,.10); color:#fff; border:1.5px solid rgba(255,255,255,.65); }
.btn-ghost:hover{ background:rgba(255,255,255,.20); }

.hero-badges{ display:flex; flex-wrap:wrap; gap:10px; margin-top:34px; }
.hero-badges li{
  font-size:13px; font-weight:700; letter-spacing:.03em;
  padding:7px 15px; border-radius:999px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.32);
}

/* ============================================================
   セクション共通
   ============================================================ */
.section{ padding:88px 0; }
.section-head{ text-align:center; margin-bottom:52px; }
.section-eyebrow{
  font-size:12.5px; font-weight:800; letter-spacing:.24em;
  color:var(--yellow-dark); margin-bottom:10px;
}
.section-title{
  font-size:clamp(24px, 3.6vw, 34px); font-weight:900;
  color:var(--navy); line-height:1.45; letter-spacing:.02em;
}
.section-title::after{
  content:""; display:block; width:52px; height:4px; border-radius:2px;
  background:var(--yellow); margin:18px auto 0;
}
.section-lead{ margin-top:20px; color:var(--muted); font-size:15.5px; }

.section-head-light .section-title,
.section-head-light .section-lead{ color:#fff; }
.section-head-light .section-eyebrow{ color:var(--yellow); }

.cards-3{
  display:grid; gap:28px;
  grid-template-columns:repeat(3, 1fr);
}

/* ============================================================
   選ばれる理由
   ============================================================ */
.section-reasons{
  background:var(--bg-alt) url("images/work1.jpg") center/cover no-repeat;
  background-blend-mode:luminosity;
  position:relative;
}
.section-reasons::before{
  content:""; position:absolute; inset:0; background:rgba(245,247,250,.90);
}
.section-reasons > .container{ position:relative; }

.reason-card{
  background:#fff; border-radius:var(--radius); padding:38px 30px 34px;
  box-shadow:var(--shadow-sm); border-top:4px solid var(--navy);
  transition:transform .22s ease, box-shadow .22s ease;
}
.reason-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.reason-num{
  font-size:36px; font-weight:900; line-height:1; color:var(--yellow);
  letter-spacing:.02em; margin-bottom:14px;
}
.reason-card h3{
  font-size:19px; font-weight:800; color:var(--navy);
  line-height:1.6; margin-bottom:14px;
}
.reason-card p{ font-size:15px; color:var(--muted); line-height:1.95; }

/* ============================================================
   事業内容
   ============================================================ */
.service-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover{
  transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent;
}
.service-img{ aspect-ratio:16/10; overflow:hidden; background:var(--bg-alt); }
.service-img img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s ease;
}
.service-card:hover .service-img img{ transform:scale(1.05); }
.service-body{ padding:26px 24px 28px; display:flex; flex-direction:column; flex:1; }
.service-body h3{
  font-size:19px; font-weight:800; color:var(--navy);
  margin-bottom:12px; line-height:1.5;
  padding-left:14px; border-left:4px solid var(--yellow);
}
.service-body p{ font-size:14.5px; color:var(--muted); line-height:1.95; flex:1; }

.service-card-plain{
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color:transparent;
}
.service-card-plain .service-body{ padding:38px 28px; }
.service-card-plain h3{ color:#fff; border-left-color:var(--yellow); }
.service-card-plain p{ color:rgba(255,255,255,.88); }

.tag-list{ display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.tag-list li{
  font-size:12px; font-weight:700; letter-spacing:.02em;
  background:var(--bg-alt); color:var(--navy);
  padding:5px 12px; border-radius:999px;
}
.service-card-plain .tag-list li{
  background:rgba(255,255,255,.14); color:#fff;
}
.text-link{
  margin-top:20px; font-weight:800; font-size:14.5px; color:var(--yellow);
}
.text-link:hover{ text-decoration:underline; }

/* ============================================================
   ご依頼の流れ
   ============================================================ */
.section-flow{ background:var(--bg-alt); }
.flow-list{
  display:grid; gap:24px;
  grid-template-columns:repeat(4, 1fr);
  counter-reset:flow;
}
.flow-list li{
  background:#fff; border-radius:var(--radius); padding:30px 24px 28px;
  box-shadow:var(--shadow-sm); position:relative;
}
.flow-list li:not(:last-child)::after{
  content:""; position:absolute; top:50%; right:-16px;
  width:0; height:0; transform:translateY(-50%);
  border-left:9px solid var(--yellow);
  border-top:7px solid transparent; border-bottom:7px solid transparent;
}
.flow-step{
  display:inline-block; font-size:11.5px; font-weight:800; letter-spacing:.1em;
  background:var(--navy); color:#fff; padding:5px 12px; border-radius:999px;
  margin-bottom:16px;
}
.flow-list h3{
  font-size:17.5px; font-weight:800; color:var(--navy);
  margin-bottom:12px; line-height:1.5;
}
.flow-list p{ font-size:14.5px; color:var(--muted); line-height:1.9; }

/* ============================================================
   会社概要 / テーブル
   ============================================================ */
.table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.info-table{
  border-top:1px solid var(--line);
  font-size:15px;
}
.info-table th,
.info-table td{
  border-bottom:1px solid var(--line);
  padding:20px 22px; text-align:left; vertical-align:top;
}
.info-table th{
  width:210px; font-weight:800; color:var(--navy);
  background:var(--bg-alt); white-space:nowrap;
}
.info-table td{ color:var(--text); line-height:1.9; }
.info-table small{ color:var(--muted); font-size:13px; }

/* ============================================================
   アクセス
   ============================================================ */
.section-access{ background:var(--bg-alt); }
.access-grid{ display:grid; gap:28px; grid-template-columns:repeat(2,1fr); }
.access-card{
  background:#fff; border-radius:var(--radius); padding:32px 30px 30px;
  box-shadow:var(--shadow-sm);
}
.access-card h3{
  font-size:20px; font-weight:800; color:var(--navy); margin-bottom:16px;
  padding-left:14px; border-left:4px solid var(--yellow);
}
.access-addr{ font-size:15.5px; line-height:1.85; }
.access-tel{ margin-top:12px; font-size:21px; font-weight:800; letter-spacing:.02em; }
.access-tel a{ color:var(--navy); }
.access-meta{ margin-top:8px; font-size:13.5px; color:var(--muted); }
.map-wrap{
  margin-top:22px; border-radius:10px; overflow:hidden;
  aspect-ratio:16/10; background:var(--bg-alt);
}
.map-wrap iframe{ width:100%; height:100%; }

/* ============================================================
   採用情報
   ============================================================ */
.section-recruit{
  background:linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
}
.recruit-card{
  background:#fff; border-radius:var(--radius); padding:14px 30px;
  box-shadow:var(--shadow-lg);
}
.info-table-light{ border-top:0; }
.info-table-light tr:last-child th,
.info-table-light tr:last-child td{ border-bottom:0; }

/* ============================================================
   お問い合わせ
   ============================================================ */
.contact-grid{ display:grid; gap:24px; grid-template-columns:repeat(3,1fr); }
.contact-card{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:6px; padding:38px 24px 34px;
  background:#fff; border:1.5px solid var(--line); border-radius:var(--radius);
  color:var(--text);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover{
  text-decoration:none; transform:translateY(-4px);
  box-shadow:var(--shadow-md); border-color:var(--navy);
}
.contact-card svg{ width:34px; height:34px; fill:var(--navy); margin-bottom:8px; }
.contact-label{ font-size:13px; font-weight:700; color:var(--muted); letter-spacing:.06em; }
.contact-value{
  font-size:23px; font-weight:900; color:var(--navy);
  letter-spacing:.02em; line-height:1.4; word-break:break-all;
}
.contact-note{ font-size:12.5px; color:var(--muted); margin-top:4px; }

.contact-card-tel{
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color:transparent;
}
.contact-card-tel svg{ fill:var(--yellow); }
.contact-card-tel .contact-label{ color:rgba(255,255,255,.8); }
.contact-card-tel .contact-value{ color:#fff; font-size:27px; }
.contact-card-tel .contact-note{ color:rgba(255,255,255,.75); }
.contact-card-tel:hover{ border-color:var(--yellow); }

/* ============================================================
   フッター
   ============================================================ */
.site-footer{ background:var(--navy-dark); color:rgba(255,255,255,.82); padding:56px 0 0; }
.footer-inner{
  display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap;
  padding-bottom:40px;
}
.footer-brand{ display:flex; gap:18px; align-items:flex-start; }
.footer-brand img{ width:62px; height:auto; border-radius:50%; flex:none; }
.footer-name{ font-size:17px; font-weight:800; color:#fff; margin-bottom:8px; }
.footer-addr{ font-size:13.5px; line-height:1.85; }
.footer-nav ul{ display:grid; grid-template-columns:repeat(2,auto); gap:10px 32px; }
.footer-nav a{ color:rgba(255,255,255,.82); font-size:14px; }
.footer-nav a:hover{ color:var(--yellow); text-decoration:none; }
.copyright{
  text-align:center; font-size:12.5px; color:rgba(255,255,255,.55);
  border-top:1px solid rgba(255,255,255,.14); padding:20px 0;
}

/* ============================================================
   スマホ固定CTA（既定は非表示）
   ============================================================ */
.mobile-cta{ display:none; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width:1080px){
  .site-nav > ul{ gap:16px; }
  .site-nav > ul a{ font-size:13.5px; }
  .btn-tel-header{ padding:7px 14px; }
  .btn-tel-header .tel-num{ font-size:17px; }
}

@media (max-width:900px){
  .cards-3{ grid-template-columns:repeat(2,1fr); }
  .flow-list{ grid-template-columns:repeat(2,1fr); }
  .flow-list li:nth-child(2)::after{ display:none; }
  .access-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
}

/* --- タブレット／スマホ：ハンバーガー切替 --- */
@media (max-width:820px){
  :root{ --header-h:64px; }

  .nav-toggle{ display:block; }

  .site-nav{
    position:fixed; inset:var(--header-h) 0 0 0;
    background:#fff;
    flex-direction:column; align-items:stretch; justify-content:flex-start;
    gap:0; padding:8px 20px 40px;
    overflow-y:auto;
    transform:translateX(100%);
    transition:transform .28s ease;
    visibility:hidden;
  }
  .site-nav.is-open{ transform:translateX(0); visibility:visible; }
  .site-nav > ul{ flex-direction:column; align-items:stretch; gap:0; }
  .site-nav > ul li{ border-bottom:1px solid var(--line); }
  .site-nav > ul a{
    display:block; padding:18px 4px; font-size:16px;
  }
  .site-nav > ul a::after{ display:none; }
  .btn-tel-header{
    margin-top:24px; padding:16px; border-radius:12px;
  }
  .btn-tel-header .tel-label{ font-size:12px; }
  .btn-tel-header .tel-num{ font-size:26px; }

  body.nav-open{ overflow:hidden; }

  .brand img{ width:38px; }
  .brand-text strong{ font-size:15px; }
  .brand-text small{ display:none; }

  /* スマホ固定CTA表示 */
  .mobile-cta{
    display:grid; grid-template-columns:2fr 1fr; gap:1px;
    position:fixed; left:0; right:0; bottom:0; z-index:90;
    background:rgba(255,255,255,.35);
    box-shadow:0 -4px 20px rgba(16,34,66,.18);
    padding-bottom:env(safe-area-inset-bottom);
  }
  .mobile-cta-btn{
    display:flex; align-items:center; justify-content:center; gap:8px;
    padding:15px 8px; font-size:15.5px; font-weight:800; letter-spacing:.04em;
  }
  .mobile-cta-btn:hover{ text-decoration:none; }
  .mobile-cta-btn svg{ width:19px; height:19px; fill:currentColor; }
  .mobile-cta-tel{ background:var(--yellow); color:var(--navy-dark); }
  .mobile-cta-mail{ background:var(--navy); color:#fff; }

  body{ padding-bottom:56px; }
}

@media (max-width:640px){
  .container{ width:calc(100% - 32px); }
  .section{ padding:60px 0; }
  .section-head{ margin-bottom:36px; }
  .section-lead{ font-size:14.5px; text-align:left; }

  .hero-inner{ padding:64px 0 72px; }
  .hero::before{
    background:linear-gradient(170deg, rgba(15,34,66,.92) 0%, rgba(15,34,66,.86) 60%, rgba(15,34,66,.80) 100%);
  }
  .hero-title{ line-height:1.45; }
  .hero-lead{ font-size:15px; line-height:1.95; }
  .pc-only{ display:none; }
  .hero-actions{ gap:12px; }
  .hero-actions .btn{ width:100%; padding:16px 20px; }
  .hero-badges{ gap:8px; margin-top:28px; }
  .hero-badges li{ font-size:12px; padding:6px 12px; }

  .cards-3{ grid-template-columns:1fr; gap:20px; }
  .flow-list{ grid-template-columns:1fr; gap:16px; }
  .flow-list li::after{ display:none !important; }

  .reason-card{ padding:28px 22px; }
  .service-body{ padding:22px 20px 24px; }
  .service-card-plain .service-body{ padding:28px 22px; }

  /* テーブルを縦積みに */
  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td{ display:block; width:auto; }
  .info-table{ border-top:0; }
  .info-table tr{
    border:1px solid var(--line); border-radius:10px;
    margin-bottom:12px; overflow:hidden;
  }
  .info-table th{
    width:auto; white-space:normal; padding:12px 16px; font-size:13.5px;
    border-bottom:1px solid var(--line);
  }
  .info-table td{ padding:14px 16px; border-bottom:0; font-size:15px; }

  .recruit-card{ padding:20px 16px; background:transparent; box-shadow:none; }
  .info-table-light tr{ background:#fff; }

  .access-card{ padding:24px 20px; }
  .access-tel{ font-size:19px; }
  .map-wrap{ aspect-ratio:4/3; }

  .contact-card{ padding:28px 20px; }
  .contact-card-tel .contact-value{ font-size:25px; }

  .footer-inner{ flex-direction:column; gap:28px; }
  .footer-nav ul{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:380px){
  .brand-text strong{ font-size:13.5px; }
  .brand img{ width:34px; }
}

/* ============================================================
   モーション低減 / 印刷
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

@media print{
  .site-header,.mobile-cta,.hero-actions,.map-wrap{ display:none !important; }
  body{ padding-bottom:0; }
  .hero{ color:var(--text); }
  .hero-media,.hero::before{ display:none; }
  .section{ padding:24px 0; page-break-inside:avoid; }
}
