@charset "UTF-8";
/* ====================================
   全体の基本設定（フォント・背景・色など）
==================================== */
body {
  font-family: 'Noto Serif JP', serif;
  color: #4A3F35; /* テキストブラウン */
  background-color: #FFFFFF; /* 背景白 */
  margin: 0;
  padding: 0;
  line-height: 1.8;
}
a {
  color: #4A3F35;
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sectionTitle {
  font-size: 1.6rem;
  text-align: center;
  margin: 2em 0 1em;
  color: #4A3F35;
}
/* ボタン共通スタイル */
.btn {
  display: inline-block;
  background-color: #C8B88A; /* ゴールドアクセント */
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 0.8em 2em;
  border-radius: 30px;
  margin-top: 1em;
  transition: 0.3s;
}
.btn:hover {
  opacity: 0.8;
}
/* ヘッダー全体 */
.headerInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
/* ロゴエリア（画像＋テキスト） */
.logoArea {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
/* ロゴ画像（背景画像で設定） */
.logoImage {
  width: 40px;
  height: 40px;
  background-image: url("../images/rogo2.png"); /* 画像パスは調整 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* ロゴテキスト */
.logoText {
  font-size: 1rem;
  font-weight: bold;
  color: #4A3F35;
}
/* ------------------------------------
 ハンバーガーボタン
------------------------------------ */
/* モバイルで右上に固定されるハンバーガーボタン */
.openbtn {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 9999;
}
.openbtn span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 6px auto;
  background: #C8B88A; /* ゴールド */
  transition: 0.4s;
}
/* Close状態のX */
.openbtn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.openbtn.active span:nth-child(2) {
  opacity: 0;
}
.openbtn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/* ハンバーガーメニューにテキスト表示（MENU / CLOSE） */
.openbtn::after {
  content: "MENU";
  display: block;
  text-align: center;
  font-size: 0.6rem;
  color: #C8B88A;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.openbtn.active::after {
  content: "CLOSE";
}
/* ------------------------------------
 メニュー（初期は非表示）
------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 9998;
  transition: right 0.4s ease;
  padding-top: 80px;
}
.nav.panelactive {
  right: 0;
}
.navMenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
}
.navMenu li {
  font-size: 1.2rem;
  font-weight: bold;
}
.navMenu a {
  color: #4A3F35;
}
/* -------------------------------
  ファーストビュー全体の背景と配置
-------------------------------- */
/* フェードインアニメーション（ふわっと滲む） */
@keyframes fadeInSmooth {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
/* ファーストビュー */
.hero {
  height: 100vh;
  background-image: url("../images/firstview_sp.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  animation: fadeInSmooth 2s ease-out forwards;
}
.heroInner {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.85);
  padding: 1.5em;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
}
.heroCatch {
  font-size: 1.4rem;
  font-weight: bold;
  color: #4A3F35;
}
.heroSub {
  font-size: 1rem;
  margin: 0.5em 0 1em;
  color: #4A3F35;
}
/* ------------------------------------
 お悩み紹介セクション（共通）
------------------------------------ */
.trouble {
  padding: 2em 1em;
  background-color: #fff;
}
.supportNote {
  text-align: center;
  font-size: 0.9rem;
  color: #4A3F35;
  margin-bottom: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3em;
}
.supportIcon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("../images/Frame 101.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* お悩み番号（大きめ・欧文フォント） */
.troubleNum {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: #4A3F35;
  text-align: center;
  margin-bottom: 0.3em;
}
.troubleList {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
.troubleItem {
  text-align: center;
  opacity: 0;
}
.troubleItem p {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  color: #4A3F35;
  margin-top: 0.5em;
}
.troubleImage1, .troubleImage2, .troubleImage3 {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 0.5em;
}
.troubleImage1 {
  background-image: url("../images/worries_1.jpg");
}
.troubleImage2 {
  background-image: url("../images/worries_2.jpg");
}
.troubleImage3 {
  background-image: url("../images/worries_3.jpg");
}
/* フェードアニメーション */
.fadeUp {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.fadeUp.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* ------------------------------------
 スマートフォン講座一覧セクション
------------------------------------ */
.courses {
  padding: 3em 1em;
  background-color: #F8F6F1;
}
.courseList {
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.courseList li {
  background: #fff;
  border: 2px solid #A3B8A0;
  border-radius: 20px;
  padding: 2em 1.5em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  color: #4A3F35;
  font-size: 1rem;
}
.courseLabel {
  position: relative;
  width: 90%;
  height: 85px;
  margin: 2.5em auto 1.5em;
}
.labelTop {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: #F8F6F1;
  border-radius: 16px;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #4A3F35;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.labelBottom {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #A3B8A0;
  border-radius: 16px;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}	
/* ------------------------------------
 受講者の声セクション（モバイル）
------------------------------------ */
.voice {
  background-color: #fff;
  padding: 3em 1em;
}
.voiceItem {
  margin-bottom: 3em;
}
.voiceImage1,
.voiceImage2 {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 1em;
}
.voiceImage1 {
  background-image: url("../images/voice_1.jpg");
}
.voiceImage2 {
  background-image: url("../images/voice_2.jpg");
}
.voiceText {
  font-size: 1.05rem;
  color: #4A3F35;
  line-height: 1.8;
  text-align: left;
}
.voiceName {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1em;
  color: #4A3F35;
}
.voiceLabel {
  display: inline-block;
  background-color: #C8B88A;
  color: #fff;
  font-size: 0.95rem;
  font-weight: bold;
  padding: 0.3em 1em;
  border-radius: 20px;
  margin: 1em 0 0.5em;
}

/* ------------------------------------
 よくある質問（FAQ）
------------------------------------ */
.faq {
  background-color: #F8F6F1;
  padding: 3em 1em;
}
.accordion-area {
  max-width: 100%;
  margin: 0 auto;
}
.accordion-area .title {
  font-size: 1.05rem;
  font-weight: bold;
  color: #4A3F35;
}
.accordion-area .box {
  margin-bottom: 1.5em;
}
.accordion-area .box p {
  color: #4A3F35;
}

/* ------------------------------------
 CTAセクション
------------------------------------ */
.cta {
  background-color: #A3B8A0;
  padding: 3em 1.5em;
  text-align: center;
}
.ctaCopy {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1em;
}
.ctaInner {
  padding: 2em 1em;
}

/* ------------------------------------
 フッター
------------------------------------ */
.footer {
  background-color: #4A3F35;
  color: #fff;
  padding: 2em 1em;
  font-size: 0.9rem;
  text-align: center;
}
.footerInner {
  max-width: 800px;
  margin: 0 auto;
}
.ictMark {
  position: relative;
  text-align: center;
  margin-top: 2em;
}
.ictLetters {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
}

/* ------------------------------------
 メディアクエリ（PC対応）
------------------------------------ */
@media screen and (min-width: 768px) {
  .headerInner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em 3em;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    gap: 2em;
  }

  .nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    display: block;
    flex-shrink: 0;
  }

  .navMenu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.2em;
    align-items: center;
    justify-content: flex-end;
  }

  .openbtn {
    display: none;
  }

  .hero {
    background-image: url("../images/firstview_pc.jpg");
  }

  .heroInner {
    left: 50%;
    right: 0;
    transform: none;
    border-radius: 12px 0 0 12px;
    width: auto;
  }

  .heroCatch {
    font-size: 2rem;
  }

  .heroSub {
    font-size: 1.2rem;
  }

  .troubleList {
    flex-direction: row;
    justify-content: space-between;
    gap: 2em;
  }

  .troubleItem {
    width: 30%;
    text-align: center;
  }

  .troubleImage1,
  .troubleImage2,
  .troubleImage3 {
    aspect-ratio: 3 / 4;
  }

  .fadeUp {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
  }

  .fadeUp.active {
    opacity: 1;
    transform: translateY(0);
  }

  .courseList li {
    max-width: 900px;
    margin: 2em auto;
  }

  .courseLabel {
    width: 900px;
  }

  .voiceItem {
    display: flex;
    align-items: flex-start;
    gap: 2em;
    margin-bottom: 4em;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .voiceItem:nth-of-type(2) {
    flex-direction: row-reverse;
  }

  .voiceImage1,
  .voiceImage2 {
    width: 35%;
  }

  .voiceText {
    width: 65%;
  }

  .accordion-area {
    max-width: 900px;
  }

  .ctaInner {
    padding: 2em 4em;
  }

  .ctaCopy {
    font-size: 2rem;
  }
}
