/* テンプレート：kogu
   白と紺に、工事現場のテープのような黄色の差し色（--main）。写真は大きく、角は少しだけ丸める。影は使わない。
   工具のイラストは紺の線と黄色・白・木の色。英字は縦長の Oswald で、現場の看板のように力強く。
   スマホを先に書き、広い画面は下の @media で足す */

:root {
  --paper: #fbfcfd;
  --paper-2: #eef1f6;
  --navy: #14285a;
  --navy-2: #1d3672;
  --ink: #1b2440;
  --ink-soft: #5d6680;
  --line: #d5dbe6;
  --white: #fff;
  /* 差し色：工事現場のテープのような黄色。店に合わせるときは custom.css で --accent と --accent-soft を変える
     （theme.color は使わない。濃い色だと紺の文字が読めなくなるため） */
  --accent: #f2c230;
  --accent-soft: #fbe9a8;
  /* イラストの色 */
  --wood: #e8bf86;
  --wood-2: #d9a865;
  --steel: #cfd8e6;
  --leaf: #7cc28b;
  --blush: #f5a8a8;

  --radius: 4px;
  --header-h: 64px;
  --callbar-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: var(--callbar-h);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 840px;
}

.pending {
  color: var(--ink-soft);
  font-size: 0.9em;
}

.tool {
  display: block;
  overflow: visible;
}

/* ── 最初の演出（JavaScript が is-opening を付けたときだけ出る） ── */
.opening {
  display: none;
}

.is-opening .opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.7s var(--ease);
}

.is-opening body {
  overflow: hidden;
}

.is-opened .opening {
  transform: translateY(-100%);
}

.opening__tools {
  display: grid;
  grid-template-columns: repeat(4, 64px);
  gap: 14px 18px;
}

.opening__tool {
  display: block;
  width: 64px;
  height: 64px;
  padding: 6px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0;
  transform: scale(0.3);
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, wiggle 0.9s ease-in-out 0.6s 2 alternate;
  animation-delay: calc(var(--i) * 0.13s), calc(0.6s + var(--i) * 0.13s);
}

.opening__tool:nth-child(odd) {
  background: var(--accent);
}

.opening__tool .tool {
  width: 100%;
  height: 100%;
}

.opening__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.2em;
  opacity: 0;
  animation: fade-up 0.6s var(--ease) 1.1s forwards;
}

@keyframes pop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes wiggle {
  from { rotate: -6deg; }
  to { rotate: 6deg; }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── デモ用の帯 ── */
.demo-banner {
  position: relative;
  z-index: 40;
  background: #fff4c2;
  color: #5c4a00;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  line-height: 1.6;
}

.demo-banner__date {
  white-space: nowrap;
}

/* ── ヘッダー ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  padding: 0 12px 0 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__logo {
  flex: none;
  width: 34px;
  height: 34px;
}

.gnav,
.site-header__btn,
.site-header .site-header__sns {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  cursor: pointer;
}

.menu-btn__lines,
.menu-btn__lines::before,
.menu-btn__lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.menu-btn__lines {
  position: relative;
}

.menu-btn__lines::before,
.menu-btn__lines::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-btn__lines::before {
  top: -7px;
}

.menu-btn__lines::after {
  top: 7px;
}

.is-menu-open .menu-btn__lines {
  background: transparent;
}

.is-menu-open .menu-btn__lines::before {
  transform: translateY(7px) rotate(45deg);
}

.is-menu-open .menu-btn__lines::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* すべてのメニュー（紺の全画面） */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1;
  padding-top: var(--header-h);
  background: var(--navy);
  color: var(--white);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.is-menu-open .drawer {
  visibility: visible;
  opacity: 1;
}

.is-menu-open body {
  overflow: hidden;
}

.drawer__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 20px 120px;
  display: grid;
  gap: 36px;
}

.drawer__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.drawer__en {
  min-width: 108px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}

.drawer__list a[aria-current='page'] {
  color: var(--accent);
}

.drawer__side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.drawer__tel {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 30px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.drawer__tel span {
  font-size: 15px;
  color: var(--accent);
}

.drawer__tools {
  display: flex;
  gap: 12px;
}

.drawer__tools .tool {
  width: 64px;
  height: 64px;
  padding: 6px;
  border-radius: 50%;
  background: var(--white);
}

/* SNS のアイコン */
.sns-links {
  display: flex;
  gap: 8px;
}

.sns-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--navy);
  transition: background 0.2s;
}

.sns-links a:hover {
  background: var(--paper-2);
}

.sns-icon {
  width: 22px;
  height: 22px;
}

.sns-links--large a {
  width: 48px;
  height: 48px;
  border: 1.5px solid currentColor;
  color: inherit;
}

