@charset "UTF-8";

/* ==========================================================================
   紡 tsumugi — style.css
   命名規則：BEM（Block__Element--Modifier）
   ブレークポイント：
     〜767px   … スマホ版
     768px〜   … PC版
     768〜1119px … ヘッダーナビをハンバーガーメニューに切り替え
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --a-900: #1d3f0f;
  --a-700: #346d18;
  --a-600: #3d7f1b;
  --a: #4a941f;
  --a-400: #6bab45;
  --a-300: #a5cf7f;
  --a-200: #d6e9c2;
  --a-100: #eff7e6;
  --ground: #faf9f5;
  --surface: #ffffff;
  --band: #f2f4ec;
  --ink: #232421;
  --ink-2: #4c4d47;
  --ink-3: #71726a;
  --line: #e3e0d7;
  --line-2: #cfcbc0;
  --required: #c0271a;
  --optional: #6b6862;

  --font-gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --header-h: 115px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-gothic);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

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

h1, h2, h3, p, ul, ol, figure, address, fieldset, legend {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

fieldset {
  border: 0;
  min-width: 0;
}

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

img {
  height: auto;
}

a {
  color: var(--a-700);
}

a:hover {
  color: var(--a-900);
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--a-200);
}

:focus-visible {
  outline: 2px solid var(--a);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- typography ---------- */
.section-title {
  margin: 0 0 12px;
  font: 700 27px/1.45 var(--font-mincho);
  letter-spacing: .01em;
  color: var(--ink);
}

.text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-2);
  text-wrap: pretty;
}

.text-small {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  text-wrap: pretty;
}

.card-title {
  margin: 0 0 6px;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.quote {
  padding: 16px 18px;
  background: var(--a-100);
  border: 1px solid var(--a-200);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-2);
  text-wrap: pretty;
}

.quote--name {
  max-width: 1000px;
}

@media (max-width: 767px) {
  .section-title {
    margin-bottom: 9px;
    font-size: 20.5px;
  }

  .text {
    font-size: 14px;
    line-height: 1.8;
  }

  .card-title {
    margin: 0;
  }

  .quote {
    padding: 12px;
    font-size: 13.5px;
    line-height: 1.85;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16.5px 23px;
  border: 0;
  font-family: var(--font-gothic);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn__icon {
  flex: none;
  width: 19px;
  height: 19px;
}

.btn--primary {
  background: var(--a-700);
  color: #fff;
}

.btn--primary:hover {
  background: var(--a-900);
  color: #fff;
}

.btn--outline {
  padding: 14.5px 20.5px;
  background: var(--surface);
  border: 1.5px solid var(--a-700);
  color: var(--a-700);
}

.btn--outline:hover {
  background: var(--a-100);
  color: var(--a-700);
}

@media (max-width: 767px) {
  .btn {
    gap: 9px;
    padding: 15.5px 16.5px;
    font-size: 14px;
  }

  .btn--outline {
    gap: 8px;
    padding: 13.5px 15.5px;
  }

  .btn__icon {
    width: 18px;
    height: 18px;
  }

  .btn--sp-block {
    width: 100%;
    white-space: normal;
  }
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
}

.header__logo {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.header__logo:hover {
  color: var(--ink);
}

.header__logo-img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.header__brand {
  font-family: var(--font-mincho);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .05em;
  white-space: nowrap;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__nav-link {
  display: block;
  padding: 9px 10px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}

.header__nav-link:hover {
  background: var(--a-100);
  color: var(--a-700);
}

.header__nav-link--current {
  border-bottom-color: var(--a-700);
}

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

.header__tel-label,
.header__contact-label--short {
  display: none;
}

.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--surface);
  border: 1.5px solid var(--a-700);
  transition: background-color .2s ease;
}

.header__burger:hover {
  background: var(--a-100);
}

/* 小さめのPC幅：ヘッダーのお問い合わせボタンを省いて電話番号ボタンを残し、ナビを1行に収める（お問い合わせはナビ内にあり） */
@media (min-width: 1120px) and (max-width: 1339px) {
  .header__contact {
    display: none;
  }

  .header__nav-list {
    gap: 8px;
  }
}

/* タブレット幅：ナビをハンバーガーメニューへ */
@media (max-width: 1119px) {
  .header__nav {
    display: none;
  }

  .header__actions {
    gap: 12px;
  }

  .header__burger {
    display: inline-flex;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 98px;
  }

  .header__inner {
    gap: 8px;
    padding: 18px 16px;
  }

  .header__logo {
    gap: 8px;
  }

  .header__logo-img {
    width: 61px;
    height: 61px;
  }

  .header__brand {
    font-size: 19px;
  }

  .header__actions {
    gap: 6px;
  }

  .header__tel-number,
  .header__contact-label,
  .header__contact .btn__icon {
    display: none;
  }

  .header__tel-label,
  .header__contact-label--short {
    display: inline;
  }

  .header__burger {
    width: 38px;
    height: 38px;
  }
}

/* 狭いスマホ幅：電話ボタンをアイコンのみにして1行に収める */
@media (max-width: 420px) {
  .header__tel {
    padding: 13.5px 11px;
  }

  .header__tel-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 374px) {
  .header__brand {
    font-size: 17px;
  }
}

@media (max-width: 359px) {
  .header__brand {
    display: none;
  }
}

/* ---------- SP menu (hamburger) ---------- */
.sp-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--a-700);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

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

.sp-menu__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: none;
  border: 0;
}

