@charset "utf-8";

/* 全体設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Zen Maru Gothic", "Nunito", sans-serif;
  color: #624913;
}

html {
  font-size: 100%;
  overflow-x: hidden;
}

/* LCP改善: メイン画像の読み込み最適化 */
#mainvisual img {
  content-visibility: auto;
}

body {
  background-color: #FFFDF9;
  padding-bottom: 80px; /* 固定ボタンの高さ分の余白を確保 */
  overflow-x: hidden;
}

p {
  font-weight: 400;
}

/* 注釈テキストを小さく、細く */
small {
  font-size: 0.5em; /* 親要素の半分のサイズ */
  font-weight: 100; /* 一番細い */
}

/* 見出しや強調部分はMediumに */
h1, h2, h3, h4, h5, h6,
.section-title,
.content-title,
.sub-title,
strong, b,
header .site-logo a,
.download-btn,
.news-more-link,
.footer-link {
  font-weight: 500; /* Medium */
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto; /* CLS改善: アスペクト比を維持 */
}

.wrapper {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 150px;
  min-height: 100px; /* CLS改善: 最小高さを増加（見た目に影響しない） */
}

header .wrapper {
  margin-bottom: 0;
}

.section-title {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 30px;
  border-bottom: 4px solid #DDB892;
}

/* 各規約ページのタイトルに余白を追加 */
#terms .section-title,
#privacy .section-title,
#commercial .section-title {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  padding-top: 1rem;
}

.content-title {
  font-size: 1.5rem;
  margin: 0 0 5px 0; /* 上余白を0に */
}

.sub-title {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* ヘッダー設定 */

header {
  position: fixed;
  background-color: #FFFDF9;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

header .site-logo a {
  color: #fafafa;
  background-color: #DDB892;
  border-radius: 1rem;
  padding: 0 1rem;
  border: none;
  outline: none;
  box-shadow: none;
}

header .site-logo a:focus {
  outline: none;
  box-shadow: none;
}

header nav ul {
  display: flex;
  padding: 10px 0;
}

header li {
  margin-left: 30px;
}

header li a {
  color: #624913;
  font-weight: 500; /* Medium */
}

header li a:hover {
  opacity: 0.7;
}

/* 固定ヘッダーで見出しが隠れないようにスクロール位置を調整 */
section[id] {
  scroll-margin-top: 80px;
}

/* ハンバーガー */
.site-header-navbtn {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  z-index: 1001;
  cursor: pointer;
}

.site-header-navbtn span,
.site-header-navbtn::before,
.site-header-navbtn::after {
  width: 30px;
  height: 1px;
  background-color: #999;
  position: absolute;
  top: 50%;
  left: 5px;
  transition: transform 0.4s;
}

.site-header-navbtn::before,
.site-header-navbtn::after {
  content: "";
}

.site-header-navbtn::before {
  transform: translateY(-8px);
}

.site-header-navbtn::after {
  transform: translateY(8px);
}

@media screen and (max-width: 767px) {
  .site-header-nav {
    position: fixed;
    width: 100%;
    height: 100%;
    left: -100%;
    top: 0;
    background-color: rgba(255, 253, 249, 0.96);
    transition: transform 0.6s;
    z-index: 1000;
  }

  .site-header-navbtn {
    display: block;
  }

  .site-header-nav ul {
    height: 100%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .site-header-nav ul li:not(:last-child) {
    margin-right: 0;
    margin-bottom: 1.5em;
  }

  .site-header-nav ul li a {
    font-size: 1.5rem;
  }

  body.is-nav-open .site-header-navbtn span {
    transform: scaleX(0);
  }

  body.is-nav-open .site-header-navbtn::before {
    transform: translateY(0) rotate(45deg);
  }

  body.is-nav-open .site-header-navbtn::after {
    transform: translateY(0) rotate(-45deg);
  }

  body.is-nav-open .site-header-nav {
    transform: translateX(100%);
  }
}


/* メインビジュアル */
main {
  margin-top: 60px;
  padding-top: 50px;
}

#mainvisual {
  margin-bottom: 2cqh;
}

#mainvisual img {
  display: block;
  width: 60%;
  height: auto; 
  border-radius: 1rem;
}

.maintext {
  max-width: 960px;              
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 40px;
  padding: 3rem 4rem;
  padding-top: 2.5rem; /* 上部のパディングをさらに減らしてテキストとの間を狭く */
  position: relative;
  min-height: 120px; /* CLS改善: 最小高さを設定（見た目に影響しない） */

  /* 文字の基本指定 */            
  font-size: 2.52rem; /* 0.7倍に変更 (3.6rem × 0.7) */
  font-weight: 700; /* Bold */
  line-height: 1.3; /* 行間を調整 */
  text-align: center;
  color: #624913;
}

.maintext-label {
  display: block;
  font-size: 0.38em;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.2em;
}

.maintext-title {
  display: block;
  margin: 0;
  font-weight: 700;
}

.maintext-sub {
  display: block;
  font-size: 0.67em;
  font-weight: 500;
  margin-top: 3em;
}

.subtitle-accent {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

@media screen and (min-width: 768px) {
  #mainvisual {
    max-width: 700px; /* ヘッダー文字と同じ横幅 */
    margin-left: auto; 
    margin-right: auto; 
  }
  #mainvisual img {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1rem;
  }


  #application-features-photo img {
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* こんな方が使っています */
#target-users .target-users-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#target-users .target-users-list li {
  background: #fff8f0;
  border-left: 4px solid #e8a87c;
  border-radius: 6px;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* hokumaについて */
#about .content {
  display: flex;
  justify-content: center;
  align-items: center;
}

