@charset "UTF-8";

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  line-height: 1;
  text-size-adjust: 100%;
  width: 100%;
  text-decoration: none;
  padding: 0;
  position: relative;
  overflow-wrap: break-word;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
}

* {
  float: none;
  position: static;
}

img {
  vertical-align: top;
  max-width: 100%;
}

li {
  list-style: none;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/*ここまでデフォルト。destyle.cssとともに使う。line-heightは要検討*/

body {
  font-weight: 400;
  font-style: normal;
  color: #737373;
}

p {
  font-size: clamp(14px, calc(14.6px + 0.065vw), 16px);
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--text);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, -apple-system,
    "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.85;
}

section {
  scroll-margin-top: 106px;
} /* ヘッダー分の余白 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
}
.script {
  font-family: "Allura", cursive;
  font-weight: 400;
  letter-spacing: 0.02em;

  position: relative;
  color: #f0f0f0;
  font-size: clamp(46px, calc(36.4px + 3.32vw), 100px);
  line-height: 1;
  transform: rotate(-6.73deg) translateY(-0.32em);
  z-index: 0;
}

/* ========= ヘッダー ========= */
header {
  position: fixed;
  width: 100%;
  padding: 0 16px 0;
  height: 106px;
  z-index: 9998;
  background: #fff;
}
.head-in {
  height: 88px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.logo {
  width: 24%;
  max-width: 100px;
}
.logo img {
  width: 100%;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-size: 0.95rem;
  color: #333;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: all 0.3s ease;
}

nav a:hover {
  opacity: 0.7;
}
.btn_cta {
  display: inline-flex;
  gap: 0.3em;
  align-items: center;
  padding: 0.55em 1.04em;

  white-space: nowrap;
  font-family: Zen Kaku Gothic New;
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  border-radius: 3px;
  box-shadow: 0px 2px 2px 0px #00000026;

  background: #ededed;
  transition: all 0.3s ease;
}

.btn_cta svg path {
  transition: all 0.3s ease;
}

.btn_cta:hover {
  background: #fff;
  color: #444;
}

.btn_cta:hover svg path {
  fill: #444;
}

/* モバイルメニュー */
.ham {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
}
#navchk {
  display: none;
}
/* 既存 .burger を少し調整 */
.burger {
  position: relative; /* ← 追加 */
  width: 36px;
  height: 24px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.burger span,
.burger::before,
.burger::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #222;
  border-radius: 999px;
  transition: 0.28s;
}
.burger::before {
  transform: translateY(0px);
}
.burger::after {
  transform: translateY(0px);
}
/* チェック時に×へ */
#navchk:checked ~ .head-in .burger {
  border-color: #ccc;
}
#navchk:checked ~ .head-in .burger span {
  background: transparent;
} /* 真ん中を消す */
#navchk:checked ~ .head-in .burger::before {
  transform: translateY(8px) rotate(45deg);
} /* 斜め1本目 */
#navchk:checked ~ .head-in .burger::after {
  transform: translateY(-8px) rotate(-45deg);
} /* 斜め2本目 */

/* 開く */
#navchk:checked ~ .drawer {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