.sp-menu__nav {
  width: 100%;
}

.sp-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.sp-menu__list > li {
  width: 100%;
}

.sp-menu__link {
  display: block;
  width: 100%;
  padding: 15px 0;
  color: #fff;
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transform: translateY(8px);
  opacity: 0;
  transition: background-color .2s ease, transform .4s var(--ease), opacity .4s var(--ease);
}

.sp-menu--open .sp-menu__link {
  transform: none;
  opacity: 1;
}

.sp-menu__list > li:nth-child(2) .sp-menu__link { transition-delay: 0s, .04s, .04s; }
.sp-menu__list > li:nth-child(3) .sp-menu__link { transition-delay: 0s, .08s, .08s; }
.sp-menu__list > li:nth-child(4) .sp-menu__link { transition-delay: 0s, .12s, .12s; }
.sp-menu__list > li:nth-child(5) .sp-menu__link { transition-delay: 0s, .16s, .16s; }

.sp-menu__link:hover,
.sp-menu__link--current {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

/* ---------- section ---------- */
.section {
  padding: 26px 32px;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}

.section__inner {
  max-width: 1136px;
  margin: 0 auto;
}

.section--fill {
  background: var(--band);
}

.section--tint {
  background: var(--a-100);
}

@media (max-width: 767px) {
  .section {
    padding: 18px 16px;
  }
}

/* ---------- step label ---------- */
.step-label {
  flex: none;
  align-self: flex-start;
  padding: 6.5px 10px;
  background: var(--a-700);
  color: #fff;
  font: 700 14px/1 ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- page title (下層ページ) ---------- */
.page-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 1;
  padding: 22px 48px;
  background-color: var(--a-900);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 12, .5), rgba(20, 32, 12, .6));
}

.page-title__heading {
  position: relative;
  font: 700 41px/1.4 var(--font-mincho);
  letter-spacing: .01em;
  color: #fff;
}

.page-title__lead {
  position: relative;
  max-width: 900px;
  margin: 10px auto 0;
  font-size: 16px;
  line-height: 1.9;
  color: #fff;
  text-wrap: pretty;
}

@media (max-width: 767px) {
  .page-title {
    aspect-ratio: auto;
    min-height: calc((100vw) * 9 / 16);
    padding: 14px 16px;
  }

  .page-title__heading {
    font-size: 25.5px;
    line-height: 1.45;
  }

  .page-title__lead {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }
}

