@charset "utf-8";

/* ================================================
   Rinto LP - 集客の設計図 オプトインページ
   Rinto v4 デザインシステム準拠
   ================================================ */

/* ---- Variables ---- */
:root {
  --navy:      #0C1235;
  --navy-mid:  #161D45;
  --text:      #0A0C1C;
  --muted:     #6B7280;
  --bg:        #ffffff;
  --bg-gray:   #F4F5FA;
  --border:    #E4E6EF;
  --white:     #ffffff;
  --red:       #e53e3e;
  --sans: 'Noto Sans JP', 'Inter', sans-serif;
}

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

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

/* ---- Layout ---- */
.lp-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Section Backgrounds ---- */
.section-navy {
  background: var(--navy);
}

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

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

/* ---- Grid: ヒーロー専用 3要素グリッド (mobile first) ---- */
/* SP順: キャッチコピー(1) → 画像(2) → フォーム(3) */
.lp-grid-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.lp-grid-hero .hero-copy  { order: 1; }
.lp-grid-hero .hero-right { order: 2; }
.lp-grid-hero .hero-form  { order: 3; }

@media (min-width: 769px) {
  /* PC: 左カラム(コピー上・フォーム下) / 右カラム(画像) */
  .lp-grid-hero {
    grid-template-columns: 1fr 380px;
    grid-template-rows: auto auto;
    column-gap: 60px;
    row-gap: 24px;
    align-items: start;
  }
  .lp-grid-hero .hero-copy  { grid-column: 1; grid-row: 1; order: unset; }
  .lp-grid-hero .hero-right { grid-column: 2; grid-row: 1 / span 2; order: unset; align-self: center; }
  .lp-grid-hero .hero-form  { grid-column: 1; grid-row: 2; order: unset; }
}

/* ---- Section Labels & Headings ---- */
.sec-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.sec-label--light {
  color: rgba(255, 255, 255, 0.45);
}