/* ドロワー */
.drawer {
  position: fixed;
  inset: 106px 0 auto 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.drawer ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 12px;
}
.drawer li {
  border-bottom: 1px dashed #eee;
}
.drawer a {
  display: block;
  padding: 16px 32px;
  font-size: 16px;
  color: #333;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ========= ヒーロー ========= */
.hero {
  position: relative;
  height: 64vh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  margin-top: 105px;
}

.hero .inner {
  position: absolute;
  z-index: 1;
  width: fit-content;
  bottom: 1.6em;
  right: 1.6em;
}

.hero h1 {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: Zen Kaku Gothic New;
  font-size: clamp(24px, calc(13.5px + 2vw), 50px);
  line-height: 130%;
  letter-spacing: 0.15em;
  text-align: right;
  z-index: 1;
  position: relative;
}
.hero p {
  color: #253e03e5;
  font-family: Allura;
  font-weight: 400;
  font-size: clamp(24px, calc(14.4px + 2.4vw), 60px);
  line-height: 77%;
  letter-spacing: -0.011em;
  transform: rotate(-12deg);
  position: absolute;
  z-index: -1;
  text-align: left;
  top: -1.2em;
  right: 0;
}

.slides {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.active {
  opacity: 1;
}

.slide1-1 {
  filter: brightness(1.2) contrast(0.9);
  background-position: 76% 100%;
  background-size: auto 77%;
  background: center/cover no-repeat;
}

.slide1-2 {
  background: center/cover no-repeat;
}

.slide1-3 {
  background-position: 70% 100%;
  background-size: auto 76%;
  background: center/cover no-repeat;
}

.sub-hero .inner {
  bottom: 1.5em;
  left: 3.8em;
}

.sub-hero h1 {
  text-align: left;
  padding-left: 0.8em;
}

.sub-hero .script {
  color: #b6c5c3;
}

.sub-hero .slide {
  filter: saturate(1.3) brightness(1.4);
}

.sub-hero .slide2-1 {
  background-position: 24% 24px;
  background-size: 140%;
  background-repeat: no-repeat;
}

.sub-hero .slide2-2 {
  background-position: 44% 0%;
  background-size: 368%;
  filter: saturate(1.2) brightness(1.2);
  background: center/cover no-repeat;
}

.sub-hero .slide2-3 {
  background-position: 43% 40%;
  background-size: 370%;
  filter: saturate(1.4) brightness(1.5);
  background: center/cover no-repeat;
}

.news-pill {
  align-items: center;
  background: #fff;
  color: #333;
  padding: 1.5em 2em;
  box-shadow: 4px 4px 30px 0px #0000000f;
}

.news-pill .badge {
  font-family: Zen Kaku Gothic New;
  color: #444444;
  font-weight: 700;
  font-size: clamp(16px, calc(14.933333333334px + 0.266666666666vw), 20px);
  line-height: 150%;
  letter-spacing: 0.1em;
  margin-bottom: 0.6em;
}

.news-pill .date {
  font-family: Zen Kaku Gothic New;
  font-weight: 700;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0.05em;
  color: #666;
  padding-left: 1.2em;
}

.news-pill .title {
  font-family: Zen Kaku Gothic New;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0.05em;
}

/* ========= リードコピー ========= */
.lead {
  padding: 56px 0;
}

.lead-grid {
  display: grid;
  gap: 24px;
}

.lead .copy {
  width: fit-content;
  margin: 0 auto;
}

h2 {
  color: #444444;
  font-family: Zen Kaku Gothic New;
  font-weight: 700;
  font-size: clamp(
    20px,
    calc(14.666666666666666px + 1.3333333333333335vw),
    40px
  );
  line-height: 150%;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 auto;
}
.lead .text {
  color: #444444;

  font-family: Zen Kaku Gothic New;
  font-weight: 400;
  font-size: 15px;
  line-height: 200%;
  letter-spacing: 0.05em;
}

/* ========= セクション見出し ========= */
.sec-head {
  padding: 18px 0 6px;
  text-align: center;
}
.sec-head h3 {
  font-size: clamp(1.05rem, 4.5vw, 1.5rem);
  margin: 0;
  letter-spacing: 0.08em;
}
/* ========= サービス ========= */
.services {
  padding: 20px 0 8px;
}

.tile {
  color: #444444;
}
.tile .txt {
  padding: 14px;
}
.tile h5 {
  margin: 0.1rem 0;
  font-size: clamp(16.5px, calc(14.6px + 0.62vw), 24px);
}

.bigger-tile {
  display: flex;
  flex-direction: column;
  margin-bottom: 5em;
}

.bigger-tile .txt {
  width: 92%;
  box-shadow: 4px 4px 30px 0px #0000000f;

  margin: -32px auto 0;
  background: white;
  padding: 18px 24px;
}

.small-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.4%;
  margin-top: 40px;
}

.small-cards .tile {
  width: 48%;
  margin-bottom: 24px;
}

/* ========= お知らせ ========= */
.news {
  padding: 26px 0;
}
.news-list {
  display: grid;
  gap: 10px;
}
.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #fff;
  border-bottom: 1px solid #dddddd;
  transition: all 0.3s ease;
}

