/* ========================================
   診断プラス LP - Stylesheet
   ======================================== */

/* ----------------------------------------
   1. CSS Variables
   ---------------------------------------- */
:root {
  /* Primary Colors - Figmaに合わせて調整 */
  --primary-orange: #FA532F;
  --primary-orange-dark: #E87E10;
  --primary-orange-light: #FFF4E6;
  --primary-blue: #4A90D9;
  --primary-blue-dark: #3A7BC8;
  --accent-red: #FA532F;

  /* Background Colors - より暖かみのある色に調整 */
  --bg-cream: #FFF8F0;
  --bg-beige: #FFF5EB;
  --bg-peach: #FFEADB;
  --bg-white: #FFFFFF;
  --bg-gray-light: #F9F9F9;

  /* Text Colors */
  --text-dark: #4D4D4D;
  --text-gray: #667085;
  --text-muted: #707070;
  --text-light: #999999;

  /* Border & Shadow */
  --border-color: #E5E5E5;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  --border-radius-pill: 50px;
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Spacing */
  --section-padding: 80px;
  --section-padding-mobile: 48px;
  --container-max-width: 1200px;
  --container-padding: 24px;

  /* Font */
  --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ----------------------------------------
   2. Reset & Base Styles
   ---------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ----------------------------------------
   3. Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* ----------------------------------------
   4. Layout Utilities
   ---------------------------------------- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-icon {
  display: inline-block;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------
   5. Components - Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--border-radius-pill);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-orange);  /* #FA532F */
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn-blue {
  background: #2FA0E0;
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-orange {
  background: transparent;
  border: 2px solid var(--primary-orange);
  color: var(--primary-orange);
}

.btn-outline-orange:hover {
  background: var(--primary-orange);
  color: white;
}

.btn-yellow {
  background: #FCB242;
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn-white {
  background: #fff;
  color: #667085;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid #667085
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn-large {
  padding: 12px 32px;
  font-size: 1.4rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* 白色化 */
}

/* ----------------------------------------
   6. Header
   ---------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 16px var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 40px
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-text-img {
  width: 130px;
}

.nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  color: var(--text-gray);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-orange);
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-buttons .btn {
  font-size: 18px;
  padding: 7px 24px
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .header-buttons {
    display: flex;
  }

  .header-buttons .btn {
    padding: 10px 12px;
    font-size: 0.75rem;
  }

  .header-buttons .btn-icon {
    width: 12px;
    height: 12px;
  }

  .hamburger {
    display: none;
  }
}

/* ----------------------------------------
   7. Hero Section
   ---------------------------------------- */
.hero {
  padding-top: 120px;
  padding-bottom: var(--section-padding);
  background: url('../images/bg_hero.png') no-repeat center top;
  background-size: cover;
  overflow: hidden;
}

/* Retina対応 - 2x */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero {
    background-image: url('../images/bg_hero@2x.png');
  }
}

/* Retina対応 - 3x */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
  .hero {
    background-image: url('../images/bg_hero@3x.png');
  }
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--text-dark);
  /* align-self: flex-start; */
  letter-spacing: -5%
}

.hero-subtitle {
  font-size: 1.7rem;
  color: var(--text-gray);
  margin-bottom: 24px;
  /* align-self: flex-start; */
  font-weight: 700;
  letter-spacing: -5%
}

.hero-features {
  margin-bottom: 32px;
  display: inline-flex;
  flex-direction: column;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  color: var(--text-gray);
  margin-bottom: 12px;
  font-weight: 700;
  /* width: 280px; */
  letter-spacing: -5%
}

.feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Feature Icon Color Variants */
.feature-icon-yellow {
  filter: brightness(0) saturate(100%) invert(76%) sepia(47%) saturate(1000%) hue-rotate(356deg) brightness(101%) contrast(97%);
}

.feature-icon-red {
  filter: brightness(0) saturate(100%) invert(45%) sepia(98%) saturate(2000%) hue-rotate(346deg) brightness(100%) contrast(96%);
}

.feature-icon-blue {
  filter: brightness(0) saturate(100%) invert(55%) sepia(75%) saturate(500%) hue-rotate(175deg) brightness(95%) contrast(90%);
}

