@charset "utf-8";

/* ==========================================================================
   1. Base Styles & Typography (ナチュラル雑誌のような佇まい)
   ========================================================================== */
*{
  padding: 0;
  margin: 0;
}
.js-fadeinup-trigger,
.js-fadein-trigger {
  opacity: 0;
}   

html{
  font-size: 100%;
   overflow-x : hidden;
-webkit-overflow-scrolling: touch;

}

body {
  margin: 0;
  padding: 0;
  background-color: #fcfbfa; /* 淡いベージュ */
  color: #333333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
/* 横揺れ防止 */
html, body {
  overflow-x: hidden;
  width: 100%;
}

.wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px; /* 広めの余白 */
}

/* リンクの基本設定 */
a {
  color: #2f6d57;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
}

p{
  font-size: 1.2rem;
}
img{
  max-width: 100%;
    height: auto;

}

li{
  list-style: none;
  font-size: 1.1rem;
}
/* ==========================================================================
   2. Headings & Layout Elements (上品な深緑とゴールドのアクセント)
   ========================================================================== */
/* メインタイトル */
h1 {
  font-size:clamp(1.3rem, 3vw, 2.3rem);
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  color: #2f6d57; /* 深緑 */
  margin-bottom: 60px;
  padding-bottom: 20px;
  position: relative;
}
h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #b8903a; /* ゴールド */
}
@media (max-width: 768px) {
    h1 {
        margin-top: 50px;
        position: static;
    }
}
/* セクション共通見出し */
.section-title {
  font-size:clamp(1.4rem, 4vw, 2rem);
  font-weight: 500;
  color: #2f6d57;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.08em;
}

/* セクションごとの余白 */
section {
  margin-bottom: 100px; /* セクション間の余白を広めに */
}

/* フレックスボックスの共通調整 */
.book-page-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}
.box {
  flex: 1;
}
.box img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

/* ==========================================================================
   3. Hero Section (こんなあなたにおすすめ)
   ========================================================================== */
#hero {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(47, 109, 87, 0.05); /* ほんのり深緑を帯びた影 */
  border: 1px solid #f2ede4;
}
#hero ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
#hero ul li {
  margin-bottom: 12px;
  font-size: 18px;
  padding-left: 5px;
}

/* ==========================================================================
   4. Book Cards (本が少し浮いて見えるメインデザイン)
   ========================================================================== */
.book-card {
  background-color: #ffffff;
  padding: 50px 40px;
  border-radius: 12px; /* 12pxの丸み */
  margin-bottom: 50px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04); /* 上品な影 */
  border: 1px solid #f5f2eb;
}

.book-layout {
  display: flex;
  gap: 50px;
}

/* 本の画像と情報エリア */
.book-image {
  flex: 0 0 240px;
  text-align: center;
}

/* 本が浮いて見えるエフェクト */
.book-img {
  display: inline-block;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* 本自体の影（初期状態） */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  background: #fff;
  padding: 8px; /* 本の装丁を引き立てる余白 */
  border: 1px solid #f0eadd;
}
.book-img img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* マウスホバーで本が少し浮き上がる */
.book-image a:hover .book-img {
  transform: translateY(-8px); /* 上に少し浮く */
  box-shadow: 0 20px 35px rgba(184, 144, 58, 0.15); /* 影が広がり、ゴールドを微かに含む */
}

.book-title {
  font-size: 16px;
  font-weight: bold;
  color: #2f6d57;
  margin-bottom: 15px;
  line-height: 1.4;
}
.book_p ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 20px;
  text-align: left;
  font-size: 13px;
  color: #666666;
  border-top: 1px solid #f0eadd;
  border-bottom: 1px solid #f0eadd;
  padding: 10px 0;

}
.book_p ul li {
  margin-bottom: 4px;
}
@media (max-width: 768px) {
    .book_p {
        margin-left: 30px;
    }
}
/* 詳しく見るボタン */
.button {
  display: inline-block;
  background-color: #2f6d57;
  color: #ffffff;
  padding: 12px 35px;
  border-radius: 30px; /* ボタンはさらに丸みを帯びさせて美しく */
  font-size: 14px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 10px rgba(47, 109, 87, 0.2);
  transition: all 0.3s ease;
}
.button:hover {
  background-color: #235241;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 109, 87, 0.3);
  opacity: 1;
}

/* 本の詳細説明エリア */
.book-detail {
  flex: 1;
}
.book-detail h3 {
  font-size: 22px;
  color: #2f6d57;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 500;
  border-bottom: 1px solid #f2ede4;
  padding-bottom: 10px;
}
.book-detail h3 span {
  display: inline-block; /* スマホ等での改行考慮用 */
}

.book-detail p {
  font-size: 18px;
  margin-bottom: 15px;
}

/* 章立てリスト */
.book-detail ul:not(.tags) {
  list-style: none;
  padding: 20px;
  margin: 20px 0;
  background-color: #fcfbfa;
  border-radius: 8px;
  font-size: 14px;
  color: #555555;
}
.book-detail ul:not(.tags) li {
  margin-bottom: 8px;
}
.book-detail ul:not(.tags) li:last-child {
  margin-bottom: 0;
}

/* おすすめタグ (女性誌のようなニュアンスカラー) */
.book-detail h4 {
  font-size: 14px;
  color: #b8903a;
  margin-top: 25px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  font-size: 12px;
  background-color: #f5f2eb;
  color: #656055;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid #ebdcb9;
}

/* ==========================================================================
   5. Customer Voice (お客様の声 - 読み物としての上品なレイアウト)
   ========================================================================== */