/* ---------- CTA band ---------- */
.cta {
  padding: 40px 32px;
  background: var(--a-700);
  text-align: center;
}

.cta__title {
  margin: 0 0 12px;
  font: 700 30.5px/1.45 var(--font-mincho);
  letter-spacing: .01em;
  color: #fff;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.cta .btn--primary {
  background: #fff;
  color: var(--a-900);
}

.cta .btn--primary:hover {
  background: var(--a-100);
}

.cta .btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .8);
  color: #fff;
}

.cta .btn--outline:hover {
  background: rgba(255, 255, 255, .14);
}

@media (max-width: 767px) {
  .cta {
    padding: 26px 16px;
  }

  .cta__title {
    margin-bottom: 9px;
    font-size: 20.5px;
  }

  .cta__title--large {
    font-size: 22px;
  }

  .cta__buttons {
    flex-direction: column;
    gap: 8px;
    margin-top: 0;
  }
}

/* ---------- footer ---------- */
.footer {
  padding: 36px 32px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

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

.footer__logo-img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.footer__info {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, .78);
}

.footer__tel {
  color: inherit;
  text-decoration: none;
}

.footer__tel:hover {
  color: #fff;
}

.footer__br-sp {
  display: none;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer__nav-link {
  display: block;
  padding: 9px 10px;
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .18s ease;
}

.footer__nav-link:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.footer__copy {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1;
  color: rgba(255, 255, 255, .5);
}

.footer__copy small {
  font-size: inherit;
}

@media (max-width: 767px) {
  .footer {
    padding: 26px 16px;
  }

  .footer__inner {
    gap: 10px;
  }

  .footer__logo-img {
    width: 108px;
    height: 108px;
  }

  .footer__info {
    line-height: 1.9;
  }

  .footer__sep {
    display: none;
  }

  .footer__br-sp {
    display: inline;
  }

  .footer__tel {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .footer__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .footer__nav-link {
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
  }

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

/* ==========================================================================
   ① トップページ
   ========================================================================== */

/* ---------- main visual ---------- */
.mv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 100px 32px 32px;
  overflow: hidden;
  background: #1a2610;
  border-bottom: 1px solid var(--line);
}

.mv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(20, 32, 12, .6), rgba(20, 32, 12, .68));
  pointer-events: none;
}

.mv__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.mv__slider .swiper-wrapper {
  height: 100%;
}

.mv__slide {
  height: 100%;
  overflow: hidden;
}

.mv__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(14px) scale(1.02);
  transition: transform 1.2s var(--ease);
}

.mv__slide.swiper-slide-active .mv__img {
  transform: translateY(0) scale(1);
}

.mv__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 820px;
  text-align: center;
}

.mv__logo {
  padding: 26px 41px;
  background: #fff;
}

.mv__logo-img {
  width: 243px;
  height: 243px;
  object-fit: contain;
}

.mv__title {
  font: 700 41px/1.4 var(--font-mincho);
  letter-spacing: .01em;
  color: #fff;
}

.mv__lead {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.9;
  color: #fff;
  text-wrap: pretty;
}

.mv__catch {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .14em;
  color: #fff;
}

.mv__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 767px) {
  .mv {
    min-height: 400px;
    padding: 82px 14px 14px;
  }

  .mv__content {
    gap: 12px;
    width: 100%;
  }

  .mv__logo {
    padding: 15px 23px;
  }

  .mv__logo-img {
    width: 192px;
    height: 192px;
  }

  .mv__title {
    font-size: 25.5px;
    line-height: 1.45;
  }

  .mv__lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .mv__lead-pc {
    display: none;
  }

  .mv__catch {
    font-size: 14px;
    letter-spacing: .12em;
  }

  .mv__buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
}

/* ---------- worries ---------- */
.worries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.worries__item {
  display: flex;
}

