@charset "UTF-8";

/* =========================================
Base Styles
========================================= */
:root {
  --primary-color: #009a74;
  --primary-light: #e8f7f0;
  --accent-color: #ff6800;
  --accent-shadow: #cc6300;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #e5f6ed;
  --white: #ffffff;
  --bubble-color: #4cb395;
  --agent-color: #0056B3;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-color);
  background-color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden; 
}

.wrapper {
  max-width: 480px;
  margin: 0 auto;
  background-color: var(--bg-color);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Typography */
.text-center { text-align: center; }
.font-bold { font-weight: bold; }
.text-primary { color: var(--primary-color); }
.text-small { font-size: 12px; }

/* Buttons */
.btn-container {
  position: relative;
  text-align: center;
  margin: 30px auto;
  width: 90%;
  max-width: 340px; 
}

.btn-badge {
  display: block;
  color: #555555;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 5px;
}

.btn-30{
  color: var(--accent-color);
  font-size: 15px;
}

.btn-1min{
  color: var(--agent-color);
  font-size: 15px;
}

.btn {
  display: block;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  padding: 16px 10px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 0 var(--accent-shadow);
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--accent-shadow);
}

.btn-container-2 {
  position: relative;
  text-align: center;
  margin: 10px auto;
  width: 90%;
  max-width: 340px; 
}

.btn-text{
  font-size: 10px;
  color: #666;
  margin-bottom: 10px;
}

.btn-link{
  font-size: 12px;
  color: #0056b3;
}

.btn-blue {
  background-color: #0056b3;
  box-shadow: 0 4px 0 #003d82;
}

