


:root {
  
  --ink:        #26241f;   
  --text:       #3d3833;   
  --muted:      #7c7466;   
  --bg:         #f6f2e9;   
  --bg-alt:     #ede6d5;   
  --white:      #fffdf8;
  --navy:       #16304f;   
  --navy-dark:  #0e2138;   
  --navy-pale:  #e6ebf1;
  --gold:       #caa24c;   
  --yellow:     #f5c93b;   
  --shu:        #caa24c;   
  --wood:       #a87b4f;   
  --wood-pale:  #f0e6d6;
  --line-color: #d9cfb9;   
  --line-green: #008542;
  --danger:     #b3522e;

  
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-en:    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  
  --w-content: 1120px;
  --w-narrow:  840px;
  --sp-section: clamp(64px, 9vw, 110px);
  --radius: 4px;
  --header-h: 76px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }


.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--navy);
}
.kicker::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.kicker.center { justify-content: center; }
.kicker .en {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.sec-title {
  font-weight: 900;
  font-size: clamp(25px, 3.5vw, 36px);
  line-height: 1.55;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-top: 14px;
}
.sec-lead { margin-top: 20px; max-width: 660px; }
.sec-head { margin-bottom: clamp(32px, 4.5vw, 52px); }
.sec-head.center { text-align: center; }
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }

.note { font-size: 13px; color: var(--muted); line-height: 1.8; }