.news-item:hover {
  text-decoration: underline;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item time,
.news-archive-item time {
  color: #666;
  font-size: 13px;
}
.news-item .ttl {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  color: #444444;
  font-weight: 700;
}

.more_btn a {
  display: flex;
  align-items: center;
  padding: 1.35em 4.8em;
  background: #fff;
  width: fit-content;

  font-family: Zen Kaku Gothic New;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-align: center;
  border: 1px solid #666666;
  color: #444444;

  margin: 2.4em auto;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  gap: 1.6em;
  width: fit-content;
}

.more_btn svg {
  transition: all 0.3s ease;
}

.more_btn a:hover {
  color: #fff;
  background: #666;
}

.more_btn:hover svg path {
  stroke: #fff;
}

/* ========= お問い合わせ ========= */
.contact {
  position: relative;
  padding: 48px 0 106px;
  color: #fff;
  overflow: hidden;
  margin-bottom: -106px;
}
.contact .bg {
  position: absolute;
  inset: 0;
  background: url("/img/contact_bg.jpg") center/cover no-repeat;
}
.contact .inner {
  position: relative;
  z-index: 1;
  background: #ffffffde;
  padding: 4em 2.4em;
  display: grid;
  gap: 28px;
  color: #444;
  width: 92%;
  margin: -40px auto 40px;
}

.contact .script {
  color: #ebebeb;
  mix-blend-mode: overlay;

  font-size: clamp(
    50px,
    calc(20.666666666666668px + 7.333333333333333vw),
    160px
  );
}

.contact .inner h3 {
  font-family: Zen Kaku Gothic New;
  font-weight: 700;
  font-size: clamp(18px, calc(14.8px + 0.8vw), 30px);
  line-height: 150%;
  letter-spacing: 0.05em;
  text-align: center;
}

.cta-row {
  display: grid;
  gap: 16px;
}

.cta-row a {
  border: 1px solid #666666;
  border-radius: 5px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Zen Kaku Gothic New;

  font-weight: 500;
  font-size: clamp(
    20px,
    calc(18.933333333333334px + 0.26666666666666666vw),
    24px
  );
  line-height: 150%;
  letter-spacing: 0.05em;

  padding: 1.2em 0;
  transition: all 0.3s ease;
}

.cta-row a:hover {
  background: #e9e9e9;
}

.cta-row a div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
}

.cta-row a svg {
  width: 24px;
  height: 24px;
}

.cta-row a small {
  font-size: clamp(
    12px,
    calc(11.466666666666667px + 0.13333333333333333vw),
    14px
  );
}

.cta-row a small span {
  border-radius: 16px;
  padding: 3px 8px;
  margin-right: 1em;
  border: 1px solid #666666;
  font-size: 10px;
}

/* ========= フッター ========= */
footer {
  background: #333333e5;
  color: #fff;
  padding: 24px 0;
  position: relative;
  z-index: 10;
  height: 106px;
}

.foot-grid {
  display: flex;
  gap: 4em;
  align-items: end;
  justify-content: center;
}

.foot-grid .logo {
  width: 14%;
  max-width: 62px;
}

