/* ====== Kanto Reito Corporate UI v7 ======
   clean / professional / motion-forward (no frameworks)
   ===================================================== */

/* Google Fonts are loaded via <link> in each HTML head for better performance (preconnect + stylesheet). */

:root{
  --bg: #f6f8fc;
  --bg2: #eef3ff;
  --surface: rgba(255,255,255,.80);
  --surfaceSolid: #ffffff;
  --text: #0b1220;
  --muted: rgba(11,18,32,.66);
  --line: rgba(11,18,32,.12);

  --accent: #0a4bd8;
  --accent2: #00a3ff;
  --ok: #0ea5e9;

  --radius: 16px;
  --radius2: 22px;

  --shadow: 0 18px 48px rgba(2,6,23,.10);
  --shadow2: 0 10px 26px rgba(2,6,23,.08);

  --container: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  /* Prefer Google Fonts for more consistent cross-device rendering */
  font-family: 'Inter', 'Noto Sans JP', ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(10,75,216,.12), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(0,163,255,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  line-height: 1.75;
}

img{ max-width:100%; height:auto; }
a{ color: inherit; }
code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: .95em; }

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

/* --- accessibility --- */
.skip{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  left: 12px;
  top: 12px;
  width:auto;
  height:auto;
  padding:10px 12px;
  border-radius: 12px;
  background: var(--surfaceSolid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  z-index: 9999;
}
.srOnly{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border:0;
}

/* --- motion / reveal --- */
.reveal{ opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.isIn{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* --- header / nav --- */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,18,32,.10);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  /* slightly reduced header height and padding for a tighter, balanced header */
  min-height: 64px;
  padding: 8px 0;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  text-decoration:none;
}
.brand__logo{ height: 36px; width:auto; display:block; }
.brand__logo--footer{ height: 28px; width:auto; display:block; opacity:.95; }

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}
.nav a{
  text-decoration:none;
  color: rgba(11,18,32,.80);
  /* slightly lighter/nav-friendly weight and size */
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav a:hover{
  background: rgba(10,75,216,.08);
  color: rgba(11,18,32,.92);
  transform: translateY(-1px);
}
.nav__cta{
  padding: 9px 12px !important;
  background: linear-gradient(135deg, rgba(10,75,216,1), rgba(0,163,255,1));
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(10,75,216,.18);
}
.nav__cta:hover{
  background: linear-gradient(135deg, rgba(10,75,216,.96), rgba(0,163,255,.96));
}

.navToggle{
  display:none;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.7);
  box-shadow: var(--shadow2);
}
.navToggle__bar{
  display:block;
  width: 16px;
  height: 2px;
  margin: 5px auto;
  background: rgba(11,18,32,.80);
  border-radius: 999px;
}

/* mobile nav */
@media (max-width: 980px){
  .navToggle{ display:block; }
  .nav{
    position: fixed;
    left: 14px;
    right: 14px;
    /* align mobile menu top to the compact header */
    top: 76px;
    display:flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(11,18,32,.12);
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav.isOpen{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a{ width:100%; padding: 12px 14px; }
}

/* --- common blocks --- */
.muted{ color: var(--muted); }
.small{ font-size: 13px; color: var(--muted); }
.note{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(11,18,32,.70);
}

/* --- buttons --- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.12);
  background: linear-gradient(135deg, rgba(10,75,216,1), rgba(0,163,255,1));
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow: 0 12px 26px rgba(10,75,216,.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 16px 34px rgba(10,75,216,.22); }
.btn:active{ transform: translateY(0); filter: brightness(.98); }

.btn--ghost{
  background: rgba(255,255,255,.75);
  color: rgba(11,18,32,.86);
  box-shadow: none;
}
.btn--ghost:hover{ background: rgba(255,255,255,.95); box-shadow: var(--shadow2); }

.btn--small{
  padding: 10px 14px;
  font-size: 14px;
}

/* --- layout sections --- */
.section{
  padding: 76px 0;
}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,0));
}
.pageHeader{
  padding: 44px 0 10px;
}
.pageHeader__title{
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: .01em;
}
.pageHeader__lead{
  margin: 10px 0 0;
  color: var(--muted);
}