/* Hero Visual - Diagnosis Image */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual .hero-video-frame {
  width: 620px;
  height: 400px;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-visual .hero-video-frame video {
  width: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #EDEDED
}

.hero-visual .hero-video-frame .hero-video-caption {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #4d4d4d;
  position: relative;
  top: 5px;
}

.hero-visual .hero-video-frame .hero-video-caption::before {
  content: '●';
  font-size: 10px;
  color: #FCB242;
  position: relative;
  top: -1px;
}

.hero-visual .hero-mobile-image {
  position: absolute;
  top: 62px;
  right: -32px;
  width: 168px;
  height: 364px;
}

.hero-visual .hero-mobile-image img {
  transform: rotate(11deg);
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Mobile-only hero image - hidden on desktop */
.hero-image-mobile {
  display: none;
}

.hero-image {
  width: 100%;
  height: auto;
  max-width: 560px;
  object-fit: contain;
}

/* Legacy: Diagnosis Cards (unused) */
.diagnosis-cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.diagnosis-card {
  position: absolute;
  width: 240px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.diagnosis-card:hover {
  transform: translateY(-8px);
}

.diagnosis-card .card-header {
  background: var(--primary-orange);
  color: white;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}

.diagnosis-card .card-body {
  padding: 16px;
}

.diagnosis-card .card-description {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.diagnosis-card .card-avatars {
  display: flex;
  gap: 8px;
}

.diagnosis-card .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD6B3, #FFB380);
}

.diagnosis-card .card-colors {
  display: flex;
  gap: 8px;
}

.diagnosis-card .color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.diagnosis-card .color-dot.yellow { background: #FFD700; }
.diagnosis-card .color-dot.blue { background: #4A90D9; }

.diagnosis-card .card-types {
  display: flex;
  gap: 8px;
  font-size: 0.625rem;
  color: var(--text-muted);
}

.diagnosis-card .card-footer {
  padding: 12px 16px;
}

.diagnosis-card .card-btn {
  width: 100%;
  padding: 8px 16px;
  background: var(--primary-orange);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--border-radius-pill);
}

.card-1 {
  top: 0;
  right: 20%;
  z-index: 3;
}

.card-2 {
  top: 60px;
  right: 0;
  z-index: 2;
}

.card-3 {
  top: 120px;
  right: 40%;
  z-index: 1;
}

.is_tab {
  display: none
}

@media (max-width: 1024px) {
  .is_tab,.is_sp.is_tab {
    display: block
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-features {
    margin-top: 20px
  }

  .hero-features li {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-image-mobile {
    display: block;
    margin: 12px 0;
  }

  .hero-image-mobile .hero-visual {
    display: flex;
  }

  .hero-image-mobile .hero-visual .hero-video-frame {
    width: 90%;
    height: 100%;
  }

  .hero-visual .hero-mobile-image {
    width: 20%;
    right: 1%;
    height: 100%;
    bottom: -32%;
    top: initial;
  }

  .hero-visual .hero-video-frame .hero-video-caption {
    font-size: 8px;
    top: 2px;
  }

  .hero-visual .hero-video-frame .hero-video-caption::before {
    font-size: 6px;
    top: -1px;
  }

}

.is_sp {
  display: none
}

@media (max-width: 768px) {
  .is_sp {
    display: block
  }

  .btn {
    gap: 4px;
    line-height: 1;
    padding: 8px 24px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .btn span {
    transform: translateY(-1px);
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 1.15rem;
  }

  .logo-icon img {
    width: 30px
  }
  .logo-text-img {
    width: 97.5px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 1.75rem;
    align-self: center;
    text-align: center;
  }

  .hero-subtitle {
    align-self: center;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0
  }

  .hero-image-mobile {
    display: block;
    margin: 12px 0;
  }

  .hero-image-mobile img {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .hero-features {
    align-items: center;
    margin-bottom: 12px
  }

  .hero-features li {
    justify-content: flex-start;
    width: 260px;
    font-size: 1rem;
  }

  .feature-icon {
    width: 14px;
    height: 14px;
  }
}

/* ----------------------------------------
   8. Section 1: Features
   ---------------------------------------- */
.section-features {
  padding: var(--section-padding) 0;
  background: url('../images/bg_sec1.png') no-repeat center center;
  background-size: cover;
}

/* Section 1 Retina対応 - 2x */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .section-features {
    background-image: url('../images/bg_sec1@2x.png');
  }
}

/* Section 1 Retina対応 - 3x */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
  .section-features {
    background-image: url('../images/bg_sec1@3x.png');
  }
}

/* Section Subtitle */
.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 16px;
  max-width: initial;
}

/* Text Card Row - 2カラムレイアウト（重なりあり） */
.text-card-row {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
}

.text-card-row:last-of-type {
  margin-bottom: 0;
}

/* Text Card - Figmaデザイン準拠 */
.text-card {
  background: white;
  border-radius: 64px;
  padding: 48px;
  box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

/* Image Card - 画像専用カード（背景透明、前面） */
.text-card.image-card {
  background: transparent;
  box-shadow: none;
  align-items: center;
  padding: 0;
  position: relative;
  z-index: 2;
  flex: 0 0 auto; /* flex: 1を解除、自然なサイズ */
  width: 45%; /* 幅を指定 */
}

/* 偶数位置(2,4 = Row 1,3): テキスト左、画像右 → 画像を左にずらして重ねる */
.text-card-row:nth-child(even) .text-card.image-card {
  margin-left: -40px;
}

/* 奇数位置(3,5 = Row 2,4): 画像左、テキスト右 → テキストカードを左にずらして重ねる */
.text-card-row:nth-child(odd) .text-card:not(.image-card) {
  margin-left: -40px;
}

/* テキストカードを上方向にオフセット（Figmaデザイン準拠） */
.text-card:not(.image-card) {
  align-self: flex-start;
  margin-top: -20px;
}

/* Row 1,3: テキスト左 → 右側パディング追加（画像カードとの余白確保） */
.text-card-row:nth-child(even) .text-card:not(.image-card) {
  padding-right: 80px;
}

/* Row 2,4: テキスト右 → 左側パディング追加（画像カードとの余白確保） */
.text-card-row:nth-child(odd) .text-card:not(.image-card) {
  padding-left: 80px;
}

/* Row 4: stats-card のスタイル */
.text-card.image-card.stats-card {
  background: #F7FAFB;
  padding: 32px;
  border-radius: 32px;
  box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.05);
}

/* stats-card内の画像は影なし */
.text-card.image-card.stats-card .text-card-image {
  box-shadow: none;
}

.text-card.image-card .text-card-image {
  width: 100%;
  max-width: 100%; /* 親要素の幅いっぱいに */
  height: auto;
  border-radius: 16px;
}

/* 2枚目の画像カード（豊富なテンプレート）に白背景を追加 */
.text-card-row:nth-child(3) .text-card.image-card .text-card-image {
  background: white;
}

.text-card-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  padding-left: 16px;
}

.text-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #4d4d4d;
  margin: 0;
  display: flex;
  align-items: center;
}

.text-card-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 40px;
  background: #F97316;
  border-radius: 3px;
  margin-right: 16px;
  flex-shrink: 0;
}

.text-card-description {
  font-size: 1rem;
  color: #667085;
  line-height: 1.8;
  margin: 0;
}

.text-card-description .highlight {
  color: #fa532f;
  text-decoration: underline;
  text-underline-position: from-font;
}

.text-card-../images {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.text-card-image {
  width: 200px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .text-card-row {
    margin-bottom: 48px;
  }

  .text-card {
    padding: 32px;
    border-radius: 40px;
  }

  .text-card-content {
    padding-left: 12px;
  }

  .text-card-title {
    font-size: 1.5rem;
  }

  .text-card-title::before {
    height: 32px;
    margin-right: 12px;
  }

  .text-card-row:nth-child(odd) .text-card.image-card,
  .text-card-row:nth-child(even) .text-card:not(.image-card) {
    /* margin-left: -30px; */
  }
  .text-card-row:nth-child(2n) .text-card:not(.image-card) {
    padding-right: 69px
  }

  .text-card.image-card .text-card-image {
    max-width: 340px;
  }
}

@media (max-width: 768px) {
  .text-card-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .text-card {
    padding: 24px;
    border-radius: 32px;
    width: 100%;
  }

  /* モバイルでは画像カードを常に先に表示 */
  .text-card.image-card {
    order: -1;
    width: 75%;
    max-width: 280px;
    margin-bottom: -40px;
    z-index: 2;
    position: relative;
  }

  /* モバイルでテキストカードを中央揃え */
  .text-card:not(.image-card) {
    margin-top: 0;
    padding-top: 56px;
    align-self: center;
    width: 90%;
  }

  .text-card-content {
    gap: 16px;
    padding-left: 8px;
  }

  .text-card-title {
    font-size: 1.25rem;
  }

  .text-card-title::before {
    height: 28px;
    width: 4px;
    margin-right: 10px;
  }

  .text-card-description {
    font-size: 0.875rem;
  }

  /* モバイルでは重なりを解除（全カードのmargin-leftをリセット） */
  .text-card-row:nth-child(odd) .text-card.image-card,
  .text-card-row:nth-child(even) .text-card:not(.image-card),
  .text-card-row:nth-child(even) .text-card.image-card,
  .text-card-row:nth-child(odd) .text-card:not(.image-card) {
    margin-left: 0;
  }

  /* モバイルでのパディングを均等に（デスクトップのnth-child指定を上書き） */
  .text-card-row:nth-child(even) .text-card:not(.image-card),
  .text-card-row:nth-child(odd) .text-card:not(.image-card) {
    padding: 56px 24px 24px 24px;
  }

  .text-card.image-card .text-card-image {
    max-width: 100%;
  }

  .section-subtitle {
    font-size: 0.875rem;
  }
}

/* ----------------------------------------
   9. Section 2: Industries
   ---------------------------------------- */
.section-industries {
  padding: var(--section-padding) 0;
  background: #FFFBF1;
}

.industry-container {
  background: white;
  border: 4px solid #FCB242;
  border-radius: 32px;
  padding: 32px;
  margin-top: 20px;
}

.industry-info-bar {
  margin-top: -60px;
  margin-bottom: 16px;
  text-align: center;
}

.industry-header-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
  cursor: pointer;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.industry-card-image {
  width: calc(100% - 8px);
  height: auto;
  display: block;
  margin: 4px 4px 0;
}

.industry-card-label {
  padding: 8px 4px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #707070;
}

.industry-footer-text {
  text-align: center;
  font-size: 1.65rem;
  color: var(--text-gray);
  margin-top: 3rem
}

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

@media (max-width: 640px) {
  .industry-container {
    padding: 24px 16px 20px;
    border-radius: 24px;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .industry-card-label {
    font-size: 0.75rem;
  }

  .industry-footer-text {
    font-size: 1.1rem
  }

  .industry-info-bar {
    padding-top: 15px
  }
}

/* ----------------------------------------
   10. Section 3: Other Features
   ---------------------------------------- */
.section-other-features {
  padding: var(--section-padding) 0;
  background: url('../images/bg_sec3.png') no-repeat center bottom;
  background-size: cover;
  position: relative;
  background-position-y: 0px
}

/* Section 3 Retina対応 - 2x */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .section-other-features {
    background-image: url('../images/bg_sec3@2x.png');
  }
}

/* Section 3 Retina対応 - 3x */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
  .section-other-features {
    background-image: url('../images/bg_sec3@3x.png');
  }
}

.other-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.other-feature-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  border-radius: 70px;
  padding: 48px;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
}

.other-feature-card:hover {
  transform: translateY(-4px);
}

.other-feature-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-x {
  width: 32px;
  height: 32px;
  background: #000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.social-fb {
  width: 32px;
  height: 32px;
  background: #1877F2;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.social-line {
  width: 32px;
  height: 32px;
  background: #06C755;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
}

.collect-icon,
.survey-icon,
.analytics-icon,
.team-icon,
.qr-icon {
  font-size: 2.5rem;
}

.other-feature-content {
  flex: 1;
}

.other-feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px dotted #E0E0E0;
  color: var(--text-dark);
}

