@charset "utf-8";

/* 静的サイト（public/）の共通スタイル。 */

:root {
  --color-brand: #43b1a1;
  --color-brand-dark: #2f8a7c;
  --color-text: #222;
  --color-muted: #555;
  --color-line: #e3e8e7;
  --color-bg: #fff;
  --color-bg-soft: #f4f8f7;
  --width: 1200px;
}

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-brand-dark);
}

.inner {
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ----- ヘッダー ----- */
.header {
  background: #102d2d;
  border-bottom: 1px solid #ffffff14;
}

.header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 104px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.header__logo img {
  display: block;
  width: 180px;
}

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

.header__nav a {
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

/* ----- ボタン ----- */
.button {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: #fff;
  color: var(--color-brand-dark);
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.button--outline {
  background: transparent;
  color: #fff;
}

.button--brand {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: #fff;
}

.button--small {
  padding: 8px 24px;
  font-size: 14px;
}

/* ----- トップページ ----- */
.hero-page {
  background: #1d1d1d;
  color: #fff;
}

.hero-page .header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  background: transparent;
  border-bottom: 0;
}

.hero-page .header .inner {
  min-height: 120px;
}

.hero-page .header__nav .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 132px;
  min-height: 44px;
  padding: 10px 16px;
  line-height: 1.4;
}

.hero-page .header__nav .button--outline {
  color: #fff;
  background: transparent;
  border-color: #ffffffb3;
}

.hero-page .header__nav .button:not(.button--outline) {
  color: #fff;
  background: transparent;
  border-color: transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: #6565cd;
  background-image: linear-gradient(#17124426, #17124426), url("/assets/main-visual-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero__layout {
  display: grid;
  align-items: center;
  min-height: 760px;
  padding-top: 180px;
  padding-bottom: 80px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 64px;
  font-size: clamp(32px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.65;
}

.hero h1 br { display: none; }

.hero__information {
  margin-top: 40px;
}

.hero__service-status {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 20px 24px;
  border: 1px solid #ffffff59;
  border-radius: 6px;
  background: #211b513d;
  font-size: 14px;
  line-height: 1.8;
}

.hero__service-status p { margin: 0; }
.hero__service-status p:first-child { display: flex; align-items: baseline; justify-content: center; gap: 10px; color: #fff; }
.hero__service-status p + p { margin-top: 8px; color: #fff; font-size: 13px; }

.hero__notice {
  max-width: 560px;
  margin: 0 auto;
  color: #fff;
  font-size: 14px;
  line-height: 2;
  text-wrap: balance;
}

.hero__notice span {
  display: block;
}

.hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 0;
}

.hero__actions .button,
.hero__contact {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 264px;
  max-width: 100%;
  min-height: 60px;
  padding: 16px 48px;
  border: 2px solid #ffffffb3;
  border-radius: 7px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.hero__actions .button {
  border-color: #ff8900;
  background: #ff8900;
}

.hero__actions a > span {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
}

a, .button {
  transition: color .2s, background-color .2s, border-color .2s;
}

.button:hover { background: #e4f6ef; color: #102d2d; border-color: #e4f6ef; }
.button--brand:hover { background: var(--color-brand-dark); color: #fff; }
.hero__actions .button:hover { color: #fff; background: #e97900; border-color: #e97900; }
.hero__contact:hover { color: #fff; background: #ffffff1a; border-color: #fff; }
a:focus-visible { outline: 2px solid #43b1a1; outline-offset: 6px; }

/* ----- 文章のページ（利用規約など） ----- */
.page {
  padding: 48px 0 72px;
}

.page h1 {
  margin: 0 0 32px;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.4;
}

.page h2,
.page h3 {
  margin: 32px 0 8px;
  font-size: 18px;
  line-height: 1.5;
}

.page ul {
  padding-left: 1.4em;
}

.page table {
  width: 100%;
  border-collapse: collapse;
}

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

.page th {
  width: 30%;
  background: var(--color-bg-soft);
  white-space: nowrap;
}

/* ----- お問い合わせのフォーム（マツリカ） ----- */
.form-page {
  background: var(--color-brand);
  padding: 40px 0 72px;
}

.form-page h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(24px, 4vw, 32px);
  text-align: center;
}

.form-page__lead {
  margin: 0 0 24px;
  color: #fff;
  text-align: center;
}

/* ----- お問い合わせ完了 ----- */
.thankyou-page {
  display: grid;
  align-items: center;
  min-height: 60vh;
  padding: 96px 0;
  background: var(--color-brand);
  color: #fff;
  text-align: center;
}

.thankyou-page__label {
  margin: 0 0 24px;
  font-size: 14px;
  letter-spacing: .12em;
}

.thankyou-page h1 {
  margin: 0 0 32px;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.7;
}

.thankyou-page__message {
  margin: 0 0 40px;
  font-size: 15px;
  line-height: 2;
}

/* ----- フッター ----- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 13px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.footer__links a {
  color: var(--color-muted);
}

.footer address {
  margin: 0 0 12px;
  font-style: normal;
  font-size: 12px;
}

.footer small {
  font-size: 12px;
}

.hero-page .footer {
  border-color: #1d1d1d;
  background: #1d1d1d;
  color: #b0b0b0;
}

.hero-page .footer__links a { color: #fff; text-decoration: none; }
.hero-page .footer__links a:hover { color: #a6e4d1; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  a, .button { transition: none; }
}

@media (max-width: 767px) {
  .inner { padding-left: 24px; padding-right: 24px; }
  .header__logo img {
    width: 140px;
  }

  .header .inner {
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 88px;
    gap: 20px;
  }

  .header__nav { gap: 12px; }
  .header__nav .button { padding: 7px 12px; font-size: 12px; }
  .header__nav .button--outline { border-color: transparent; padding-left: 0; padding-right: 0; }

  .hero-page .header .inner { min-height: 88px; }
  .hero {
    background-image: linear-gradient(#17124426, #17124426), linear-gradient(89deg, #be38ffcc, #00c2cecc), url("/assets/main-visual-bg-mobile.png");
  }
  .hero__layout {
    min-height: 100svh;
    padding-top: 164px;
    padding-bottom: 72px;
  }
  .hero h1 br { display: initial; }
  .hero-page .header__logo img { width: 120px; }
  .hero-page .header__nav { gap: 8px; }
  .hero-page .header__nav .button { width: 88px; min-height: 40px; padding: 8px; }

  .hero h1 { font-size: clamp(27px, 6vw, 36px); margin-bottom: 40px; }
  .hero__service-status { padding: 20px 16px; font-size: 13px; }
  .hero__actions { flex-direction: column; gap: 16px; margin-top: 0; }
  .hero__actions .button, .hero__contact { min-height: 52px; padding: 12px 48px; font-size: 14px; }
  .footer { padding: 36px 0; }
  .footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .footer address { line-height: 2; }

  .page th,
  .page td {
    display: block;
    width: 100%;
  }

  .page th {
    border-bottom: none;
  }


}