.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.sectionTitle{
  margin: 0;
  font-size: 26px;
}
.sectionLead{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.9;
}
.sectionTitleSm{
  margin: 0 0 14px;
  font-size: 20px;
}

.linkArrow{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.70);
  text-decoration:none;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease;
}
.linkArrow::after{ content:"→"; }
.linkArrow:hover{ transform: translateY(-1px); background: rgba(255,255,255,.95); }

/* --- panels / cards --- */
.panel{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(11,18,32,.12);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.panel--media{ overflow:hidden; padding: 18px; }

.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 28px;
}
.split--wide{ grid-template-columns: 1.1fr .9fr; }
@media (max-width: 950px){ .split, .split--wide{ grid-template-columns: 1fr; } }

.mapWrap{
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(11,18,32,.12);
  box-shadow: var(--shadow2);
  background: rgba(255,255,255,.9);
}
.mapWrap iframe{
  width: 100%;
  height: 320px;
  border: 0;
  display:block;
}

/* --- hero --- */
.hero{
  padding: 88px 0 40px;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
}
@media (max-width: 950px){ .hero__inner{ grid-template-columns: 1fr; } }
.hero__title{
  margin: 10px 0 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: .01em;
}
.hero__lead{
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.9;
}
.hero__actions{ margin-top: 18px; display:flex; gap: 10px; flex-wrap:wrap; }
.hero__photo{
  position: relative;
  border-radius: 28px;
  overflow:hidden;
  border: 1px solid rgba(11,18,32,.12);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.85);
}
.hero__slideshow{
  position: relative;
  width:100%;
  height: 360px;
  touch-action: pan-y;
}
.hero__slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero__slide.isActive{ opacity: 1; }
.hero__dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display:flex;
  justify-content:center;
  gap: 10px;
  padding: 0;
  background: transparent;
  pointer-events: none;
}
.hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.28);
  background: rgba(11,18,32,.10);
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
}
.hero__dot.isActive{
  background: rgba(10,75,216,.75);
  border-color: rgba(10,75,216,.75);
}
@media (max-width: 950px){ .hero__slideshow{ height: 280px; } }
@media (prefers-reduced-motion: reduce){
  .hero__slide{ transition: none; }
}