.sns-links--large a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

/* ── 見出し：工具の絵＋大きな英字（Oswald）＋日本語 ── */
.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.head--left {
  align-items: flex-start;
  text-align: left;
}

.head__tool {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
}

.head__en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
}

.head__ja {
  margin-top: 8px;
  padding-left: 14px;
  position: relative;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.head__ja::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: translateY(-50%);
}

.head--light .head__en,
.head--light .head__ja {
  color: var(--white);
}

/* ── セクション ── */
.section {
  position: relative;
  padding: 80px 0;
}

.section--first {
  padding-top: 32px;
}

.section--narrow {
  padding: 40px 0;
}

.section--tint {
  background: var(--paper-2);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

/* 黄色と紺の斜めしま（トラテープ） */
.stripe {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--navy) 14px 28px);
}

.stripe--top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.lead {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.image-note {
  margin-top: 12px;
  text-align: right;
  font-size: 11px;
  color: var(--ink-soft);
}

/* ── 写真 ── */
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}

/* 写真がない場所の工具の絵 */
.tool-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: var(--accent-soft);
}

.tool-frame--1 {
  background: var(--paper-2);
}

.tool-frame--2 {
  background: #dfe7f5;
}

.tool-frame .tool {
  width: 40%;
  max-height: 60%;
}

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 220px;
  min-height: 54px;
  padding: 10px 14px 10px 24px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

.btn:hover {
  background: var(--navy);
  color: var(--white);
}

.btn__arrow {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
}

.btn__arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
  transform: translate(-65%, -50%) rotate(45deg);
}

.more {
  margin-top: 40px;
  text-align: center;
}

.empty {
  text-align: center;
  color: var(--ink-soft);
}

/* ── 最初の画面：大きな写真の上にキャッチコピー ── */
.hero {
  position: relative;
  min-height: min(82svh, 760px);
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 28, 64, 0.42);
}

.hero__text {
  position: relative;
  z-index: 1;
  padding: 0 20px 56px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero__meta {
  display: inline-block;
  padding: 2px 12px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero__meta span {
  margin: 0 6px;
}

.hero__catch {
  margin-top: 16px;
  font-size: clamp(28px, 6.4vw, 60px);
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

.hero__name {
  margin-top: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero__tools {
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 20px;
  display: flex;
  gap: 8px;
}

.hero__tools .tool {
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: bob 4s ease-in-out infinite;
}

.hero__tools .tool:nth-child(2) {
  background: var(--accent);
  animation-delay: -2s;
}

@keyframes bob {
  50% {
    transform: translateY(-6px) rotate(4deg);
  }
}

/* ── 流れる帯 ── */
.ticker {
  overflow: hidden;
  background: var(--accent);
  color: var(--navy);
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  padding: 8px 0;
  animation: ticker 36s linear infinite;
}

.ticker__word {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ticker__tool {
  width: 40px;
  height: 40px;
  margin-right: 24px;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ── お知らせ ── */
.news {
  display: grid;
  gap: 8px;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.news-list__item time {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.news-list__tag {
  padding: 0 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
}

.news-list__title {
  flex-basis: 100%;
  font-weight: 700;
}

.news-list__body {
  flex-basis: 100%;
  font-size: 14px;
  color: var(--ink-soft);
}

.news .more {
  text-align: left;
}

/* ── 職人のカード：顔の写真。乗せると働く姿に切り替わる ── */
.crafters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 16px;
}

.crafter a {
  display: block;
  text-decoration: none;
}

.crafter__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}

.crafter__work {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.crafter a:hover .crafter__work,
.crafter a:focus-visible .crafter__work {
  opacity: 1;
}

.crafter__text {
  position: relative;
  margin: -28px 10px 0;
  padding: 14px 14px 4px;
  background: var(--paper);
}

.section--tint .crafter__text {
  background: var(--paper-2);
}

.crafter__role {
  display: inline-block;
  padding: 0 10px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  font-size: 11px;
}

.crafter__en {
  margin-top: 6px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
}

.crafter__name {
  font-size: 15px;
}

.crafter__message {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ── SNS ── */
.accounts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 20px;
  border: 1.5px solid var(--white);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.account:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.sns__body {
  display: grid;
  gap: 40px;
}

.insta__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.insta__grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}

.insta__grid img {
  transition: transform 0.5s var(--ease);
}

.insta__grid a:hover img {
  transform: scale(1.06);
}

.insta__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--navy-2);
}

.insta__tile--1 {
  background: var(--accent);
}

.insta__tile--2 {
  background: var(--white);
}

.insta__tile .tool {
  width: 52%;
}

.insta__note {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
}

.videos {
  display: grid;
  gap: 20px;
}

.video a {
  display: block;
  text-decoration: none;
}

.video__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}

.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.video__play::after {
  content: '';
  position: absolute;
  left: 54%;
  top: 50%;
  border-left: 18px solid var(--navy);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  transform: translate(-50%, -50%);
}

.video a:hover .video__play {
  transform: translate(-50%, -50%) scale(1.1);
}

.video__title {
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
}

/* ── 私たちについて ── */
.about {
  display: grid;
  gap: 36px;
  align-items: center;
}

.about__lead {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 2.2;
}

.about__photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}

/* 大切にしていること：写真と文章を交互に */
.ways {
  display: grid;
  gap: 48px;
}

.way {
  display: grid;
  gap: 20px;
  align-items: center;
}

.way__photo {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
}

.way__num {
  font-family: var(--font-en);
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  -webkit-text-stroke: 1.5px var(--navy);
}

.way__title {
  margin-top: 8px;
  font-size: 20px;
  color: var(--navy);
}

.way__body {
  margin-top: 8px;
}

/* ── 事業紹介 ── */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
}

.service__tool {
  width: 56px;
  height: 56px;
}

.services__note {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ── 施工事例 ── */
.works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
}

.work__photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}

.work__photo img {
  transition: transform 0.6s var(--ease);
}

.work:hover .work__photo img {
  transform: scale(1.04);
}

.work__cat {
  display: inline-block;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid var(--navy);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}

.work__title {
  margin-top: 6px;
  font-size: 15px;
}

.work__meta {
  font-size: 12px;
  color: var(--ink-soft);
}

.work__note {
  margin-top: 6px;
  font-size: 13px;
}

/* ── 絞り込みのタブ ── */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.tabs__btn {
  min-height: 40px;
  padding: 4px 18px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.tabs__btn.is-active {
  background: var(--navy);
  color: var(--white);
}

/* ── 採用・会社概要のバナー ── */
.banners {
  display: grid;
  gap: 16px;
}

.banner {
  position: relative;
  display: block;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: var(--navy);
}

.banner__photo {
  position: absolute;
  inset: 0;
}

.banner__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 28, 64, 0.5);
  transition: background 0.3s;
}