.sec-heading {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.sec-heading--white {
  color: var(--white);
}

/* ---- フォーム注記テキスト ---- */
.form-notice {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ---- Benchmark フォーム位置調整 ---- */
.hero-form .formbox-editor_E3NDG {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.hero-form .formbox-editor_E3NDG fieldset,
.hero-form #formbox_screen_subscribe_E3NDG,
.hero-form #formbox_screen_success_E3NDG {
  padding-left: 0 !important;
}

@media (max-width: 768px) {
  .hero-form .formbox-editor_E3NDG {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-form .formbox-editor_E3NDG fieldset {
    padding-right: 0 !important;
  }
}

/* ---- Hero Section ---- */
.hero-section {
  padding: 60px 20px 72px;
}

@media (min-width: 769px) {
  .hero-section {
    padding: 80px 20px 96px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.hero-problem {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-sub-copy {
  font-size: clamp(16px, 2.4vw, 20px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 4px;
}

.hero-main-catch {
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 32px;
}

.hero-book-img {
  text-align: center;
}

.hero-book-img img {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .hero-book-img img {
    max-width: 100%;
  }
}

/* ---- Benchmark Form Area ---- */
.benchmark-form-area {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 28px 24px 24px;
}

.form-label-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}

.benchmark-form-placeholder {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benchmark-form-placeholder input[type="email"] {
  font-family: var(--sans);
  font-size: 15px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.benchmark-form-placeholder input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.benchmark-form-placeholder input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.benchmark-form-placeholder button {
  width: 100%;
  padding: 16px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--white);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s;
  line-height: 1;
}

.benchmark-form-placeholder button:hover {
  opacity: 0.88;
}

.benchmark-form-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
  margin-top: 10px;
  display: block;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ---- Profile Section ---- */
.profile-section {
  padding: 72px 20px;
}

.profile-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 8px;
}

@media (min-width: 769px) {
  .profile-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-gray);
  flex-shrink: 0;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.profile-avatar-placeholder {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  padding: 0 8px;
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.profile-bio {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}

.profile-bio p + p {
  margin-top: 12px;
}

/* ---- Reason Section ---- */
.reason-section {
  padding: 72px 20px;
}

.reason-body {
  max-width: 720px;
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}

.reason-body p + p {
  margin-top: 16px;
}

/* ---- CTA Section (再ヒーロー) ---- */
.cta-section {
  padding: 80px 20px;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: left;
}

.cta-book-img img {
  max-width: 200px;
  width: 100%;
  margin: 0 auto;
}

.cta-section .benchmark-form-area {
  max-width: 460px;
  width: 100%;
}

.cta-scroll-btn {
  display: inline-block;
  padding: 18px 40px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--white);
  border-radius: 3px;
  text-decoration: none;
  transition: opacity 0.2s;
  line-height: 1;
}

.cta-scroll-btn:hover {
  opacity: 0.88;
  color: var(--navy);
}

@media (min-width: 769px) {
  .cta-inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 56px;
  }
  .cta-book-img img {
    max-width: 240px;
  }
  .cta-section .benchmark-form-area {
    max-width: 420px;
  }
}

/* ---- Footer ---- */
.lp-footer {
  padding: 40px 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
}

/* ---- Privacy Policy Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  z-index: 1000;
  overflow-y: auto;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-box {
  background: var(--white);
  max-width: 680px;
  width: 100%;
  border-radius: 4px;
  padding: 40px 32px;
  position: relative;
  margin: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  background: none;
  border: none;
  padding: 4px;
  font-family: var(--sans);
}

.modal-close:hover {
  color: var(--text);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.modal-body {
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
}

.modal-body p + p {
  margin-top: 14px;
}

.modal-footer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ---- Thanks Page ---- */
.thanks-complete-box {
  text-align: center;
  padding: 80px 20px;
}

.thanks-check-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.thanks-heading {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 20px;
}

.thanks-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2;
  max-width: 560px;
  margin: 0 auto;
}

.thanks-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
  display: block;
}

.thanks-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  padding: 18px 40px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--white);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.thanks-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.thanks-download-btn svg {
  flex-shrink: 0;
}

/* ---- 再CTA: ヒーローフォームへのスクロールボタン ---- */
.hero-cta-scroll {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 10px 0;
  padding: 18px 15px;
  text-align: center;
  text-decoration: none;
  background-color: #ffffff;
  color: rgb(19, 19, 93);
  border-radius: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s;
}

.hero-cta-scroll:hover {
  opacity: 0.85;
}

/* ---- Consult Benefits ---- */
.consult-intro {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 32px;
}

.consult-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 640px;
}

.consult-benefits li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

.consult-benefits li:first-child {
  border-top: 1px solid var(--border);
}

.consult-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

/* ---- Contact Form Section ---- */
.contact-form-section {
  padding: 72px 20px;
}

.form-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 620px;
  margin-bottom: 24px;
}

.form-table th,
.form-table td {
  padding: 0;
  text-align: left;
  vertical-align: top;
}

.form-table th {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding-top: 20px;
  padding-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-table td {
  display: block;
  padding-bottom: 4px;
}

@media (min-width: 769px) {
  .form-table {
    display: table;
  }
  .form-table th,
  .form-table td {
    display: table-cell;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .form-table th {
    width: 180px;
    padding-right: 24px;
    vertical-align: middle;
  }
}

.form-input,
.form-textarea,
.form-select {
  font-family: var(--sans);
  font-size: 15px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--navy);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #c0c4ce;
}

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

.required-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--red);
  margin-left: 6px;
  letter-spacing: 0.04em;
}

.form-privacy-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.9;
}

.form-privacy-note a {
  color: var(--navy);
}

.form-submit-btn {
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 18px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--navy);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s;
  line-height: 1;
}

.form-submit-btn:hover {
  opacity: 0.85;
}

/* ---- Contact Complete Page ---- */
.complete-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 80px 20px;
}

.complete-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.complete-heading {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.5;
}

.complete-body {
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 36px;
}

.complete-link {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}

.complete-link:hover {
  background: rgba(255, 255, 255, 0.08);
}