/* --- tiles, locations, warehouses --- */
.tiles{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 900px){ .tiles{ grid-template-columns: 1fr; } }
.tile{
  display:block;
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
  text-decoration:none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.tile:hover{ transform: translateY(-2px); background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.tile__title{ font-weight: 950; font-size: 17px; }
.tile__text{ margin-top: 8px; color: var(--muted); line-height: 1.9; }

.locHighlights{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 900px){ .locHighlights{ grid-template-columns: 1fr; } }
.locCard{
  display:block;
  border-radius: var(--radius2);
  border: 1px solid rgba(11,18,32,.12);
  overflow:hidden;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
  text-decoration:none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.locCard:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.locCard__img{ width:100%; height: 210px; object-fit: cover; display:block; }
.locCard__body{ padding: 16px; }
.locCard__title{ font-weight: 950; font-size: 18px; }
.locCard__text{ margin-top: 8px; color: var(--muted); line-height: 1.9; }
.locCard__meta{ margin-top: 10px; font-weight: 900; color: var(--accent); }

.warehouseGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 1000px){ .warehouseGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px){ .warehouseGrid{ grid-template-columns: 1fr; } }
.warehouseCard{
  border-radius: var(--radius2);
  border: 1px solid rgba(11,18,32,.12);
  overflow:hidden;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
  transition: transform .18s ease, box-shadow .18s ease;
}
.warehouseCard:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.warehouseCard__media{ display:block; }
.warehouseCard__media img{ width:100%; height: 190px; object-fit: cover; display:block; }
.warehouseCard__body{ padding: 14px; }
.warehouseCard__top h3{ margin:0; font-size: 18px; font-weight: 950; }
.warehouseCard__area{ margin: 6px 0 0; color: var(--muted); }
.warehouseCard__desc{ margin: 10px 0 0; color: var(--muted); line-height: 1.9; }
.tags{ display:flex; flex-wrap:wrap; gap: 8px; margin-top: 12px; }
.tag{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 900;
  color: rgba(11,18,32,.72);
}
.actions{ display:flex; gap: 10px; flex-wrap:wrap; margin-top: 12px; }

/* --- filters/search/chips --- */
.filters{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.search{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.70);
  min-width: min(520px, 100%);
}
.search input{
  border:0;
  outline:0;
  background: transparent;
  width: 100%;
  font-size: 15px;
}
.chips{ display:flex; flex-wrap:wrap; gap: 8px; }
.chip{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.60);
  cursor:pointer;
  font-weight: 900;
  font-size: 13px;
  transition: transform .18s ease, background .18s ease;
}
.chip:hover{ transform: translateY(-1px); background: rgba(255,255,255,.86); }
.chip.isActive{
  background: rgba(10,75,216,.12);
  border-color: rgba(10,75,216,.30);
}

/* --- tables / bullets --- */
.table{
  width:100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table th,.table td{
  border-top: 1px solid rgba(11,18,32,.12);
  padding: 12px 10px;
  vertical-align: top;
}
.table tr:first-child th,.table tr:first-child td{ border-top:none; }
.table th{ width: 160px; color: var(--muted); font-weight: 950; }
@media (max-width: 720px){ .table th{ width: 120px; } }
.bullets{ margin:0; padding-left: 1.1em; line-height: 1.95; }
.bullets li{ margin: 6px 0; }

/* business list (company page) - single horizontal row (equal widths) */
.bullets.bizList{
  padding-left: 0;
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
}
.bullets.bizList li{
  list-style: none;
  margin: 0;
  padding: 18px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(249,251,255,.92));
  border: 1px solid rgba(11,18,32,.06);
  box-shadow: var(--shadow2);
  font-weight: 900;
  font-size: 16px;
  flex: 1 1 0;
  min-width: 280px;
}
.bizEmoji{ font-size:24px; line-height:1; }
/* keep text on one line; shrink if necessary */
.bullets.bizList li .bizText{
  color: var(--muted);
  font-weight: 800;
  font-size: clamp(14px, 2.5vw, 15px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px){
  .bullets.bizList{ flex-direction: column; }
}

/* Mobile adjustments: improve spacing, tap targets and readable text */
@media (max-width: 720px){
  body{ font-size: 15px; line-height: 1.6; }
  .container{ padding: 0 14px; }
  .header__inner{ padding: 6px 0; min-height: 56px; }
  .brand{ max-width: calc(100% - 52px); }
  .brand__logo{ height: 30px; max-width: 100%; }
  .nav a{ padding: 10px 12px; font-size: 14px; }
  .pageHeader{ padding: 22px 0 8px; }
  .section{ padding: 36px 0; }
  .sectionHead{ flex-direction: column; align-items: flex-start; gap: 12px; }
  .panel{ padding: 12px; border-radius: 14px; }
  .panel--media{ padding: 10px; }
  .mapWrap iframe{ height: 220px; }
  .table th,.table td{ padding: 10px 8px; font-size: 14px; }
  .bullets.bizList{ gap: 12px; }
  .bullets.bizList li{ width: 100%; padding: 12px 14px; font-size: 15px; min-width: auto; }
  .bizEmoji{ font-size:20px; }
  .bizText{ font-size:15px; }
  .btn{ padding: 10px 12px; font-size: 15px; }
  .linkArrow{ padding: 8px 12px; font-size: 14px; }
  .chip{ padding: 8px 10px; font-size: 13px; }
  .hero__slideshow{ height: clamp(200px, 60vw, 260px); }
  .warehouseCard__media img{ height: clamp(200px, 60vw, 240px); }
  .warehouseCard__body{ padding: 16px; }
  .warehouseCard__top h3{ font-size: 19px; }
  .warehouseCard__desc{ font-size: 15px; }
  .actions{ gap: 8px; }
  .actions .btn{ flex: 1 1 0; width: 100%; }
}

@media (max-width: 420px){
  body{ font-size: 14px; }
  .header__inner{ min-height: 52px; }
  .brand__logo{ height: 26px; }
  .nav a{ font-size: 13px; padding: 10px; }
  .pageHeader__title{ font-size: 28px; }
  .bullets.bizList li{ padding: 10px 12px; gap: 10px; }
  .bizEmoji{ font-size:18px; }
  .bizText{ font-size:14px; }
  .mapWrap iframe{ height: 190px; }
  .hero__slideshow{ height: clamp(180px, 64vw, 240px); }
  .warehouseCard__media img{ height: clamp(180px, 62vw, 220px); }
}

/* --- news --- */
.newsItem{ display:grid; grid-template-columns: 120px 1fr; gap:14px; padding:14px 0; border-top:1px solid rgba(11,18,32,.12); }
.newsItem:first-child{ border-top:none; padding-top:0; }
.newsItem__date{ font-weight:950; color:var(--muted); }
.newsItem__title{ font-weight:950; margin:0; }
.newsItem__text{ color:var(--muted); margin-top:6px; line-height:1.9; }
@media (max-width: 720px){ .newsItem{ grid-template-columns: 1fr; gap:8px; } }

/* --- footer --- */
.footer{
  margin-top: 30px;
  padding: 26px 0 36px;
  border-top: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}
@media (max-width: 900px){ .footer__inner{ grid-template-columns: 1fr; } }
.footer__links{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.footer__links a{
  text-decoration:none;
  color: rgba(11,18,32,.78);
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.65);
}
.footer__links a:hover{ background: rgba(255,255,255,.92); }
.footer__copy{ margin-top: 12px; color: var(--muted); font-size: 13px; }

/* small contact line shown at footer bottom */
/* footer__contact removed per request */

/* ====== v7 contact: completely new form UI ====== */
.contactHero{
  padding: 52px 0 10px;
}
.contactHero__inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: end;
}
@media (max-width: 980px){ .contactHero__inner{ grid-template-columns: 1fr; } }
.contactHero__title{
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}
.contactHero__lead{ margin: 12px 0 0; color: var(--muted); max-width: 58ch; }
.contactBadgeRow{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow2);
  font-weight: 950;
}
.badge span{ color: var(--muted); font-weight: 900; }