.banner:hover .banner__photo::after {
  background: rgba(16, 28, 64, 0.35);
}

.banner__text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 28px;
}

.banner__en {
  font-family: var(--font-en);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.banner__ja {
  font-weight: 700;
}

.banner__sub {
  margin-top: 8px;
  font-size: 13px;
}

.banner .btn__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
}

/* ── アクセス・会社概要 ── */
.access {
  display: grid;
  gap: 32px;
  align-items: center;
}

.access__name {
  font-weight: 700;
  font-size: 17px;
}

.access__hours {
  margin-top: 8px;
  font-size: 14px;
}

.access__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.access__map {
  border-radius: var(--radius);
  overflow: hidden;
}

.map {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
}

.map--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 13px;
}

.company__row {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.company__row:first-child {
  border-top: 1px solid var(--line);
}

.company dt,
.info dt {
  font-weight: 700;
  color: var(--navy);
}

.info {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.info > div {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.recruit {
  line-height: 2.1;
}

/* ── 職人のページ ── */
.person__top {
  display: grid;
  gap: 28px;
  align-items: center;
}

.person__face {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}

.person__name {
  margin-top: 10px;
  font-size: 28px;
  color: var(--navy);
}

.person__en {
  font-family: var(--font-en);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.person__message {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.person__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 40px;
}

.person__photos li {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}

.qa {
  display: grid;
  gap: 28px;
  max-width: 840px;
  margin: 56px auto 0;
}

.qa__item dt,
.qa__item dd {
  display: flex;
  gap: 14px;
}

.qa__item dt {
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
}

.qa__item dd {
  margin-top: 10px;
}

.qa__mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1;
}

.qa__mark--a {
  background: var(--accent);
  color: var(--navy);
}

/* ── 問い合わせ ── */
.contact {
  padding-top: 92px;
  background: var(--paper-2);
}

.contact__lead {
  margin: -16px 0 32px;
  text-align: center;
}

.contact__title {
  margin-bottom: 32px;
  text-align: center;
  font-size: 22px;
  color: var(--navy);
}

.ways-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.way-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  height: 100%;
  padding: 22px 10px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1.5px solid var(--navy);
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}

.way-contact:hover {
  background: var(--accent-soft);
}

.way-contact__tool {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}

.way-contact__label {
  font-size: 12px;
  color: var(--ink-soft);
}

.way-contact__main {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.way-contact__sub {
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ── 下のページの見出し ── */
.page-head {
  position: relative;
  padding: 56px 0;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.page-head__en {
  font-family: var(--font-en);
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

.page-head__ja {
  margin-top: 8px;
  font-size: 18px;
  letter-spacing: 0.12em;
}

.page-head__tool {
  position: absolute;
  right: 6%;
  bottom: 24px;
  width: 110px;
  height: 110px;
  padding: 14px;
  border-radius: 50%;
  background: var(--white);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  padding-bottom: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ── フッター ── */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-bottom: 24px;
}

.site-footer__tools {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  transform: translateY(-50%);
  flex-wrap: wrap;
}

.site-footer__tools .tool {
  width: 44px;
  height: 44px;
  padding: 5px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--navy);
}

.site-footer__tools .tool:nth-child(even) {
  background: var(--accent);
}

.site-footer__inner {
  display: grid;
  gap: 32px;
  padding-top: 8px;
}

.site-footer__name {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
}

.site-footer__info p {
  font-size: 13px;
}

.site-footer__info .sns-links {
  margin-top: 16px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
  font-size: 13px;
}

.site-footer__nav a {
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__copy {
  margin-top: 32px;
  text-align: center;
  font-size: 11px;
  opacity: 0.7;
}

/* ── スマホ下の電話・地図ボタン ── */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
}

.callbar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.callbar__btn--primary {
  flex: 1.4;
  background: var(--accent);
  border-color: var(--accent);
}

/* ── ふわっと表示（JavaScript が動くときだけ） ── */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.1s);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ── タブレット幅 ── */
/* スマホで3件のときは、最後の1件を中央に置く */
@media (max-width: 599px) {
  .crafters:has(> :nth-child(3):last-child) > :last-child,
  .works:has(> :nth-child(3):last-child) > :last-child,
  .ways-contact:has(> :nth-child(3):last-child) > :last-child,
  .person__photos:has(> :nth-child(3):last-child) > :last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 8px);
  }
}

@media (min-width: 600px) {
  .container {
    padding: 0 32px;
  }

  .crafters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .crafters--small {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .crafters--small > li {
    width: calc((100% - 72px) / 4);
  }

  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .works {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 24px;
  }

  .videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .banners--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ways-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ways-contact > li {
    width: calc((100% - 30px) / 4);
  }

  .person__photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .drawer__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    padding-top: 48px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── PC 幅 ── */
@media (min-width: 900px) {
  body {
    font-size: 16px;
    padding-bottom: 0;
  }

  .section {
    padding: 112px 0;
  }

  .section--first {
    padding-top: 48px;
  }

  .section--narrow {
    padding: 48px 0;
  }

  .head {
    margin-bottom: 56px;
  }

  .head__en {
    font-size: 64px;
  }

  .site-header .site-header__sns {
    display: flex;
  }

  .site-header__btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
  }

  .hero__text {
    padding: 0 40px 80px;
  }

  .hero__tools {
    right: 40px;
    top: 32px;
  }

  .hero__tools .tool {
    width: 80px;
    height: 80px;
  }

  .opening__tools {
    grid-template-columns: repeat(8, 80px);
  }

  .opening__tool {
    width: 80px;
    height: 80px;
  }

  .news {
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
  }

  .about {
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
  }

  .way {
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
  }

  .way:nth-child(even) .way__photo {
    order: 2;
  }

  .services {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  .sns__body {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
    gap: 48px;
  }

  .videos {
    grid-template-columns: 1fr;
  }

  .banner {
    min-height: 280px;
  }

  .access,
  .person__top {
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
  }

  .person__top {
    grid-template-columns: 0.8fr 1fr;
  }

  .contact__title {
    font-size: 26px;
  }

  .page-head {
    padding: 80px 0;
  }

  .page-head__en {
    font-size: 80px;
  }

  .page-head__tool {
    width: 150px;
    height: 150px;
    padding: 20px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1.4fr;
  }

  .site-footer__nav {
    grid-template-columns: repeat(4, 1fr);
    align-content: start;
  }

  .site-footer__tools .tool {
    width: 60px;
    height: 60px;
  }

  .callbar {
    display: none;
  }
}

/* ── 広い PC 幅：ヘッダーにメニューを並べる ── */
@media (min-width: 1180px) {
  :root {
    --header-h: 80px;
  }

  .site-header__bar {
    padding: 0 20px 0 28px;
  }

  .gnav {
    display: block;
  }

  .gnav ul {
    display: flex;
    gap: 4px;
  }

  .gnav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 12px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
  }

  .gnav__en {
    font-family: var(--font-en);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.06em;
    color: var(--navy);
    text-transform: uppercase;
  }

  .gnav a:hover,
  .gnav a[aria-current='page'] {
    border-bottom-color: var(--accent);
  }
}

/* 端末の「動きを減らす」設定では、動きを止める */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
