/* ==========================================================================
   Tailor Gyosei Online LP - style.css
   カラー方針: 紺(信頼) + 白(清潔) + 紫(行動喚起のアクセント)
   ========================================================================== */

:root {
  --color-navy: #33314c;
  --color-navy-dark: #232135;
  --color-purple: #a68fc2;
  --color-purple-light: #cbb9d9;
  --color-orange: #cf8a5c;
  --color-orange-light: #e3ab81;
  --color-white: #fffdf9;
  --color-bg-light: #f7f1e6;
  --color-lavender: #ece3f1;
  --color-text: #2c2a3a;
  --color-text-muted: #4f4a5c;
  --color-border: #e6ddec;

  /* 紫グラデーション: バッジ・ステップ番号などの装飾アクセント用 */
  --gradient-cta: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-light) 100%);
  /* オレンジグラデーション: CTAボタン専用（クリックを誘導する要素だけに使用） */
  --gradient-btn: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);

  --font-base: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-serif: "Shippori Mincho", "Noto Serif JP", serif;
  --max-width: 1080px;
  --radius: 12px;
  --shadow-card: 0 4px 16px rgba(51, 49, 76, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.section--lavender {
  background: var(--color-lavender);
}

.section--light {
  background: var(--color-bg-light);
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading__label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--color-purple);
  font-weight: 700;
  margin-bottom: 12px;
}

.section--navy .section-heading__label {
  color: var(--color-purple-light);
}

.section-heading__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
}

@media (max-width: 480px) {
  #pain .section-heading__title,
  #flow .section-heading__title {
    font-size: 21px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
}

.section-heading__desc {
  margin-top: 16px;
  color: var(--color-text-muted);
}

.section--navy .section-heading__desc {
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Button ---------- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn--primary {
  background: var(--gradient-btn);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(242, 153, 74, 0.35);
}

.btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(242, 153, 74, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header__logo-ja {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--color-navy);
}

.header__logo-en {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-top: 2px;
}

.header__nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.header__nav a:hover {
  color: var(--color-purple);
}

.header__cta .btn {
  padding: 10px 24px;
  font-size: 14px;
}

.header__nav-cta {
  display: none;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header__menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* メニュー項目が多いので、1080px 以下はハンバーガーメニューにする */
@media (max-width: 1080px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    padding: 8px 24px 20px;
  }

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

  .header__nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .header__nav-cta {
    display: inline-block;
    text-align: center;
    margin-top: 16px;
    border-bottom: none;
  }

  .header__cta {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 96px;
  background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-white) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero__tag {
  background: var(--color-lavender);
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-navy);
  margin: 0 0 20px;
}

.hero__title-phrase {
  display: inline-block;
  white-space: nowrap;
}

.hero__desc {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.hero__image-wrap {
  position: relative;
}

.hero__image-wrap::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 72px;
  height: 72px;
  background: var(--color-purple-light);
  border-radius: 0 0 60px 0;
  z-index: 0;
}

.hero__image-wrap::after {
  content: "";
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 96px;
  height: 40px;
  background: var(--color-navy);
  border-radius: 60px 0 0 0;
  z-index: 0;
}

.hero__image {
  position: relative;
  z-index: 1;
  background: var(--color-lavender);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

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

  .hero__title {
    font-size: 28px;
  }
}

@media (max-width: 400px) {
  .hero__title {
    font-size: 24px;
  }
}

/* ---------- Pain points ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.pain-card__audience {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-purple);
  margin-bottom: 12px;
}

.pain-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-lavender);
  color: var(--color-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.pain-card__title {
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-card__text {
  font-size: 15px;
  color: var(--color-text-muted);
}

.pain-card__solution {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--color-lavender);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
}

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

/* ---------- Service ---------- */
.service-list {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 48px;
}

.service-list__item {
  display: flex;
}

.service-list__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-lavender);
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  word-break: keep-all;
  padding: 8px 18px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .service-list {
    gap: 6px;
  }

  .service-list__badge {
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 14px;
  }
}

