@charset "UTF-8";
/* ==========================================================================
   home.css
   ビューティーハウス コーポレートサイト / トップページ専用スタイル

   1. ヒーロー
   2. 企業理念
   3. 選ばれる理由
   4. 事業内容
   5. 施工実績
   6. ご依頼の流れ
   7. 対応エリア
   8. 代表メッセージ
   9. よくあるご質問
   10. レスポンシブ
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ヒーロー
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 7vw, 92px));
  padding-bottom: clamp(76px, 10vw, 140px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 720px;
  height: 720px;
  background:
    radial-gradient(circle at 42% 42%, rgba(126, 211, 239, 0.26), rgba(126, 211, 239, 0) 72%),
    radial-gradient(circle at 68% 68%, rgba(207, 93, 56, 0.07), rgba(207, 93, 56, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__head {
  position: relative;
  z-index: 2;
  max-width: 940px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-brand);
  animation: heroUp 1s 0.1s var(--ease-out) both;
}

.hero__label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--c-sea-light);
}

.hero__title {
  margin-top: clamp(14px, 2vw, 22px);
  font-size: clamp(2.9rem, 5.6vw, 6.2rem);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: 0.005em;
}

.hero__title em {
  font-style: normal;
  color: var(--c-brand);
}

.hero__title .reveal-mask > span {
  padding-bottom: 0.06em;
}

.hero__title .reveal-mask:nth-child(1) > span { transition-delay: 0.15s; }
.hero__title .reveal-mask:nth-child(2) > span { transition-delay: 0.3s; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero__lead {
  margin-top: clamp(18px, 2.4vw, 26px);
  font-size: clamp(1.5rem, 1.85vw, 1.7rem);
  line-height: 2.1;
  color: var(--c-ink-mid);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 3.4vw, 38px);
}

.hero__media {
  position: relative;
  z-index: 2;
  margin-top: clamp(34px, 5vw, 62px);
}

.hero__visual {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 36px);
  box-shadow: var(--sh-lg);
  animation: heroFade 1.3s 0.4s var(--ease-out) both;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(30px) scale(0.986); }
  to   { opacity: 1; transform: none; }
}

.hero__img {
  display: block;
  width: 100%;
  height: clamp(300px, 40vw, 540px);
  object-fit: cover;
  object-position: center 58%;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(22, 41, 94, 0) 0%, rgba(22, 41, 94, 0.62) 100%);
  pointer-events: none;
}

.hero__caption {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  bottom: clamp(72px, 8vw, 96px);
  z-index: 2;
  max-width: 22em;
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  font-weight: 700;
  line-height: 1.8;
  color: var(--c-white);
  text-shadow: 0 2px 14px rgba(22, 41, 94, 0.4);
}

.hero__stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 1040px);
  margin: clamp(-72px, -6vw, -48px) auto 0;
  padding: clamp(22px, 3vw, 34px) clamp(14px, 2vw, 28px);
  background: var(--c-white);
  border-radius: var(--radius-l);
  box-shadow: var(--sh-lg);
}

.hero__stat {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding-inline: clamp(8px, 1.6vw, 20px);
  text-align: center;
}

.hero__stat + .hero__stat {
  border-left: 1px solid var(--c-line);
}

.hero__stat-value {
  font-family: var(--f-en);
  font-size: clamp(3.6rem, 5vw, 5.2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--c-brand);
}

.hero__stat-unit {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-brand-dark);
}

.hero__stat-label {
  margin-top: 6px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-ink-soft);
}

/* --------------------------------------------------------------------------
   2. 企業理念
   -------------------------------------------------------------------------- */
.phi__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.phi__statement {
  margin-top: clamp(20px, 3vw, 32px);
  font-family: var(--f-mincho);
  font-size: clamp(2.3rem, 3.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--c-brand-deep);
}

.phi__statement ruby rt {
  font-size: 0.3em;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--c-brand);
}

.phi__text {
  margin-top: clamp(18px, 2.6vw, 28px);
}

.phi__text p {
  font-size: 1.5rem;
  line-height: 2.15;
  color: var(--c-ink-mid);
}

.phi__text p + p {
  margin-top: 1.4em;
}

.phi__btn {
  margin-top: clamp(24px, 3.2vw, 36px);
}

.phi__visual {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 34px);
  background: var(--g-sea-soft);
  box-shadow: var(--sh-md);
}

.phi__visual img {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 460px);
  object-fit: cover;
  object-position: center 42%;
}

/* --------------------------------------------------------------------------
   3. 選ばれる理由
   -------------------------------------------------------------------------- */
.reason__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  counter-reset: reason;
}