.foot-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-nav a {
  font-family: Zen Kaku Gothic New;
  font-weight: 700;
  font-size: clamp(
    12px,
    calc(11.466666666666667px + 0.13333333333333333vw),
    14px
  );
  line-height: 150%;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.foot-nav a:hover {
  opacity: 0.6;
}

/* パンくず */
.crumb {
  background: #f5f5f5;
}
.crumb-in {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 1em;
  padding: 11px 0;
  color: #444;
  font-family: Zen Kaku Gothic New;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0.05em;
}
.crumb-in a {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

/* 会社概要テーブル */
.company {
  padding: 44px 16px 60px;
}
.sheet {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px;
  border-bottom: 1px solid #d4d4d4;

  color: #444;
  font-family: Zen Kaku Gothic New;
  font-weight: 400;
}
.row:last-child {
  border-bottom: none;
}
.label {
  font-size: clamp(
    14px,
    calc(13.466666666666667px + 0.13333333333333333vw),
    16px
  );
  line-height: 150%;
  letter-spacing: 0.05em;
  text-align: center;
}
.value {
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-align: center;
}
.map-wrap {
  aspect-ratio: 3/2;
  background: #eee;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 0;
}

/* 戻るボタンブロック */
.back_btn {
  display: grid;
  place-items: center;

  border-radius: 47px;
  border: 1px solid #666666;

  font-family: Zen Kaku Gothic New;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0.05em;
  width: fit-content;
  margin: 4em auto 1em;
  transition: all 0.3s ease;
}

.back_btn:hover {
  color: #fff;
  background: #666;
}

.back_btn a {
  padding: 1.72em 6.3em;

  width: 100%;
  display: block;
  text-align: center;
}

.news-archive.container {
  width: min(94vw, 1000px);
  margin-inline: auto;
}

/* 一覧 */
.news-archive-list {
  display: grid;
  gap: 4%;
  padding: 10px 0;
}
.news-archive-item {
  display: grid;
  grid-template-columns: 112px 1fr auto; /* SP */
  gap: 10px;
  align-items: center;
  border: 1px solid #e8e8e8;
  background: #fff;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.news-archive-item:hover {
  background: #999;
  opacity: 0.6;
}

.news-archive-item:hover time {
  color: #333;
}

.news-archive-item .ttl {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 20px;
}

.news-archive-item .thumb {
  width: 112px;
  aspect-ratio: 14/9;
  overflow: hidden;
  background: #f3f5f7;
}
.news-archive-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ページネーション */
.news-archive-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 64px 0 0px;
}
.news-archive-pager a,
.news-archive-pager span {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0.4em 0.8em;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  color: #444;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  font-size: 1.2em;
}
.news-archive-pager .current {
  background: #222;
  color: #fff;
  border-color: #222;
}
.news-archive-pager .disabled {
  opacity: 0.4;
  pointer-events: none;
}

.news-archive-pager a {
  transition: all 0.3s ease;
}

.news-archive-pager a:hover {
  background: #666;
  color: #fff;
  border-color: #666;
}

.news-archive {
  padding: 40px 0 60px;
}

.news-article {
  padding: 54px 8px;
}

.news-article .head {
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.news-article .head #date {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #888;
}

.news-article .head #title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0.4em 0 0.8em;
}

.news-article .cms-body h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.news-article .cms-body h2 {
  text-align: left;
  margin: 0;
  font-size: 20px;
}

.news-article .cms-body h3 {
  font-size: 18px;
  letter-spacing: 0.05em;
}

.news-article .cms-body h4 {
  letter-spacing: 0.05em;
  font-size: 16px;
}

.news-article .cms-body h5 {
  letter-spacing: 0.05em;
  font-size: 14px;
}

.news-article .cms-body p {
  letter-spacing: 0.05em;
  padding-bottom: 0.4em;
}

.news-article .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.8em 1.2em;
  border-radius: 12px;
  background: #fff;
}