.service-rows {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--color-border);
}

.service-row__tag {
  flex-shrink: 0;
  border: 1px solid var(--color-purple-light);
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 13px;
  border-radius: 999px;
}

.service-row__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
}

.service-row__note {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .service-row {
    gap: 14px;
    padding: 20px 0;
  }

  .service-row__title {
    font-size: 16px;
  }
}

/* 帰化LP（/kika/）への入口 */
.service-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  margin: 40px auto 0;
  padding: 24px 28px;
  background: var(--color-lavender);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(51, 49, 76, 0.16);
}

.service-banner__tag {
  flex-shrink: 0;
  background: var(--gradient-cta);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 13px;
  border-radius: 999px;
}

.service-banner__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-banner__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
}

.service-banner__note {
  margin-top: 6px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.service-banner__more {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-orange);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .service-banner {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 14px;
    padding: 20px;
  }

  .service-banner__title {
    font-size: 16px;
  }

  .service-banner__more {
    width: 100%;
    text-align: right;
  }
}

/* ---------- Flow (steps) ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.flow-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 28px 20px;
  position: relative;
}

.flow-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-cta);
  font-weight: 700;
  margin-bottom: 16px;
}

.flow-card__title {
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-card__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

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

/* ---------- Profile ---------- */
.profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.profile__photo {
  aspect-ratio: 3 / 4;
  background: var(--color-lavender);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple);
  font-size: 14px;
  overflow: hidden;
}

.profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.profile__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.profile__role {
  font-size: 13px;
  color: var(--color-purple);
  font-weight: 700;
  margin-bottom: 8px;
}

.profile__credential {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.profile__text {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 12px;
}

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

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.price-card__name {
  margin-bottom: 12px;
}

.price-card__title {
  font-weight: 700;
  color: var(--color-navy);
}

.price-card__amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
}

.price-card__amount span {
  margin-left: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.price-note {
  max-width: 760px;
  margin: 32px auto 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.price-cta {
  margin-top: 32px;
  text-align: center;
}

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

  .price-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    text-align: left;
  }

  .price-card__name {
    margin-bottom: 0;
  }

  .price-card__amount {
    flex-shrink: 0;
    font-size: 26px;
    white-space: nowrap;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-item__q::before {
  content: "Q";
  color: var(--color-purple);
  margin-right: 12px;
}

.faq-item__icon {
  transition: transform 0.2s ease;
  color: var(--color-purple);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 15px;
  color: var(--color-text-muted);
  padding: 0 8px;
}

.faq-item.is-open .faq-item__a {
  max-height: 240px;
  padding: 0 8px 20px 28px;
}

/* ---------- Contact form ---------- */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.form-row .required {
  color: #d8536a;
  font-size: 11px;
  margin-left: 6px;
}

.form-row .optional {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 28px 20px;
  }
}

/* スパム対策の隠し欄（人には見えない） */
.form-honeypot {
  display: none;
}

.form-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 24px;
  font-size: 13px;
  color: var(--color-text);
  cursor: pointer;
}

.form-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--color-orange);
}

.form-consent a {
  color: var(--color-navy);
  text-decoration: underline;
}

.form-consent .required {
  color: #d8536a;
  font-size: 11px;
  margin-left: 6px;
  white-space: nowrap;
}

/* ---------- 下層ページ（送信完了・プライバシーポリシー） ---------- */
.subpage {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.subpage h1 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--color-navy);
  margin-bottom: 32px;
  text-align: center;
}

.subpage h2 {
  font-size: 17px;
  color: var(--color-navy);
  margin: 32px 0 8px;
}

.subpage p,
.subpage li {
  font-size: 15px;
  line-height: 1.9;
}

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

.subpage__center {
  text-align: center;
}

.subpage__center .btn {
  margin-top: 32px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
  font-size: 13px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer__logo {
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.footer__nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
}

/* ---------- Scroll reveal (fade-in-up) ----------
   JS(scripts/main.js)が .reveal を付与し、画面内に入ったら .is-visible を追加する */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