.worry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color .22s ease, border-color .22s ease;
}

.worry-card:hover {
  background: var(--a-100);
  border-color: var(--a-400);
  color: var(--ink-2);
}

.worry-card__icon {
  flex: none;
  width: 28px;
  height: 28px;
}

.worry-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.worry-card__text {
  font-size: 14px;
  line-height: 1.8;
}

.worry-card__link {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--a-700);
}

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

@media (max-width: 767px) {
  .worries {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .worry-card {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }

  .worry-card__icon {
    width: 26px;
    height: 26px;
  }

  .worry-card__body {
    gap: 6px;
    min-width: 0;
  }

  .worry-card__link {
    font-size: 13px;
  }
}

/* ---------- intro (紡について) ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(440px, 42%);
  align-items: center;
  gap: 26px;
}

.intro__text {
  margin-bottom: 42px;
}

.intro__image {
  aspect-ratio: 2816 / 1536;
  overflow: hidden;
}

.intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* 見出し → 画像 → 本文 の順に並べ替え */
  .intro__text {
    display: contents;
  }

  .intro__title {
    order: 1;
  }

  .intro__image {
    order: 2;
    margin-bottom: 10px;
  }

  .intro__text .quote {
    order: 3;
  }
}

/* ---------- service cards ---------- */
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.service-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__img--room {
  object-position: 50% 65%;
}

.service-card__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.service-card__text {
  flex: 1;
  font-size: 17.5px;
  line-height: 1.8;
  color: var(--ink-2);
  text-wrap: pretty;
}

.service-card__button {
  align-self: flex-start;
}

@media (max-width: 767px) {
  .service-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card__title {
    font-size: 17.5px;
  }

  .service-card__text {
    font-size: 14px;
  }

  .service-card__button {
    align-self: stretch;
  }
}

/* ---------- split (テキスト＋画像の2カラム) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(440px, 42%);
  align-items: center;
  gap: 26px;
}

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

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__button {
  margin-top: 14px;
}

@media (max-width: 767px) {
  .split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* 法人セクション：見出し → 画像 → 本文 → ボタン */
  .split:not(.split--sp-text-first) .split__text {
    display: contents;
  }

  .split:not(.split--sp-text-first) .section-title { order: 1; }
  .split:not(.split--sp-text-first) .split__image { order: 2; }
  .split:not(.split--sp-text-first) .split__desc { order: 3; margin-top: 14px; }
  .split:not(.split--sp-text-first) .split__button { order: 4; margin-top: 10px; }

  /* 対応エリア：見出し → 本文 → 画像 */
  .split--sp-text-first .split__text {
    margin-bottom: 10px;
  }
}

/* ---------- reasons ---------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.reason-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s ease;
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(35, 52, 18, .14);
  border-color: var(--a-300);
}

.reason-card__icon {
  flex: none;
  width: 31px;
  height: 31px;
}

.reason-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

@media (max-width: 767px) {
  .reasons {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reason-card {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }

  .reason-card__icon {
    width: 26px;
    height: 26px;
  }
}

/* ---------- flow (簡易版) ---------- */
.flow {
  display: flex;
  align-items: stretch;
  gap: 66px;
}

.flow__step {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -49px;
  width: 30px;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23346d18' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(-50%);
}

.flow__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

@media (max-width: 1023px) {
  .flow {
    gap: 40px;
  }

  .flow__step:not(:last-child)::after {
    right: -34px;
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 767px) {
  .flow {
    flex-direction: column;
    gap: 50px;
  }

  .flow__step {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }

  .flow__step .step-label {
    align-self: center;
  }

  .flow__step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -39px;
    left: 50%;
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23346d18' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v15'/%3E%3Cpath d='m6 13 6 6 6-6'/%3E%3C/svg%3E");
    transform: translateX(-50%);
  }
}