#about img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  margin-right: 100px;
}

#about .text {
  text-align: left;
  padding-left: 1rem; /* 左側に余白 */
  padding-right: 1rem; /* 右側に余白 */
}


/* アプリについて（特徴） */
 #application ul {
  display: flex;
  justify-content: space-between;
}

#application li {
  width: 32%;

}

/* １つだけ画像縮小（現在の表示の0.7倍） */
img[src="img/kumasan_study.png"] {
  width: 70%; 
  height: auto; 
  display: block; 
  margin-left: auto; 
  margin-right: auto; 
}

 #application.wrapper {
      margin-bottom: 3rem;
      min-height: 800px; /* CLS改善: 最小高さを大幅に設定（見た目に影響しない） */
    }

/* CLS改善: application-features-photoセクションの最小高さを設定 */
#application-features-photo.wrapper {
  min-height: 600px; /* 見た目に影響しない範囲で設定 */
}

/* CLS改善: application-featuresセクションの最小高さを設定 */
#application-features.wrapper {
  min-height: 400px; /* 見た目に影響しない範囲で設定 */
}

/* CLS改善: aboutセクションの最小高さを設定 */
#about.wrapper {
  min-height: 400px; /* 見た目に影響しない範囲で増加 */
}

/* CLS改善: newsセクションの最小高さを設定 */
#news.wrapper {
  min-height: 200px; /* 見た目に影響しない範囲で増加 */
}

/* CLS改善: contactセクションの最小高さを設定 */
#contact.wrapper {
  min-height: 100px; /* 見た目に影響しない範囲で増加 */
}

/* CLS改善: hokuhoku-sectionの最小高さを設定 */
#hokuhoku-section {
  min-height: 150px; /* 見た目に影響しない範囲で増加 */
}

/* アプリについて（アプリ画面） */
#application-features-photo ul {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px; /* 余白を半分に (16px → 8px) */
}

#application-features-photo li {
  /* gap(16px)が2つ入る前提で3等分 */
  width: calc((100% - 32px) / 3);
}

#application-features-photo img {
  width: 80%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.application-features-photo-text {
  font-weight: 500;
  margin-top: 2rem;
}

/* application-features-photoのサブタイトルだけ上余白をゼロに */
#application-features-photo .sub-title {
  margin-top: 0rem;
}

/* 吹き出しUIスタイル */
.testimonials-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  text-align: center;
}

.speech-bubble {
  background-color: #FFF8E7;
  border: 2px solid #DDB892;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #DDB892;
}

.speech-bubble p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
}

.character-illustration {
  width: 400px;
  height: auto;
  margin-top: 1rem;
  border-radius: 0.5rem;
}

/* アプリについて（できること） */

  #application-features ul {
    display: flex;
    justify-content: space-around;
  }

  #application-features li {
    width: 32%;
  }
#application-features .sub-title {
  margin-top: 3rem;
}

/* お知らせセクション */
.news-list {
  list-style: none;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  background-color: #FFFFFF;
  border-radius: 0.5rem;
  min-height: 150px; /* CLS改善: 動的コンテンツの最小高さを増加（見た目に影響しない） */
  max-height: 320px; /* 約5件分の高さ */
  overflow-y: auto;
}

.news-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  color: #624913;
  font-size: 0.9rem;
  min-width: 100px;
  flex-shrink: 0;
}

.news-title {
  color: #624913;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s;
}

.news-title:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.news-more {
  text-align: center;
  margin-top: 2rem;
  min-height: 60px; /* CLS改善: 最小高さを増加（見た目に影響しない） */
}

