/* ------------------------------
   Base
------------------------------ */
:root {
  --beige: #f4ecdc;
  --dark-green: #195242;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #333;
  background-color: var(--beige);
  overflow-x: hidden;
}
/* ------------------------------
   Header
------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: rgba(244, 236, 220, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: "Noto Serif JP", "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
}

/* ナビ（PC表示） */
.site-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  align-items: center;
}

.site-nav a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
}
.site-nav a {
  text-decoration: none;
  color: #444;
  position: relative;
  padding-bottom: 3px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background-color: #ff8a3c;
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}
/* ハンバーガー（スマホ専用） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #333;
}

/* ------------------------------
   Hero
------------------------------ */

.hero {
  width: 100%;
  min-height: 100vh;
  background: url("images/rina_hero_photo.png") no-repeat right center / cover;
  position: relative;
  display: flex;
  align-items: center;
}

/* テキストボックス */
.hero-content {
  max-width: 540px;
  position: relative;
  top: 30px;
  margin-left: 7vw;
  color: #21412c;
}

/* メインキャッチ */
.main-headline {
  font-family: "Noto Serief JP", serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.4;
  margin-bottom: 28px;
}

.main-headline .tilt {
  display: inline-block;
  transform: rotate(14deg);
  transform-origin: center bottom;
  position: relative;
  top: 1px;
  font-weight: 900;
  margin-left: -12px;
  color: #0e402b;
}

.nowrap {
  white-space: nowrap;
}

/* 「から」「に」「を」だけ小さく */
.small-char {
  font-size: 28px;
}

/* サブキャッチ Impact */
.hero-sub-impact {
  font-family: "Impact", sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 1px;
  line-height: 0.9;
}

/* サブテキスト */
.hero-subtext {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 0.5;
  margin-bottom: 40px;
}

/* 説明文 */
.hero-desc {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 50px;
}

/* CTA */
.cta-btn {
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 16px 52px;
  background: linear-gradient(90deg, #f59e0b, #d946ef);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ------------------------------
   Lesson Section
------------------------------ */
.content-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 20px 120px;
  background-color: var(--beige);
}

.content-section h2 {
  font-family: "Noto Serif JP", "Times New Roman", serif;
  font-size: 28px;
  margin-bottom: 16px;
}
/* セクション全体 */
.lessons-section {
  padding: 80px 20px;
  background: #faf7f0;
  text-align: center;
}

/* タイトル */
.section-title {
  font-family: "Noto Sans JP";
  font-size: 36px;
  font-weight: 700;
  color: #2e4e3f;
  margin-bottom: 10px;
}

.section-subtitle {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 18px;
  color: #6b7f72;
  margin-bottom: 40px;
}

/* カード並び（横3つに戻す） */
.lesson-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
}

/* カード本体 */
.lesson-card {
  width: 340px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: 0.3s ease;
}

.lesson-card:hover {
  transform: translateY(-6px);
}
/* ---- 写真の調整 ---- */

.lesson-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
}