/* ---------- profile (代表の紹介) ---------- */
.profile {
  display: grid;
  grid-template-columns: 293px minmax(0, 1fr);
  grid-template-areas:
    "image title"
    "image body";
  grid-template-rows: auto 1fr;
  column-gap: 26px;
  align-items: center;
}

.profile__title {
  grid-area: title;
  align-self: end;
}

.profile__image {
  grid-area: image;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__body {
  grid-area: body;
  align-self: start;
}

.profile__name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.profile__button {
  margin-top: 12px;
}

/* 会社紹介ページ：見出しはセクション上部、画像と本文を横並び */
.profile--detail {
  grid-template-areas:
    "title title"
    "image body";
  grid-template-rows: auto auto;
}

.profile--detail .profile__title {
  align-self: start;
}

.profile--detail .profile__body {
  align-self: center;
}

.profile--detail .profile__name {
  margin-bottom: 10px;
  font-size: 19px;
}

@media (max-width: 1023px) {
  .profile {
    grid-template-columns: min(293px, 34%) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .profile,
  .profile--detail {
    display: block;
  }

  .profile__image {
    width: 217px;
    margin: 0 auto 12px;
  }

  .profile__name {
    margin-bottom: 6px;
    font-size: 16.5px;
  }

  .profile--detail .profile__name {
    margin-bottom: 8px;
    font-size: 16.5px;
  }

  .profile__button {
    margin-top: 10px;
  }
}

/* ==========================================================================
   ② サービス紹介ページ
   ========================================================================== */
.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "title ba"
    "text ba"
    "detail ba"
    "button ba";
  grid-template-rows: auto auto auto 1fr;
  column-gap: 26px;
}

.service-detail__title { grid-area: title; }
.service-detail__text { grid-area: text; }
.service-detail__detail { grid-area: detail; margin-top: 16px; }

.service-detail__button {
  grid-area: button;
  align-self: start;
  justify-self: start;
  margin-top: 14px;
}

.service-detail__ba {
  grid-area: ba;
  align-self: center;
}

.detail {
  border: 1px solid var(--line);
}

.detail__head {
  padding: 10px 14px;
  background: var(--a-100);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.before-after__label {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.before-after__img {
  width: 100%;
  aspect-ratio: 1408 / 768;
  object-fit: cover;
}

@media (max-width: 959px) {
  .service-detail__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "ba"
      "text"
      "detail"
      "button";
    grid-template-rows: auto;
  }

  .service-detail__ba {
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .service-detail__detail {
    margin-top: 12px;
  }

  .service-detail__button {
    justify-self: stretch;
    margin-top: 10px;
  }

  .detail__head {
    padding: 9px 12px;
    font-size: 13.5px;
    line-height: 1.5;
  }

  .before-after {
    gap: 8px;
  }

  .before-after__label {
    margin-bottom: 3px;
    font-size: 13px;
    line-height: 1.3;
  }
}

/* ---------- info table（詳細情報欄・お取引条件・事業所概要） ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.info-table th,
.info-table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.info-table th {
  width: 34%;
  background: var(--a-100);
  color: var(--ink);
  font-weight: 700;
}

.detail__table tr:first-child th,
.detail__table tr:first-child td {
  border-top: 0;
}

.detail__table th:first-child {
  border-left: 0;
}

.detail__table td:last-child {
  border-right: 0;
}

.detail__table tr:last-child th,
.detail__table tr:last-child td {
  border-bottom: 0;
}

.info-table--white {
  background: #fff;
}

.info-table--outline {
  max-width: 900px;
}

.info-table__tel {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 767px) {
  .info-table {
    font-size: 13.5px;
  }

  .info-table__tel {
    color: var(--a-700);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* ==========================================================================
   ③ 法人・管理会社の方へページ
   ========================================================================== */
.flow-detail {
  overflow: hidden;
}

.flow-detail__inner {
  max-width: 736px;
}

.flow-detail__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow-detail__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

@media (max-width: 767px) {
  .flow-detail__list {
    gap: 8px;
  }

  .flow-detail__step {
    flex-direction: column;
    gap: 7px;
    padding: 10px;
  }

  .flow-detail__body {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
}

/* ---------- accordion ---------- */
.accordion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 26px;
}

.accordion__item {
  background: var(--surface);
  border: 1px solid var(--line);
}

.accordion__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px;
  background: none;
  border: 0;
  text-align: left;
  transition: background-color .2s ease;
}

.accordion__head:hover {
  background: var(--a-100);
}

.accordion__icon {
  flex: none;
  width: 28px;
  height: 28px;
}

.accordion__title {
  flex: 1;
  min-width: 0;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.accordion__toggle {
  flex: none;
  width: 26px;
  height: 26px;
}

.accordion__toggle-v {
  transition: opacity .2s ease;
}

.accordion__item--open .accordion__toggle-v {
  opacity: 0;
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .32s var(--ease), opacity .24s ease;
}

.accordion__item--open .accordion__panel {
  opacity: 1;
}

.accordion__body {
  padding: 0 16px 16px;
}

.accordion__text {
  padding: 12px 14px;
  background: var(--band);
  border: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-2);
}

@media (max-width: 767px) {
  .accordion {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .accordion__head {
    gap: 10px;
    padding: 10px;
  }

  .accordion__icon {
    width: 26px;
    height: 26px;
    margin-top: 1px;
  }

  .accordion__toggle {
    width: 23px;
    height: 23px;
  }

  .accordion__text {
    padding: 10px;
    font-size: 14px;
    line-height: 1.8;
  }
}

/* ---------- note card（継続依頼） ---------- */
.note-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.note-card__icon {
  flex: none;
  width: 28px;
  height: 28px;
}

@media (max-width: 767px) {
  .note-card {
    padding: 10px;
  }

  .note-card__icon {
    display: none;
  }
}

/* ==========================================================================
   ④ 紡について・会社紹介ページ
   ========================================================================== */
.strengths {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.strength-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background-color .22s ease, border-color .22s ease;
}

.strength-card:hover {
  background: var(--a-100);
  border-color: var(--a-400);
}

.strength-card__icon {
  flex: none;
  width: 33px;
  height: 33px;
}

@media (max-width: 767px) {
  .strengths {
    gap: 8px;
  }

  .strength-card {
    gap: 10px;
    padding: 10px;
  }

  .strength-card__icon {
    width: 26px;
    height: 26px;
  }

  .strength-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
}

/* ==========================================================================
   ⑤ お問い合わせページ
   ========================================================================== */
.contact-inner {
  max-width: 900px;
}

.contact-lead {
  max-width: 900px;
  margin: 0 auto;
  font: 700 19px/1.7 var(--font-mincho);
  letter-spacing: .01em;
  text-align: center;
  text-wrap: pretty;
}

.contact-note {
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.8;
  color: var(--ink-2);
}

.contact-note--form {
  margin: 0 0 18px;
}

.contact-info {
  font-size: 19px;
  line-height: 1.8;
  color: var(--ink-2);
  text-wrap: pretty;
}

.contact-info__head {
  font-weight: 400;
}

/* ---------- tel box ---------- */
.tel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  background: var(--a-100);
  border: 2px solid var(--a-700);
}

.tel-box__number {
  color: var(--ink);
  font-size: 41px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.tel-box__number:hover {
  color: var(--a-700);
}

.tel-box__hours {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}

.tel-box__tap {
  display: none;
}

@media (max-width: 767px) {
  .contact-lead {
    text-align: left;
  }

  .contact-note {
    margin-top: 8px;
    font-size: 16px;
  }

  .contact-note--form {
    margin: 0 0 12px;
  }

  .contact-info {
    font-size: 16px;
  }

  .tel-box {
    padding: 16px;
    text-align: center;
  }

  .tel-box__number {
    margin-top: 6px;
    color: var(--a-700);
    font-size: 30.5px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .tel-box__tap {
    display: inline;
  }

  .tel-box__hours-label {
    display: none;
  }
}

/* ---------- form ---------- */
.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.form__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.form__tag {
  display: inline-block;
  flex: none;
  padding: 5px 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
}

.form__tag--required {
  background: var(--required);
}

.form__tag--optional {
  background: var(--optional);
}

.form__input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 8px 13px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 0;
  font-size: 18px;
  line-height: 1.6;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form__input::placeholder {
  color: #a9a79f;
}

.form__input:focus {
  outline: none;
  border-color: var(--a);
  box-shadow: inset 0 0 0 2px var(--a);
}

.form__input--textarea {
  height: 141px;
  resize: vertical;
}

.form__input--invalid,
.form__fieldset--invalid .choice__label {
  border-color: var(--required);
}

.form__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  position: relative;
  display: inline-flex;
}

.choice__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14.5px 20.5px;
  background: var(--surface);
  border: 1.5px solid var(--a-700);
  color: var(--a-700);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.choice__label::before {
  display: inline-block;
  width: 1em;
  text-align: center;
}

.choice__label--radio::before {
  content: "◯";
}

.choice__label--checkbox::before {
  content: "☐";
}

.choice__label:hover {
  background: var(--a-100);
}

.choice__input:checked + .choice__label {
  background: var(--a-700);
  color: #fff;
}

.choice__input:checked + .choice__label--radio::before {
  content: "◉";
}

.choice__input:checked + .choice__label--checkbox::before {
  content: "☑";
}

.choice__input:focus-visible + .choice__label {
  outline: 2px solid var(--a);
  outline-offset: 2px;
}

.form__agree {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.form__agree-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__agree-box {
  position: relative;
  flex: none;
  width: 23px;
  height: 23px;
  background: var(--surface);
  border: 1px solid #666;
  transition: background-color .2s ease, border-color .2s ease;
}

.form__agree-box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .2s ease;
}

.form__agree-input:checked + .form__agree-box {
  background: var(--a-700);
  border-color: var(--a-700);
}

.form__agree-input:checked + .form__agree-box::after {
  transform: rotate(45deg) scale(1);
}

.form__agree-input:focus-visible + .form__agree-box {
  outline: 2px solid var(--a);
  outline-offset: 2px;
}

.form__agree--invalid .form__agree-box {
  border-color: var(--required);
}

.form__agree-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  font-size: 16px;
  line-height: 1.6;
}

.form__error {
  display: none;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--required);
}

.form__error--visible {
  display: block;
}

.form__button {
  padding: 19px 51px;
  font-size: 18px;
}

/* ---------- 送信完了 ---------- */
.form-complete {
  padding: 28px;
  background: var(--a-100);
  border: 2px solid var(--a-700);
  text-align: center;
}

.form-complete[hidden] {
  display: none;
}

.form-complete__title {
  margin-bottom: 12px;
  font: 700 27px/1.45 var(--font-mincho);
}

.form-complete__text {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-2);
}

@media (max-width: 767px) {
  .form__fields {
    gap: 11px;
  }

  .form__row {
    display: contents;
  }

  .form__input {
    height: 44px;
  }

  .form__input--textarea {
    height: 115px;
  }

  .form__label-pc {
    display: none;
  }

  .form__choices {
    gap: 6px;
  }

  .choice__label {
    gap: 8px;
    padding: 13.5px 15.5px;
    font-size: 14px;
  }

  .form__agree {
    align-items: flex-start;
    gap: 8px;
  }

  .form__agree-box {
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }

  .form__agree-box::after {
    top: 2px;
    left: 6px;
  }

  .form__button {
    width: 100%;
    padding: 18px 15.5px;
    font-size: 16.5px;
  }

  .form-complete {
    padding: 18px 14px;
  }

  .form-complete__title {
    font-size: 20.5px;
  }

  .form-complete__text {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }
}