.news-more-link {
  display: inline-block;
  color: #624913;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border: 1px solid #DDB892;
  border-radius: 1rem;
  transition: all 0.3s;
}

.news-more-link:hover {
  background-color: #DDB892;
  color: #fafafa;
}

/* お知らせ詳細ページ */
.news-detail-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 0 1rem;
}

.news-detail-item {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #DDB892;
}

.news-detail-item:last-child {
  border-bottom: none;
  margin-bottom: 2rem;
}

.news-detail-header {
  margin-bottom: 1rem;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.news-detail-date {
  color: #624913;
  font-size: 0.9rem;
}

.news-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.15rem 0.6rem;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.news-category--press {
  background-color: #624913;
  color: #fafafa;
}

.news-category--update {
  background-color: #4a7c59;
  color: #fafafa;
}

.news-category--other {
  background-color: #888;
  color: #fafafa;
}

.news-detail-title {
  color: #624913;
  font-size: 1.5rem;
  margin: 0;
}

.news-detail-title-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

.news-detail-title-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.news-detail-content {
  color: #624913;
  line-height: 1.8;
}

.news-detail-content p {
  margin: 0;
}

.news-back {
  text-align: center;
  margin-top: 3rem;
}

.news-back-link {
  display: inline-block;
  color: #624913;
  text-decoration: none;
  font-weight: 500; /* Medium */
  padding: 0.5rem 1.5rem;
  border: 2px solid #DDB892;
  border-radius: 1rem;
  transition: all 0.3s;
}

.news-back-link:hover {
  background-color: #DDB892;
  color: #fafafa;
}

/* 利用規約ページ */
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 0 1rem;
}

.terms-main-title {
  color: #624913;
  font-size: 1.8rem;
  font-weight: 500; /* Medium */
  margin-bottom: 2rem;
  text-align: center;
}

.terms-intro {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.terms-intro p {
  color: #624913;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 300 !important; /* Light - 通常のテキストと同じ */
}

.terms-updated {
  text-align: right;
  color: #624913;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.terms-section {
  margin-bottom: 2.5rem;
}

.terms-section-title {
  color: #624913;
  font-size: 1.3rem;
  font-weight: 500; /* Medium */
  margin-bottom: 1rem;
  border-left: 4px solid #DDB892;
  padding-left: 1rem;
}

/* プライバシーポリシーと利用規約の本文内の太字を通常の太さに */
.terms-content strong,
.terms-content b,
.terms-section strong,
.terms-section b,
.terms-intro strong,
.terms-intro b,
.terms-list strong,
.terms-list b {
  font-weight: 300 !important; /* Light - 通常のテキストと同じ */
}

.terms-list {
  list-style: none;
  padding-left: 1.5rem;
  margin: 1rem 0;
  counter-reset: list-counter;
}

.terms-list li {
  color: #624913;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 2rem;
  counter-increment: list-counter;
  font-weight: 300 !important; /* Light - 通常のテキストと同じ */
}

.terms-section p {
  color: #624913;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 300 !important; /* Light - 通常のテキストと同じ */
}

.terms-list li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  color: #DDB892;
  font-weight: bold;
}

.terms-link {
  display: inline-block;
  color: #624913;
  text-decoration: none;
  font-weight: 500; /* Medium */
  margin-top: 1rem;
  transition: opacity 0.3s;
}

.terms-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0; /* 余白を狭く */
  margin-top: 1rem; /* 余白を狭く */
  flex-wrap: wrap;
  min-height: 50px; /* CLS改善: 最小高さを増加（見た目に影響しない） */
}

.footer-link {
  color: #624913;
  text-decoration: none;
  font-weight: 500; /* Medium */
  font-size: 0.9rem;
  transition: opacity 0.3s;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
}

.footer-link:hover {
  opacity: 0.7;
  border-bottom: 1px solid #624913;
}

.terms-back {
  text-align: center;
  margin-top: 3rem;
}

.terms-back-link {
  display: inline-block;
  color: #624913;
  text-decoration: none;
  font-weight: 500; /* Medium */
  padding: 0.5rem 1.5rem;
  border: 2px solid #DDB892;
  border-radius: 1rem;
  transition: all 0.3s;
}

.terms-back-link:hover {
  background-color: #DDB892;
  color: #fafafa;
}