.lesson-image2 {
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.lesson-image2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lesson-title {
  font-size: 24px;
  margin: 20px 0 10px;
  color: #2e4e3f;
}

.lesson-desc {
  color: #555;
  font-size: 15px;
  padding: 0 20px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.lesson-price {
  margin: 18px 0;
  font-size: 16px;
  color: #444;
  font-weight: 600;
}

.lesson-btn {
  display: inline-block;
  background: linear-gradient(45deg, #ff9a3c, #ff5d8f);
  color: #fff;
  padding: 12px 35px;
  margin: 0 auto 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.lesson-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ------------------------------
   About
------------------------------ */
.about-section {
  width: 100%;
  padding: 80px 0;
  background: #f7f0e8;
}

.about-inner {
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

/* ---- 左の写真 ---- */
.about-image {
  flex: 6;
  height: 750px;
  background-image: url("images/main_1.jpg");
  background-position: center 30%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.about-image::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 40%;
  background: linear-gradient(
    to right,
    transparent 0%,
    #f7f0e8 85%,
    #f7f0e8 100%
  );
}

/* ---- 右側テキスト ---- */
.about-text {
  flex: 4;
  padding-right: 80px;
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  line-height: 1.9;
  color: #333;
}

.about-text p {
  margin-bottom: 22px;
}

/* 見出し */
.about-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  font-weight: 700;
  color: #2c4a35;
}

.about-highlight {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: #2a4b71;
  font-weight: 700;
  font-style: italic;
}

/* 一番下の一文 */
.about-text .closing-line {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-top: 35px;
  color: #2c4a35;
  line-height: 1.5;
}

/* ------------------------------
   Voice
------------------------------ */
.voice-section {
  background: #f2f1ef;
  padding-top: 40px;
  padding-bottom: 40px;

  /* ナビから飛んだときの余白調整 */
  scroll-margin-top: 90px;
}

.voice-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.voice-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 60px;
  color: #2e463d;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 12px;
}

/* Voice Cards */
.voice-card {
  background: #fffefc;
  border-radius: 14px;
  padding: 35px 40px;
  margin-bottom: 45px;

  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);

  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.voice-card:nth-of-type(1) {
  animation-delay: 0s;
}
.voice-card:nth-of-type(2) {
  animation-delay: 0.15s;
}
.voice-card:nth-of-type(3) {
  animation-delay: 0.3s;
}

/* Header */
.voice-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #346a55;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.avatar:hover {
  transform: translateY(-2px);
  background: #3b7761;
}

/* Text */
.voice-title {
  color: #444;
  font-size: 20px;
  font-weight: 600;
}

.voice-text {
  color: #444;
  line-height: 1.75;
  margin-bottom: 20px;
}

.voice-name {
  text-align: right;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------
   Contact
------------------------------ */
.contact-section {
  background: #f7f0e8;
  padding-top: 40px;
  padding-bottom: 120px;

  /* ナビから飛んだときの余白調整 */
  scroll-margin-top: 90px;
  overflow: hidden;
}

.contact-container {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 5;
}

.contact-container h2 {
  font-size: 32px;
  color: #2f4f4f;
  margin-bottom: 10px;
}

.contact-desc {
  color: #555;
  margin-bottom: 35px;
}

.line-contact {
  text-align: center;
  margin-bottom: 24px;
}

.line-btn {
  display: inline-block;
  background: #06c755;
  color: white;
  padding: 12px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.line-btn:hover {
  opacity: 0.85;
}
/* Form */
.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.contact-form label {
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin: 12px 0 25px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
}

.contact-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(90deg, #f7a35c, #ff4f8b);
  border: none;
  color: white;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 79, 139, 0.35);
  transition: all 0.25s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  opacity: 0.95;
  box-shadow: 0 8px 18px rgba(255, 79, 139, 0.45);
}

/* ------------------------------
   Footer
------------------------------ */
.site-footer {
  background-color: #2f4f4f;
  color: #f8f6f2;
  text-align: center;
  padding: 40px 0 55px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 0;
}

/* Photo Credit */
.photo-credit {
  font-size: 12px;
  color: rgba(248, 246, 242, 0.75);
  margin-bottom: 25px;
  font-weight: 300;
  line-height: 1.8;
}

.copyright {
  font-size: 13px;
  opacity: 0.9;
  margin: 10px 0;
  line-height: 1.7;
}

.created-by {
  font-size: 14px;
  font-weight: 400;
  margin-top: 12px;
  line-height: 1.7;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer a {
  color: #f8f6f2;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
  transition: 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.7;
}

/* =========================
   📱 Tablet（iPad mini / Air / Pro）
   721px ～ 1024px
========================= */
@media (min-width: 721px) and (max-width: 1024px) {
  /* -------------------------
     Header
  --------------------------*/
  .header-inner {
    padding: 20px 28px;
  }

  .hamburger {
    display: none;
  }

  .site-nav {
    display: flex;
    gap: 28px;
    position: static;
    background: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav a {
    font-size: 15px;
  }

  /* -------------------------
     Hero Section
     （タブレット用に中央配置）
  --------------------------*/
  .hero {
    min-height: 130vh;
    height: auto;
    padding-bottom: 50vh;
    background-image: url("images/rina_hero_tb.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-start;
    position: relative;
  }

  .hero-content {
    /* ====== カードの基本レイアウト ======= */
    position: absolute;
    top: 55vh;
    left: 50%;
    transform: translateX(-50%);

    max-width: 75%;
    padding: 30px 26px;
    background: rgba(244, 236, 220, 0.95);
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .main-headline {
    font-size: 30px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .hero-sub-impact {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .hero-desc {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .cta-btn {
    font-size: 17px;
    padding: 14px 0;
    width: 100%;
    text-align: center;
  }

  /* -------------------------
     Lesson Section
  --------------------------*/
  .lesson-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .lesson-card {
    width: 46%;
    margin-bottom: 30px;
    border-radius: 24px;
  }

  .lesson-image img,
  .lesson-image2 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center center;
  }

  .lesson-title {
    font-size: 22px;
  }

  /* -------------------------
     About Section
     横長画像が主役
  --------------------------*/
  .about-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;

    max-width: 100%;
    margin: 0 auto;
  }

  .about-image {
    flex: 1;
    height: 1100px;
    border-radius: 0px;

    background-image: url("images/about_tb.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }

  .about-text {
    flex: 1;
    font-size: 17px;
    line-height: 1.8;
  }

  .about-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  /* -------------------------
     Voice Section
  --------------------------*/
  .voice-card {
    padding: 32px 36px;
  }
  .voice-title {
    font-size: 22px;
  }
  .avatar {
    width: 48px;
    height: 48px;
  }

  /* -------------------------
     Contact
  --------------------------*/
  .contact-container {
    max-width: 720px;
    padding: 0 20px;
  }

  .contact-form {
    padding: 35px;
  }

  .contact-btn {
    font-size: 17px;
  }

  /* -------------------------
     Footer
  --------------------------*/
  .site-footer {
    padding: 40px 0;
    font-size: 15px;
  }
}

/* =========================
   スマホ（〜720px）
   ========================= */

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 14px;
  }

  .site-nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 140vh;
    background-image: url("images/rina_hero_photo_mobile2.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 90% center;
    align-items: flex-start;
  }

  .hero-content {
    max-width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;

    top: 70vh;

    background: rgba(244, 236, 220, 0.96);
    padding: 20px 18px 26px;
    border-radius: 20px;
  }

  .main-headline {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .small-char {
    font-size: 22px;
  }

  .hero-sub-impact {
    font-size: 21px;
    line-height: 1.4;
    margin-bottom: 4px;
  }

  .hero-subtext {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 18px;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 14px 0;
  }

  .lesson-cards {
    flex-wrap: wrap;
  }
  .lesson-card {
    width: 90%;
    margin-bottom: 30px;
  }

  .about-inner {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    width: 100%;
    min-height: 420px;
    background: url("images/main_1.jpg") center top / cover no-repeat;
    display: block;
  }

  .about-image::after {
    display: none;
  }

  .about-text {
    width: 100%;
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.9;
  }

  .about-text h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
  }

  .closing-line {
    text-align: center;
  }
  /* ハンバーガーボタン */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
  }

  .hamburger span {
    display: block;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: 0.3s;
  }

  /* メニューを隠す（初期状態） */
  .site-nav {
    position: absolute;
    top: 65px;
    right: 15px;
    left: 15px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.25s ease;
    background: transparent;
  }

  /* ▼ 開いた状態 */
  .site-nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .site-nav a {
    display: block;
    text-align: left;
    font-size: 17px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* PCの横並び禁止 */
  .header-inner {
    justify-content: space-between;
  }
}

@media screen and (max-width: 480px) {
  .contact-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hero-content {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
  .voice-card {
    padding: 25px 20px;
    margin: 20px 0;
  }

  .avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .voice-section h2 {
    margin-top: 20px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .site-footer {
    padding: 30px 10px;
    text-align: center;
  }
}