.contactLayout{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 980px){ .contactLayout{ grid-template-columns: 1fr; } }

.formCard{
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(11,18,32,.12);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 22px;
  overflow:hidden;
  position: relative;
}
.formCard::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 260px at 10% 0%, rgba(10,75,216,.20), transparent 60%),
    radial-gradient(520px 240px at 90% 10%, rgba(0,163,255,.16), transparent 60%);
  z-index: 0;
  opacity: .75;
}
.formCard > *{ position: relative; z-index: 1; }

.formHead{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.formHead h2{ margin:0; font-size: 18px; font-weight: 950; }
.formHead p{ margin: 6px 0 0; color: var(--muted); }

.formGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 720px){ .formGrid{ grid-template-columns: 1fr; } }

.field{
  position: relative;
}
.field input,
.field textarea{
  width: 100%;
  padding: 28px 14px 14px; /* ラベル分の上余白を確保 */
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.16);
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 22px rgba(2,6,23,.06);
  outline: none;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.field select{
  width: 100%;
  min-height: 52px;         /* 入力欄と高さを揃える */
  padding: 28px 44px 14px 14px; /* 右は矢印分、上はラベル分 */
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.16);
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 22px rgba(2,6,23,.06);
  outline: none;
  font-size: 15px;
  line-height: 1.2;

  /* OS既定の見た目差で「文字がバグってる」っぽくなるのを防ぐ */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* 右側の矢印（Safari/Chromeで安定） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(11,18,32,0.62)' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;

  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.field textarea{ resize: vertical; min-height: 160px; }
.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color: rgba(10,75,216,.45);
  box-shadow: 0 18px 40px rgba(10,75,216,.12);
  transform: translateY(-1px);
}

.field label{
  position:absolute;
  left: 14px;
  top: 14px;
  font-size: 13px;
  color: rgba(11,18,32,.66);
  font-weight: 900;
  pointer-events:none;
  transition: transform .18s ease, opacity .18s ease, top .18s ease;
  opacity: .95;
}
.field input::placeholder,
.field textarea::placeholder{ color: transparent; }