/* FAQページ */
.faq-page {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category-title {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #624913;
  background-color: #fdf6ee;
  border-left: 4px solid #DDB892;
  padding: 0.85rem 1rem 0.85rem 0.75rem;
  margin-bottom: 0;
  border-radius: 0.25rem;
}

.faq-category-title::-webkit-details-marker {
  display: none;
}

.faq-category-title::after {
  content: '▼';
  font-size: 0.75rem;
  color: #DDB892;
  transition: transform 0.2s;
}

.faq-category[open] > .faq-category-title::after {
  transform: rotate(180deg);
}

.faq-category[open] > .faq-category-title {
  border-radius: 0.25rem 0.25rem 0 0;
  margin-bottom: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid #DDB892;
}

.faq-item:first-of-type {
  border-top: 1px solid #DDB892;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.5rem;
  font-weight: 500;
  color: #3d2b00;
  line-height: 1.6;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #DDB892;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] > .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0.25rem 0.5rem 1.25rem;
  color: #555;
  line-height: 1.8;
}

.faq-answer p {
  margin: 0;
}

.back-link {
  text-align: center;
  margin-top: 3rem;
}

.back-link a {
  display: inline-block;
  color: #624913;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border: 2px solid #DDB892;
  border-radius: 1rem;
  transition: all 0.3s;
}

.back-link a:hover {
  background-color: #DDB892;
  color: #fafafa;
}

/* フッター */
footer {
  padding: 5px 0; /* 余白を狭く */
  text-align: center;
  min-height: 20px; /* CLS改善: 最小高さを設定（見た目に影響しない） */
}

/* hokuhoku-sectionの画像に角丸を追加（PCサイズ） */
#hokuhoku-section img {
  border-radius: 1rem;
}

/* hokuhoku-sectionの下の余白を1remに（PCサイズ） */
#hokuhoku-section {
  margin-bottom: 1rem;
}

/* 固定ダウンロードボタン */
.fixed-download-button {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  text-align: center;
}