.highlight-orange {
  color: var(--primary-orange);
}

.highlight-yellow {
  color: #F5A623;
}

.feature-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.other-feature-text {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.other-features-note {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .other-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .other-features-grid {
    gap: 24px
  }

  .other-feature-card {
    /* flex-direction: column; */
    /* text-align: center; */
    padding: 24px;
    border-radius: 30px
  }

  /* モバイルでは常に: 画像 → タイトル → ライン → テキスト の順 */
  .other-feature-icon {
    order: -1;
  }

  .other-feature-content {
    order: 1;
  }
}

/* ----------------------------------------
   11. Section 4: Pricing
   ---------------------------------------- */
.section-pricing {
  padding: var(--section-padding) 0;
  background: url('../images/bg_sec4.png') no-repeat center center;
  background-size: cover;
}

/* Section 4 Retina対応 - 2x */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .section-pricing {
    background-image: url('../images/bg_sec4@2x.png');
  }
}

/* Section 4 Retina対応 - 3x */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
  .section-pricing {
    background-image: url('../images/bg_sec4@3x.png');
  }
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 64px;
}

.pricing-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.pricing-card.free {
  /* border: 2px solid var(--border-color); */
  position: relative;
  padding-top: 0;
  overflow: visible;
}

.pricing-card.free .pricing-card-icon {
  position: absolute;
  top: -43px;
  left: 0px;
  width: 100px;
  height: auto;
  font-size: inherit;
  margin-bottom: 0;
  z-index: 10;
}