.field input:placeholder-shown + label,
.field textarea:placeholder-shown + label{
  top: 18px;
  transform: translateY(6px) scale(1);
  opacity: .82;
}
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field input:focus + label,
.field textarea:focus + label,
.field select + label,
.field select.isFilled + label{
  top: 10px;
  transform: translateY(-6px) scale(.86);
  opacity: .92;
}

/* 未選択（value=""）のときはプレースホルダーっぽく薄く表示 */
.field select:invalid{
  color: rgba(11,18,32,.52);
}
/* 実際の選択肢は通常色 */
.field select option{
  color: var(--text);
}

.helpRow{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.helpRow .note{ margin: 0; }

.consentRow{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.consentLabel{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  color: var(--text);
}
.consentLabel input{
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.consentLabel a{
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.formActions{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(11,18,32,.12);
}

.formInlineLinks{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}
.pillLink{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.72);
  text-decoration:none;
  font-weight: 950;
  color: rgba(11,18,32,.82);
  white-space: nowrap;
}
.pillLink:hover{ background: rgba(255,255,255,.95); }

.sideStack{ display:grid; gap: 14px; }
.sideCard{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(11,18,32,.12);
  border-radius: 26px;
  box-shadow: var(--shadow2);
  padding: 18px;
}
.sideCard h3{ margin: 0; font-size: 16px; font-weight: 950; }
.sideCard__tel{
  margin-top: 10px;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: .02em;
}
.sideCard__meta{ margin-top: 10px; color: var(--muted); line-height: 1.9; }

.toast{
  display:none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.82);
  color: var(--muted);
}
.toast--error{
  color: #b91c1c;
  border-color: rgba(185,28,28,.35);
  background: rgba(255,255,255,.92);
}
.toast.isOn{ display:block; }

@keyframes shake{
  0%{ transform: translateX(0); }
  20%{ transform: translateX(-6px); }
  40%{ transform: translateX(6px); }
  60%{ transform: translateX(-4px); }
  80%{ transform: translateX(4px); }
  100%{ transform: translateX(0); }
}
.shake{ animation: shake .35s ease; }

/* ====== legacy structures (v6 markup) restyled in v7 theme ====== */

.hero--home .hero__inner{ align-items: start; }
.hero__content{ padding-top: 6px; }
.hero__eyebrow{ margin-top: 18px; display:flex; gap: 10px; flex-wrap:wrap; }
.hero__facts{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 720px){ .hero__facts{ grid-template-columns: 1fr; } }
.fact{
  border-radius: 20px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
  padding: 14px 16px;
  /* keep cards visually consistent and vertically centered */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 84px;
}
.fact__label{
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: none; /* keep it natural for Japanese */
}
.fact__value{
  margin-top: 6px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .01em;
  line-height: 1.25;
  /* Prefer not to break Japanese address at arbitrary points */
  word-break: keep-all;
  overflow-wrap: normal;
}
/* phone link styling inside fact to avoid heavy default underline */
.fact__value a{
  text-decoration: none;
  border-bottom: 2px solid rgba(11,18,32,.12);
  padding-bottom: 2px;
  color: var(--text);
}

.dl{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 14px;
  margin: 0;
}
.dl dt{
  font-weight: 950;
  color: var(--muted);
  border-top: 1px solid rgba(11,18,32,.12);
  padding-top: 10px;
}
.dl dd{
  margin: 0;
  border-top: 1px solid rgba(11,18,32,.12);
  padding-top: 10px;
}
.dl--compact dt, .dl--compact dd{ padding-top: 8px; }
.dl dt:first-of-type, .dl dd:first-of-type{ border-top: none; padding-top: 0; }
@media (max-width: 720px){
  .dl{ grid-template-columns: 1fr; }
  .dl dt{ border-top:none; padding-top:0; }
  .dl dd{ padding-top:0; }
}

.panel__foot{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(11,18,32,.12);
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap:wrap;
}

.miniCta{
  margin-top: 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(10,75,216,.22);
  background: rgba(10,75,216,.06);
  color: rgba(11,18,32,.82);
  font-weight: 900;
}

.cta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
}
.cta--soft{
  background:
    radial-gradient(700px 260px at 10% 0%, rgba(10,75,216,.14), transparent 60%),
    radial-gradient(520px 240px at 90% 10%, rgba(0,163,255,.12), transparent 60%),
    rgba(255,255,255,.78);
}
.cta__text h2{ margin: 0; font-size: 20px; font-weight: 950; }
.cta__text p{ margin: 8px 0 0; }
.cta__actions{ display:flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px){ .cta{ flex-direction: column; align-items: stretch; } .cta__actions{ justify-content: flex-start; } }

.serviceRows{ display:grid; gap: 12px; }
.serviceRow{
  display:grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
}
.serviceRow__head h3{ margin:0; font-size: 18px; font-weight: 950; }
.serviceRow__body{ color: var(--muted); line-height: 1.9; }
.serviceRow__actions{ display:flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 980px){
  .serviceRow{ grid-template-columns: 1fr; }
  .serviceRow__actions{ justify-content: flex-start; }
}

.sectionBlock{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 950px){ .sectionBlock{ grid-template-columns: 1fr; } }
.section__head{ margin-bottom: 14px; }

/* Make sectionBlock heading and its bullets span full width for balanced layout */
.sectionBlock > .sectionTitleSm{ grid-column: 1 / -1; margin-bottom: 8px; margin-left: -36px; }
.sectionBlock .bullets{ grid-column: 1 / -1; max-width: 640px; margin: 8px auto 0; padding-left: 1.1em; }

.breadcrumb{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
  padding: 10px 0 0;
}
.breadcrumb a{
  color: rgba(11,18,32,.74);
  text-decoration:none;
  border-bottom: 1px dashed rgba(11,18,32,.26);
}
.breadcrumb a:hover{ color: rgba(11,18,32,.90); border-bottom-color: rgba(11,18,32,.46); }

.detailHead{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.detailGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items: start;
}
.detailGrid .mapWrap{ margin-top: 12px; }
@media (max-width: 950px){ .detailGrid{ grid-template-columns: 1fr; } }

/* For detail pages, show ACCESS dl items stacked vertically (address above notes) */
.detailGrid .dl{
  grid-template-columns: 1fr !important;
}
.detailGrid .dl div{ display:block; }
.detailGrid .dl dt{ display:block; padding-top:0.35em; border-top: none; color: var(--muted); font-weight: 900; }
.detailGrid .dl dd{ padding-top: 6px; margin-bottom: 12px; border-top: none; }

.gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
@media (max-width: 900px){ .gallery{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px){ .gallery{ grid-template-columns: 1fr; } }
.gallery img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.12);
  box-shadow: var(--shadow2);
}
@media (max-width: 720px){
  .gallery img{ height: clamp(220px, 60vw, 280px); }
}