.reason__item {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  overflow: hidden;
  background: var(--c-white);
  border-radius: var(--radius-l);
  box-shadow: var(--sh-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.reason__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}

.reason__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--g-sea);
}

.reason__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--c-brand);
  background: var(--g-sea-soft);
  border-radius: 18px;
}

.reason__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reason__num {
  position: absolute;
  top: clamp(20px, 2.6vw, 32px);
  right: clamp(22px, 3vw, 40px);
  font-family: var(--f-en);
  font-size: clamp(3.6rem, 5vw, 5.4rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(41, 176, 224, 0.16);
}

.reason__title {
  margin-top: clamp(16px, 2.2vw, 24px);
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.55;
}

.reason__text {
  margin-top: 12px;
  font-size: 1.45rem;
  line-height: 2.05;
  color: var(--c-ink-mid);
}

/* --------------------------------------------------------------------------
   4. 事業内容
   -------------------------------------------------------------------------- */
.service__lead {
  font-size: 1.5rem;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.service__card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  box-shadow: var(--sh-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.service__card > a {
  display: block;
  height: 100%;
  padding: clamp(26px, 3vw, 36px);
}

.service__card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--sh-md);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--c-brand);
  background: var(--g-sea-soft);
  border-radius: 18px;
  transition: color 0.4s var(--ease), background 0.4s var(--ease);
}

.service__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service__card:hover .service__icon {
  color: var(--c-white);
  background: var(--g-sea);
}

.service__card--accent .service__icon {
  color: var(--c-tile-dark);
  background: var(--c-tile-pale);
}

.service__card--accent:hover .service__icon {
  color: var(--c-white);
  background: var(--g-sunset);
}

.service__en {
  display: block;
  margin-top: clamp(16px, 2.2vw, 24px);
  font-family: var(--f-en);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--c-brand);
}

.service__card--accent .service__en {
  color: var(--c-tile);
}

.service__title {
  margin-top: 2px;
  font-size: clamp(1.9rem, 2.2vw, 2.15rem);
  font-weight: 700;
}

.service__text {
  margin-top: 10px;
  font-size: 1.4rem;
  line-height: 1.98;
  color: var(--c-ink-mid);
}

.service__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-brand);
}

.service__more::after {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.service__card:hover .service__more::after {
  width: 30px;
}

.service__card--accent .service__more {
  color: var(--c-tile-dark);
}

/* --------------------------------------------------------------------------
   5. 施工実績
   -------------------------------------------------------------------------- */
.works__lead {
  font-size: 1.5rem;
}

.works__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

.works__item {
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.works__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}

.works__images {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--c-line);
}

.works__fig {
  position: relative;
  margin: 0;
}

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

.works__cap {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 12px;
  font-family: var(--f-en);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-white);
  border-radius: 999px;
}

.works__cap--before { background: rgba(16, 32, 63, 0.74); }
.works__cap--after  { background: var(--c-brand); }

.works__body {
  padding: clamp(20px, 2.4vw, 28px);
}

.works__title {
  margin-top: 12px;
  font-size: clamp(1.6rem, 1.9vw, 1.82rem);
  font-weight: 700;
  line-height: 1.6;
}

.works__text {
  margin-top: 8px;
  font-size: 1.38rem;
  line-height: 1.95;
  color: var(--c-ink-mid);
}

.works__more,
.faq-pre__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 52px);
}

/* --------------------------------------------------------------------------
   6. ご依頼の流れ
   -------------------------------------------------------------------------- */
.flow__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}

.flow__item {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--c-sky);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
}

.flow__item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(clamp(12px, 1.6vw, 20px) / -2 - 5px);
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--c-sea-light);
  border-right: 2px solid var(--c-sea-light);
  transform: translateY(-50%) rotate(45deg);
}

.flow__item:last-child::after {
  display: none;
}

.flow__step {
  font-family: var(--f-en);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--c-brand);
}

.flow__title {
  margin-top: 6px;
  font-size: clamp(1.6rem, 1.9vw, 1.8rem);
  font-weight: 700;
  line-height: 1.5;
}

.flow__text {
  margin-top: 10px;
  font-size: 1.35rem;
  line-height: 1.95;
  color: var(--c-ink-mid);
}

/* --------------------------------------------------------------------------
   7. 対応エリア
   -------------------------------------------------------------------------- */
.area {
  padding-block: clamp(24px, 4vw, 48px);
}

.area__box {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(34px, 5.6vw, 88px);
  overflow: hidden;
  color: var(--c-white);
  background: var(--g-sea);
  border-radius: clamp(22px, 3.2vw, 40px);
  box-shadow: var(--sh-lg);
}

