/* 変数
-------------------------------------------------- */
:root {
  --base_width: 1100px;
  --font_jp: "Noto Sans JP", sans-serif;
  --font_serif: "Noto Serif JP", serif;
  --font_en: "Akshar", sans-serif;
  --base_color: #333;
  --base_bg: #1b192e;
  --transition: 0.3s;
  --color_gold: #cab881;
  --color_btn_text: #464646;
  --color_footer: #1b192e;
  --color_gnav: rgba(31, 31, 31, 0.95);
  --color_line: #06c755;
  --color_border_alpha: color-mix(in srgb, #fff 60%, transparent);
}

/* 共通
-------------------------------------------------- */
html {
  scroll-padding-top: 140px;
}

body {
  min-width: 100%;
}

/* ヘッダー
-------------------------------------------------- */
header {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background var(--transition);
}

header.is-scrolled {
  background: color-mix(in srgb, var(--base_bg) 90%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 93px;
  padding: 0 30px;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.logo-detail img {
  width: 65px;
  height: auto;
}

.logo-detail {
  display: flex;
  flex-direction: column;
}

.logo-ja {
  --min-font: 11;
  --max-font: 13;
  font-family: var(--font_serif);
  font-weight: 600;
  color: #fff;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-recruit,
.btn-contact,
.btn-line {
  --min-font: 13;
  --max-font: 16;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-family: var(--font_serif);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.btn-recruit {
  border: 1px solid #fff;
  color: #fff;
  transition:
    background var(--transition),
    color var(--transition);
}

.btn-recruit:hover {
  background: #fff;
  color: var(--base_bg);
  opacity: 1;
}

.btn-contact,
.btn-line {
  background: var(--color_gold);
  color: var(--color_btn_text);
  transition:
    background var(--transition),
    color var(--transition);
}

.btn-contact:hover {
  background: var(--base_bg);
  color: #fff;
  opacity: 1;
}

.btn-line:hover {
  background: #06c755;
  color: #fff;
  opacity: 1;
}

.header-actions .btn-recruit {
  width: 168px;
}

.header-actions .btn-contact,
.header-actions .btn-line {
  width: 180px;
}

#hamburger-check {
  display: none;
}

.hamburger {
  display: none;
}

.gnav {
  display: none;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.header-nav a {
  --min-font: 13;
  --max-font: 16;
  font-family: var(--font_serif);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

/* ヘッダー SP
-------------------------------------------------- */
@media (max-width: 1024px) {
  .header-right {
    display: none;
  }

  html {
    scroll-padding-top: 70px;
  }

  .header-inner {
    height: 50px;
    padding: 0 16px;
  }

  .header-logo a {
    gap: 8px;
  }

  .header-logo img {
    height: 26px;
  }

  .logo-detail img {
    width: 38px;
  }

  .logo-ja {
    --min-font: 10;
    --max-font: 11;
  }

  .hamburger {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 100;
    margin-left: auto;
  }

  .hamburger span,
  .hamburger span::before,
  .hamburger span::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background: #fff;
    left: 0;
  }

  .hamburger span {
    top: 19px;
  }

  .hamburger span::before {
    top: -8px;
  }

  .hamburger span::after {
    top: 8px;
  }

  #hamburger-check:checked ~ .hamburger span {
    background: transparent;
  }

  #hamburger-check:checked ~ .hamburger span::before {
    transform: rotate(45deg);
    top: 0;
  }

  #hamburger-check:checked ~ .hamburger span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .gnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color_gnav);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 90;
  }

  #hamburger-check:checked ~ .gnav {
    display: flex;
  }

  .gnav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    list-style: none;
  }

  .gnav ul a {
    --min-font: 14;
    --max-font: 16;
    font-family: var(--font_serif);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
  }

  .gnav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .gnav-actions .btn-recruit,
  .gnav-actions .btn-contact,
  .gnav-actions .btn-line {
    width: 240px;
  }
}

/* フッター
-------------------------------------------------- */
footer {
  background: var(--base_bg);
  color: #fff;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 60px 20px 50px;
}

.footer-logo img {
  height: 90px;
  width: auto;
}

.footer-logo .logo-detail {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .footer-logo img {
    height: 72px;
  }
}

.footer-depts {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: var(--base_width);
  margin: 0 auto;
  padding: 50px 20px 60px;
}

.footer-dept {
  flex: 1;
  max-width: 280px;
}

.dept-name {
  --min-font: 15;
  --max-font: 18;
  font-family: var(--font_serif);
  font-weight: 600;
  margin-bottom: 16px;
}