#voice {
  background-color: #f5f2eb;
  padding: 60px 40px;
  border-radius: 12px;
}
.voice-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  font-size: 14px;
  color: #444444;
}
.voice-card:last-child {
  margin-bottom: 0;
}
.voice-card h3 {
  font-size: 16px;
  color: #b8903a;
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 600;
}
/* ==========================================================================
   6. Author Section (著者紹介 - 写真と文章が正しく対応するよう修正)
   ========================================================================== */
#author {
  margin-bottom: 100px;
}

/* 1人目（初代学長）のブロック */
.author-layout {
  display: flex;
  gap: 40px;
  margin-bottom: 60px; /* 2人目との間隔を広めに */
  align-items: center; /* 写真と文章の縦方向を中央揃えに */
}

/* 2人目（第二代学長）のブロック */
#author .flex {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  align-items: center; /* 写真と文章の縦方向を中央揃えに */
}

/* 写真と名前が入る左側のカード */
.author-card:nth-child(odd) {
  flex: 0 0 200px; /* 左側の幅を200pxに固定して揃える */
  text-align: center;
}

/* 説明文が入る右側のカード */
.author-card:nth-child(even) {
  flex: 1; /* 残りの幅をいっぱいに使う */
  font-size: 14.5px;
  color: #555555;
  line-height: 1.8;
  text-align: justify; /* 文末を綺麗に揃える */
}

/* 著者写真の共通スタイル */
.author-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%; /* 円形 */
  border: 4px solid #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05); /* 上品な薄い影 */
  margin-bottom: 12px;
}

/* 著者名のリンクとテキスト */
.author-card p {
  font-weight: 500;
  font-size: 13.5px;
  margin: 0;
  line-height: 1.5;
}
.author-card p a {
  color: #2f6d57; /* 深緑 */
}

/* スマホ表示（画面幅768px以下）でのレスポンシブ対応の修正 */
@media (max-width: 768px) {
  .author-layout, 
  #author .flex {
    flex-direction: column; /* スマホでは縦並びにする */
    gap: 15px;
    text-align: center;
  }
  .author-card:nth-child(odd) {
    flex: none;
    width: 100%;
  }
  .author-card:nth-child(even) {
    text-align: left; /* スマホの長文は左寄せが見やすい */
    padding: 0 10px;
  }
}
/* ==========================================================================
   7. FAQ Section (よくある質問 - 丁寧でクリーンなアコーディオン風)
   ========================================================================== */
#faq dl {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid #f2ede4;
}
#faq dt {
  font-weight: bold;
  font-size: 16px;
  color: #2f6d57;
  padding-left: 30px;
  margin-bottom: 10px;
}
#faq dt::before {
  content: "Q.";
  position: absolute;
  left: 0;
  top: 0;
  color: #b8903a;
  font-family: serif;
  font-weight: bold;
  font-size: 18px;
}
#faq dd {
  margin: 0 0 35px 0;
  padding-left: 30px;
  font-size: 15px;
  color: #555555;
  border-bottom: 1px solid #fcfbfa;
  padding-bottom: 20px;
}
#faq dd:last-of-type {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
/* ==========================================================================
   8. Shop & CTA Section (ネットショップ誘導とお申し込み窓口)
   ========================================================================== */
#shop {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #ebdcb9; /* 薄いゴールドの枠線 */
  box-shadow: 0 4px 20px rgba(184, 144, 58, 0.05);
}
.shop_title {
  text-align: center;
  font-size: 16px;
  color: #b8903a;
  margin-bottom: 30px;
}
.shop-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}
.shop-text {
  flex: 1;
}
.shop-text p {
  margin: 8px 0;
  font-size: 14px;
}
.shop-text img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}
.shop-image {
  flex: 1;
}
.shop-image img {
  width: 100%;
  border-radius: 8px;
}

/* お電話窓口 (CTA) */
#cta {
  text-align: center;
  background-color: #2f6d57;
  color: #ffffff;
  padding: 60px 40px;
  border-radius: 12px;
}
#cta p {
  font-size: 15px;
  margin-bottom: 20px;
}
#cta .section-title {
  color: #ffffff;
  margin-bottom: 15px;
}
#cta a[href^="tel:"] {
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
  background-color: #b8903a; /* ゴールドの電話ボタン */
  padding: 10px 40px;
  border-radius: 50px;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
#cta a[href^="tel:"]:hover {
  background-color: #a37e2f;
  transform: scale(1.02);
}
.box2 {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.box2 img {
  width: 45%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ==========================================================================
   9. Responsive Styles (スマートフォン対応)
   ========================================================================== */
@media (max-width: 768px) {
  .wrapper {
    padding: 40px 15px;
  }
  .book-page-flex, .book-layout, .author-layout, .shop-layout, #author .flex {
    flex-direction: column;
    gap: 30px;
  }
  .book-image {
    flex: none;
    width: 100%;
  }
  .book-card {
    padding: 30px 20px;
  }
  #hero, #voice, #faq dl, #shop, #cta {
    padding: 30px 20px;
  }
  #cta a[href^="tel:"] {
    font-size: 24px;
    padding: 10px 25px;
  }
  .box2 img {
    width: 100%;
  }
  .box2 {
    flex-direction: column;
    align-items: center;
  }
}

   /*---------------------------------
トップへもどるボタン
---------------------------------*/

.go-top{
  position: fixed;
  bottom: 10px;
  right: 20px;
  z-index: 9999;
}
.go-top a{
  width: 50px;
  height: 50px;
  display: inline-block;
  background: #E94E66;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  color: black;
  text-decoration: none;
}

.go-top a:hover{
    opacity: 0.8;
  }

  @media screen and (max-width:600px) {
    
.go-top{
  right: 0px;

}
  } 

  