/* ========= レスポンシブ(PC) ========= */
@media (min-width: 960px) {
  .sp-only {
    display: none;
  }

  header {
    height: 65px;
    background: transparent;
    padding: 43px 16% 0;
  }
  .head-in {
    height: 65px;
    align-items: center;
  }

  nav a {
    color: #ffffff;
    font-size: 16px;
  }

  header .logo {
    width: 12.7%;
    max-width: 200px;
  }

  .logo img {
    width: 100%;
  }
  nav {
    display: block;
  }
  nav ul {
    gap: 32px;
  }

  .ham {
    display: none;
  }
  .drawer {
    display: none;
  }

  .btn_cta {
    border: 1px solid #ffffff;
    background: #00000066;
    border-radius: 5px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero .slide {
    background: cover no-repeat;
  }

  .hero .slide1-1 {
    background-position: center bottom;
    background-size: 116% auto;
  }

  .hero .slide1-2 {
    background-position: center center;
    background-size: 100% 100%;
  }

  .hero .slide1-3 {
    background-position: center center;
    background-size: 100% 100%;
  }

  .hero .inner {
    text-align: right;
    bottom: 12em;
    right: 20em;
  }

  .hero p {
    bottom: -1em;
    top: auto;
    right: -1.6em;
  }

  .sub-hero {
    height: 60vh;
    min-height: auto;
  }

  .sub-hero .inner {
    bottom: 8%;
    left: 20%;
  }

  .sub-hero h1 {
    text-align: left;
    padding-left: 0;
  }

  .sub-hero .slide2-1 {
    background-position: 24% 70%;
    background-size: 100%;
  }

  .sub-hero .slide2-2 {
    background-position: 44% 7%;
    background-size: 100%;
  }

  .sub-hero .slide2-3 {
    background-position: 43% 46%;
    background-size: 100%;
  }

  .news-pill {
    width: 56%;
    margin: -2.2em auto 0;
    z-index: 999;
    position: relative;

    background: #fff;
    color: #333;
    padding: 2.5em 6em 2.5em;
    box-shadow: 4px 4px 30px 0px #0000000f;
  }

  .news-pill a {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 4em;
  }

  .news-pill .badge {
    margin-bottom: 0;
  }

  .lead {
    padding: 90px 0 80px;
  }
  .lead-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 36px;
  }

  .lead .text {
    margin-top: 2em;
  }

  .services {
    padding: 22px 0 88px;
  }

  .bigger-tile {
    max-width: 1462px;
    width: 84%;
    margin: 16px auto 72px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .bigger-tile:nth-child(3) {
    flex-direction: row-reverse;
  }

  .bigger-tile-img {
    width: 46%;
  }

  .bigger-tile-img img {
    object-fit: cover;
    aspect-ratio: 65/40;
    width: 100%;
  }

  .bigger-tile .txt {
    padding: 30px 40px;
    margin: 3em 0;
    width: 50%;
  }

  .small-cards {
    width: 83%;
    margin: 0 auto;
    gap: 0.9%;
  }

  .small-cards .tile {
    box-shadow: 4px 4px 30px 0px #0000000f;
    width: 32%;
  }

  .small-cards .tile .txt {
    width: 100%;
    padding: 16px 18px 24px;
  }

  .news {
    padding: 56px 0 124px;
  }

  .services .script {
    padding-left: 1.4em;
    line-height: 0.9;
  }

  .news h2 {
    padding-right: 1em;
    margin: 0;
  }

  .news .script {
    padding-left: 1em;
    line-height: 0.6;
  }

  .news .container {
    display: flex;
    justify-content: center;
    gap: 8em;
  }
  .news-list {
    width: 62.5%;

    gap: 12px;
  }
  .news-item {
    padding: 14px 16px;
  }

  .contact {
    padding: 120px 0 240px;
    margin-bottom: -198px;
  }

  .contact .inner {
    gap: 64px;
    width: 81.5%;
    padding: 8.4em 2.4em;
    margin: -108px auto 72px;
  }

  .cta-row {
    display: flex;
    justify-content: center;
    gap: 4em;
  }

  .cta-row a {
    width: 30%;
    min-width: 340px;
  }

  footer {
    height: 200px;
    display: flex;
  }

  .foot-grid {
    gap: 8em;
    justify-content: start;
    align-items: center;
    width: 64%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .foot-grid .logo {
    max-width: none;
    width: 7%;
  }

  .crumb-in {
    padding: 26px 0;
  }

  .company {
    padding: 88px 26%;
  }

  .row {
    flex-direction: row;
    position: relative;
    padding: 18px 2px;
  }

  .row::after {
    content: "";
    background: #d4d4d4;
    width: 20%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: -0.04em;
  }

  .label {
    width: 29%;
    text-align: left;
    display: flex;
    align-items: center;
  }

  .value {
    text-align: left;
  }

  .row:last-child {
    justify-content: center;
  }

  .row:last-child:after {
    background: none;
  }

  .map-wrap {
    width: 100%;
    aspect-ratio: 855/400;
    margin-top: 24px;
  }

  .back_btn {
    margin: 7em auto 2em;
  }

  .news-archive {
    padding-top: 80px;
  }

  .news-archive-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6%;
  }

  .news-archive-item {
    padding: 0;
    width: 28%;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    border: none;
    box-shadow: none;
  }

  .news-archive-item .thumb {
    width: 100%;
  }

  .news-archive-item .meta {
    padding: 0 12px;
  }

  .news-archive-pager {
    margin: 88px 0 0px;
  }

  .news-article {
    padding: 54px 8%;
  }

  .news-article .head #date {
    font-size: 20px;
  }

  .news-article .head #title {
    font-size: 32px;
  }

  .news-article .cms-body h1 {
    font-size: 28px;
  }

  .news-article .cms-body h2 {
    font-size: 25px;
  }

  .news-article .cms-body h3 {
    font-size: 22px;
  }

  .news-article .cms-body h4 {
    font-size: 19px;
  }

  .news-article .cms-body h5 {
    font-size: 16px;
  }

  .news-article #eyecatch {
    width: 64%;
    height: auto;
  }

  .news-article #eyecatch img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
  }

  .news-article .cms-body figure {
    max-width: 54%;
    margin: 1em 0;
  }
}