.dept-bnr {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.dept-bnr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-dept address {
  --min-font: 13;
  --max-font: 15;
  font-style: normal;
  line-height: 1.9;
}

.footer-map {
  max-width: var(--base_width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.footer-nav {
  display: flex;
  max-width: var(--base_width);
  margin: 0 auto;
  padding: 50px 20px;
}

.footer-nav-col {
  flex: 1;
  padding-left: 40px;
  border-left: 1px dotted var(--color_border_alpha);
}

.footer-nav-col:last-child {
  border-right: 1px dotted var(--color_border_alpha);
}

.footer-nav-col ul {
  list-style: none;
}

.footer-nav-col li {
  margin-bottom: 18px;
}

.footer-nav a {
  --min-font: 16;
  --max-font: 20;
  font-family: var(--font_serif);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 40px 20px 0;
}

.footer-sns img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer-sns a:hover img {
  opacity: 1;
}

.copyright {
  --min-font: 12;
  --max-font: 14;
  text-align: center;
  padding: 50px 20px;
}

/* フッター SP
-------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-depts {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .footer-dept {
    width: 100%;
    max-width: 400px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 0;
  }

  .footer-nav-col {
    flex: none;
    width: 50%;
    padding: 20px 0 20px 24px;
    border-left: 1px dotted var(--color_border_alpha);
    border-top: none;
  }

  .footer-nav-col:last-child {
    border-right: none;
  }

  .footer-nav-col li {
    margin-bottom: 14px;
  }

  .copyright {
    --min-font: 11;
    --max-font: 12;
  }
}

/* タイトル共通
-------------------------------------------------- */
.tit-en {
  font-family: var(--font_en);
  color: var(--color_gold);
  line-height: 1;
}

.tit-catch {
  font-family: var(--font_serif);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* MV
-------------------------------------------------- */
.sec__mv {
  position: relative;
}

.sec__mv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #000 50%, transparent);
  z-index: 1;
}

.sec__mv video {
  width: 100%;
  display: block;
}

@media (max-width: 520px) {
  .sec__mv video {
    aspect-ratio: 520 / 721;
    object-fit: cover;
    object-position: center center;
  }
}

.mv-content {
  position: absolute;
  bottom: 6%;
  left: 0;
  right: 0;
  z-index: 2;
  text-shadow:
    3px 3px 10px rgba(0, 0, 0, 0.2),
    -3px 3px 10px rgba(0, 0, 0, 0.2),
    3px -3px 10px rgba(0, 0, 0, 0.2),
    -3px -3px 10px rgba(0, 0, 0, 0.2);
}

.mv-content .tit-en {
  --min-font: 34;
  --max-font: 132;
}

.mv-content .tit-catch {
  --min-font: 18;
  --max-font: 24;
  margin-top: 0.5em;
}

.mv-content .tit-catch strong {
  font-size: 1.4em;
}

.mv-desc {
  --min-font: 11;
  --max-font: 14;
  color: #fff;
  margin-top: 0.5em;
}

/* メーカーマーキー
-------------------------------------------------- */
.sec__maker {
  padding: 60px 0;
  background: #fff;
}

.sec__maker .tit-catch {
  --min-font: 16;
  --max-font: 22;
  color: var(--base_color);
  margin-bottom: 40px;
}

.maker-marquee {
  display: flex;
  overflow: hidden;
}

.maker-list {
  display: flex;
  align-items: center;
  gap: 60px;
  list-style: none;
  flex-shrink: 0;
  padding-right: 60px;
  animation: marquee 40s linear infinite;
}

.maker-list img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* 品質・アフターケア
-------------------------------------------------- */
.sec__quality {
  background: url(../images/top_bg03.webp) no-repeat bottom left / 100% auto var(--base_bg);
  color: #fff;
  padding: 80px 0;
}

.quality-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.quality-text {
  flex: 1;
}

.sec__quality p.tit-catch {
  --min-font: 16;
  --max-font: 22;
  margin-bottom: 0.8em;
}

.sec__quality h2.tit-catch {
  --min-font: 28;
  --max-font: 48;
  line-height: 1.5;
  margin-bottom: 1.5em;
}

.quality-desc {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

.quality-first-letter {
  display: inline-block;
  background-color: var(--color_gold);
  clip-path: polygon(0% 35%, 50% 0%, 100% 35%, 100% 100%, 0% 100%);
  width: 55px;
  height: 60px;
  color: var(--base_bg);
  font-weight: 600;
  --min-font: 20;
  --max-font: 36;
  text-align: center;
  line-height: 55px;
  padding-top: 8px;
  margin-right: 10px;
}

.quality-desc + .quality-desc {
  margin-top: 1.5em;
}

.quality-imgs {
  position: relative;
  flex-shrink: 0;
  width: 46%;
  aspect-ratio: 1 / 1.3;
}

.quality-imgs img {
  position: absolute;
  display: block;
  object-fit: cover;
}

.quality-img--main,
.quality-img--steel {
  width: 50%;
  aspect-ratio: 450 / 520;
}

.quality-img--main {
  top: 0;
  left: 0;
}

.quality-img--steel {
  bottom: 0;
  right: 0;
}

.quality-img--sub {
  z-index: 1;
  width: 36%;
  aspect-ratio: 260 / 320;
  top: 27%;
  left: 32%;
}

@media (max-width: 1024px) {
  .quality-inner {
    flex-direction: column;
  }

  .quality-imgs {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
  }
}

/* ワンストップサービス
-------------------------------------------------- */
.sec__about {
  background: var(--base_bg);
  color: #fff;
}

.sec__about .tit-catch {
  --min-font: 30;
  --max-font: 42;
}

.flexnum_2text {
  --num: 2;
  --gap: 40px;
}

.sec__about dl dt.tit-catch {
  --min-font: 18;
  --max-font: 24;
}

.sec__about picture {
  display: block;
  background: url(../images/top_bg02.webp) no-repeat center / cover;
}

/* タイラの強み
-------------------------------------------------- */
.sec__strength {
  background: url(../images/top_bg04.webp) no-repeat bottom right var(--base_bg);
  color: #fff;
  padding: 80px 0;
}

.strength-intro {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
}

.strength-intro-head {
  flex-shrink: 0;
  width: 44%;
}

.sec__strength small.tit-catch {
  --min-font: 16;
  --max-font: 24;
}

.sec__strength h2.tit-catch {
  --min-font: 30;
  --max-font: 48;
}

.strength-intro-desc {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
  padding-top: 0.5em;
}

.strength-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  list-style: none;
  counter-reset: strength-counter;
}

.strength-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: auto 1px auto;
  grid-template-areas:
    "title title"
    "sep sep"
    "icon desc";
  row-gap: 20px;
  padding: 40px 0;
}

.strength-item::after {
  content: "";
  grid-area: sep;
  background: var(--color_gold);
}

.strength-title {
  --min-font: 18;
  --max-font: 26;
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  grid-area: title;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.strength-title::before {
  counter-increment: strength-counter;
  content: counter(strength-counter, decimal-leading-zero) ".";
  --min-font: 26;
  --max-font: 36;
  font-family: var(--font_serif);
  line-height: 1;
  flex-shrink: 0;
}

.strength-icon {
  width: 90px;
  height: 90px;
  grid-area: icon;
}

.strength-desc {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
  grid-area: desc;
}

@media (max-width: 1024px) {
  .strength-intro {
    flex-direction: column;
    gap: 32px;
  }

  .strength-intro-head {
    width: 100%;
  }

  .strength-list {
    grid-template-columns: 1fr;
  }
}

/* 受賞歴
-------------------------------------------------- */
.sec__award {
  width: 90%;
  padding: 9px;
  margin-inline: auto;
  background: linear-gradient(135deg, #b39364, #fff697, #af8e61);
}

.award-body {
  background: linear-gradient(180deg, #050200, #503e25);
  padding: 50px;
}

.award-head {
  text-align: center;
  margin-bottom: 60px;
}

.award-tit {
  height: 130px;
  width: auto;
  display: block;
  margin: 0 auto 20px;
}

.sec__award .tit-catch {
  --min-font: 24;
  --max-font: 34;
}

.award-note {
  --min-font: 11;
  --max-font: 13;
  opacity: 0.6;
  margin-top: 4px;
}

.award-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
}

.award-item {
  position: relative;
  background:
    url(../images/bg_award01.svg) no-repeat top 10px center / 90% auto,
    url(../images/bg_award02.svg) no-repeat bottom 10px center / 90% auto;
  background-color: #f1eddc;
  border-radius: 8px;
  padding: 36px 24px;
  color: var(--base_color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
}

.award-item:before {
  content: "";
  display: block;
  background: url(../images/bg_award03.svg) repeat-y top center / 90% auto;
  width: 100%;
  height: 54%;
  position: absolute;
  top: 23%;
  left: 0;
}

.award-brand > * {
  position: relative;
  z-index: 2;
}

.award-brand {
  --min-font: 18;
  --max-font: 22;
  font-family: var(--font_serif);
  font-weight: 600;
  color: #7a6801;
}

.award-program {
  --min-font: 12;
  --max-font: 16;
  font-family: var(--font_serif);
  white-space: nowrap;
}

.award-div {
  --min-font: 13;
  --max-font: 18;
  font-family: var(--font_serif);
  padding: 5px 0;
  white-space: nowrap;
  border-top: 1px solid #bda763;
  border-bottom: 1px solid #bda763;
}

.award-result {
  --min-font: 14;
  --max-font: 18;
  font-family: var(--font_serif);
  color: #7a6801;
}

.award-result strong {
  --min-font: 20;
  --max-font: 30;
  display: block;
}

.award-result em {
  --min-font: 24;
  --max-font: 40;
  display: block;
  font-style: normal;
}

@media (max-width: 1024px) {
  .award-body {
    padding: 20px;
  }
  .award-head {
    margin-bottom: 10px;
  }
  .award-list {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* タイトルブロック共通
-------------------------------------------------- */
.tit-en-ja {
  display: flex;
  flex-flow: column;
  gap: 10px;
}

.tit-en-ja i {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font_en);
  color: var(--color_gold);
  font-style: normal;
  --min-font: 15;
  --max-font: 22;
}

.tit-en-ja i:before {
  content: "";
  display: inline-block;
  width: 33px;
  height: 19px;
  background-color: var(--color_gold);
  clip-path: polygon(0% 35%, 50% 0%, 100% 35%, 100% 100%, 0% 100%);
}

.tit-en-ja small.tit-catch {
  --min-font: 18;
  --max-font: 22;
}

.tit-en-ja h2.tit-catch {
  --min-font: 30;
  --max-font: 48;
}

/* ワンストップサービス カード
-------------------------------------------------- */
.sec__onstop {
  background: var(--base_bg);
  color: #fff;
  padding: 80px 0 0;
}

.sec__onstop .flexnum_2text {
  padding-bottom: 60px;
  align-items: center;
}

.onstop-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.onstop-list li {
  aspect-ratio: 1/1;
}

.onstop-list li a,
.onstop-list li .onstop-static {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.onstop-list li img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.onstop-list li a::before,
.onstop-list li .onstop-static::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--base_color);
  opacity: 0.5;
  z-index: 1;
}

.onstop-list li dl {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  gap: 8px;
}

.onstop-list li dt {
  font-family: var(--font_en);
  color: #fff;
  --min-font: 20;
  --max-font: 40;
}

.onstop-list li dd {
  font-family: var(--font_serif);
  font-weight: 600;
  color: #fff;
  --min-font: 14;
  --max-font: 20;
}

.onstop-list li dd small {
  display: block;
  font-weight: 400;
  font-size: 0.8em;
}

@media (max-width: 1024px) {
  .onstop-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* タイラのお約束3か条
-------------------------------------------------- */
.sec__promise {
  background: var(--base_bg);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.promise-deco {
  font-family: var(--font_en);
  --min-font: 80;
  --max-font: 160;
  color: #fff;
  opacity: 0.05;
  position: absolute;
  right: 0;
  top: 20px;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

.promise-tit {
  --min-font: 28;
  --max-font: 48;
  margin-bottom: 60px;
}

.promise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.promise-item {
  border: 1px solid #fff;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.promise-item + .promise-item {
  border-left: none;
}

.promise-badge {
  width: 100px;
  height: auto;
}

.promise-heading {
  --min-font: 16;
  --max-font: 20;
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  line-height: 1.8;
  margin-bottom: 24px;
}

.promise-body {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
  text-align: left;
}

@media (max-width: 1024px) {
  .promise-list {
    grid-template-columns: 1fr;
  }

  .promise-item + .promise-item {
    border-left: 1px solid #fff;
    border-top: none;
  }
}

/* 施工事例・物件紹介
-------------------------------------------------- */
.sec__works {
  background: url(../images/top_bg05.webp) no-repeat top right var(--base_bg);
  color: #fff;
  padding-top: 80px;
}

.sec__works .tit-en-ja {
}

.works-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.works-item {
  display: flex;
  align-items: stretch;
}

.works-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* 本文が長いときは、続きを写真の下に全幅で回り込ませる（float風に見せる） */
.works-item--wrap {
  flex-wrap: wrap;
}

.works-item--wrap .works-content {
  padding-bottom: 0;
}

.works-more {
  flex: 0 0 100%;
  padding-inline: 10%;
}

@media (max-width: 1024px) {
  .works-more {
    padding-right: 24px;
  }
}

.works-img {
  flex: 0 0 58%;
  align-self: center;
  aspect-ratio: 87/50;
  overflow: hidden;
}

.works-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 文字入りの画像は切らずに収め、余白には同じ画像をぼかして敷く */
.works-img--contain {
  position: relative;
}

.works-img--contain img {
  position: relative;
  object-fit: contain;
}

.works-img--contain .works-img-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: blur(16px);
  opacity: 0.2;
  scale: 1.1;
}

.works-content {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.works-item:nth-child(odd) .works-content {
  padding-right: 10%;
}

.works-item:nth-child(even) .works-content {
  padding-left: 10%;
}

.works-tag {
  display: inline-block;
  border: 1px solid #fff;
  padding: 4px 16px;
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 13;
  --max-font: 15;
  align-self: flex-start;
}

.works-title {
  --min-font: 20;
  --max-font: 30;
  line-height: 1.7;
}

.works-desc {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 20px 20px 32px;
  background: var(--color_gold);
  color: var(--color_btn_text);
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 15;
  --max-font: 18;
  text-decoration: none;
  border-radius: 6px;
  transition:
    background var(--transition),
    color var(--transition);
}

.btn-more:hover {
  background: var(--base_bg);
  color: #fff;
  opacity: 1;
}

.btn-more::after {
  content: "→";
}

.works-content .btn-more {
  align-self: flex-start;
  margin-top: auto;
}

.more-wrap {
  text-align: center;
  padding: 80px 20px;
}

.more-wrap .btn-more {
  width: min(90%, 400px);
}

/* 店舗名などの長い文言は改行位置を固定し、行の途中で折り返さない */
.btn-more--lines {
  text-align: left;
}

.btn-more--lines .d_iblock {
  white-space: nowrap;
}

@media (max-width: 520px) {
  .btn-more--lines {
    gap: 12px;
    padding: 20px 16px 20px 20px;
  }
}

.news__body .btn-more {
  grid-area: btn;
  align-self: start;
  width: min(90%, 400px);
}

@media (max-width: 1024px) {
  .works-list {
    gap: 50px;
  }

  .works-item:nth-child(even) {
    flex-direction: column;
  }

  .works-item,
  .works-item--alt {
    flex-direction: column;
  }

  .works-img {
    flex: none;
    width: 100%;
  }

  .works-content {
    padding: 40px 24px;
  }
}

/* お客様の声
-------------------------------------------------- */
.sec__voice {
  background: url(../images/top_bg06.webp) no-repeat center bottom / 100% auto;
}

.voice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.voice-list li {
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.voice-list li em,
.voice-list li span {
  display: inline-block;
  vertical-align: middle;
  font-style: normal;
}

.voice-list li em {
  background-color: #4a4a4a;
  color: #ffffff;
  --min-font: 13;
  --max-font: 14;
  font-weight: bold;
  padding: 4px 16px;
  margin-right: 16px;
  min-width: 90px;
  text-align: center;
  font-family: var(--font_serif);
}

.voice-list li span {
  color: #333333;
  --min-font: 14;
  --max-font: 15;
}

.voice-list li h3 {
  --min-font: 16;
  --max-font: 20;
  color: #333333;
  margin: 18px 0 10px 0;
  line-height: 1.5;
  font-weight: bold;
  font-family: var(--font_serif);
}

.voice-list li p {
  --min-font: 15;
  --max-font: 16;
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .voice-list li {
    padding: 16px;
  }

  .voice-list li em {
    margin-right: 12px;
    padding: 4px 12px;
  }

  .voice-list li h3 {
    margin: 14px 0 8px 0;
  }

  .news__body .btn-more {
    margin-inline: auto;
  }

  .flexnum_2text {
    --num: 1;
    --gap: 20px;
  }

  .strength-intro {
    margin-bottom: 30px;
  }

  .strength-list {
    column-gap: 30px;
    padding-bottom: 100px;
  }

  .sec__strength,
  .sec__works,
  .sec__voice {
    background-size: 90% auto;
  }

  .strength-item {
    padding: 15px 0;
  }
}

/* お知らせ
-------------------------------------------------- */

.news__body {
  display: grid;
  grid-template-rows: 30% 1fr;
  grid-template-areas:
    "tit list"
    "btn list";
  gap: 30px 8vw;
}

.news__body .tit-en-ja {
  grid-area: tit;
}

.news-list {
  grid-area: list;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 10px;
  padding: 24px 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}

.news-list li:first-child {
  border-top: 1px dotted rgba(255, 255, 255, 0.4);
}

.news-list li time {
  display: inline-block;
  color: #ffffff;
  --min-font: 13px;
  --max-font: 13px;
  letter-spacing: 0.05em;
  width: 100px;
  vertical-align: middle;
}

.news-list li em {
  display: inline-block;
  background-color: #ffffff;
  color: #1a1625;
  font-style: normal;
  font-weight: 500;
  padding: 4px 0;
  min-width: 120px;
  text-align: center;
  vertical-align: middle;
  --min-font: 12px;
  --max-font: 12px;
}

.news-list li a {
  width: 100%;
  display: block;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.8;
  font-family: var(--font_serif);
  --min-font: 14px;
  --max-font: 16px;
}

.news-list li a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .news__body {
    grid-template-rows: 1fr;
    grid-template-areas:
      "tit"
      "list"
      "btn";
    gap: 20px;
  }

  .news__body .tit-en-ja {
    flex: none;
    width: 100%;
  }

  .news-list li {
    padding: 16px 0;
  }

  .news-list li time {
    width: auto;
    margin-right: 16px;
    margin-bottom: 8px;
  }

  .news-list li em {
    margin-right: 0;
    margin-bottom: 8px;
  }

  .news-list li a {
    display: block;
  }
}

/* お問い合わせ
-------------------------------------------------- */
.sec__contact {
  background: linear-gradient(to right, #fff697, #eadb89 25%, #af8e61);
  padding: 80px 0 100px;
}

.contact-deco {
  font-family: var(--font_en);
  --min-font: 80;
  --max-font: 150;
  color: #fff;
  position: absolute;
  right: 0;
  top: -10px;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

.contact-head {
  margin-bottom: 60px;
}

.contact-tit {
  --min-font: 28;
  --max-font: 48;
  font-family: var(--font_serif);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 20px;
}

.contact-desc {
  --min-font: 16;
  --max-font: 18;
  font-family: var(--font_serif);
  line-height: 2;
  text-align: center;
}

.contact-btns {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-tel-wrap {
  flex: 1;
}

.contact-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  border-radius: 6px;
  height: 80px;
  padding: 0 24px;
  margin-bottom: 12px;
}

.contact-tel-label {
  --min-font: 12;
  --max-font: 14;
  font-family: var(--font_serif);
  font-weight: 600;
  color: #484541;
  white-space: nowrap;
}

.contact-tel-num {
  --min-font: 22;
  --max-font: 28;
  font-family: var(--font_serif);
  font-weight: 600;
  color: #484541;
  white-space: nowrap;
}

.contact-hours {
  --min-font: 14;
  --max-font: 16;
  color: #484541;
}

.contact-btn-form,
.contact-btn-line {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 24px;
  background: var(--base_bg);
  color: #fff;
  font-family: var(--font_serif);
  font-weight: 600;
  border-radius: 6px;
  transition:
    background var(--transition),
    color var(--transition);
}

.contact-btn-form:hover {
  background: #fff;
  color: var(--base_bg);
  opacity: 1;
}

.contact-btn-line:hover {
  background: #06c755;
  opacity: 1;
}

.contact-btn-form span,
.contact-btn-line span {
  --min-font: 16;
  --max-font: 20;
}

@media (max-width: 1024px) {
  .contact-btns {
    flex-direction: column;
    width: min(90%, 400px);
    margin-inline: auto;
  }

  .contact-tel-wrap {
    width: 100%;
  }

  .contact-btn-form,
  .contact-btn-line {
    width: 100%;
    padding: 20px;
  }
}

/* ==================================================
   下層ページ共通
================================================== */

/* 下層ヒーロー
-------------------------------------------------- */
.sec__lower-hero {
  background: url(../images/top_bg02.webp) no-repeat center center / cover var(--base_bg);
  color: #fff;
  padding: 180px 0 80px;
}

.sec__lower-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #000 55%, transparent);
  z-index: 1;
}

.lower-hero-inner {
  position: relative;
  z-index: 2;
}

.tit-en-ja h1.tit-catch {
  --min-font: 30;
  --max-font: 48;
}

@media (max-width: 1024px) {
  .sec__lower-hero {
    padding: 100px 0 60px;
  }
}

/* パンくず
-------------------------------------------------- */
.breadcrumb {
  padding: 20px 0;
  color: #fff;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  --min-font: 11;
  --max-font: 13;
}

.breadcrumb li + li::before {
  content: "＞";
  margin-right: 8px;
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--color_gold);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 下層セクション共通の点線罫
-------------------------------------------------- */
.company-table,
.history-list {
  border-top: 1px dotted var(--color_border_alpha);
}

.company-row,
.history-row {
  display: flex;
  gap: 40px;
  padding: 22px 0;
  border-bottom: 1px dotted var(--color_border_alpha);
}

.company-row dt,
.history-row dt {
  flex: none;
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  --min-font: 13;
  --max-font: 16;
  line-height: 1.8;
}

.company-row dd,
.history-row dd {
  flex: 1;
  --min-font: 13;
  --max-font: 16;
  line-height: 1.8;
}

/* 代表メッセージ
-------------------------------------------------- */
.sec__greeting {
  color: #fff;
}

.greeting-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.greeting-text {
  flex: 1;
}

/* 社員インタビューを人数分並べるとき（採用TOPの働く仲間） */
.greeting-inner + .greeting-inner {
  margin-top: var(--l);
}

.greeting-text .case-movie {
  margin-top: 24px;
  margin-bottom: 0;
}

.greeting-desc {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

.greeting-photo {
  flex-shrink: 0;
  width: 30%;
}

/* 白背景の人物写真がダーク地から浮くため枠で締める */
.greeting-photo img {
  display: block;
  width: 100%;
  border: 1px solid #fff;
}

.greeting-photo--plain img {
  border: none;
}

.greeting-inner--center {
  align-items: center;
}

.greeting-name {
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 18;
  --max-font: 24;
  text-align: center;
  margin-top: 16px;
}

.greeting-name small {
  display: block;
  font-weight: 400;
  color: var(--color_gold);
  --min-font: 12;
  --max-font: 14;
  margin-bottom: 4px;
}

@media (max-width: 1024px) {
  .greeting-inner {
    flex-direction: column;
    gap: 40px;
  }

  .greeting-photo {
    width: min(100%, 320px);
    margin-inline: auto;
  }
}

/* お客様への宣言
-------------------------------------------------- */
.sec__declaration {
  color: #fff;
  overflow: hidden;
  background: color-mix(in srgb, #fff 5%, transparent);
}

.declaration-body {
  border: 1px solid #fff;
  padding: 50px;
  max-width: 900px;
  margin-inline: auto;
}

.declaration-body p {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

@media (max-width: 1024px) {
  .declaration-body {
    padding: 30px;
  }
}

/* 会社概要テーブル
-------------------------------------------------- */
.sec__profile {
  color: #fff;
}

.company-row dt {
  width: 260px;
}

/* PCでは電話リンクが無効（base.css）なので下線を出さない */
.company-row dd a:not([href^="tel"]) {
  text-decoration: underline;
}

.company-clients {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 24px;
}

@media (max-width: 1024px) {
  .company-row {
    flex-direction: column;
    gap: 6px;
  }

  .company-row dt {
    width: 100%;
  }
}

/* 事業部紹介
-------------------------------------------------- */
.sec__business {
  color: #fff;
}

/* 会社沿革
-------------------------------------------------- */
.sec__history {
  color: #fff;
  overflow: hidden;
}

.history-list {
  max-width: 900px;
  margin-inline: auto;
}

.history-row dt {
  width: 160px;
}

@media (max-width: 1024px) {
  .history-row {
    gap: 20px;
  }

  .history-row dt {
    width: 110px;
  }
}

/* 受賞歴
-------------------------------------------------- */
.sec__award-history {
  color: #fff;
}

.award-history {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.award-year {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.award-year-num {
  flex: none;
  width: 140px;
  font-family: var(--font_en);
  color: var(--color_gold);
  --min-font: 30;
  --max-font: 48;
  line-height: 1;
}

.award-year-list {
  flex: 1;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.award-year-list li {
  border: 1px solid #fff;
  padding: 24px 28px;
}

/* base.css の word-break: break-all だと「2022」等が途中で割れるため上書き */
.award-name,
.award-detail {
  word-break: normal;
  overflow-wrap: anywhere;
}

.award-name {
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 15;
  --max-font: 18;
  line-height: 1.6;
  margin-bottom: 12px;
}

.award-name small {
  display: block;
  font-weight: 400;
  color: var(--color_gold);
  --min-font: 12;
  --max-font: 13;
  margin-top: 4px;
}

.award-detail {
  --min-font: 13;
  --max-font: 15;
  line-height: 1.8;
  padding-left: 1em;
  text-indent: -1em;
}

.award-detail::before {
  content: "・";
}

@media (max-width: 1024px) {
  .award-year {
    flex-direction: column;
    gap: 12px;
  }

  .award-year-num {
    width: auto;
  }

  .award-year-list li {
    padding: 20px;
  }
}

/* 保有資格
-------------------------------------------------- */
.license-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.license-list li {
  border: 1px solid #fff;
  padding: 8px 20px;
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 13;
  --max-font: 15;
}

/* 末尾の「等」は枠を付けない */
.license-list li:last-child {
  border: none;
  padding-inline: 0;
}

/* アクセス
-------------------------------------------------- */
.sec__access {
  color: #fff;
}

.access-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.access-photo {
  flex: 0 0 58%;
}

.access-photo img {
  display: block;
  width: 100%;
}

.access-info {
  flex: 1;
}

.access-name {
  --min-font: 20;
  --max-font: 28;
  margin-bottom: 20px;
}

.access-address {
  --min-font: 14;
  --max-font: 17;
  line-height: 2;
}

.access-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

@media (max-width: 1024px) {
  .access-inner {
    flex-direction: column;
    gap: 24px;
  }

  .access-photo {
    flex: none;
    width: 100%;
  }

  .access-map iframe {
    height: 300px;
  }
}

/* ==================================================
   サービス紹介
================================================== */

.sec__service-lead,
.sec__service-story,
.sec__service-partner {
  color: #fff;
}

/* 長文が並ぶので写真を細めにして文字側にゆとりを持たせる */
@media (min-width: 1025px) {
  .sec__service-story .works-img {
    flex-basis: 50%;
  }
}

/* リード
-------------------------------------------------- */
.service-lead-desc {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

.service-lead-desc a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-lead-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}

/* 文字入りの画像は切ると読めなくなるため、全幅で縦横比のまま見せる */
.service-lead-photo.service-lead-photo--full img {
  aspect-ratio: auto;
  height: auto;
}

/* 素材待ちの仮枠（no_image を切り抜かずに枠として見せる） */
.service-lead-photo img.is-dummy,
.card-img img[src$="no_image.svg"],
.works-img img[src$="no_image.svg"] {
  object-fit: contain;
  border: 1px solid color-mix(in srgb, #fff 40%, transparent);
  background: color-mix(in srgb, #fff 5%, transparent);
}

/* カード一覧（サービス内容・施工事例）
-------------------------------------------------- */
.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 30px;
  list-style: none;
}

.card-item a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* カードは画像拡大とボタン反転で反応させるため、共通の全体フェードは切る */
.card-item a:hover {
  opacity: 1;
}

.card-img {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale var(--transition);
}

.card-item a:hover .card-img img {
  scale: 1.05;
}

/* 手書きアンケートなど縦長の書類は切り抜かず、白地に全体を収める */
.card-img--doc {
  background: #fff;
}

.card-img--doc img {
  object-fit: contain;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 24px;
}

.card-title {
  --min-font: 16;
  --max-font: 20;
  line-height: 1.7;
}

.card-item a:hover .card-title {
  text-decoration: underline;
}

.card-desc {
  --min-font: 13;
  --max-font: 15;
  line-height: 1.9;
}

/* 一覧の本文は2行で切り、2行目の末尾に「…」を付ける */
.card-desc--clamp span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.card-note {
  color: var(--color_gold);
  --min-font: 11;
  --max-font: 13;
  line-height: 1.6;
}

.card-item .btn-more {
  margin-top: auto;
}

.card-item a:hover .btn-more {
  background: var(--base_bg);
  color: #fff;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.card-meta time {
  font-family: var(--font_en);
  color: var(--color_gold);
  --min-font: 13;
  --max-font: 15;
}

/* 小カテゴリーの#タグ（枠なし） */
.card-tag {
  color: var(--color_gold);
  --min-font: 12;
  --max-font: 14;
}

@media (max-width: 1024px) {
  .card-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

@media (max-width: 520px) {
  .card-list {
    grid-template-columns: 1fr;
  }

  .service-lead-photo img {
    aspect-ratio: 4/3;
  }
}

/* リンクを持たないカード（一覧のみ）
-------------------------------------------------- */
.card-item {
  display: flex;
  flex-direction: column;
}

/* ==================================================
   サービス下層（新築ほか）
================================================== */

.sec__newbuild-flow,
.sec__voice-lower {
  color: #fff;
}

/* 見出しBの下にリード文を挟むとき
-------------------------------------------------- */
.promise-tit--withlead {
  margin-bottom: 20px;
}

.tit-lead {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

.tit-lead-em {
  display: block;
  margin-bottom: 0.4em;
  --min-font: 20;
  --max-font: 30;
  line-height: 1.6;
}

/* 宣言カードの上に置くアイコン
-------------------------------------------------- */
.promise-icon {
  width: 72px;
  height: auto;
  margin-bottom: 12px;
}

.promise-icon--l {
  width: 104px;
}

/* 4項目の宣言カード（2×2）
-------------------------------------------------- */
.promise-list--grid {
  grid-template-columns: repeat(2, 1fr);
}

/* 2列に折り返すぶん、罫の共有を組み直す */
.promise-list--grid .promise-item {
  border-left: 1px solid #fff;
}

.promise-list--grid .promise-item:nth-child(even) {
  border-left: none;
}

.promise-list--grid .promise-item:nth-child(n + 3) {
  border-top: none;
}

@media (max-width: 1024px) {
  .promise-list--grid {
    grid-template-columns: 1fr;
  }

  .promise-list--grid .promise-item:nth-child(even) {
    border-left: 1px solid #fff;
  }
}

/* ワンストップタイルの hover（TOP・下層 共通）
   写真が拡大し、黒オーバーレイが外れて鮮明になる
-------------------------------------------------- */
.onstop-list li a,
.onstop-list li .onstop-static {
  overflow: hidden;
}

.onstop-list li img {
  transition: scale var(--transition);
}

.onstop-list li a::before,
.onstop-thumb::before {
  transition: opacity var(--transition);
}

/* カード全体が薄くなると「鮮明に」が打ち消されるので共通の hover は切る */
.onstop-list li a:hover {
  opacity: 1;
}

.onstop-list li a:hover img {
  scale: 1.05;
}

.onstop-list li a:hover::before,
.onstop-list li a:hover .onstop-thumb::before {
  opacity: 0;
}

/* 横長タイル＋下にリード（onstop-list の派生）
-------------------------------------------------- */
.sec__onstop--lower {
  padding-bottom: var(--l);
}

.onstop-list--wide li {
  aspect-ratio: auto;
  display: flex;
}

/* ボタンを行の下端で揃えるため、カード全体を縦フレックスにする */
.onstop-list--wide li a,
.onstop-list--wide li .onstop-static {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: auto;
  padding-bottom: 24px;
}

/* オーバーレイは写真の上だけに掛ける（リンク範囲はリード文まで） */
.onstop-list--wide li a::before,
.onstop-list--wide li .onstop-static::before {
  content: none;
}

.onstop-thumb {
  position: relative;
  aspect-ratio: 2/1;
  overflow: hidden;
}

.onstop-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--base_color);
  opacity: 0.5;
  z-index: 1;
}

.onstop-desc {
  padding: 16px 8% 20px;
  --min-font: 13;
  --max-font: 15;
  line-height: 1.9;
}

.onstop-catch {
  display: block;
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 15;
  --max-font: 18;
  line-height: 1.7;
  margin-bottom: 10px;
}

.onstop-desc .card-note {
  display: block;
  margin-top: 8px;
}

.onstop-btn {
  margin: 0 8%;
  margin-top: auto;
  align-self: flex-start;
}

/* 枠だけのゴールドボタン（一覧カード内など、主導線ではないリンク）
-------------------------------------------------- */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 16px 10px 22px;
  border: 1px solid var(--color_gold);
  border-radius: 6px;
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  --min-font: 12;
  --max-font: 14;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition);
}

.btn-outline::after {
  content: "→";
}

.btn-outline:hover,
.onstop-list--wide li a:hover .btn-outline {
  background: var(--color_gold);
  color: var(--color_btn_text);
  opacity: 1;
}

/* 4件のときは3列だと1件余るので2列にする */
.onstop-list--4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
  .onstop-list--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .onstop-list--wide {
    grid-template-columns: 1fr;
  }

  .onstop-list--4 {
    grid-template-columns: 1fr;
  }
}

/* 流れ（連番＋縦線でつながるステップ）
-------------------------------------------------- */
.flow-list {
  list-style: none;
}

.flow-item {
  position: relative;
  display: flex;
  background: color-mix(in srgb, #fff 5%, transparent);
}

.flow-item + .flow-item {
  margin-top: 30px;
}

/* 次のステップへつながる縦線。数字の中心に合わせ、項目の下端をまたいで伸ばす */
.flow-item::before {
  content: "";
  position: absolute;
  top: 92px;
  left: 55px;
  width: 5px;
  height: calc(100% - 62px);
  background: var(--color_gold);
}

.flow-item:last-child::before {
  content: none;
}

.flow-num {
  flex: none;
  width: 120px;
  padding: 30px 0 0 40px;
  font-family: var(--font_en);
  color: var(--color_gold);
  --min-font: 26;
  --max-font: 36;
  line-height: 1.2;
}

.flow-content {
  flex: 1;
  padding: 32px 45px 32px 40px;
}

/* 写真つきステップ（テキスト左／写真右。CTAはその下に全幅で置く） */
.flow-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.flow-row .flow-body {
  flex: 1;
  min-width: 0;
}

.flow-row .flow-img {
  flex: none;
  width: 260px;
}

.flow-row .flow-img img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.flow-head {
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  --min-font: 17;
  --max-font: 22;
  line-height: 1.5;
  margin-bottom: 10px;
}

.flow-txt {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

/* 01 の中に入れる相談導線 */
.flow-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
  border: 1px solid #fff;
  padding: 24px 30px;
  margin-top: 24px;
}

.flow-cta-tel {
  flex: none;
}

/* 電話＋ボタン2本をPCで横一列に並べる（ラッパーを透過させて3カラムにする） */
@media (min-width: 1025px) {
  .flow-cta-btns {
    display: contents;
  }

  .flow-cta .btn-more {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 12px;
    padding: 16px 18px;
    --min-font: 14;
    --max-font: 16;
    white-space: nowrap;
  }
}

.flow-cta-num {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 26;
  --max-font: 38;
  line-height: 1.3;
  white-space: nowrap;
}

/* base.css の a のサイズ指定に負けるので明示する */
.flow-cta-num a {
  --min-font: 26;
  --max-font: 38;
}

.flow-cta-label {
  color: var(--color_gold);
  --min-font: 13;
  --max-font: 15;
}

.flow-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-more--line:hover {
  background: #06c755;
  color: #fff;
}

.flow-cta-note {
  --min-font: 11;
  --max-font: 14;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .flow-item + .flow-item {
    margin-top: 20px;
  }

  .flow-item::before {
    top: 58px;
    left: 30px;
    height: calc(100% - 38px);
  }

  .flow-num {
    width: 68px;
    padding: 20px 0 0 20px;
  }

  .flow-content {
    padding: 20px 24px 26px;
  }

  .flow-row {
    flex-direction: column;
    gap: 20px;
  }

  .flow-row .flow-img {
    width: 100%;
  }

  .flow-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  /* 幅が足りず番号が切れるので、ラベルを上に逃がす */
  .flow-cta-num {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    --min-font: 22;
    --max-font: 30;
  }

  .flow-cta-num a {
    --min-font: 22;
    --max-font: 30;
  }

  .flow-cta .btn-more {
    justify-content: center;
  }
}

/* 下層のお客様の声（ダーク地に白カード）
-------------------------------------------------- */
.sec__voice-lower .voice-list li p {
  color: var(--base_color);
}

/* 6項目の宣言カード（3列2行）
-------------------------------------------------- */
.promise-list--grid3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 折り返すぶん罫の共有を組み直す */
.promise-list--grid3 .promise-item {
  border-left: 1px solid #fff;
}

.promise-list--grid3 .promise-item:nth-child(3n + 2),
.promise-list--grid3 .promise-item:nth-child(3n) {
  border-left: none;
}

.promise-list--grid3 .promise-item:nth-child(n + 4) {
  border-top: none;
}

@media (max-width: 1024px) {
  .promise-list--grid3 {
    grid-template-columns: 1fr;
  }

  /* 1列に戻るので、3列用に外していた罫をすべて元に戻す
     （:nth-child(n) は上の 3n+2 / 3n / n+4 と同じ詳細度にして打ち消すため） */
  .promise-list--grid3 .promise-item:nth-child(n) {
    border-left: 1px solid #fff;
    border-top: none;
  }

  .promise-list--grid3 .promise-item:first-child {
    border-top: 1px solid #fff;
  }
}

/* よくあるご質問（開閉なし）
-------------------------------------------------- */
/* 見出し・リードと左端を揃えるため、幅は絞らずセクション幅に合わせる */
.faq-list {
  list-style: none;
  border-top: 1px dotted var(--color_border_alpha);
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px dotted var(--color_border_alpha);
}

.faq-q,
.faq-a {
  display: flex;
  gap: 14px;
  line-height: 1.9;
}

.faq-q {
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  --min-font: 15;
  --max-font: 18;
  margin-bottom: 14px;
}

.faq-a {
  --min-font: 13;
  --max-font: 16;
}

.faq-q::before,
.faq-a::before {
  flex: none;
  font-family: var(--font_en);
  line-height: 1.4;
}

.faq-q::before {
  content: "Q.";
  --min-font: 18;
  --max-font: 22;
}

.faq-a::before {
  content: "A.";
  color: var(--color_gold);
  --min-font: 16;
  --max-font: 20;
}

/* タブ
-------------------------------------------------- */
.tab-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 28px;
  border: 1px solid var(--color_gold);
  border-radius: 6px;
  background: transparent;
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  --min-font: 13;
  --max-font: 16;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
}

.tab-btn:hover,
.tab-btn.is-active {
  background: var(--color_gold);
  color: var(--color_btn_text);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

/* JSが動かない環境では全パネルを出す */
.tab:not(:has(.tab-panel.is-active)) .tab-panel {
  display: block;
}

/* メーカーロゴ一覧（白地・一覧表示）
-------------------------------------------------- */
.maker-note {
  color: var(--base_color);
  --min-font: 13;
  --max-font: 15;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 40px;
}

.maker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
}

.maker-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #dcdcdc;
  padding: 32px 20px;
}

.maker-grid img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.maker-grid span {
  color: var(--base_color);
  --min-font: 12;
  --max-font: 14;
  text-align: center;
  word-break: keep-all;
}

@media (max-width: 1024px) {
  .maker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .maker-grid {
    grid-template-columns: 1fr;
  }
}

/* よくあるご質問のセクション（帯背景なし）
-------------------------------------------------- */
.sec__faq {
  color: #fff;
  overflow: hidden;
}

/* ==================================================
   レスポンシブ調整
================================================== */

@media (max-width: 1024px) {
  /* 幅が狭いとラベルが2行になり矢印だけ右端に離れるため、中央寄せの1行に固定する */
  .flow-cta .btn-more {
    flex: 1 1 0;
    justify-content: center;
    gap: 12px;
    padding: 16px 18px;
    --min-font: 14;
    --max-font: 16;
    white-space: nowrap;
  }

  .flow-cta-btns {
    display: flex;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  /* 宣言カードはSPだと余白が勝ちすぎるので詰める */
  .promise-item {
    padding: 40px 24px;
  }

  /* タブ内の点検表は本文が長く、横並びだと1行あたりが狭すぎるので縦積みにする
     （会社概要の沿革は本文が短いため横並びのまま） */
  .tab-panel .history-row {
    flex-direction: column;
    gap: 6px;
  }

  .tab-panel .history-row dt {
    width: 100%;
  }

  /* 2つ横並びだとラベルが収まらないので縦積みにする */
  .flow-cta-btns {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  /* ロゴは小さいので1列にすると間延びする */
  .maker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .maker-grid li {
    padding: 24px 12px;
  }
}

/* ==================================================
   採用
================================================== */

.sec__recruit {
  color: #fff;
}

/* 求人詳細のメイン（左テキスト・右写真を画面端まで）
-------------------------------------------------- */
.job-mv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5%;
}

.job-mv-text {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-mv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.job-mv-title {
  --min-font: 22;
  --max-font: 35;
  line-height: 1.5;
}

.job-mv-salary {
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 17;
  --max-font: 22;
  line-height: 1.6;
}

.job-mv-salary small {
  display: block;
  --min-font: 12;
  --max-font: 14;
}

.job-mv-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 15px 0;
}

.job-mv-points li {
  border: 1px solid var(--color_border_alpha);
  padding: 5px 15px;
  font-weight: 700;
  --min-font: 13;
  --max-font: 15;
}

.job-mv-img {
  flex: 0 0 auto;
  width: min(55%, 800px);
  aspect-ratio: 520/346;
  overflow: hidden;
}

.job-mv-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  body .job-mv.calc_pl {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding-right: 0;
  }

  .job-mv-text {
    padding-right: 5%;
  }

  .job-mv-img {
    width: 95%;
    margin-left: auto;
  }
}

/* 「一覧を見る」ボタン（.more-wrap）が無い使い方のときは下余白を自前で取る */
.sec__works:not(:has(.more-wrap)) {
  margin-bottom: var(--l);
}

/* 写真グリッド（枚数で列数が変わる）
-------------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  list-style: none;
}

.photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* アコーディオン
-------------------------------------------------- */
.accordion {
  border-top: 1px dotted var(--color_border_alpha);
}

.accordion-item {
  border-bottom: 1px dotted var(--color_border_alpha);
}

.accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 28px 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  --min-font: 18;
  --max-font: 26;
  line-height: 1.5;
  transition: opacity var(--transition);
}

.accordion-btn:hover {
  opacity: 0.8;
}

/* ＋／− の記号（開くと横棒だけになる） */
.accordion-btn::after {
  content: "";
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(var(--color_gold), var(--color_gold)) center/18px 1px no-repeat,
    linear-gradient(var(--color_gold), var(--color_gold)) center/1px 18px no-repeat;
  transition: background-size var(--transition);
}

.accordion-btn.is-open::after {
  background-size:
    18px 1px,
    1px 0;
}

/* 既定は開いた状態（JSが動かない環境でも全部読める） */
.accordion-panel {
  padding: 0 8px 36px;
}

/* JSが初期化できたら閉じる */
.accordion.is-ready .accordion-panel {
  display: none;
}

.accordion.is-ready .accordion-panel.is-open {
  display: block;
}

.accordion-body {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.accordion-body .accordion-txt {
  flex: 1;
  min-width: 0;
}

.accordion-body .accordion-img {
  flex: none;
  width: 300px;
}

.accordion-body .accordion-img img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.accordion-txt p {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

.accordion-sub {
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  --min-font: 14;
  --max-font: 16;
  margin-top: 20px;
}

/* 数字で見る
-------------------------------------------------- */
.data-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  list-style: none;
  background: color-mix(in srgb, #fff 20%, transparent);
  border: 1px solid color-mix(in srgb, #fff 20%, transparent);
}

.data-item {
  background: var(--base_bg);
  padding: 32px clamp(10px, 1.2vw, 16px);
  text-align: center;
}

.data-label {
  --min-font: 12;
  --max-font: 14;
  margin-bottom: 12px;
}

.data-num {
  font-family: var(--font_en);
  font-weight: 700;
  color: var(--color_gold);
  --min-font: 52;
  --max-font: 76;
  white-space: nowrap;
  line-height: 1.05;
  margin-bottom: 12px;
}

/* base.css のサイズ指定が子要素にも当たるので、数字のspanにも同じ値を指定する */
.data-num .js-counter {
  --min-font: 52;
  --max-font: 76;
}

/* 単位は小さく添えて、数字とのコントラストを出す */
.data-num small {
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 13;
  --max-font: 16;
  margin-left: 6px;
  white-space: nowrap;
}

.data-note {
  --min-font: 11;
  --max-font: 13;
  line-height: 1.7;
}

/* フォーム
-------------------------------------------------- */
/* 見出し・リードと左端を揃えるため、幅は絞らずセクション幅に合わせる */
.form-list {
  border-top: 1px dotted var(--color_border_alpha);
}

.form-row {
  display: flex;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px dotted var(--color_border_alpha);
}

.form-label {
  flex: none;
  width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  --min-font: 13;
  --max-font: 16;
  line-height: 1.8;
}

.form-required {
  flex: none;
  border: 1px solid #fff;
  padding: 2px 10px;
  color: #fff;
  --min-font: 11;
  --max-font: 12;
  font-weight: 400;
}

.form-field {
  flex: 1;
  min-width: 0;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: color-mix(in srgb, #fff 5%, transparent);
  color: #fff;
  font-family: var(--font_jp);
  --min-font: 13;
  --max-font: 16;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field select option {
  color: var(--base_color);
}

.form-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

/* 選択肢が長いときは1項目1行にする */
.form-radio--stack {
  flex-direction: column;
}

.form-radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  --min-font: 13;
  --max-font: 16;
  cursor: pointer;
}

/* reset.css で appearance: none されているので、ラジオだけ戻す */
.form-radio input[type="radio"] {
  appearance: auto;
  -webkit-appearance: auto;
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--color_gold);
  cursor: pointer;
}

.form-note {
  --min-font: 11;
  --max-font: 13;
  line-height: 1.7;
  margin-top: 8px;
}

.form-submit {
  text-align: center;
  padding-top: 40px;
}

.form-submit .btn-more {
  width: min(90%, 400px);
  justify-content: center;
  gap: 20px;
  border: 0;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .accordion-body {
    flex-direction: column;
    gap: 20px;
  }

  .accordion-body .accordion-img {
    width: 100%;
  }

  .data-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .data-item {
    padding: 28px 14px;
  }

  /* 2列だと「000 件以上」が入りきらないので数字を抑える */
  .data-num,
  .data-num .js-counter {
    --min-font: 34;
    --max-font: 52;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-label {
    width: 100%;
  }
}

/* エントリー導線（電話＋ボタンを中央に横並び）
-------------------------------------------------- */
.entry-cta {
  text-align: center;
}

/* リードは明朝・ネイビーで見出し扱い */
.entry-cta-lead {
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 18;
  --max-font: 22;
  line-height: 1.6;
  color: var(--base_bg);
  margin-bottom: 8px;
}

/* リードの下に続く一文 */
.entry-cta-sub {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
  color: var(--base_bg);
  margin-bottom: 28px;
}

.entry-cta-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.entry-cta-tel {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.entry-cta-tel svg {
  flex: none;
  width: 46px;
  height: 46px;
  color: var(--color_gold);
}

.entry-cta-label {
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  --min-font: 12;
  --max-font: 14;
}

.entry-cta-num,
.entry-cta-num a {
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 26;
  --max-font: 38;
  line-height: 1.2;
  white-space: nowrap;
}

.entry-cta-note {
  --min-font: 11;
  --max-font: 13;
}

.entry-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border-radius: 6px;
  background: var(--color_gold);
  color: var(--color_btn_text);
  text-align: left;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition);
}

.entry-cta-btn:hover {
  background: var(--base_bg);
  color: #fff;
  opacity: 1;
}

.entry-cta-btn svg {
  flex: none;
  width: 34px;
  height: 34px;
}

.entry-cta-btn-main {
  display: block;
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 15;
  --max-font: 18;
  line-height: 1.4;
}

.entry-cta-btn-sub {
  display: block;
  --min-font: 11;
  --max-font: 13;
  line-height: 1.4;
}

.entry-cta-foot {
  --min-font: 11;
  --max-font: 13;
  line-height: 1.8;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .entry-cta-body {
    flex-direction: column;
    gap: 24px;
  }

  .entry-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* 末尾に「等」が来ないタグ一覧（最後の項目にも枠を出す）
-------------------------------------------------- */
.license-list--all li:last-child {
  border: 1px solid #fff;
  padding-inline: 20px;
}

/* エントリー導線をゴールド地のCTA帯として使う
-------------------------------------------------- */
.sec__entry {
  background: linear-gradient(to right, #fff697, #eadb89 25%, #af8e61);
  color: #484541;
}

.sec__entry .entry-cta-label,
.sec__entry .entry-cta-num,
.sec__entry .entry-cta-num a,
.sec__entry .entry-cta-tel svg {
  color: var(--base_bg);
}

/* 明るい地なのでボタンはダークに反転させる */
.sec__entry .entry-cta-btn {
  background: var(--base_bg);
  color: #fff;
}

.sec__entry .entry-cta-btn:hover {
  background: #fff;
  color: var(--base_bg);
}

.sec__entry .entry-cta-lead,
.sec__entry .entry-cta-sub,
.sec__entry .entry-cta-foot {
  word-break: auto-phrase;
  text-wrap: balance;
}

/* スマホは飾り文字Entryが見出しに重なるので、その分だけ上を空ける */
@media (max-width: 520px) {
  .sec__entry:has(> .contact-deco) {
    padding-top: 90px;
  }
}

/* フォームの案内文とプライバシー同意
-------------------------------------------------- */
.form-lead {
  margin-bottom: 28px;
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

.form-privacy {
  text-align: center;
  padding-top: 36px;
}

.form-privacy-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  --min-font: 13;
  --max-font: 15;
  line-height: 1.9;
}

.form-privacy-lead a {
  color: var(--color_gold);
  text-decoration: underline;
  --min-font: 13;
  --max-font: 15;
}

.form-agree {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font_serif);
  font-weight: 600;
  --min-font: 14;
  --max-font: 16;
  cursor: pointer;
}

/* reset.css で appearance: none されているので戻す */
.form-agree input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  flex: none;
  width: 18px;
  height: 18px;
  accent-color: var(--color_gold);
  cursor: pointer;
}

/* ==================================================
   施工事例
================================================== */

.sec__case {
  color: #fff;
}

/* 絞り込み
-------------------------------------------------- */
.filter-block + .filter-block {
  margin-top: 24px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.filter-list a {
  display: block;
  padding: 8px 20px;
  border: 1px solid var(--color_gold);
  border-radius: 6px;
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  --min-font: 12;
  --max-font: 14;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition),
    color var(--transition);
}

.filter-list a:hover,
.filter-list a.is-current {
  background: var(--color_gold);
  color: var(--color_btn_text);
  opacity: 1;
}

/* 小カテゴリーはタグ表記（枠なし・#付き） */
.filter-list--tag {
  gap: 8px 18px;
}

.filter-list--tag a {
  padding: 0;
  border: none;
  border-radius: 0;
  font-family: var(--font_jp);
  font-weight: 400;
}

.filter-list--tag a:hover {
  background: none;
  color: var(--color_gold);
  text-decoration: underline;
}

.filter-note {
  --min-font: 11;
  --max-font: 13;
  margin-top: 16px;
}

/* ページネーション
-------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin-top: 60px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color_border_alpha);
  border-radius: 6px;
  font-family: var(--font_en);
  color: #fff;
  --min-font: 14;
  --max-font: 16;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition);
}

.pagination a:hover,
.pagination .is-current {
  background: var(--color_gold);
  border-color: var(--color_gold);
  color: var(--color_btn_text);
  opacity: 1;
}

/* 記事の見出し（タイトル＋カテゴリ＋日付）
-------------------------------------------------- */
.case-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* タグが何個あっても日付は右端に置く */
.case-meta time {
  font-family: var(--font_en);
  color: var(--color_gold);
  --min-font: 13;
  --max-font: 15;
  margin-left: auto;
}

.case-title {
  --min-font: 24;
  --max-font: 40;
  line-height: 1.4;
}

/* 記事本文のブロック（画像・動画・テキスト）
-------------------------------------------------- */
.case-block + .case-block {
  margin-top: var(--l);
}

.case-block-txt {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

.case-title + .case-block-txt {
  margin-top: 16px;
}

/* 記事本文の小見出し（元記事の見出し・強調段落） */
.case-block-tit {
  margin-bottom: 16px;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--color_gold);
  --min-font: 19;
  --max-font: 26;
  line-height: 1.5;
}

.case-block-txt + .case-block-txt {
  margin-top: 0.8em;
}

.case-block-txt a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* セクション内の写真グリッド（縦長・横長が混ざっても切り抜かない） */
.case-block-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 16px;
  margin-top: 24px;
  list-style: none;
}

.case-block-photos img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.case-block-photos + .ba-list,
.case-block-photos + .case-movie,
.case-block-photos + .case-insta {
  margin-top: 24px;
}

/* お客様の声詳細：手書きアンケートを切り抜かず読める大きさで出す */
.voice-survey {
  width: min(100%, 720px);
  margin-inline: auto;
}

.voice-survey img {
  display: block;
  width: 100%;
  height: auto;
}

/* 小さい画像は引き伸ばすとぼやけるため、元の大きさのまま中央に置く */
.voice-survey--native {
  width: fit-content;
  max-width: 100%;
}

.voice-survey--native img {
  width: auto;
  max-width: 100%;
}

.voice-survey-txt {
  margin-top: 40px;
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

/* アイキャッチ直下のリード文 */
.case-lead {
  margin-top: 24px;
}

.case-block .btn-outline {
  margin-top: 24px;
}

/* 写真はトリミングせず縦横比のまま。縦長が来ても大きくなりすぎないよう高さで頭打ちにし、文字に合わせて左に寄せる */
.case-block-media {
  margin-bottom: 20px;
  text-align: left;
}

.case-block-media img {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  max-height: 100vh;
  height: auto;
  object-fit: contain;
  vertical-align: top;
}

/* 縦長写真だけ高さで頭打ちにする（.is-portrait はJSが付ける） */
.case-block-media img.is-portrait {
  width: auto;
  max-height: 70vh;
}

.case-movie {
  position: relative;
  aspect-ratio: 16/9;
  background: color-mix(in srgb, #fff 5%, transparent);
  margin-bottom: 24px;
}

.case-movie iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Instagram の埋め込み。公式の表示幅が最大540pxなので中央に置く */
.case-insta {
  margin-bottom: 24px;
}

/* 高さは埋め込みコードの height をそのまま使う（script.js が反映する）ので、ここでは指定しない */
.case-insta .instagram-media {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 540px;
  border: 0;
  background: #fff;
}

/* 写真ギャラリー（同じ比率のタイルで並べる。拡大時は元の比率で表示）
-------------------------------------------------- */
.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
}

.case-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: zoom-in;
  transition: opacity var(--transition);
}

.case-gallery-item img:hover {
  opacity: 0.8;
}

.case-gallery-item figcaption {
  --min-font: 12;
  --max-font: 14;
  line-height: 1.8;
  margin-top: 10px;
}

@media (max-width: 520px) {
  .case-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* 拡大表示（ライトボックス）
-------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: color-mix(in srgb, #000 88%, transparent);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color_gold);
  border-radius: 6px;
  background: transparent;
  color: var(--color_gold);
  --min-font: 20;
  --max-font: 24;
  line-height: 1;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
}

.lightbox-close:hover {
  background: var(--color_gold);
  color: var(--color_btn_text);
}

@media (max-width: 1024px) {
  .pagination {
    margin-top: 40px;
  }
}

/* ==================================================
   記事出力（エディタからの自由入力）
================================================== */

.post_free,
.post_free-head {
  max-width: 900px;
  margin-inline: auto;
}

.post_free {
  color: #fff;
}


/* base.css の `*` が全要素に --min-font を再定義するため、タグごとに指定する */
.post_free :is(p, li, dt, dd, th, td, blockquote, strong, em, a, small, code) {
  --min-font: 13;
  --max-font: 16;
}

/* 見出しの中の装飾タグは見出しのサイズを引き継ぐ */
.post_free :is(h1, h2, h3, h4, h5, h6) :is(a, strong, em, span) {
  --min-font: inherit;
  --max-font: inherit;
}

.post_free :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font_serif);
  font-weight: 600;
  line-height: 1.5;
  margin: 50px 0 24px;
}

.post_free > :first-child {
  margin-top: 0;
}

.post_free h1 {
  --min-font: 24;
  --max-font: 40;
}

.post_free h2 {
  --min-font: 22;
  --max-font: 32;
}

.post_free h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 24px;
  background: var(--color_gold);
}

.post_free h3 {
  --min-font: 18;
  --max-font: 26;
  padding-left: 20px;
  border-left: 1px solid var(--color_gold);
}

.post_free h4 {
  --min-font: 16;
  --max-font: 22;
  display: flex;
  align-items: center;
  gap: 15px;
}

.post_free h4::before {
  content: "";
  flex: none;
  width: 40px;
  height: 1px;
  background: var(--color_gold);
}

.post_free h5 {
  --min-font: 15;
  --max-font: 20;
}

.post_free h6 {
  --min-font: 14;
  --max-font: 18;
  color: var(--color_gold);
}

.post_free p {
  line-height: 2;
  letter-spacing: 0.04em;
}

.post_free p + p {
  margin-top: 1.5em;
}

/* マーカーではなくゴールドの下線（ゴールドは面で使わない） */
.post_free strong {
  font-weight: 600;
  border-bottom: 1px solid var(--color_gold);
}

.post_free em {
  font-style: italic;
}

.post_free a {
  color: var(--color_gold);
  text-decoration: underline;
  word-break: break-all;
}

.post_free a:hover {
  text-decoration: none;
}

.post_free img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px 0;
}

/* 素材待ちの仮枠（no_image は縦に伸びるので比率を固定する） */
.post_free img[src$="no_image.svg"] {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
}

/* YouTube等の埋め込み */
.post_free iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 30px 0;
  border: none;
}

.post_free hr {
  height: 0;
  margin: 40px 0;
  border: none;
  border-top: 1px dotted color-mix(in srgb, #fff 40%, transparent);
}

.post_free :is(ul, ol) {
  padding: 15px 0;
}

.post_free ul {
  list-style-type: disc;
  margin-left: 1.5em;
}

.post_free ol {
  list-style-type: decimal;
  margin-left: 2em;
}

.post_free li {
  line-height: 2;
}

.post_free li::marker {
  color: var(--color_gold);
}

.post_free blockquote {
  margin: 30px 0;
  padding: 30px;
  border-left: 1px solid var(--color_gold);
  background: color-mix(in srgb, #fff 5%, transparent);
}

.post_free table {
  width: 100%;
  margin: 30px 0;
  border-top: 1px solid color-mix(in srgb, #fff 40%, transparent);
  border-left: 1px solid color-mix(in srgb, #fff 40%, transparent);
}

.post_free table :is(th, td) {
  padding: 14px 16px;
  border-right: 1px solid color-mix(in srgb, #fff 40%, transparent);
  border-bottom: 1px solid color-mix(in srgb, #fff 40%, transparent);
  line-height: 1.8;
  text-align: left;
}

.post_free table th {
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
  background: color-mix(in srgb, #fff 5%, transparent);
  white-space: nowrap;
}

/* 表は幅が足りないとき横スクロールさせる */
.post_free .table-scroll {
  overflow-x: auto;
}

.post_free .table-scroll table {
  min-width: 560px;
}

@media (max-width: 520px) {
  .post_free :is(h1, h2, h3, h4, h5, h6) {
    margin: 30px 0 20px;
  }

  .post_free blockquote {
    padding: 20px;
  }
}

/* ==================================================
   ビフォーアフター
================================================== */

/* 1組＝BEFORE／AFTER の横並び。組はいくつでも縦に積める */
.ba-list {
  display: grid;
  gap: 50px;
  list-style: none;
}

/* case-block の中に入れたときは他のパーツと同じ間隔にする */
.case-block .ba-list {
  margin-bottom: 24px;
}

.ba-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* キャプションの行数が違っても隣と枠の高さが揃うように伸ばす */
.ba-item figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color_gold);
  padding: 16px;
}

/* 縦長・横長・正方形が混ざるので、枠だけ揃えて写真はトリミングしない */
.ba-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
  transition: opacity var(--transition);
}

.ba-item img:hover {
  opacity: 0.8;
}

.ba-item figcaption {
  --min-font: 12;
  --max-font: 14;
  line-height: 1.8;
  margin-top: 10px;
}

.ba-label {
  display: block;
  font-family: var(--font_en);
  color: var(--color_gold);
  --min-font: 14;
  --max-font: 18;
  line-height: 1.4;
}

@media (max-width: 520px) {
  .ba-list {
    gap: 35px;
  }

  .ba-item {
    gap: 12px;
  }

  .ba-item figure {
    padding: 10px;
  }
}

/* ==================================================
   お問い合わせ
================================================== */

/* 電話導線（entry-cta の派生）。住所をリードの直下に置く */
.entry-cta--contact .entry-cta-foot {
  color: var(--base_bg);
  margin-top: 0;
  margin-bottom: 28px;
}

/* 帯を画面幅いっぱいにせず、本文幅の箱として置く */
.entry-box {
  padding: 48px 5%;
}

/* お問い合わせの電話（仕様書どおり中央揃えで上から順に積む） */
.tel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--base_bg);
}

.tel-box .entry-cta-lead {
  margin-bottom: 4px;
}

.tel-box-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 1.2em;
  font-family: var(--font_serif);
  font-weight: 600;
  line-height: 1.3;
}

.tel-box-main,
.tel-box-main a {
  --min-font: 22;
  --max-font: 34;
}

.tel-box-main span {
  --min-font: 15;
  --max-font: 22;
}

.tel-box a {
  white-space: nowrap;
}

.tel-box-note {
  margin-top: 4px;
  --min-font: 12;
  --max-font: 14;
  line-height: 1.8;
}

.tel-box-dept {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.tel-box-dept .tel-box-note {
  margin-top: 0;
}

.tel-box-note span {
  display: inline-block;
}

.tel-box-dept + .tel-box-dept {
  margin-top: 8px;
}

@media (max-width: 520px) {
  .entry-box {
    padding: 32px 20px;
  }
}

/* reset.css で appearance: none されているので、チェックボックスも戻す */
.form-radio input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--color_gold);
  cursor: pointer;
}

/* SPは選択肢が不揃いに折り返すので1列にしてタップしやすくする */
@media (max-width: 520px) {
  .form-radio {
    flex-direction: column;
    gap: 14px;
  }
}

/* ==================================================
   スタッフ紹介
================================================== */

/* 人物カード（card-list の派生。切り抜き支給写真を丸で抜く・リンクなし） */
.card-list--staff .card-img {
  width: 80%;
  margin-inline: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

/* 切り抜き写真のページだけ丸にする（他ページの代表写真は四角のまま） */
.greeting-photo--round img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border: none;
  border-radius: 50%;
}

.card-list--staff .card-body {
  gap: 12px;
}

/* 横並びのカード同士で行の高さを共有し、資格の開始位置を揃える */
.card-list--staff .card-item {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 12px;
  padding: 32px 24px;
  background: color-mix(in srgb, #fff 5%, transparent);
}

.card-list--staff .card-img {
  margin-bottom: 12px;
}

.card-list--staff .card-body {
  display: contents;
}

.card-list--staff .works-tag {
  justify-self: start;
}

.card-list--staff .card-license {
  margin-top: 0;
}

@media (max-width: 520px) {
  .card-list--staff .card-img {
    width: 60%;
  }

  /* 代表写真もスタッフの写真と同じ大きさに揃える */
  .greeting-inner:not(.greeting-inner--movie) > .greeting-photo--round img {
    width: 60%;
    margin-inline: auto;
  }
}

/* 資格の有無で高さが揃わないためカード下端に寄せる */
.card-license {
  --min-font: 12;
  --max-font: 14;
  line-height: 1.8;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dotted color-mix(in srgb, #fff 40%, transparent);
}

.card-license dt {
  --min-font: 12;
  --max-font: 14;
  font-family: var(--font_serif);
  font-weight: 600;
  color: var(--color_gold);
}

.card-license dd {
  --min-font: 12;
  --max-font: 14;
  line-height: 1.8;
}

/* 部署の導入文 */
.staff-dept-lead {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

/* 部署の事業内容（表にせず文字だけで詰めて並べる） */
.staff-biz-list {
  --min-font: 13;
  --max-font: 16;
  line-height: 2;
}

.staff-biz-list dt {
  display: inline;
  font-weight: 700;
  color: var(--color_gold);
}

.staff-biz-list dd {
  display: inline;
}

/* 代表の資格（greeting の写真下に置く） */
.greeting-photo .card-license {
  margin-top: 16px;
}

/* ==================================================
   SP追従ボタン
================================================== */

/* PCはヘッダーに同じ導線があるので出さない */
.sp-fixed-bar {
  display: none;
}

@media (max-width: 1024px) {
  .sp-fixed-bar {
    display: flex;
    align-items: stretch;
    gap: 6px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 8px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--base_bg) 92%, transparent);
    z-index: 80;
  }

  .sp-fixed-bar a {
    --min-font: 12;
    --max-font: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 6px;
    border-radius: 6px;
    font-family: var(--font_serif);
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
  }

  .sp-fixed-bar-contact,
  .sp-fixed-bar-line {
    flex: 1;
    min-width: 0;
  }

  .sp-fixed-bar-contact {
    background: var(--color_gold);
    color: var(--color_btn_text);
  }

  .sp-fixed-bar-line {
    background: var(--color_line);
    color: #fff;
  }

  .sp-fixed-bar-tel {
    flex: none;
    width: 44px;
    background: #fff;
  }

  .sp-fixed-bar-tel img {
    width: 24px;
    height: 24px;
  }

  /* 追従バーの下にコピーライトが隠れるので逃げを作る */
  .copyright {
    padding-bottom: calc(50px + 60px + env(safe-area-inset-bottom));
  }
}

/* 施工の様子スライダー
-------------------------------------------------- */
.case-slider-main {
  position: relative;
  width: 94%;
  margin: 0 auto;
  overflow: hidden;
}

/* トラックを枠からはみ出させて、次の写真を右に覗かせる */
.case-slider-main .splide__track {
  width: 90%;
  overflow: visible;
}

.case-slider-main .splide__slide img {
  display: block;
  width: auto;
  height: min(442px, 65vw);
  margin: 0 auto;
}

.case-slider-main .splide__slide figcaption {
  --min-font: 12;
  --max-font: 14;
  max-width: 100%;
  line-height: 1.8;
  margin-top: 10px;
}

.case-slider-thumb {
  position: relative;
  width: 94%;
  margin: 12px auto 0;
}

.case-slider-thumb .splide__slide {
  cursor: pointer;
}

.case-slider-thumb .splide__slide img {
  display: block;
  width: 100%;
  height: min(143px, 18vw);
  object-fit: cover;
}

.case-slider .splide__arrow {
  --min-font: 30;
  --max-font: 30;
  position: absolute;
  z-index: 10;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: opacity var(--transition);
}

.case-slider .splide__arrow:hover {
  opacity: 0.7;
}

.case-slider .splide__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.case-slider .splide__arrow svg {
  display: none;
}

.case-slider .splide__arrow::before {
  font-family: "Material Icons";
  display: block;
  width: 100%;
  line-height: 1;
  text-align: center;
}

.case-slider .splide__arrow--prev {
  left: 0;
}

.case-slider .splide__arrow--prev::before {
  content: "\e5cb";
}

.case-slider .splide__arrow--next {
  right: 0;
}

.case-slider .splide__arrow--next::before {
  content: "\e5cc";
}

/* 写真の高さの中央に置く（キャプションを含めない） */
.case-slider-main .splide__arrow {
  top: calc(min(442px, 65vw) / 2);
  transform: translateY(-50%);
}

.case-slider-thumb .splide__arrow {
  --min-font: 20;
  --max-font: 20;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

/* 右に覗いているスライドのキャプションは迷子に見えるので隠す */
.case-slider-main .splide__slide:not(.is-active) figcaption {
  visibility: hidden;
}

/* 画像を切らずに見せる横長タイル（onstop-list--wide の派生）
-------------------------------------------------- */
.onstop-list--contain .onstop-thumb {
  aspect-ratio: 4/3;
}

.onstop-list--contain .onstop-thumb::before {
  inset: -24px;
  background: var(--thumb) center / cover no-repeat;
  filter: blur(16px);
  opacity: 0.2;
  z-index: 0;
}

.onstop-list--contain li a:hover .onstop-thumb::before {
  opacity: 0.2;
}

.onstop-list--contain li img {
  position: relative;
  z-index: 1;
  object-fit: contain;
}

/* 文字の入っていない写真は枠いっぱいに切り抜く */
.onstop-list--contain .onstop-thumb--cover img {
  object-fit: cover;
}

.onstop-list--contain li dl {
  position: static;
  align-items: flex-start;
  gap: 4px;
  padding: 20px 8% 0;
  text-align: left;
}

.onstop-list--contain li dt {
  color: var(--color_gold);
  --min-font: 13;
  --max-font: 15;
}

.onstop-list--contain li dd {
  --min-font: 18;
  --max-font: 22;
}

.onstop-list--contain .onstop-desc {
  padding-top: 12px;
}

/* 縦長動画（YouTubeショート）の枠
-------------------------------------------------- */
.case-movie--vertical {
  aspect-ratio: 9/16;
  width: min(100%, 240px);
  margin-inline: auto;
}

/* 社員インタビュー（左にコメント＋写真、右に縦長動画） */
.greeting-inner--movie {
  align-items: center;
  justify-content: center;
  width: min(90%, var(--base_width));
  margin-inline: auto;
  padding: 48px 40px;
  background: color-mix(in srgb, #fff 5%, transparent);
}

.greeting-inner--movie + .greeting-inner--movie {
  margin-top: 40px;
}

.greeting-inner--movie .greeting-photo {
  width: min(100%, 400px);
}

.greeting-inner--movie .greeting-text {
  flex: 0 0 240px;
}

.greeting-inner--movie .case-movie {
  margin-top: 0;
}

/* 社員インタビュー（左にテキスト、右に丸写真＋縦長動画のカード） */
.greeting-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px 40px;
  background: color-mix(in srgb, #fff 5%, transparent);
}

.greeting-card .greeting-photo {
  width: 200px;
}

.greeting-movie {
  flex: 0 0 240px;
}

.greeting-movie .case-movie {
  margin-block: 0;
}

.greeting-inner--movie .greeting-desc {
  margin-bottom: 16px;
  font-family: var(--font_serif);
  font-weight: 600;
  text-align: center;
}

.greeting-inner--movie .greeting-photo img {
  width: min(100%, 200px);
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .greeting-inner--movie {
    padding: 32px 20px;
  }

  .greeting-inner--movie .greeting-text {
    width: 100%;
  }

  .greeting-card {
    flex-direction: column;
    align-self: stretch;
    padding: 32px 20px;
  }

  .greeting-card .greeting-photo {
    width: min(100%, 200px);
  }

  .greeting-movie {
    flex: none;
    width: 100%;
  }
}

/* スマホで切り抜かず、元の縦横比のまま縮小する（両端の人物が切れるため）
-------------------------------------------------- */
@media (max-width: 520px) {
  .service-lead-photo--natural img {
    aspect-ratio: auto;
    height: auto;
  }
}

/* 動画モーダル（写真の再生ボタン・テキストボタンから開く）
-------------------------------------------------- */
.movie-thumb {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* button は reset.css で font を継承するため、アイコンの大きさは中の span で持つ */
/* 中央だと顔に重なるため右下に置く */
.movie-thumb-icon {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--color_gold);
  border-radius: 50%;
  background: var(--base_bg);
  color: var(--color_gold);
  --min-font: 36;
  --max-font: 44;
  transition:
    background var(--transition),
    color var(--transition);
}

.movie-thumb-icon::before {
  content: "\e037";
  font-family: "Material Icons";
}

.movie-thumb:hover .movie-thumb-icon {
  background: var(--color_gold);
  color: var(--base_bg);
}

.movie-link {
  display: flex;
  margin: 16px auto 0;
  background: none;
  cursor: pointer;
}

.movie-link::after {
  content: "\e037";
  font-family: "Material Icons";
}

.movie-modal {
  width: min(90vw, calc(85vh * 9 / 16));
  aspect-ratio: 9/16;
  padding: 0;
  border: 0;
  background: #000;
  overflow: visible;
}

.movie-modal::backdrop {
  background: color-mix(in srgb, #000 85%, transparent);
}

.movie-modal-body,
.movie-modal-body iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.movie-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}

.movie-modal-close span {
  --min-font: 32;
  --max-font: 32;
}

.movie-modal-close span::before {
  content: "\e5cd";
  font-family: "Material Icons";
}

/* スマホ見出しの改行調整
-------------------------------------------------- */
@media (max-width: 520px) {
  h1,
  h2,
  h3,
  .tit-catch,
  .promise-tit,
  .works-title,
  .tit-lead,
  .tit-lead-em,
  .onstop-catch,
  .case-block-tit,
  .card-title,
  .case-title,
  form label {
    word-break: auto-phrase;
    text-wrap: balance;
  }
  .service-lead-desc,
  .form-privacy-lead {
    text-wrap: pretty;
  }
}