.pricing-card.free .calc-icon {
  width: 100%;
  height: auto;
  display: block;
}

.pricing-card.standard {
  /* border: 2px solid #2FA0E0; */
  padding-top: 0;
  overflow: hidden;
}

.pricing-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.pricing-card-badge {
  background: #2FA0E0;
  color: white;
  padding: 16px 24px;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin: 0 -32px 32px -32px;
  border-radius: 14px 14px 0 0;
  display: block;
}

.pricing-card-header.free-header {
  background: #E8E8E8;
  color: #667085;
  padding: 16px 24px;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin: 0 -32px 32px -32px;
  position: relative;
  border-radius: 14px 14px 0 0;
}

.pricing-card-header.free-header::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #E8E8E8;
}

.pricing-card.free .pricing-label {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card.free .pricing-price {
  text-align: center;
}

.pricing-card.free .btn-full {
  margin-left: 24px;
  margin-right: 24px;
  width: calc(100% - 48px);
  font-size: 1.4rem;
  line-height: 1;
  padding: 20px;
}

.pricing-card.free .btn-full .btn-icon {
  width: 20px;
  height: 20px
}

.pricing-card.standard .pricing-label {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card.standard .pricing-price {
  text-align: center;
}

.pricing-card.standard .price-value {
  color: #2FA0E0;
}

.pricing-card.standard .price-unit {
  color: #2FA0E0;
  font-weight: 700;
}

.pricing-card.standard .price-tax {
  color: #2FA0E0;
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.pricing-label {
  font-size: 1.1rem;
  color: var(--text-gray);
  padding: 0px 20px;
  border: 1px solid var(--text-gray);
  border-radius: var(--border-radius-pill);
  display: inline-block;
}

.pricing-price {
  height: 80px;
  margin-bottom: 4px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.price-value {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary-orange);
  line-height: 1.4
}

.price-value.free-price {
  color: var(--primary-orange);
}

.price-unit {
  font-size: 1.3rem;
  color: var(--text-gray);
}

.price-tax {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features {
  margin-bottom: 24px;
}

.pricing-card.free .pricing-features {
  margin-bottom: 40px
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 0;
  /* border-bottom: 1px solid var(--border-color); */
}

.pricing-features li:last-child {
  border-bottom: none;
}

.check-icon {
  font-size: 0.875rem;
  font-weight: 700;
}

.check-icon.green {
  color: #4CAF50;
}

.check-icon.orange {
  color: var(--primary-orange);
}

.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: #667085;
  border-radius: 50%;
}

.check-badge img {
  width: 12px;
  height: auto;
}

.check-badge.orange {
  background: #FCB242;
}

.feature-name {
  flex: 1;
  font-size: 1.05rem;
  color: var(--text-gray);
}

.feature-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.feature-value.highlight {
  color: var(--primary-orange);
  background: #FFE8E5;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
}

/* .pricing-card.free .feature-value { */
/*   font-size: 0.875rem; */
/*   font-weight: 700; */
/*   color: #707070; */
/*   background: #F0F0F0; */
/*   padding: 6px 16px; */
/*   border-radius: var(--border-radius-pill); */
/*   border: none; */
/*   min-width: 72px; */
/*   text-align: center; */
/*   display: inline-block; */
/*   white-space: nowrap; */
/* } */

.pricing-card .feature-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #707070;
  background: #F0F0F0;
  padding: 0px 16px;
  border-radius: var(--border-radius-pill);
  width: 100px;
  box-sizing: content-box;
  text-align: center;
  display: inline-block;
  white-space: nowrap;
}

.pricing-card.standard .feature-value.highlight {
  color: white;
  background: #FCB242;
}

.pricing-card.standard li:has(.feature-value.highlight) .feature-name {
  color: #F5A623;
}

/* Pricing Comparison */
.pricing-comparison {
  max-width: 900px;
  margin: 0 auto;
}

.comparison-header {
  text-align: center;
  margin-bottom: 32px;
}

.comparison-banner-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.comparison-table-image {
  text-align: center;
  margin: 24px 0;
}

.comparison-table-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.comparison-badge {
  font-size: 2rem;
  margin-bottom: 16px;
}

.comparison-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.comparison-subtitle {
  font-size: 1.15rem;
  color: var(--text-gray);
}

.comparison-highlight {
  text-align: center;
  margin-bottom: 32px;
  padding: 16px 32px;
  background: var(--primary-orange);
  color: white;
  border-radius: var(--border-radius-lg);
  font-size: 1.25rem;
  font-weight: 700;
}

.highlight-number {
  font-size: 2rem;
  margin: 0 4px;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-bottom: 16px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-gray-light);
  font-weight: 600;
  color: var(--text-gray);
}

.comparison-table .row-label {
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-gray-light);
}