/* Section Titles */
.section-sub-title {
    position: relative;
    display: block; /* ←ここを変更 */
    width: fit-content; /* ←追加：文字の幅に合わせる */
    margin: 0 auto 15px; /* ←変更：中央寄せしつつ下の余白を15px確保 */
    background-color: var(--primary-light, #e8f7f0); 
    color: var(--primary-color, #009a74);
    font-size: 13px;
    font-weight: bold;
    padding: 6px 20px;
    border-radius: 20px;
}

/* 吹き出しの下向き三角形 */
.section-sub-title::after {
    content: '';
    position: absolute;
    bottom: -6px; 
    left: 50%;
    transform: translateX(-50%); 
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: var(--primary-light, #e8f7f0) transparent transparent transparent;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 25px;
}

.section-title, .voices-title {
    font-size: 19px; 
    font-weight: bold;
    width: fit-content; /* 箱の幅を文字にぴったり合わせる */
    margin: 0 auto 40px; /* 左右の余白を自動（auto）にして中央寄せし、下余白を25px取る */
    
    background: linear-gradient(transparent 60%, #a8dec3 60%);
    padding: 0 4px;
  }

/* =========================================
Header
========================================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.header-register-btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 3px 0 var(--accent-shadow);
  transition: transform 0.1s, box-shadow 0.1s;
}

.header-register-btn:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--accent-shadow);
}

/* =========================================
Hero Section
========================================= */
.hero {
  padding: 20px 15px 0;
  text-align: center;
}

.hero-card {
  background-color: var(--white);
  border-radius: 30px;
  padding: 40px 15px 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  position: relative;
  z-index: 1;
}

.hero-catch {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #333;
}
.hero-desc {
  font-size: 13px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #111;
}

.points-lead {
  font-size: 14px;
  font-weight: bold;
  color: var(--primary-color, #009a74); 
  margin-bottom: 12px;
  text-align: center;
}
.hero-points {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}

.hero-point {
    width: 100px;  
    height: 100px; 
    flex-shrink: 0;
    background-color: var(--bubble-color, #4cb395);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

.point-icon-wrap {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.point-icon {
  width: 34px; 
  height: 34px;
  object-fit: contain;
}

.point-text-wrap {
  height: 38px;
  display: flex;
  align-items: center; 
  justify-content: center;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.1); 
}

.point-lg {
  font-size: 15px; 
  font-weight: bold;
}

.hero-img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: -40px auto 0; 
  position: relative;
  z-index: 2;
}

/* =========================================
Reasons Section
========================================= */
.reasons {
  padding: 40px 20px 50px;
  text-align: center;
  background-color: var(--white);
}

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.reason-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f0faf6; 
  border-radius: 20px;
  padding: 25px 10px;
}

.reason-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.reason-text {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.5;
  color: var(--text-color);
}
.reason-text strong {
  font-size: 15px;
}

.reason-en-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--bubble-color, #4cb395); 
  margin-bottom: 15px;
  font-family: Arial, sans-serif; 
}

/* =========================================
How to Use Section
========================================= */
.howto {
  padding: 40px 20px;
  text-align: center;
  background-color: var(--bg-color);
}
.howto .section-sub-title {
  background-color: var(--white);
}
.howto .section-sub-title::after {
  border-color: var(--white) transparent transparent transparent;
}

.way-card {
  background-color: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 60px 20px 30px;
  margin-top: 60px;
  position: relative;
}
.way-badge {
  position: absolute;
  top: -24px; 
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 25px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.4; 
}
.way-badge::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent transparent;
}
.way-title {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: bold;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.way-desc {
  font-size: 13px;
  font-weight: bold;
  margin-top: 20px; 
  margin-bottom: 15px; 
}

.recommend-box {
  background-color: var(--primary-light, #e8f7f0); 
  border-radius: 12px;
  padding: 25px 15px 15px;
  margin-top: 30px;
  margin-bottom: 25px;
  position: relative;
  text-align: left; 
}

.recommend-title {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color, #009a74);
  color: var(--white);
  font-size: 13px;
  font-weight: bold;
  padding: 4px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.recommend-list {
  list-style: none; 
  padding: 0;
  margin: 0;
}

.recommend-list li {
  position: relative;
  padding-left: 26px; 
  font-size: 13px;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 12px;
  line-height: 1.4;
}

.recommend-list li:last-child {
  margin-bottom: 0;
}

.recommend-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background-color: var(--accent-color, #ff6800); 
  border-radius: 50%;
}

.recommend-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}
.tag-item {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}
.tag-icon {
  width: 14px;
  height: 14px;
}
.tag-more {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}
.info-box {
  background-color: #fff9e6;
  border: 1px dashed var(--accent-color);
  border-radius: 8px;
  padding: 15px;
  font-size: 12px;
  margin-bottom: 20px;
  margin-top: 30px;
}

/* 悩みの吹き出しとイラスト */
.worry-wrapper {
    position: relative;
    max-width: 340px; 
    margin: 0 auto;
    padding: 10px 0 100px; 
    min-height: auto;
  }

.thought-bubble {
    background-color: var(--bubble-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    max-width: 95%;
}

/* 上の吹き出し */
  .bubble-top {
    text-align: right;
    padding-right: 10px;
    margin-bottom: 15px;
  }

  .bubble-top .thought-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 40px; 
    width: 10px;
    height: 10px;
    background-color: var(--bubble-color);
    border-radius: 50%;
    box-shadow: 8px 12px 0 -2px var(--bubble-color);
  }
  
/* 下の吹き出し */
.bubble-bottom {
    text-align: left;
    padding-left: 0;
}
  
.bubble-bottom .thought-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 25px; 
    width: 10px;
    height: 10px;
    background-color: var(--bubble-color);
    border-radius: 50%;
    box-shadow: 10px 10px 0 -2px var(--bubble-color);
  }
  
.illustration-worry {
    position: absolute;
    top: auto;
    bottom: 0;
    right: 15px; 
    width: 90px; 
    height: auto;
  }

.triangle-down {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid var(--accent-color);
  margin: 20px auto;
}

.consult-lead {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}
.consult-title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 25px;
}
.consult-title span {
  color: var(--agent-color);
}
.support-catch {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 25px;
}

.support-catch-text {
  display: inline-block; 
  background-color: #f0f7ff; 
  color: #0056b3;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
}

.support-items-wrap {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}

.support-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-circle {
  width: 90px;
  height: 90px;
  background-color: var(--bubble-color, #4cb395);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.support-circle img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.support-text {
  font-size: 15px;
  font-weight: bold;
  color: var(--text-color);
  background: linear-gradient(transparent 60%, #a8dec3 60%);
  display: inline-block;
  padding: 0 4px;
}

/* =========================================
   Voices Section (Carousel)
   ========================================= */
.voices {
  padding: 50px 0; /* カルーセルを画面幅いっぱいに広げるため、左右の余白は0に */
  background-color: #f7f9fa; /* キャプチャに合わせた少しグレー寄りの背景 */
  overflow: hidden;
}

.voices-header {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 30px;
}

.voices-badge {
    position: relative;
    display: block; /* ←ここを変更 */
    width: fit-content; /* ←追加 */
    margin: 0 auto 15px; /* ←変更 */
    background-color: var(--primary-light, #e8f7f0);
    color: var(--primary-color, #009a74);
    font-size: 13px;
    font-weight: bold;
    padding: 6px 20px;
    border-radius: 20px;
  }
  
  .voices-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: var(--primary-light, #e8f7f0) transparent transparent transparent;
  }

.voices-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.voices-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 30px;
}

/* カルーセルの構造 */
.carousel-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 10px 20px; 
  gap: 15px; 
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

/* カードのデザイン */
.carousel-card {
  flex: 0 0 88%;
  scroll-snap-align: center;
  background-color: var(--white);
  border-radius: 12px;
  border-top: 5px solid var(--primary-color); 
  padding: 25px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* ユーザー情報エリア */
.card-user {
  display: flex;
  align-items: center;
  gap: 15px;
}
.card-user-img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #eee; 
}
.card-user-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}
.card-user-job {
  font-size: 11px;
  color: #666;
  margin-bottom: 4px;
}

.card-user-rating span {
  color: #333;
  font-size: 12px;
  font-weight: bold;
  margin-left: 5px;
}

/* 点線 */
.card-divider {
  border-top: 1px dashed #ddd;
  margin: 20px 0;
}

/* レビュー内容 */
.card-review-title {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 15px;
  color: var(--primary-color);
  //padding-left: 10px;
}
.card-review-text {
  font-size: 13px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

/* ハッシュタグ */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card-tag {
  background-color: #f0f4f8; /* 薄いブルーグレー */
  color: #4a657a;
  font-size: 11px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
}

/* 左右の矢印ボタン */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #eee;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: var(--primary-color);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.2s;
}
.prev-btn { left: 5px; }
.next-btn { right: 5px; }
.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ページネーション */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  background-color: #ccc;
  border-radius: 50%;
  transition: all 0.3s;
}
.carousel-dot.active {
  background-color: var(--primary-color);
  width: 20px;
  border-radius: 10px;
}

/* =========================================
FAQ Section
========================================= */
.faq {
  padding: 40px 20px;
  background-color: var(--white);
}
.faq-list {
  border-top: 1px solid #eee;
}
.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-q {
  display: flex;
  gap: 10px;
  font-size: 13px;
  font-weight: bold;
  color: var(--primary-color);
  padding: 20px 0;
  align-items: flex-start;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q-icon { font-size: 18px; line-height: 1; }
.faq-q-text { flex: 1; }

.faq-toggle {
  font-size: 18px;
  color: var(--primary-color);
}
.faq-toggle::after {
  content: "＋";
}
details[open] .faq-toggle::after {
  content: "ー";
}

.faq-a {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-color);
  padding-bottom: 20px;
}
.faq-a-icon { font-size: 18px; color: var(--primary-color); font-weight: bold; line-height: 1; }
.faq-a-text { flex: 1; }

/* =========================================
Bottom CTA & Footer
========================================= */
.bottom-cta {
  padding: 40px 20px;
  text-align: center;
  background-color: var(--bg-color);
}

.bottom-cta-img {
  width: 200px;
  margin: 0 auto 10px; 
}

.bottom-cta-text {
  font-size: 15px;
  font-weight: bold;
  margin-top: 20px;
}

.footer {
  background-color: var(--white);
  text-align: center;
}
.page-top {
  display: block;
  background-color: #ffb74d;
  color: var(--white);
  text-decoration: none;
  padding: 15px;
  font-weight: bold;
}
.footer-links {
  padding: 20px;
  font-size: 11px;
  color: var(--text-light);
}
.footer-links a {
  color: var(--text-light);
  text-decoration: underline;
}