/* prevent awkward breaks for addresses across the site */
#cAddr, #whAddress, .dl dd, .table td, .locCard__text {
  word-break: keep-all;
  overflow-wrap: normal;
}

/* simple lightbox for gallery images */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2,6,23,0.65);
  z-index: 2000;
}
.lightbox.isOn{ display:flex; }
.lightbox__img{
  max-width: 92vw;
  max-height: 92vh;
  box-shadow: 0 18px 48px rgba(2,6,23,.5);
  border-radius: 12px;
  background: #fff;
}
.lightbox__close{
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
}

.article{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 950px){ .article{ grid-template-columns: 1fr; } }
.article__media{
  border-radius: 26px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
  padding: 14px;
}
.article__media img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display:block;
  border-radius: 20px;
}
@media (max-width: 950px){ .article__media img{ height: 240px; } }
.article__body{
  border-radius: 26px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.article__cta{
  margin-top: 16px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.signature{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(11,18,32,.12);
}
.signature__label{ color: var(--muted); font-weight: 950; }
.signature__name{ margin-top: 6px; font-weight: 950; font-size: 18px; letter-spacing: .01em; }

.list{
  margin: 0;
  padding-left: 1.1em;
  color: var(--muted);
  line-height: 1.95;
}

.card{
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
}

.privacyLead{
  text-align: center;
}

.privacyPage .muted,
.privacyPage .list{
  color: #000;
}