.comparison-table .highlight-col {
  background: var(--primary-orange-light);
}

.comparison-table .highlight-col th {
  background: var(--primary-orange);
  color: white;
}

.table-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 700;
}

.price-highlight {
  color: var(--primary-orange);
  font-weight: 700;
}

.comparison-note {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

  .pricing-card {
    padding: 20px
  }

  .comparison-table {
    font-size: 0.75rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 8px;
  }

  .pricing-card.free .pricing-card-icon {
    width: 70px;
    top: -22px
  }
}

/* ----------------------------------------
   12. Section 5: FAQ
   ---------------------------------------- */
.section-faq {
  padding: var(--section-padding) 0;
  background: #FFF9F0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto 32px;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-gray-light);
}

.faq-q-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.faq-q-text {
  flex: 1;
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer p {
  padding: 0 24px 20px 72px;
  font-size: 0.9375rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-more {
  text-align: center;
}

.faq-more .btn-large {
  font-size: 1.2rem
}

/* ----------------------------------------
   13. Footer Area (CTA + Footer wrapper)
   ---------------------------------------- */
.footer-area {
  background: url('../images/bg_footer.png') no-repeat center top;
  background-size: cover;
}

/* Footer Area Retina対応 - 2x */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .footer-area {
    background-image: url('../images/bg_footer@2x.png');
  }
}

/* Footer Area Retina対応 - 3x */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
  .footer-area {
    background-image: url('../images/bg_footer@3x.png');
  }
}