.container { max-width: var(--w-content); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--w-narrow); }
section { padding: var(--sp-section) 0; }
.bg-alt {
  background-color: var(--bg-alt);
  background-image: repeating-linear-gradient(0deg, rgba(60,45,20,.02) 0 1px, transparent 1px 9px);
}
.bg-white { background: var(--white); }
.bg-green { background: var(--navy); color: #eef0ee; }
.bg-green .sec-title { color: #fff; }
.bg-green .kicker { color: #cfd9e0; }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: 0.08em;
  padding: 17px 34px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
  text-align: center;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline.light { color: #fff; border-color: rgba(255,255,255,.8); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-wide { width: 100%; max-width: 420px; }
.btn .arrow { font-weight: 400; }


.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 242, 233, 0);
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.solid {
  background: rgba(246, 242, 233, .97);
  box-shadow: 0 2px 0 var(--line-color);
  backdrop-filter: blur(8px);
}
.header-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 46px; width: auto; aspect-ratio: 1206 / 1193; object-fit: contain; display: block; background: #fff; border-radius: 5px; padding: 3px 5px; }
.brand .seal {
  width: 40px; height: 40px;
  background: var(--shu);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 23px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  flex-shrink: 0;
  line-height: 1;
}
.brand-col { display: flex; flex-direction: column; line-height: 1.25; }
.brand .name {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.brand .en {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 2px;
}
.hero-on-top .site-header:not(.solid) .brand .name { color: #fff; }
.hero-on-top .site-header:not(.solid) .brand .en { color: rgba(255,255,255,.8); }

.gnav { display: flex; align-items: center; gap: 26px; }
.gnav a.nav-link {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.gnav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--shu);
  transition: width .3s ease;
}
.gnav a.nav-link:hover::after, .gnav a.nav-link.current::after { width: 100%; }
.hero-on-top .site-header:not(.solid) .gnav a.nav-link { color: #fff; }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { padding: 11px 18px; font-size: 13.5px; }


.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 130;
}
.menu-btn span {
  display: block;
  width: 25px; height: 3px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.hero-on-top .site-header:not(.solid) .menu-btn span { background: #fff; }
body.nav-open .menu-btn span { background: var(--ink) !important; }
body.nav-open .site-header {
  background: rgba(246, 242, 233, .97);
  box-shadow: 0 2px 0 var(--line-color);
}
body.nav-open .brand .name { color: var(--ink) !important; }
body.nav-open .brand .en { color: var(--muted) !important; }
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


.drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--bg);
  padding: calc(var(--header-h) + 24px) 32px 120px;
  overflow-y: auto;
}
body.nav-open .drawer { display: block; }
.drawer .nav-link {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 17px 0;
  border-bottom: 1px solid var(--line-color);
}
.drawer-cta { margin-top: 28px; display: grid; gap: 12px; }


.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-media img.kenburns { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.09) translateY(-1.5%); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(8,22,40,.94) 0%, rgba(10,26,46,.74) 55%, rgba(12,28,50,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 130px 24px 90px;
}
.hero .kicker { color: #e9e2d2; }
.hero-title {
  font-weight: 900;
  font-size: clamp(30px, 5.2vw, 56px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-top: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-sub {
  margin-top: 24px;
  max-width: 580px;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 500;
  line-height: 2.05;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-video-tag {
  position: absolute;
  z-index: 2;
  bottom: 18px; left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.45);
  border: 1px dashed rgba(255,255,255,.55);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 7px 14px;
  border-radius: 4px;
}


.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-overlay { background: linear-gradient(180deg, rgba(8,22,40,.5) 0%, rgba(8,22,40,.8) 100%); }
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 150px 24px 44px;
}
.page-hero .kicker { color: #e9e2d2; }
.page-title {
  font-weight: 900;
  font-size: clamp(28px, 4.2vw, 42px);
  letter-spacing: 0.06em;
  line-height: 1.55;
  margin-top: 12px;
}
.page-hero-lead { margin-top: 12px; max-width: 580px; font-size: 15px; font-weight: 500; }


.page-plain {
  padding: calc(var(--header-h) + 56px) 0 48px;
  border-bottom: 2px solid var(--line-color);
}
.page-plain .page-title { color: var(--ink); }


.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  padding: 14px 0;
}
.breadcrumb a:hover { color: var(--shu); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }


.video-section { text-align: center; }
.video-embed {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,.11) 0%, rgba(255,255,255,0) 36%),
    linear-gradient(135deg, #172432 0%, #07101a 100%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  border: 1px solid rgba(10, 24, 40, .16);
  box-shadow: 0 22px 48px rgba(14, 33, 56, .18);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed .play {
  width: 86px; height: 60px;
  border-radius: 18px;
  background: #ff0033;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}
.video-embed .play::after {
  content: "";
  margin-left: 6px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}
.video-embed .vt { font-size: 15px; font-weight: 800; letter-spacing: .12em; }
.video-embed .vd { font-size: 13px; color: rgba(255,255,255,.72); }
.video-caption { margin-top: 18px; font-size: 13.5px; color: var(--muted); }


.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.person {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.person .photo { aspect-ratio: 1/1.05; position: relative; }
.person .photo .ph-frame { height: 100%; border: none; border-bottom: 2px solid var(--ink); border-radius: 0; }
.person .photo .name-tag {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  padding: 6px 16px;
}
.person .body { padding: 26px 28px 32px; }
.person .role {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #fff;
  background: var(--navy);
  padding: 3px 12px;
  border-radius: 3px;
}
.person h3 {
  font-size: 27px;
  font-weight: 900;
  color: var(--ink);
  margin-top: 12px;
  letter-spacing: .12em;
}
.person h3 small { font-size: 13px; color: var(--muted); margin-left: 10px; letter-spacing: .06em; font-weight: 500; }
.person .cred {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.person .cred::before { content: ""; width: 9px; height: 9px; background: var(--shu); }
.person .quote {
  font-family: var(--font-serif);
  font-size: 16.5px;
  color: var(--ink);
  margin-top: 16px;
  line-height: 1.9;
}
.person p.bio { margin-top: 12px; font-size: 14px; }


.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.usp-item {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
}
.usp-item .num {
  position: absolute;
  top: -2px; left: -2px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  padding: 5px 14px;
}
.usp-item h3 {
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.6;
  margin-top: 18px;
}
.usp-item p { margin-top: 14px; font-size: 14.5px; }


.stats { display: flex; justify-content: center; gap: clamp(32px, 7vw, 96px); flex-wrap: wrap; }
.stat { text-align: center; }
.stat .label { font-size: 13.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; }
.stat .value {
  font-weight: 900;
  font-size: clamp(38px, 5vw, 54px);
  color: var(--navy);
  line-height: 1.3;
}
.stat .value small {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-left: 4px;
}


.margin-diagram { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.flow-box {
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1.5px solid var(--line-color);
  background: var(--white);
}
.flow-box.is-ichikobou { border: 2.5px solid var(--shu); position: relative; }
.flow-box.is-ichikobou::after {
  content: "私たちはこちら";
  position: absolute;
  top: -15px; left: 24px;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: 3px;
}
.flow-box h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .06em;
}
.flow-chain { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.flow-step {
  background: var(--bg);
  border: 1px solid var(--line-color);
  border-radius: 3px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
  padding: 11px;
  color: var(--text);
}
.flow-step.em { background: var(--navy-pale); border: 1.5px solid var(--navy); color: var(--navy-dark); font-weight: 800; }
.flow-step.fade { color: var(--muted); }
.flow-arrow { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.2; }
.flow-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.quote-band { margin-top: 44px; text-align: center; }
.quote-band .q {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .07em;
  line-height: 1.95;
}
.quote-band .q em { font-style: normal; color: var(--navy); border-bottom: 2px solid var(--gold); }


.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 rgba(38,36,31,.16); }
.service-card .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .thumb img { transform: scale(1.04); }
.service-card .thumb .en {
  position: absolute;
  left: 0; top: 0;
  background: var(--navy);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  padding: 6px 16px;
}
.service-card .body { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: .07em;
}
.service-card .copy { font-size: 14.5px; margin-top: 12px; }
.service-card .tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-card .tags li {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-dark);
  background: var(--navy-pale);
  border-radius: 3px;
  padding: 5px 13px;
}
.service-card .more { margin-top: auto; padding-top: 24px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--navy);
  letter-spacing: .06em;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 2px;
}
.text-link .arrow { transition: transform .25s ease; }
.text-link:hover .arrow { transform: translateX(4px); }
.line-text-link {
  color: #047c38;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .18em;
}
.line-text-link:hover { color: #035f2d; }

.tel-link {
  color: inherit;
  text-decoration: none;
}
.tel-link:hover { text-decoration: underline; }
.tel-link:focus-visible {
  outline: 3px solid rgba(224, 177, 79, .7);
  outline-offset: 3px;
  border-radius: 2px;
}
.tel-link-inline {
  text-decoration: underline;
  white-space: nowrap;
}


.ph-frame {
  position: relative;
  border: 1.5px dashed #bdaf91;
  background: linear-gradient(135deg, var(--wood-pale) 0%, var(--bg-alt) 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #97896d;
  text-align: center;
  padding: 16px;
}
.ph-frame .cam { font-size: 26px; line-height: 1; opacity: .85; }
.ph-frame .t { font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.ph-frame .d { font-size: 11.5px; letter-spacing: .04em; opacity: .85; }


.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-card {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.work-card .thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-card .thumb .ph-frame { position: absolute; inset: 0; border: none; border-bottom: 1.5px dashed #bdaf91; border-radius: 0; }
.work-card .body { padding: 20px 22px 24px; }
.work-card .cat {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #fff;
  background: var(--navy);
  border-radius: 3px;
  padding: 4px 12px;
  display: inline-block;
}
.work-card h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin-top: 12px; line-height: 1.7; }
.work-card .meta { margin-top: 10px; font-size: 12.5px; color: var(--muted); }


.case-meta-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.case-meta-table th, .case-meta-table td { border: 1px solid var(--line-color); padding: 13px 18px; text-align: left; vertical-align: top; }
.case-meta-table th { background: var(--bg-alt); width: 28%; font-weight: 800; color: var(--ink); white-space: nowrap; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-item .ba-label {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.ba-item.before .ba-label { background: var(--bg-alt); color: var(--muted); }
.ba-item.after .ba-label { background: var(--navy); color: #fff; }
.ba-item .ph-frame, .works-grid .ph-frame { aspect-ratio: 4/3; }


.story-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.story-wrap .photo img { border-radius: var(--radius); border: 2px solid var(--ink); }
.story-body p + p { margin-top: 1.4em; }
.story-body .em {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.1em;
  background: linear-gradient(transparent 68%, #e9d8b8 68%);
}


.company-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.company-table th, .company-table td { padding: 18px 8px; border-bottom: 1px solid var(--line-color); text-align: left; vertical-align: top; }
.company-table th { width: 200px; font-weight: 800; color: var(--ink); white-space: nowrap; }


.value-list { display: grid; gap: 0; }
.value-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-color);
}
.value-item:first-child { border-top: 2px solid var(--ink); }
.value-item .no {
  font-weight: 900;
  font-size: 26px;
  color: var(--shu);
  line-height: 1.2;
}
.value-item h3 {
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: .06em;
}
.value-item p { margin-top: 12px; font-size: 14.5px; max-width: 680px; }


.steps { display: grid; gap: 0; }
.step-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-color);
}
.step-item:first-child { border-top: 2px solid var(--ink); }
.step-item .badge {
  width: 58px; height: 58px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.step-item .badge .s { font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.step-item .badge .n { font-size: 21px; font-weight: 900; margin-top: 3px; }
.step-item h3 { font-size: 17px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.step-item h3 .tag { font-size: 11.5px; font-weight: 800; color: var(--navy-dark); background: var(--navy-pale); padding: 3px 10px; border-radius: 3px; }
.step-item p { margin-top: 8px; font-size: 14.5px; }


.compare-scroll { width:100%; max-width:100%; min-width:0; overflow-x:auto; border-radius:6px; box-shadow:0 10px 30px rgba(14,33,56,.06); }
.compare-table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid #d8d4cb;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14.5px;
  background: var(--white);
}
.compare-label-col { width: 18%; }
.compare-main-col, .compare-other-col { width: 41%; }
.compare-table th, .compare-table td {
  border: 0;
  border-right: 1px solid #d8d4cb;
  border-bottom: 1px solid #d8d4cb;
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}
.compare-table tr > *:last-child { border-right: 0; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table thead th {
  background: #263f59;
  font-weight: 800;
  color: #fff;
  text-align: center;
}
.compare-table thead th.col-label { background: #eee8dc; color: #3b3934; }
.compare-table thead th.col-ichi {
  background: #183a5c;
  color: #fff;
  box-shadow: inset 0 4px 0 var(--gold);
}
.compare-table tbody th {
  background: #f7f3eb;
  font-weight: 800;
  color: var(--navy-dark);
  white-space: nowrap;
}
.compare-table td.col-ichi { background: #eef3f7; font-weight: 500; }
.compare-table td .ok { color: var(--navy); font-weight: 800; }


.worry-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.worry-list li {
  background: var(--white);
  border: 1.5px solid var(--line-color);
  border-left: 4px solid var(--navy);
  border-radius: 3px;
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 500;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.worry-list li::before {
  content: "✓";
  color: var(--shu);
  font-weight: 900;
  flex-shrink: 0;
}


.ub-offer {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 46px);
}
.ub-offer .kicker { margin-bottom: 6px; }
.ub-num {
  color: var(--navy);
  font-size: 1.75em;
  font-weight: 900;
  letter-spacing: .01em;
  margin: 0 2px;
}
.ub-pokkiri {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: .58em;
  font-weight: 900;
  letter-spacing: .06em;
  padding: 4px 13px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 10px;
}
.ub-spec {
  margin-top: 22px;
  background: var(--navy-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.9;
}
.ub-spec strong { color: var(--navy-dark); font-weight: 800; }
.ub-reasons { margin-top: 22px; display: grid; gap: 11px; }
.ub-reasons li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  font-weight: 500;
}
.ub-reasons li::before { content: "✓"; color: var(--navy); font-weight: 900; flex-shrink: 0; }
.ub-area {
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: .04em;
}


.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.use-card { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.use-card .thumb { aspect-ratio: 16/10; }
.use-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.use-card .thumb .ph-frame { height: 100%; border: none; border-radius: 0; }
.use-card .body { padding: 18px 20px 22px; }
.use-card h3 { font-size: 15.5px; font-weight: 800; color: var(--ink); }
.use-card p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.use-card-business { border-color: var(--navy); box-shadow: 0 10px 28px rgba(14,33,56,.08); }
.use-card-business .thumb { border-bottom: 4px solid var(--gold); }
.use-label {
  display: inline-block;
  margin-bottom: 9px;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--navy-pale);
  color: var(--navy-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

.image-disclaimer {
  max-width: 760px;
  margin: -8px auto 28px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
  text-align: center;
}
.service-visual {
  position: relative;
  overflow: hidden;
  background: var(--wood-pale);
}
.service-visual img {
  display: block;
  transition: transform .5s ease;
}
.service-visual:hover img { transform: scale(1.025); }
.service-visual-photo img {
  transform: scale(1.2);
  object-position: 50% 52%;
}
.service-visual-photo:hover img { transform: scale(1.225); }
.image-kind {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(14,33,56,.82);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  backdrop-filter: blur(3px);
}
.image-kind-photo { background: rgba(38,36,31,.82); }


.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spec-item { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 26px 28px; }
.spec-item .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #fff;
  background: var(--navy);
  padding: 3px 12px;
  border-radius: 3px;
}
.spec-item .value { font-size: 23px; font-weight: 900; color: var(--ink); margin-top: 12px; line-height: 1.55; }
.spec-item .value small { font-size: 13px; color: var(--muted); font-weight: 500; }
.spec-item p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.8; }


.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--line-color);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 56px 22px 26px;
  font-weight: 800;
  color: var(--ink);
  font-size: 15.5px;
  position: relative;
  line-height: 1.7;
}
.faq-item summary::before {
  content: "Q";
  color: var(--shu);
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}
.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 16px;
}
.faq-item[open] summary::after { content: "－"; }
.faq-item .a {
  display: flex;
  gap: 16px;
  padding: 0 26px 24px;
  font-size: 14.5px;
}
.faq-item .a::before {
  content: "A";
  color: var(--navy);
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.6;
}


.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: var(--white); border: 1.5px solid var(--line-color); border-radius: var(--radius); overflow: hidden; }
.post-card .thumb { aspect-ratio: 16/9; }
.post-card .thumb .ph-frame { height: 100%; border: none; border-radius: 0; }
.post-card .body { padding: 20px 22px 24px; }
.post-card .date { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.post-card h3 { font-size: 15px; font-weight: 800; color: var(--ink); margin-top: 8px; line-height: 1.8; }
.soon-badge { display: inline-block; font-size: 11px; font-weight: 800; color: var(--shu); border: 1.5px solid var(--shu); border-radius: 3px; padding: 2px 12px; margin-top: 12px; }


.access-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.access-wrap-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.access-wrap-single .access-info {
  width: 100%;
  padding: 4px clamp(0px, 2vw, 20px);
}
.map-frame { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--ink); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.access-info dl { display: grid; gap: 0; font-size: 15px; }
.access-info .row { display: grid; grid-template-columns: 120px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-color); }
.access-info dt { font-weight: 800; color: var(--ink); }
.info-callout {
  margin-top: 22px;
  background: var(--wood-pale);
  border-left: 4px solid var(--shu);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  font-size: 13.5px;
  line-height: 1.9;
}


.cta-section { text-align: center; }
.cta-title {
  font-weight: 900;
  font-size: clamp(23px, 3.3vw, 33px);
  letter-spacing: .06em;
  color: #fff;
  line-height: 1.75;
}
.cta-lead { margin-top: 16px; color: rgba(255,255,255,.88); font-size: 15px; }
.cta-buttons {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-buttons .btn { min-width: 270px; padding: 19px 34px; font-size: 16px; }
.cta-tel { margin-top: 26px; color: rgba(255,255,255,.85); font-size: 13.5px; }
.cta-tel .tel-num {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .06em;
  color: #fff;
  display: block;
  line-height: 1.5;
}


.form-wrap { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(28px, 5vw, 52px); }
.form-row { margin-bottom: 28px; }
.form-label { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 15px; margin-bottom: 10px; }
.req, .opt {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 3px;
  letter-spacing: .08em;
}
.req { background: var(--shu); color: #fff; }
.opt { background: var(--bg-alt); color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid var(--line-color);
  border-radius: 3px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s ease;
}
input:focus, textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
textarea { min-height: 160px; resize: vertical; }
.radio-grid, .check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.radio-grid label, .check-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  background: var(--bg);
  border: 1.5px solid var(--line-color);
  border-radius: 3px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.radio-grid label:has(:checked), .check-grid label:has(:checked) {
  border-color: var(--navy);
  background: var(--navy-pale);
}
.consent-row { text-align: center; font-size: 14.5px; }
.consent-row a { color: var(--navy); text-decoration: underline; }
.form-submit { text-align: center; margin-top: 32px; }
.cf7-embed .wpcf7 { margin: 0; }
.cf7-embed .wpcf7-form > .form-row:last-of-type { margin-bottom: 0; }
.cf7-embed .wpcf7-form-control-wrap { display: block; width: 100%; }
.cf7-embed .radio-grid > p { margin: 0; }
.cf7-embed .radio-grid .wpcf7-radio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cf7-embed .radio-grid .wpcf7-list-item,
.cf7-embed .check-grid .wpcf7-list-item { margin: 0; }
.cf7-embed .radio-grid label,
.cf7-embed .check-grid label { height: 100%; }
.cf7-embed .file-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.cf7-embed .file-grid > p {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.cf7-embed .file-grid > p > br { display: none; }
.cf7-embed .file-field {
  display: block;
  min-width: 0;
  padding: 16px;
  border: 1.5px solid var(--line-color);
  border-radius: 3px;
  background: var(--bg);
}
.cf7-embed .file-field-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.cf7-embed input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}
.cf7-embed input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 9px 12px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cf7-embed .wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}
.cf7-embed .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 16px 18px !important;
  border-width: 2px !important;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 700;
}
.cf7-embed .wpcf7-spinner { vertical-align: middle; }
.cf7-embed .form-submit .wpcf7-submit { cursor: pointer; }
.form-plugin-notice {
  margin: 0;
  padding: 20px;
  border: 1.5px solid var(--shu);
  border-radius: 3px;
  background: #fff8f5;
  color: var(--ink);
  font-weight: 700;
}


.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.channel-card {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.channel-card .icn { display: flex; justify-content: center; line-height: 1; color: var(--navy); }
.channel-card .icn svg { width: 32px; height: 32px; }
.channel-card h3 { font-size: 18px; font-weight: 800; color: var(--ink); }
.channel-card p { font-size: 14px; color: var(--text); line-height: 1.85; flex: 1; }
.channel-card .note { color: var(--muted); }
.channel-card .btn { padding: 14px 20px; font-size: 14.5px; }
.channel-card .tel-num { font-size: 25px; font-weight: 900; color: var(--ink); letter-spacing: .04em; }
.channel-card.is-recommended {
  border: 2px solid var(--line-green);
  box-shadow: 0 10px 28px rgba(6, 199, 85, .1);
}
.channel-card.is-recommended .icn { color: #047c38; }
.channel-recommend {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5f8ed;
  color: #047c38;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  vertical-align: .16em;
}


.legal-body h2 {
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: .05em;
  margin: 44px 0 14px;
  padding-left: 16px;
  border-left: 4px solid var(--navy);
}
.legal-body p, .legal-body li { font-size: 14.5px; }
.legal-body ul { padding-left: 1.4em; }
.legal-body ul li { list-style: disc; margin: 4px 0; }
.legal-body .date { margin-top: 40px; color: var(--muted); font-size: 13.5px; text-align: right; }


.creed { background: var(--navy-dark); color: #e7ecf2; position: relative; overflow: hidden; padding: 0; }
.creed::after {
  content: "OUR CRAFT";
  position: absolute;
  right: -10px; top: 28px;
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: .4em;
  color: rgba(245, 201, 59, .7);
}
.creed .creed-inner { max-width: var(--w-content); margin: 0 auto; padding: clamp(76px, 9vw, 104px) 24px; position: relative; }
.creed .company-chip {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.55);
  padding: 11px 26px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .12em;
  color: #fff;
}
.creed h2 {
  color: #fff;
  font-weight: 900;
  font-size: clamp(25px, 4vw, 40px);
  line-height: 1.55;
  letter-spacing: .04em;
  margin-top: 28px;
}
.creed h2 .gold { color: var(--yellow); }
.creed .creed-body {
  margin-top: 26px;
  max-width: 620px;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  line-height: 2.1;
  font-size: 15px;
  color: #d6dde6;
}
.creed .creed-foot {
  margin-top: 48px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(30px, 6vw, 64px);
  letter-spacing: .14em;
  line-height: 1;
  color: rgba(255,255,255,.06);
}
.creed-band-top { height: 4px; background: linear-gradient(90deg, var(--gold) 0%, var(--yellow) 100%); }


.site-footer { background: #1a1a1a; color: #b3ab9c; padding: 68px 0 0; font-size: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
}
.footer-brand { display: block; }
.footer-brand .brand-row { display: flex; align-items: center; gap: 10px; }
.footer-brand .seal {
  width: 36px; height: 36px;
  background: var(--shu);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.footer-brand .brand-logo { height: 54px; width: auto; display: block; background: #fff; border-radius: 5px; padding: 4px 6px; }
.footer-brand .name {
  font-size: 21px;
  font-weight: 900;
  color: #f2efe8;
  letter-spacing: .14em;
}
.footer-brand .en {
  font-size: 11px;
  color: #8a8170;
  display: block;
  margin-top: 8px;
}
.footer-brand .addr { margin-top: 16px; line-height: 2; font-size: 13.5px; }
.footer-col .footer-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  color: #8a8170;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.site-footer a { color: inherit !important; }
.site-footer .btn { color: #fff !important; }
.footer-cta-row { display: grid; gap: 12px; max-width: 280px; }
.footer-cta-row .btn { padding: 13px 20px; font-size: 13.5px; }
.footer-bottom {
  border-top: 1px solid #3a352c;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8a8170;
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }


.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 90;
  background: rgba(38, 36, 31, .97);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta a {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 9px 4px;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}
.mobile-cta .icn { display: flex; line-height: 1; }
.mobile-cta .icn svg { width: 18px; height: 18px; }
.mobile-cta .m-line { background: var(--line-green); }
.mobile-cta .m-tel { background: #4a4438; }
.mobile-cta .m-estimate { background: var(--navy); }
.mobile-cta .m-form { background: var(--navy); }


.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img.kenburns { animation: none; }
}


@media (max-width: 1180px) {
  .gnav .nav-link, .header-cta { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 900px) {
  .usp-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .margin-diagram { grid-template-columns: 1fr; }
  .works-grid, .post-grid, .use-grid, .channel-grid { grid-template-columns: 1fr 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .story-wrap { grid-template-columns: 1fr; }
  .access-wrap { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .works-grid, .post-grid, .use-grid, .channel-grid { grid-template-columns: 1fr; }
  .worry-list { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .radio-grid, .check-grid,
  .cf7-embed .radio-grid .wpcf7-radio,
  .cf7-embed .file-grid,
  .cf7-embed .file-grid > p { grid-template-columns: 1fr; }
  .value-item { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .step-item { grid-template-columns: 64px 1fr; gap: 16px; }
  .company-table th { width: 110px; font-size: 13.5px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; max-width: 100%; padding-left: 18px; padding-right: 18px; }
  .cta-buttons .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .compare-table { font-size: 12.5px; }
  .compare-table th, .compare-table td { padding: 10px 10px; }
  .compare-table tbody th { white-space: normal; }
  .compare-table { min-width: 680px; }
  .compare-scroll { -webkit-overflow-scrolling: touch; }
  .sec-head.center .sec-title { width:100%; font-size:24px; letter-spacing:0; overflow-wrap:anywhere; }
  .case-meta-table th { width: 32%; }
}
@media (max-width: 640px) {
  .hero-video-tag { left: auto; right: 12px; bottom: auto; top: calc(var(--header-h) + 10px); font-size: 11px; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 26px; }
  .page-title { font-size: 25px; }
}


.est-cta { display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center;
  background:var(--white); border:1.5px solid var(--line-color); border-left:5px solid var(--navy);
  border-radius:var(--radius); padding:clamp(24px,4vw,36px); }
.est-cta h3 { font-size:clamp(19px,2.6vw,24px); font-weight:900; color:var(--ink); line-height:1.55; letter-spacing:.04em; margin-top:10px; }
.est-cta p { margin-top:10px; font-size:14px; color:var(--text); }
.est-cta .est-meta { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.est-cta .est-meta li { font-size:12px; font-weight:700; color:var(--navy-dark); background:var(--navy-pale); border-radius:3px; padding:4px 11px; }
.est-cta .btn { white-space:nowrap; }
@media (max-width:680px){ .est-cta { grid-template-columns:1fr; gap:18px; } .est-cta .btn { width:100%; } }


.person,.usp-item,.service-card,.work-card,.flow-box.is-ichikobou{ border-width:2.5px; }


.hero-title, .page-title, .sec-title, .cta-title, .creed h2{
  font-family: var(--font-serif) !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
}

.kicker .en{ font-family: var(--font-en); letter-spacing:.12em; }


.members-shot{ max-width:960px; margin:0 auto; }
.members-shot .ph-frame{ aspect-ratio:16/9; border-width:2px; border-style:dashed; border-color:var(--ink); }
.members-shot .shot-cap{ text-align:center; margin-top:14px; font-size:13px; color:var(--muted); letter-spacing:.08em; }
.people-bios{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,4vw,40px); max-width:960px; margin:clamp(32px,5vw,48px) auto 0; }
.bio-col{ background:var(--white); border:2px solid var(--ink); border-radius:var(--radius); padding:26px 28px 30px; }
.bio-col .name-tag{ display:inline-block; background:var(--ink); color:#fff; font-size:12px; font-weight:800; letter-spacing:.1em; padding:5px 14px; border-radius:3px; }
.bio-col h3{ font-family:var(--font-serif); font-size:25px; font-weight:700; color:var(--ink); margin-top:14px; letter-spacing:.02em; }
.bio-col h3 small{ font-family:var(--font-sans); font-size:13px; color:var(--muted); margin-left:10px; letter-spacing:.06em; font-weight:500; }
.bio-col .cred{ display:flex; align-items:center; gap:8px; margin-top:8px; font-size:13.5px; color:var(--navy); font-weight:800; }
.bio-col .cred::before{ content:""; width:9px; height:9px; background:var(--shu); flex-shrink:0; }
.bio-col .quote{ font-family:var(--font-serif); font-size:16.5px; color:var(--ink); margin-top:16px; line-height:1.75; }
.bio-col .bio{ margin-top:12px; font-size:14px; line-height:1.95; }
@media(max-width:720px){ .people-bios{ grid-template-columns:1fr; gap:20px; } }


:root{ --paper:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27180%27%20height%3D%27180%27%3E%3Cfilter%20id%3D%27p%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.62%27%20numOctaves%3D%272%27%20stitchTiles%3D%27stitch%27/%3E%3CfeColorMatrix%20type%3D%27saturate%27%20values%3D%270%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23p%29%27%20opacity%3D%270.05%27/%3E%3C/svg%3E"); --yellow:#ecc24a; }
body{ background-image:var(--paper); background-size:180px 180px; }
.bg-white{ background-color:var(--white); background-image:var(--paper); background-size:180px 180px; }
.bg-alt{ background-image:var(--paper), repeating-linear-gradient(0deg, rgba(60,45,20,.02) 0 1px, transparent 1px 9px); background-size:180px 180px, auto; }
.bg-green{ background-image:var(--paper); background-size:180px 180px; background-blend-mode:soft-light; }


.footer-brand .brand-en{ font-family:var(--font-en); font-size:12px; font-weight:600; letter-spacing:.3em; color:var(--gold); margin-top:5px; }


.site-header{ background:rgba(255,255,255,.72) !important; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-bottom:1px solid rgba(38,36,31,.10); }
.site-header.solid{ background:rgba(255,255,255,.92) !important; box-shadow:0 1px 0 rgba(38,36,31,.06); }

.hero-on-top .site-header:not(.solid) .brand .name{ color:var(--ink) !important; }
.hero-on-top .site-header:not(.solid) .brand .en{ color:var(--muted) !important; }
.hero-on-top .site-header:not(.solid) .gnav a.nav-link{ color:var(--ink) !important; }
.hero-on-top .site-header:not(.solid) .menu-btn span{ background:var(--ink) !important; }


.margin-diagram{ align-items:stretch; }
.flow-box{ display:flex; flex-direction:column; }
.flow-chain{ flex:1 1 auto; justify-content:space-between; }
.flow-note{ min-height:4em; }            

.flow-box.is-ichikobou .flow-chain{ justify-content:space-between; }
.flow-box.is-ichikobou .flow-arrow{ flex:1 0 auto; display:flex; align-items:center; justify-content:center; font-size:13px; }


.flow-box.is-ichikobou .flow-arrow.direct-arrow{ flex:1 0 auto; position:relative; display:flex; align-items:center; justify-content:center; min-height:90px; }
.flow-box.is-ichikobou .flow-arrow.direct-arrow::before{ content:""; position:absolute; top:4px; bottom:13px; left:50%; transform:translateX(-50%); width:2.5px; background:var(--navy); }
.flow-box.is-ichikobou .flow-arrow.direct-arrow::after{ content:""; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:0; height:0; border-left:7px solid transparent; border-right:7px solid transparent; border-top:11px solid var(--navy); }
.flow-box.is-ichikobou .flow-arrow.direct-arrow span{ position:relative; z-index:1; background:var(--white); color:var(--navy); font-weight:800; font-size:13.5px; letter-spacing:.12em; padding:7px 16px; border:1.5px solid var(--navy); border-radius:999px; }




html, body { overflow-x: hidden; max-width: 100%; }

@media (max-width: 640px) {
  
  .cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-buttons .btn { min-width: 0; width: 100%; }

  
  .hero-sub, .lead, p, li, dd, .btn { overflow-wrap: anywhere; }

  
  .company-table, .case-meta-table, .compare-table { table-layout: fixed; width: 100%; }
  .company-table th, .case-meta-table th { white-space: normal; }
  .company-table th, .company-table td,
  .case-meta-table th, .case-meta-table td,
  .compare-table th, .compare-table td { word-break: break-word; overflow-wrap: anywhere; }

  
  img, video, iframe { max-width: 100%; height: auto; }
}


.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; }
.hero-video-el{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }

.hero-video .hero-overlay{ background:linear-gradient(to bottom, rgba(6,16,30,.30) 0%, rgba(6,16,30,.10) 40%, rgba(6,16,30,.44) 74%, rgba(6,16,30,.74) 100%); }

.hero-video{ align-items:flex-end; }
.hero-video .hero-content{ padding-top:0; padding-bottom:clamp(40px,7vh,84px); }
.hero-video .kicker{ margin-bottom:2px; }
.hero-video .hero-sub{ text-shadow:0 1px 16px rgba(0,0,0,.65); }


@media (max-width: 640px){
  .hero-video{ min-height: clamp(468px, 60vh, 500px); }
  .hero-video .kicker{ display:none; }                 
  .hero-video .hero-content{ padding-bottom: 18px; }
  .hero-video .hero-cta{ gap:10px; }
  .hero-video .hero-cta .btn{ padding:15px 20px; font-size:15px; }
  .hero-video .hero-overlay{ background:linear-gradient(to bottom, rgba(6,16,30,.24) 0%, rgba(6,16,30,.06) 34%, rgba(6,16,30,.44) 66%, rgba(6,16,30,.82) 100%); }
}


.footer-brand .brand-en{ white-space:nowrap; letter-spacing:.22em; }

.hero-slideshow .hero-overlay{
  background:
    linear-gradient(95deg, rgba(8,22,40,.68) 0%, rgba(8,22,40,.42) 44%, rgba(8,22,40,.10) 78%, rgba(8,22,40,.02) 100%),
    linear-gradient(to bottom, rgba(8,22,40,.06) 0%, rgba(8,22,40,.02) 45%, rgba(8,22,40,.28) 100%);
}
.hero-slider{ background:#d8d1c3; }
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  animation:none;
  z-index:0;
  transition:opacity .8s ease;
}
.hero-slide:first-child,
.hero-slide.is-active{
  opacity:1;
  z-index:1;
}
.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.03);
  filter:brightness(1.08) saturate(1.04);
}
.hero-slideshow .hero-content{
  text-shadow:0 2px 18px rgba(0,0,0,.62), 0 1px 2px rgba(0,0,0,.55);
}
.hero-slideshow .hero-cta{
  text-shadow:none;
}
@media (prefers-reduced-motion: reduce){
  .hero-slide{ transition:none; }
}
.service-card .thumb img.is-cabin-card{
  transform:scale(1.28);
  transform-origin:48% 52%;
}
.service-card:hover .thumb img.is-cabin-card{
  transform:scale(1.34);
}
.video-section .sec-head.center .sec-lead{ margin-left:auto; margin-right:auto; }
.video-layout{
  max-width:960px;
  margin:clamp(26px,4vw,40px) auto 0;
}
.video-embed.video-player{
  display:block;
  max-width:none;
  margin:0;
  background:#050f1d;
  border:1px solid var(--line-color);
  border-radius:var(--radius);
  box-shadow:0 16px 36px rgba(14,33,56,.14);
}
.video-player video,
.video-player iframe{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.youtube-player__poster{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  border:0;
  background:#050f1d;
  color:#fff;
  cursor:pointer;
  overflow:hidden;
  font:inherit;
}
.youtube-player__poster::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(5,15,29,.08) 30%,rgba(5,15,29,.78) 100%);
  transition:background .2s ease;
}
.youtube-player__poster:hover::after{
  background:linear-gradient(180deg,rgba(5,15,29,.02) 28%,rgba(5,15,29,.68) 100%);
}
.youtube-player__poster:focus-visible{
  outline:4px solid var(--gold);
  outline-offset:-6px;
}
.youtube-player__poster img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.youtube-player__poster .play{
  position:absolute;
  z-index:2;
  left:50%;
  top:45%;
  transform:translate(-50%,-50%);
  transition:transform .2s ease,background .2s ease;
}
.youtube-player__poster:hover .play{
  transform:translate(-50%,-50%) scale(1.07);
  background:#e6002e;
}
.youtube-player__text{
  position:absolute;
  z-index:2;
  left:clamp(18px,4vw,40px);
  right:clamp(18px,4vw,40px);
  bottom:clamp(18px,4vw,36px);
  display:flex;
  flex-direction:column;
  gap:6px;
  text-align:left;
  text-shadow:0 2px 8px rgba(0,0,0,.55);
}
.youtube-player__text .vt{
  font-size:clamp(16px,2.2vw,24px);
  letter-spacing:.08em;
}
.youtube-player__text .vd{
  font-size:clamp(12px,1.5vw,14px);
  color:rgba(255,255,255,.88);
}
.video-note{
  padding-left:24px;
  border-left:3px solid var(--gold);
  color:var(--ink);
  font-family:var(--font-serif);
  font-size:clamp(18px,2.2vw,24px);
  font-weight:700;
  line-height:1.8;
  text-align:left;
}
.concern-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 34px;
  border-top:2px solid var(--ink);
}
.concern-list article{
  padding:22px 0;
  border-bottom:1px solid var(--line-color);
}
.concern-list h3{
  color:var(--ink);
  font-size:17px;
  font-weight:900;
  line-height:1.7;
}
.concern-list p{
  margin-top:8px;
  color:var(--muted);
  font-size:14.5px;
}
.answer-table{
  display:grid;
  gap:0;
  border-top:2px solid var(--ink);
}
.answer-table div{
  display:grid;
  grid-template-columns:210px 1fr;
  gap:28px;
  padding:24px 0;
  border-bottom:1px solid var(--line-color);
}
.answer-table dt{
  color:var(--ink);
  font-family:var(--font-serif);
  font-size:20px;
  font-weight:700;
}
.answer-table dd{
  color:var(--text);
}
.cta-section-light .kicker,
.cta-section-light .cta-title{ color:var(--ink); }
.cta-section-light .cta-lead,
.cta-section-light .cta-tel{ color:var(--text); }
.cta-section-light .cta-tel .tel-num{ color:var(--ink); }
.cta-section-light .cta-face .circle{
  border-color:var(--line-color);
  background:var(--white);
  color:var(--navy);
}
.cta-section-light .cta-face .nm{ color:var(--text); }
.cta-section-light .btn-outline.light{
  color:var(--navy);
  border-color:var(--navy);
  background:transparent;
}
@media (max-width: 760px){
  .hero-slideshow{ min-height:640px; align-items:flex-end; }
  .hero-slideshow .hero-content{
    width:100%;
    max-width:100vw;
    padding:112px 24px 54px;
    overflow:hidden;
  }
  .hero-slideshow .hero-title{ font-size:38px; }
  .hero-slideshow .hero-sub{
    max-width:100%;
    font-size:15px;
    line-height:1.9;
    word-break:break-all;
    overflow-wrap:anywhere;
  }
  .hero-slideshow .kicker{
    max-width:100%;
    word-break:break-all;
    overflow-wrap:anywhere;
  }
  .video-layout,
  .concern-list,
  .answer-table div{ grid-template-columns:1fr; }
  .answer-table div{ gap:8px; }
  .video-note{ padding-left:18px; }
}
@media (max-width: 640px){
  .header-inner{ padding:0 16px; gap:12px; }
  .brand{ min-width:0; }
  .brand .en{ display:none; }
  .brand .name{ font-size:20px; letter-spacing:.08em; }
  .menu-btn{ flex:0 0 44px; }
  .mobile-cta{
    display:flex !important;
    gap:8px !important;
  }
  .mobile-cta .m-form{ display:none !important; }
  .mobile-cta a{
    width:0 !important;
    min-width:0 !important;
    max-width:100% !important;
    flex:1 1 0 !important;
    overflow:hidden;
    white-space:nowrap;
  }
}

/* LINE相談専用ページ */
.sp-only{ display:none; }
.line-landing-head .sec-lead{ max-width:720px; }
.line-add-section{ padding-top:48px; }
.line-add-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.line-add-panel{
  min-width:0;
  padding:clamp(28px,4vw,44px);
  border:1px solid var(--line-color);
  background:var(--white);
  text-align:center;
}
.line-add-smartphone{
  border-top:5px solid var(--line-green);
  box-shadow:0 16px 38px rgba(14,33,56,.10);
}
.line-add-desktop{ border-top:5px solid var(--navy); }
.line-add-label{
  display:inline-block;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
}
.line-add-icon{
  display:grid;
  place-items:center;
  width:86px;
  height:86px;
  margin:22px auto 18px;
  border-radius:22px;
  background:var(--line-green);
  color:#fff;
  font-family:var(--font-en);
  font-size:16px;
  font-weight:800;
  letter-spacing:-.02em;
}
.line-add-panel h3{
  color:var(--ink);
  font-family:var(--font-serif);
  font-size:22px;
  font-weight:700;
}
.line-add-panel > p{
  margin:12px auto 22px;
  max-width:330px;
  color:var(--muted);
  font-size:14px;
}
.line-friend-add{ margin-top:6px; }
.line-friend-add.is-disabled{
  cursor:not-allowed;
  background:#a7aea8;
  opacity:.82;
  pointer-events:auto;
}
.line-friend-add.is-disabled:hover{
  opacity:.82;
  transform:none;
}
.line-add-panel .line-url-status{
  margin:12px auto 0;
  color:var(--danger);
  font-size:12.5px;
  line-height:1.7;
}
.line-qr-placeholder{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:190px;
  min-height:190px;
  margin:22px auto 18px;
  padding:20px;
  border:2px dashed var(--line-color);
  background:#fff;
  color:var(--muted);
}
.line-qr-mark{
  position:relative;
  width:56px;
  height:56px;
  margin-bottom:14px;
  border:8px solid var(--navy);
}
.line-qr-mark::after{
  content:"";
  position:absolute;
  right:-23px;
  bottom:-23px;
  width:18px;
  height:18px;
  border:5px solid var(--gold);
}
.line-qr-placeholder strong{ color:var(--ink); font-size:14px; }
.line-qr-placeholder small{ margin-top:5px; font-size:11px; line-height:1.5; }
.line-measure-note{
  margin-top:24px;
  padding:22px 26px;
  border-left:4px solid var(--gold);
  background:var(--bg);
}
.line-measure-note strong{ color:var(--ink); }
.line-measure-note p{ margin-top:4px; font-size:14px; }
.line-guide-list{
  display:grid;
  border-top:2px solid var(--ink);
}
.line-guide-list article{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:20px;
  align-items:start;
  padding:24px 0;
  border-bottom:1px solid var(--line-color);
}
.line-guide-list article > span{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  background:var(--navy);
  color:#fff;
  font-family:var(--font-en);
  font-weight:700;
}
.line-guide-list h3{
  color:var(--ink);
  font-family:var(--font-serif);
  font-size:20px;
}
.line-guide-list p{ margin-top:4px; color:var(--muted); }
.line-response-note{
  margin-top:24px;
  color:var(--muted);
  font-size:13px;
  text-align:center;
}
.line-alternative-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.line-alternative-actions .btn{ min-width:270px; }

@media (max-width: 760px){
  .sp-only{ display:inline; }
  .line-add-grid{ grid-template-columns:1fr; }
  .line-add-panel{ padding:30px 22px; }
  .line-add-desktop{ display:none; }
  .line-measure-note{ padding:20px; }
  .line-alternative-actions{ flex-direction:column; align-items:stretch; }
  .line-alternative-actions .btn{ width:100%; min-width:0; }
}


/* ===== TOP FV: copy-safe split layout =====
   PCは左をコピー専用面、右を写真面に分離。
   スマホは写真→コピーの縦積みにして、人物の顔へ文字を重ねない。 */
.hero-slideshow{
  --hero-bg:#1a3c59;
  padding:0;
  min-height:min(82vh, 720px);
  background:linear-gradient(135deg, #214866 0%, var(--hero-bg) 58%, #173652 100%);
}
.hero-slideshow .hero-slider{ background:var(--hero-bg); }
.hero-slideshow .hero-media{
  inset:0 0 0 34%;
  width:auto;
}
.hero-slideshow .hero-overlay{
  background:
    linear-gradient(
      90deg,
      #214866 0%,
      rgba(26,60,89,1) 24%,
      rgba(26,60,89,.96) 34%,
      rgba(26,60,89,.80) 44%,
      rgba(26,60,89,.55) 54%,
      rgba(26,60,89,.30) 64%,
      rgba(26,60,89,.10) 74%,
      rgba(26,60,89,0) 86%
    ),
    linear-gradient(to bottom, rgba(23,54,82,.02) 0%, rgba(23,54,82,.12) 100%);
}
.hero-slideshow .hero-content{
  max-width:1320px;
  padding:calc(var(--header-h) + 50px) clamp(28px, 5vw, 72px) 62px;
}
.hero-slideshow .hero-title,
.hero-slideshow .hero-sub,
.hero-slideshow .hero-cta{
  width:min(540px, calc(48vw - clamp(28px, 5vw, 72px) - 24px));
  max-width:540px;
}
.hero-slideshow .hero-title{
  margin-top:0;
  font-size:clamp(42px, 4vw, 56px);
  line-height:1.45;
}
.hero-slideshow .hero-sub{
  max-width:500px;
}
.hero-slideshow .hero-slide:nth-child(1) img{ object-position:45% center; }
.hero-slideshow .hero-slide:nth-child(2) img{ object-position:8% center; }
.hero-slideshow .hero-slide:nth-child(3) img{ object-position:58% center; }
.hero-slideshow .hero-slide:nth-child(4) img{ object-position:38% center; }

@media (max-width: 1080px){
  .hero-slideshow{
    display:block;
    min-height:0;
  }
  .hero-slideshow .hero-media{
    position:relative;
    inset:auto;
    width:100%;
    height:clamp(290px, 58vw, 430px);
  }
  .hero-slideshow .hero-overlay{
    display:none;
  }
  .hero-slideshow .hero-content{
    max-width:680px;
    padding:28px 24px 48px;
  }
  .hero-slideshow .hero-title,
  .hero-slideshow .hero-sub,
  .hero-slideshow .hero-cta{
    width:100%;
    max-width:100%;
  }
  .hero-slideshow .hero-title{
    font-size:clamp(34px, 7vw, 44px);
    line-height:1.45;
  }
  .hero-slideshow .hero-sub{
    margin-top:20px;
    font-size:15px;
    line-height:1.9;
    word-break:normal;
    overflow-wrap:normal;
  }
  .hero-slideshow .hero-cta{
    margin-top:28px;
  }
  .hero-slideshow .hero-slide:nth-child(1) img{ object-position:50% 46%; }
  .hero-slideshow .hero-slide:nth-child(2) img{ object-position:32% 52%; }
  .hero-slideshow .hero-slide:nth-child(3) img{ object-position:58% 50%; }
  .hero-slideshow .hero-slide:nth-child(4) img{ object-position:50% 45%; }
}

@media (max-width: 640px){
  .hero-slideshow .hero-media{
    height:clamp(270px, 72vw, 340px);
  }
  .hero-slideshow .hero-content{
    padding:24px 20px 36px;
  }
  .hero-slideshow .hero-title{
    font-size:34px;
  }
  .hero-slideshow .hero-cta{
    display:none;
  }
}

@media (max-width: 380px){
  .hero-slideshow .hero-title{ font-size:30px; }
}


@media (max-width: 640px) and (max-height: 620px){
  body{ padding-bottom:0; }
  .mobile-cta{ display:none !important; }
  .hero-slideshow .hero-cta{ display:flex; }
}


/* ===== 2026-07-28 スマホUI/UX最適化 ===== */
a,
button,
input,
textarea,
select,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(22, 48, 79, .14);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .mobile-cta {
  display: none !important;
}

.drawer {
  overscroll-behavior: contain;
}

.menu-btn {
  border-radius: var(--radius);
}

@media (hover: none) {
  .btn:hover,
  .service-card:hover {
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .service-card:hover .thumb img {
    transform: none;
  }

  .service-card:hover .thumb img.is-cabin-card {
    transform: scale(1.28);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
    --sp-section: 52px;
  }

  body {
    font-size: 15.5px;
    line-height: 1.82;
  }

  .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header .brand-logo {
    height: 42px;
  }

  .site-header .brand {
    min-height: 44px;
  }

  .brand .name {
    font-size: 19px;
  }

  .menu-btn {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .drawer {
    padding: calc(var(--header-h) + 14px) 24px calc(96px + env(safe-area-inset-bottom));
  }

  .drawer .nav-link {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 12px 0;
    font-size: 17px;
  }

  .drawer-cta {
    margin-top: 22px;
  }

  .page-plain {
    padding: calc(var(--header-h) + 38px) 0 36px;
  }

  .page-hero-content {
    padding-right: 20px;
    padding-bottom: 36px;
    padding-left: 20px;
  }

  .page-title {
    font-size: clamp(27px, 7.6vw, 31px);
    line-height: 1.52;
    letter-spacing: .025em;
  }

  .page-hero-lead,
  .sec-lead {
    line-height: 1.85;
  }

  .breadcrumb {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-top: 2px;
    padding-bottom: 2px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .breadcrumb a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding-right: 2px;
  }

  .kicker {
    font-size: 13px;
    letter-spacing: .1em;
  }

  .sec-head {
    margin-bottom: 30px;
  }

  .sec-title,
  .sec-head.center .sec-title {
    font-size: clamp(23px, 6.4vw, 27px);
    line-height: 1.48;
    letter-spacing: .02em;
  }

  .btn {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 15px;
    letter-spacing: .045em;
  }

  .text-link {
    min-height: 44px;
    padding: 8px 0;
  }

  .usp-item,
  .flow-box,
  .bio-col {
    padding: 28px 22px;
  }

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

  .service-card h3 {
    font-size: 22px;
  }

  .work-card .body {
    padding: 18px 20px 22px;
  }

  .person,
  .usp-item,
  .service-card,
  .work-card,
  .flow-box.is-ichikobou {
    border-width: 2px;
  }

  .faq-item summary {
    min-height: 60px;
    padding: 17px 50px 17px 20px;
  }

  .faq-item summary::after {
    right: 20px;
  }

  .faq-item .a {
    padding: 0 20px 20px;
  }

  .access-info .row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

  .form-wrap {
    padding: 26px 20px 30px;
  }

  .form-row {
    margin-bottom: 24px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    min-height: 52px;
    font-size: 16px;
    padding: 13px 14px;
  }

  textarea {
    font-size: 16px !important;
  }

  .line-text-link,
  .tel-link,
  .note a,
  .consent-row a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .radio-grid label,
  .check-grid label {
    min-height: 52px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.65;
  }

  .radio-grid input,
  .check-grid input,
  .consent-row input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    accent-color: var(--navy);
  }

  .consent-row label {
    min-height: 48px;
    align-items: flex-start !important;
    text-align: left;
  }

  .channel-card {
    padding: 28px 22px;
  }

  .channel-card .tel-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
  }

  .site-footer {
    padding-top: 54px;
  }

  .footer-grid {
    padding-bottom: 38px;
  }

  .footer-col a {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
  }

  .footer-bottom .links {
    width: 100%;
    gap: 8px 18px;
    flex-wrap: wrap;
  }

  .footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .mobile-cta {
    gap: 8px !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, .96);
    border-top: 1px solid var(--line-color);
    box-shadow: 0 -8px 24px rgba(14, 33, 56, .12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .mobile-cta a {
    min-height: 52px;
    flex-direction: row;
    gap: 0;
    padding: 10px 8px;
    font-size: 13px;
    letter-spacing: .02em;
  }

  .mobile-cta .icn {
    display: none;
  }
}

@media (max-width: 380px) {
  .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-slideshow .hero-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-slideshow .hero-title {
    font-size: 30px;
  }

  .form-wrap {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 640px) and (max-height: 620px) {
  body {
    padding-bottom: 0;
  }

  .mobile-cta {
    display: none !important;
  }
}

/*
 * WordPress本番ではSWELLの基礎CSSがこのファイルより後に読み込まれる。
 * 本サイトの自己完結テンプレートで意図した本文サイズと、iPhoneで
 * 入力時ズームを起こさないフォーム文字サイズだけを後勝ちから保護する。
 */
body {
  font-size: 16px !important;
  line-height: 1.9 !important;
  letter-spacing: .03em !important;
}

/* WordPressログイン中も管理バーと固定ヘッダー／ドロワーを重ねない。 */
.has-wpadminbar .site-header {
  top: 32px;
}

.has-wpadminbar .drawer {
  top: 32px;
}

@media (max-width: 782px) {
  .has-wpadminbar .site-header {
    top: 46px;
  }

  .has-wpadminbar .drawer {
    top: 46px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px !important;
    line-height: 1.82 !important;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px !important;
  }
}