.download-btn {
  display: inline-block;
  background-color: #F4A261;
  color: #fafafa;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-weight: 500; /* Medium */
  font-size: 1.1rem;
  text-decoration: none;
  transition: opacity 0.3s;
  border: none;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.download-btn:hover {
  opacity: 0.8;
}

.download-btn:focus {
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}






/* SP */
@media screen and (max-width: 767px) {
  .wrapper {
    margin-bottom: 50px;
  }

  header .wrapper,
  .wrapper p {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  #target-users .target-users-list {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  header .site-logo a {
    font-size: 1.1rem; /* スマホサイズでフォントサイズを調整 */
    white-space: nowrap; /* 改行を防ぐ */
  }

  .section-title {
    display: inline-block; /* センター寄せ */
    font-size: 1.3rem; /* サブタイトルと同じサイズ */
    margin-bottom: 1.5rem; /* 余白を追加 */
    border-bottom: 2px solid #DDB892;
  }

  /* FAQページ */
  .faq-page {
    padding: 0 1rem;
  }

  /* 各規約ページのタイトルに余白 */
  #terms .section-title,
  #privacy .section-title,
  #commercial .section-title {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding-top: 0.8rem;
  }
  
  .content-title {
      font-size: 1.15rem; /* sub-title(1.3rem)と普通のテキスト(1rem)の中間 */
      margin: 0 0 2px 0; /* 上余白を0に */
    }

    .sub-title {
  text-align: left; /* 左寄せ */
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 10px;
  margin-left: 1rem; /* 左側に余白 */
}

 /* application-features セクションのサブタイトルはスマホでも上余白を戻す */
 #application-features .sub-title {
   margin-top: 3rem;
 }


  #mainvisual img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 60px); /* ヘッダー分を引いて全体表示 */
    margin-left: auto;
    margin-right: auto;
  }

  .maintext {
    font-size: 1.82rem; /* 0.7倍に変更 (2.6rem × 0.7) */
    padding: 2rem 1.5rem;
    padding-top: 1.8rem; /* 上部のパディングをさらに減らしてテキストとの間を狭く */
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 0;
  }

  .subtitle-accent {
    font-size: 1.1rem;
  }


  #about .content {
    flex-direction: column;
  }

  #about img {
    width: 125px;
    height: 125px;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  #about .text {
    text-align: left; /* 左揃え */
    padding-left: 1rem; /* 左側に余白 */
    padding-right: 1rem; /* 右側に余白 */
  }

  #application ul {
    flex-direction: column;
  }

  #application li {
    width: 100%;
    margin-bottom: 1rem;
  }

  /* アプリの特徴の説明テキストをcontent-titleと同サイズに */
  #application p {
    font-size: 0.9rem;
  }

  #application img {
    width: 30%;
    height: auto;
  }

  #application-features-photo ul {
   flex-direction: column;
  align-items: center;
 }
    
  #application-features-photo li {
    width: 100%;
    margin-bottom: 2.5rem; /* 余白を半分に (5rem → 2.5rem) */
    margin-left: auto;
    margin-right: auto;
  }
  
     #application-features-photo img {
    width: 70%;
    height: auto; 
  }

     #application-features 
   ul {
    flex-direction: column;
  }

  #application-features li {
    width: 100%;
    margin-bottom: 2rem;
  }

   /* 吹き出しUIのスマホ対応 */
   .testimonials-container {
     flex-direction: column;
     align-items: center;
     gap: 2rem;
   }

   .testimonial-item {
     width: 100%;
     max-width: 300px;
   }

   .speech-bubble {
     padding: 1rem;
   }

   .speech-bubble p {
     font-size: 0.85rem;
   }

   .character-illustration {
    width: 280px;
    max-width: 100%;
    margin-top: 0.8rem;
  }

   /* 固定ダウンロードボタン（スマホ） */
   .fixed-download-button {
     bottom: 0.8rem;
     left: 50%;
     transform: translateX(-50%);
   }

   .download-btn {
     font-size: 0.85rem;
     padding: 0.9rem 1.2rem;
     white-space: nowrap;
   }

   /* お知らせセクション（スマホ） */
   .news-list {
     padding: 1.2rem;
     margin-left: 1rem;
     margin-right: 1rem;
   }

   .news-detail-list {
     padding: 0 1.5rem;
   }

   .news-item {
     flex-direction: column;
     align-items: flex-start;
     gap: 0.5rem;
     padding: 1.5rem 0;
   }

   .news-date {
     min-width: auto;
     font-size: 0.85rem;
   }

   .news-title {
     font-size: 0.95rem;
   }

   .news-detail-title {
     font-size: 1.2rem;
   }

   .news-detail-content {
     font-size: 0.9rem;
   }

   /* 利用規約ページ（スマホ） */
   .terms-content {
     padding: 0 1.5rem;
   }

   .terms-section {
     margin-bottom: 1.5rem;
   }

   .terms-section-title {
     font-size: 1.1rem;
     margin-bottom: 0.5rem;
   }

   .terms-section p {
     font-size: 0.9rem;
     margin-bottom: 0.5rem;
     line-height: 1.6;
   }

   .terms-list {
     margin: 0.5rem 0;
   }

   .terms-list li {
     margin-bottom: 0.3rem;
   }

   .terms-list li {
     font-size: 0.9rem;
     font-weight: 300 !important; /* Light - 通常のテキストと同じ */
   }

   /* フッター上のリンク（スマホ） */
 

  .footer-link {
    font-size: 0.65rem;
  }

  /* hokuhoku.pngの余白を小さく */
  #hokuhoku-section {
    margin-bottom: 1rem;
  }

  /* フッターリンクの余白を小さく */
  .footer-links {
    padding: 0.5rem 0;
    margin-top: 1rem;
  }

  /* フッターの余白を小さく */
  footer {
    padding: 5px 0;
  }
}

/* プロモーションページ用スタイル */
.promotion-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.promotion-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.promotion-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #624913;
}

.promotion-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #624913;
}

.promotion-description {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  min-width: 250px;
  border: none;
  cursor: pointer;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(98, 73, 19, 0.3);
}

.download-btn.ios-btn {
  background: linear-gradient(135deg, #000000, #333333);
}

.download-btn.android-btn {
  background: linear-gradient(135deg, #3DDC84, #00C853);
}

.btn-icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.btn-text {
  text-align: left;
}

.btn-text small {
  font-size: 0.6rem;
  opacity: 0.8;
}

.pc-message {
  padding: 2rem;
  background: rgba(98, 73, 19, 0.05);
  border-radius: 12px;
  margin-top: 1rem;
}

.pc-message p {
  margin-bottom: 1rem;
  font-weight: 300;
}

.qr-show-btn {
  background: #624913;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.qr-show-btn:hover {
  background: #4a3610;
  transform: translateY(-1px);
}

/* QRコードモーダル */
.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.qr-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.qr-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.qr-modal__content {
  position: relative;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.qr-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #624913;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.qr-modal__close:hover {
  background: rgba(98, 73, 19, 0.1);
}

.qr-modal h2 {
  margin-bottom: 1.5rem;
  color: #624913;
}

.qr-code-container {
  background: #f5f5f5;
  padding: 2rem;
  border-radius: 8px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* スマホ対応 */
@media (min-width: 768px) {
  .download-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .promotion-title {
    font-size: 3rem;
  }
  
  .promotion-subtitle {
    font-size: 1.4rem;
  }
}