.area__box::before {
  content: "";
  position: absolute;
  inset: auto 0 -10% 0;
  height: 60%;
  background:
    radial-gradient(circle at 12% 100%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 62%),
    radial-gradient(circle at 78% 90%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%);
  pointer-events: none;
}

.area__body {
  position: relative;
  z-index: 2;
}

.area__title {
  margin-top: clamp(18px, 2.6vw, 28px);
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  font-weight: 700;
  line-height: 1.62;
}

.area__text {
  margin-top: 16px;
  font-size: 1.45rem;
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.93);
}

.area__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 3vw, 30px);
}

.area__tags li {
  padding: 7px 18px;
  font-size: 1.3rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.area__btn {
  margin-top: clamp(24px, 3.4vw, 36px);
}

.area__deco {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.area__deco svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* --------------------------------------------------------------------------
   8. 代表メッセージ
   -------------------------------------------------------------------------- */
.message__box {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.message__visual {
  text-align: center;
}

.message__photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--g-sea-soft);
  border-radius: 26px;
}

.message__photo img {
  width: 72%;
}

.message__id {
  margin-top: 16px;
}

.message__role {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-ink-soft);
}

.message__name {
  font-size: clamp(2rem, 2.4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.4;
}

.message__name-en {
  font-family: var(--f-en);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--c-ink-soft);
}

.message__lead {
  margin-top: clamp(18px, 2.6vw, 28px);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.8;
}

.message__body .sec-text {
  margin-top: 16px;
  font-size: 1.45rem;
}

.message__btn {
  margin-top: clamp(24px, 3.2vw, 34px);
}

/* --------------------------------------------------------------------------
   9. よくあるご質問（details / summary）
   -------------------------------------------------------------------------- */
.faq-pre__list {
  display: grid;
  gap: 14px;
}

.faq-pre__item {
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.faq-pre__item[open] {
  border-color: var(--c-sea-light);
  box-shadow: var(--sh-md);
}

.faq-pre__item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(12px, 2vw, 20px);
  align-items: center;
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.6vw, 30px);
  cursor: pointer;
  list-style: none;
}

.faq-pre__item summary::-webkit-details-marker {
  display: none;
}

.faq-pre__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--f-en);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--c-white);
  background: var(--g-sea);
  border-radius: 50%;
}

.faq-pre__mark--a {
  background: var(--g-sunset);
}

.faq-pre__q {
  font-size: clamp(1.5rem, 1.85vw, 1.72rem);
  font-weight: 700;
  line-height: 1.75;
}

.faq-pre__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-pre__icon::before,
.faq-pre__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: var(--c-brand);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.faq-pre__icon::before { width: 16px; height: 2px; }
.faq-pre__icon::after  { width: 2px; height: 16px; }

.faq-pre__item[open] .faq-pre__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-pre__a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(12px, 2vw, 20px);
  align-items: start;
  padding: 0 clamp(18px, 2.6vw, 30px) clamp(22px, 2.8vw, 30px);
}

.faq-pre__a p {
  font-size: 1.48rem;
  line-height: 2.1;
  color: var(--c-ink-mid);
}

/* --------------------------------------------------------------------------
   10. レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .service__grid,
  .works__list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .flow__item::after {
    display: none;
  }

  .phi__grid,
  .area__box {
    grid-template-columns: 1fr;
  }

  .area__deco {
    order: -1;
  }

  .area__deco svg {
    max-width: 230px;
  }
}

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

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

  .message__visual {
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  .message__id {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .hero__img {
    height: 52vw;
    min-height: 220px;
  }

  .hero__caption {
    bottom: 18px;
    font-size: 1.35rem;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
    padding: 22px 20px;
  }

  .hero__stat {
    grid-template-columns: auto auto 1fr;
    justify-items: start;
    align-items: baseline;
    gap: 4px 10px;
    text-align: left;
    padding-inline: 0;
  }

  .hero__stat + .hero__stat {
    border-left: none;
    border-top: 1px solid var(--c-line);
    padding-top: 16px;
  }

  .hero__stat-label {
    margin-top: 0;
    justify-self: end;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  .service__grid,
  .works__list,
  .flow__list {
    grid-template-columns: 1fr;
  }

  .works__body {
    padding: 20px;
  }

  .phi__visual img {
    height: 46vw;
    min-height: 200px;
  }
}

@media (max-width: 560px) {
  .message__visual {
    grid-template-columns: 104px 1fr;
    gap: 16px;
  }

  .area__tags li {
    padding: 6px 14px;
    font-size: 1.2rem;
  }

  .hero__stat-value {
    font-size: 3.4rem;
  }
}