@media (max-width: 959px) {
  .pc-only {
    display: none;
  }

  .preloader__inner {
    width: 120px;
  }
}

/* スマホ〜タブレット用（480〜767px） */
@media screen and (min-width: 480px) and (max-width: 959px) {
  /* スタイル */
}

/* タブレット〜ノートPC（768〜1023px） */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* スタイル */
}

/* ノートPC〜標準デスクトップ（1024〜1279px） */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  /* スタイル */
}

/* デスクトップ以上（1280px〜） */
@media screen and (min-width: 1280px) {
  /* スタイル */
}

/* 初期：白リンク（ヒーロー上）→ スクロール後：濃いリンク */
header {
  --nav-link: #fff;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* ▼ PCナビの通常リンクのみを切替（CTAは除外） */
header nav[aria-label="メインナビ"] a:not(.btn_cta) {
  color: var(--nav-link);
  transition: color 0.2s ease;
}

/* ▼ スクロール時に背景や枠を変える（リンク色は変数が自動で反映） */
header.is-scrolled {
  --nav-link: #444; /* 通常リンクだけ濃くなる */
}

/* 初期は薄く下にずらしておく */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.6s ease;
  transition-delay: var(--stagger, 0ms); /* 個別の遅延用 */
  will-change: opacity, transform;
}

/* 可視になったら表示 */
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 動きを控えるユーザー設定への配慮 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ページスクロール固定（ローディング中） */
html.is-loading,
body.is-loading {
  overflow: hidden;
}

/* 画面全体のオーバーレイ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fff; /* サイトの白背景に合わせる */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* フェードアウト後に非表示へ */
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* ロゴの“ふわっ”と浮き上がる動き */
.preloader__inner img {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.08));
  animation: preloader-pop 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s forwards;
}

@keyframes preloader-pop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 動きを控えるユーザー設定に配慮 */
@media (prefers-reduced-motion: reduce) {
  .preloader__inner img {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .preloader {
    transition: none;
  }
}

/* ===== 404 page ===== */
.nf {
  display: grid;
  place-items: center;
  padding-top: clamp(64px, 10vw, 120px); /* ヘッダー分の余白 */
  padding-bottom: clamp(60px, 9vw, 100px);
}

.nf-body {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(16px, 4vw, 32px);
}

.nf-code {
  font-size: clamp(72px, 16vw, 164px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #0000000f;
  margin-bottom: 0.4em;
  animation: nf-pop 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nf-body h1 {
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 700;
  margin-bottom: 0.8em;
}

.nf-lead {
  color: #666;
  line-height: 1.9;
  margin-bottom: 2.6em;
}

.nf-btn {
  padding: 12px 20px;
  border-radius: 9999px;
  line-height: 1;
  background: transparent;
  color: #444;
  border: 1px solid #ddd;
  font-size: clamp(14px, 4vw, 24px);
}

/* アニメーション */
@keyframes nf-pop {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* 動きを控える設定 */
@media (prefers-reduced-motion: reduce) {
  .nf-code {
    animation: none;
  }
}