/* ----------------------------------------
   14. CTA Section
   ---------------------------------------- */
.section-cta {
  padding: var(--section-padding) 0;
}

.section-cta .container {
  display: flex;
  justify-content: center;
}

.cta-card {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  width: 840px
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.cta-buttons .btn-large {
  font-size: 1.2rem;
  width: 220px
}

.cta-note {
  font-size: 1rem;
  color: var(--text-gray);
}

.cta-visual {
  position: relative;
}

.cta-example-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.cta-diagnosis-card {
  width: 200px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.cta-diagnosis-card .card-header {
  background: var(--primary-orange);
  color: white;
  padding: 10px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.cta-diagnosis-card .card-body {
  padding: 12px;
}

.cta-diagnosis-card .card-description {
  font-size: 0.625rem;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.cta-diagnosis-card .card-footer {
  padding: 8px 12px;
}

.cta-diagnosis-card .card-btn {
  width: 100%;
  padding: 6px 12px;
  background: var(--primary-orange);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: var(--border-radius-pill);
}

@media (max-width: 1024px) {
  .cta-card {
    grid-template-columns: 1fr auto;
    gap: 24px;
  }

  .cta-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .cta-visual {
    display: flex;
    align-items: center;
  }

  .cta-example-img {
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px;
    gap: 16px;
    text-align: center;
  }

  /* .cta-contentを透過させて子要素を直接並べ替え可能に */
  .cta-content {
    display: contents;
  }

  /* モバイルでの順序: タイトル → 画像 → ボタン → 注記 */
  .cta-title {
    order: 1;
    font-size: 1.6rem;
    margin-bottom: 0
  }

  .cta-visual {
    order: 2;
    display: flex;
    justify-content: center;
  }

  .cta-buttons {
    order: 3;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .cta-buttons .btn {
    font-size: 1rem;
    width: 170px
  }

  .cta-note {
    order: 4;
    font-size: 0.9rem;
  }

  .cta-example-img {
    max-width: 160px;
  }
}

/* ----------------------------------------
   14. Footer
   ---------------------------------------- */
.footer {
  padding: 48px 0 24px;
}

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

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo-text {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav a {
  font-size: 1rem;
  color: var(--text-gray);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--primary-orange);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-logo {
    width: 100%;
    align-items: center
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .footer-copyright {
    width: 100%
  }
}

/* ----------------------------------------
   15. Animations
   ---------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------
   16. Responsive Adjustments
   ---------------------------------------- */
@media (max-width: 480px) {
  :root {
    --section-padding: 48px;
    --container-padding: 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* ----------------------------------------
   17. Sub Pages - Common Styles
   ---------------------------------------- */

/* Page Title Section (shared across sub pages) */
.page-title-section {
  padding-top: 120px;
  padding-bottom: 48px;
  background: url('../images/bg_hero.png') no-repeat center top;
  background-size: cover;
  text-align: center;
}

.page-title-section.slim {
  padding-bottom: 25px;
  padding-top: 97px;
}

.page-title-section.slim .container {
  display: flex;
  justify-content: center;
  align-items: center
}

.page-title-section.slim .container .page-title-icon {
  margin-bottom: 0;
  margin-right: 10px
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .page-title-section {
    background-image: url('../images/bg_hero@2x.png');
  }
}

@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
  .page-title-section {
    background-image: url('../images/bg_hero@3x.png');
  }
}

.page-title-icon {
  display: inline-block;
  margin-bottom: 16px;
}

.page-title-icon img {
  width: 40px;
  height: 40px
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .page-title-section {
    padding-top: 100px;
    padding-bottom: 32px;
  }

  .page-title {
    font-size: 1.5rem;
  }
}

/* ----------------------------------------
   18. FAQ Page (Full Page)
   ---------------------------------------- */
.section-faq-page {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.section-faq-page .faq-list {
  margin-bottom: 0;
}

/* ----------------------------------------
   19. Contact Form
   ---------------------------------------- */
.section-contact {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.contact-form-container {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
}

.contact-form-intro {
  text-align: center;
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--accent-red);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font-family);
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1px solid #667085;
  border-radius: 5px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

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

.form-submit {
  text-align: center;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .contact-form-container {
    padding: 32px 24px;
    margin: 0 16px;
  }
}

/* ----------------------------------------
   20. Contact Complete
   ---------------------------------------- */
.section-complete {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.complete-container {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 64px 48px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.complete-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.complete-message {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .complete-container {
    padding: 48px 24px;
    margin: 0 16px;
  }

  .complete-title {
    font-size: 1.25rem;
  }
}

/* ----------------------------------------
   21. Legal Pages (Terms, Privacy, Legal)
   ---------------------------------------- */
.section-legal {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-article {
  margin-bottom: 40px;
}

.legal-article:last-child {
  margin-bottom: 0;
}

.legal-article-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.legal-article-text {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
}

/* Legal List Style (for 特商法) */
.legal-list {
  list-style: none;
}

.legal-list-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.legal-list-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-list-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.legal-list-value {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.legal-list-value a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.legal-list-value a:hover {
  color: var(--primary-blue-dark);
}

@media (max-width: 768px) {
  .legal-article-title {
    font-size: 1.125rem;
  }

  .legal-article-text,
  .legal-list-label,
  .legal-list-value {
    font-size: 0.9375rem;
  }
}

/* ----------------------------------------
   22. Sub Page Footer (without CTA)
   ---------------------------------------- */
.footer-simple {
  background: url('../images/bg_footer.png') no-repeat center top;
  background-size: cover;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .footer-simple {
    background-image: url('../images/bg_footer@2x.png');
  }
}

@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
  .footer-simple {
    background-image: url('../images/bg_footer@3x.png');
  }
}

/** Login **/
.section-basic {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.section-basic .container {

}

body .login-box {
  background: #fff;
  width: 512px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

body .login-box-header {
  font-size: 14px;
  padding: 20px 55px;
  color: #667085;
  border-bottom: 1px solid #D8D8D8;
}

body .login-box-header h1,
body .login-box-header h2 {
  font-size: 18px;
  font-weight: 600
}

body .login-box-header h2 {
  margin-bottom: 10px
}

body .login-box-header .login-box-msg {
  text-align: left;
  padding: 0;
  font-weight: 500;
  letter-spacing: -1px
}

body .login-box-body {
  padding: 36px 55px;
  color: #667085
}

body .login-box-body .form-group {
  margin-bottom: 30px
}

body .login-box-body label {
  margin-top: 5px
}

body .login-error {
  margin-top: -20px;
  margin-bottom: 20px
}

body .login-error label,
body .login-box .error,
body .section-contact .error {
  font-size: 14px;
  color: #FA532F;
}

body .login-box img {
  margin-right: 3px;
  display: inline;
  vertical-align: middle;
  width: 15px
}

body .login-box-body .login-btn {
  text-align: center
}

body .login-box-body .btn {
  font-size: 18px;
  font-weight: 600;
  min-width: 210px;
}

body .login-box-body .caption {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #667085
}

body .login-box-body .additive-link {
  margin-top: 30px;
}

body .login-box-body .additive-link div {
  margin-top: 20px;
  text-align: center
}

body .login-box-body .icheckbox_square-blue {
  margin-right: 5px;
}

body .login-box-header .consent {
  margin-top: 10px;
  margin-bottom: 0
}

body .login-box-body .additive-link div a,
body .login-box-header .consent a {
  color: #008EDF;
  font-weight: 500
}

body .login-box-body .form-group.has-error .form-input {
  border-color: #FA532F;
  background: #FCEEEB;
  box-shadow: none;
}

.help-block {
  margin-top: 5px;
  margin-bottom: 0;
  color: #667085;
  font-weight: 500;
  font-size: 14px
}

body .login-box-body .checkbox,
body .login-box-header .checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  font-weight: 500
}

body .login-box-body .checkbox input,
body .login-box-header .checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body .login-box-body .checkmark,
body .login-box-header .checkmark {
  width: 20px;
  height: 20px;
  border: 1px solid #667085;
  border-radius: 4px;
  position: relative;
  transition: 0.2s;
}

body .login-box-header .checkmark.has-error {
  border-color: #FA532F;
  background: #FCEEEB;
}


body .login-box-body .checkbox input:checked + .checkmark,
body .login-box-header .checkbox input:checked + .checkmark {
  background: #FCB242;
  border-color: #FCB242;
}

body .login-box-body .checkbox input:checked + .checkmark::after,
body .login-box-header .checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0px;
  width: 8px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

body .login-box-body .register-sended {
  text-align: center;
  font-weight: 500;
  font-size: 12px;
}

body .login-box-body .code-area {
  margin-top: 20px;
}

body .login-box-body .code-area .caption {
  font-weight: 500;
  font-size: 14px;
  text-align: center
}

body .login-box-body .code-area .code-inputs {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-bottom: 20px;
}

body .login-box-body .code-area .code-inputs input {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 2px solid #D8D8D8;
  font-weight: 600;
  font-size: 20px;
  background: #F3F3F5;
  text-align: center
}

body .login-box-body .code-area .code-inputs input:focus {
  outline: none;
  border-color: #FCB242;
  box-shadow: 0 0 0 2px rgba(255,153,0,0.3);
}

body .login-box-body .code-area .code-inputs.has-error input {
  outline: none;
  border-color: #FA532F;
  box-shadow: none;
  background: #FCEEEB
}

body .login-box-body .code-area .error {
  margin-bottom: 20px;
  margin-left: 48px;
  margin-right: 48px;
}

body .login-box-body .resend-btn {
  margin-top: 20px;
  text-align: center
}

body .login-box-body .resend-btn .btn-white {
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  width: 171px;
  min-width: 171px;
  height: 36px;
  box-shadow: none;
  display: inline-block;
  padding-top: 9px;
}

body .login-box-body .resend-btn .btn-white:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

body .login-box-body .help {
  margin-top: 30px;
  border-top: 1px solid #D8D8D8;
  padding-top: 20px;
}

body .login-box-body .help h3 {
  font-weight: 500;
  font-size: 14px;
  position: relative
}

body .login-box-body .help h3 span.arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #667085;
  border-bottom: 2px solid #667085;
  transform: rotate(45deg); /* 下向き */
  transition: transform 0.2s ease;
  position: absolute;
  right: 10px;
  top: 3px;
}

body .login-box-body .help ul {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  margin-top: 20px
}

body .login-box-body .help ul li {
  display: flex;
  align-items: start;
  margin-bottom: 10px;
  gap: 5px
}

body .login-box-body .help ul li > div {
  display: flex;
  flex-direction: column
}

body .login-box-body .help ul li .title {
  font-weight: 500;
  font-size: 13px;
  color: #EF9000;
  line-height: 1
}

body .login-box-body .help ul li img {
  width: 20px;
  height: 20px
}

body .login-box-body .help ul li .caption {
  font-weight: 500;
  font-size: 12px;
  margin-top: 5px
}

body .login-box-body .help.open .arrow {
  transform: rotate(-135deg);
}

body .login-box-body .login-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #667085;
  font-size: 14px;
  line-height: 1;
  margin: 24px 0;
  font-weight: 400
}

body .login-box-body .login-divider::before,
body .login-box-body .login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #D8D8D8;
}

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #667085;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;

  min-width: min-content;
  display: block;
  width: 100%;
  height: 50px
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 10px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 0;
  flex-grow: 0;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  color: #667085
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

/* smartphone */
@media (max-width: 768px) {
  /* login */
  .page-title-section.slim {
    padding-bottom: 15px;
    padding-top: 78px;
  }

  .page-title {
    font-size: 1.1rem
  }

  .page-title-section img {
    width: 30px;
    height: 30px
  }

  .section-basic {
    padding: 30px 0
  }

  body .login-box {
    width: 100%;
    margin-top: 0;
  }
  body .login-box-header, body .login-box-body {
    padding-right: 25px;
    padding-left: 25px;
  }

  body .login-box-body .checkbox {
    display: block;
  }

  body .login-box-body .checkmark {
    display: inline-block
  }

}
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
