/* ---------------------
   基本設定
---------------------- */
body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  background-color: #f7fdf9;
  color: #333;
}

/* ---------------------
   ヘッダー
---------------------- */

/* ヘッダー全体 */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  border-bottom: 2px solid rgba(46, 124, 94, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
}

/* 内部レイアウト */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

/* ロゴエリア */
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo {
  height: 50px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo-area {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .site-logo {
    height: 55px; /* ← 少し大きく */
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
  }

  .tagline {
    font-size: 0.85rem;
    color: #444;
  }
}

.tagline {
  font-size: 0.85rem;
  color: #777;
  font-style: italic;
  white-space: nowrap;
}

/* ナビメニュー */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #2e7c5e;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #2e7c5e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

/* ハンバーガーボタン */
/* ナビメニュー */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #2e7c5e;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #2e7c5e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}


/* ハンバーガーボタン */
.menu-toggle {
  position: relative;
  width: 30px;
  height: 22px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #2e7c5e;
  transition: 0.3s ease;
  border-radius: 2px;
}

.menu-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle::before {
  top: 0;
}

.menu-toggle::after {
  bottom: 0;
}

/* open時に×に変形 */
.menu-toggle.open span {
  opacity: 0;
}

.menu-toggle.open::before {
  transform: rotate(45deg);
  top: 50%;
}

.menu-toggle.open::after {
  transform: rotate(-45deg);
  top: 50%;
  bottom: auto;
}

/* オーバーレイ背景 */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(46, 124, 94, 0.95);
  z-index: 1;
}

.overlay.active {
  display: block;
}

/* スクロール防止用 */
.noscroll {
  overflow: hidden;
}

/* レスポンシブ（スマホ対応） */
@media (max-width: 930px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 1002; /* メニューより上に表示 */
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(46, 124, 94, 0.95); /* ← 背景色を設定！ */
    padding: 5rem 2rem 2rem;
    z-index: 1001;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .nav-menu a {
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .site-logo {
    height: 40px;
  }

  .tagline {
    font-size: 0.75rem;
    color: #eee;
    white-space: nowrap;
  }
}
.tagline {
  font-size: 0.85rem;
  color: #555 !important; /* ← ここで色をしっかり指定 */
  font-style: italic;
  white-space: nowrap;
}


/* PC用メニュー */
@media (min-width: 931px) {
  .overlay {
    display: none !important;
  }

  .menu-toggle {
    display: none;
  }
}

/* ---------------------
   メインビジュアル
---------------------- */
.main-visual {
  height: 70vh;
  background-image: url("../img/kv.webp");
  background-size: cover;
  background-position: center 30%;
  position: relative;
  text-align: center;
  color: #fff;
  margin: 0 !important;
  padding-top: 6rem;
  animation: zoomIn 6s ease-out forwards;
}

.main-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.visual-content {
  position: relative;
  z-index: 2;
  top: 5%;
  transform: translateY(-50%);
}

.main-title {
  font-size: 3em; /* 少し大きめに */
  font-weight: 700;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.6);

  line-height: 1.5;
  letter-spacing: 0.1em; /* 少し間隔を広げると視認性UP */
  color: #fff; /* 念のため明示 */
  margin-bottom: 1.2rem;
}

.main-sub {
  font-size: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 1.5rem; /* 少し小さめに */
    padding: 0 1rem; /* 左右に余白を追加 */
    margin-top: 0;
  }

  .main-sub {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------------------
   コンセプトセクション
---------------------- */
.concept-section {
  padding: 2rem 1rem;
  background-color: #f0f8f4;
}



@media (max-width: 767px) {
  .concept-text p {
    text-align: center;
  }
}

.concept-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
@media (max-width: 600px) {
  .concept-inner {
    gap: 1rem; /* ← ほんのり余白だけ */
  }
}

@media (min-width: 768px) {
  .concept-inner {
    flex-direction: row-reverse;
    align-items: center;
  }

  .concept-text {
    width: 55%;
  }

  .concept-image {
    width: 45%;
    filter: brightness(1.15);
  }
}

.concept-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
}

.concept-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2e7c5e;
  margin-bottom: 1rem;
}

/* スマホ用 */
@media (max-width: 767px) {
  .concept-title {
    text-align: center;
    font-size: 1.2rem; /* 必要に応じてサイズも調整 */
  }
}

.concept-image img {
  width: 100%;
  border-radius: 50px;
}

/* ---- スマホ時代でもプロに頼む価値セクション ---- */
/* ---- スマホ時代でもプロに頼む価値セクション ---- */
#value {
  background-color: #f0f8f4;
  padding: 3rem 1rem;
}

/* メインの説明ブロック */
.value-lead {
  background: #ffffff;
  border-left: 6px solid #2e7c5e;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin: 0 auto 3rem;
  max-width: 1000px;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (min-width: 768px) {
  .pc_dn {
    display: none;
  }
}

.value-lead h2 {
  font-size: 1.6rem;
  color: #2e7c5e;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
}

.value-lead p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  text-align: center;
}

.value-lead .lead-question {
  font-size: 1.3rem;
  font-weight: bold;
  color: #e96c0a;
  margin-top: 2rem;
  text-align: center;
  font-family: "Quicksand", sans-serif;
}

/* セクション見出し（3つの理由） */
.value-heading {
  font-size: 2.2rem;
  color: #2e7c5e;
  text-align: center;
  margin: 4rem auto 2rem;
  font-family: "M PLUS Rounded 1c", sans-serif;
  position: relative;
  line-height: 1.4;
}

.value-heading::after {
  content: "";
  display: block;
  width: 120px;
  height: 5px;
  background-color: #ff914d;
  border-radius: 3px;
  margin: 1rem auto 0;
}

/* 各ブロック（画像＋テキスト） */
#value .concept-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

#value .value-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1000px;
  padding: 0 1rem;
  box-sizing: border-box;
}

#value .concept-title {
  font-weight: bold;
  color: #2e7c5e;
  margin-bottom: 1rem;
}


#value .concept-text {
  width: 55%;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

#value .concept-image {
  width: 45%;
}

#value .concept-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 最後の締めメッセージ */
.value-ending-text {
  text-align: center;
  margin: 6rem auto 6rem;
  font-family: "M PLUS Rounded 1c", sans-serif;
  padding: 0 1rem;
  box-sizing: border-box;
}

.value-ending-text .main-line {
  font-size: 1.8rem;
  color: #2e7c5e;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.value-ending-text .highlight {
  color: #ff914d;
  font-style: italic;
  font-weight: bold;
  font-size: 2rem;
}

.value-ending-text .emphasis-line {
  font-size: 1.4rem;
  color: #2e7c5e;
  font-weight: 600;
  line-height: 1.9;
  margin: 0.5rem 0;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  #value {
    padding: 2rem 1rem;
  }

  .value-lead {
    padding: 1.5rem 1rem;
    margin: 2rem auto 3rem;
  }

  .value-lead h2 {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .value-lead p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .value-lead .lead-question {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }

  .value-heading {
    font-size: 1.5rem;
  }

  #value .value-block {
    flex-direction: column; /* ← ここを修正 */
  }

  #value .concept-text,
  #value .concept-image {
    width: 100%;
  }

  #value .concept-title {
    font-size: 0.9rem;
  }

  .value-ending-text .main-line {
    font-size: 1.2rem;
  }

  .value-ending-text .highlight {
    font-size: 1.5rem;
  }

  .value-ending-text .emphasis-line {
    font-size: 0.9rem;
  }
}

/* 撮影プランの背景色（やさしいベージュ系） */
.plan-section {
  padding: 2rem 1rem;
  background-color: #fdfaf6; /* ← 撮影プランはベージュ系 */
  text-align: center;
}

/* 写真教室の背景色（ミントグリーン系） */
#school {
  background-color: #eafaf1; /* ← ミントグリーン系に変える */
}

.section-title {
  font-size: 1.6rem;
  color: #2e7c5e;
  margin-bottom: 2rem;
}

.plan-block {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.plan-block h3 {
  font-size: 1.2rem;
  color: #2e7c5e;
  margin-bottom: 1rem;
}

.plan-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

.insta-button a {
  display: inline-block;
  margin-top: 1.2rem;
  background-color: #2e7c5e;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.insta-button a:hover {
  background-color: #246c4e;
}

.apply-button a {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #ff914d; /* オレンジで優しく目立つ */
  color: white;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.apply-button a:hover {
  background-color: #e8752d;
}

.plan-block.with-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.plan-text {
  text-align: center;
}

.plan-photo img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  object-fit: cover;
}

/* 横並び（PC） */
@media (min-width: 768px) {
  .plan-block.with-photo {
    flex-direction: row;
    justify-content: space-between;
    align-items: center; /* ← ここを center から stretch に */
    text-align: left;
  }

  .plan-text {
    width: 55%;
  }

  .plan-photo {
    width: 40%;
  }
}



.plan-text .note-text {
  font-size: 0.85rem !important;
  color: #555 !important;
}

/* ギャラリー */
.gallery-section {
  padding: 2rem 1rem;
  background-color: #ffffff;
  text-align: center;
}

.gallery-section .section-title {
  font-size: 1.6rem;
  color: #2e7c5e;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

.more-gallery {
  text-align: center;
  margin-top: 1.5rem;
}

.more-gallery a {
  font-size: 0.95rem;
  color: #2e7c5e;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.more-gallery a:hover {
  color: #1f5944;
}

.photo-lesson-section {
  padding: 2rem 1rem;
  background-color: #eafaf1; /* ミントグリーン系 */
  text-align: center;
}

/* 自己紹介セクション */
.profile-section {
  background-color: #f0f8f4;
  padding: 4rem 1rem;
}

@media (max-width: 768px) {
  .profile-section {
    padding: 2rem 1rem; /* ← 上下を小さめに調整 */
  }
}

.profile-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 0 2rem;
}

.profile-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.profile-text h2 {
  font-size: 1.8rem;
  color: #2e7c5e;
  margin-bottom: 0.5rem;
}

.profile-text .quote {
  font-size: 1.1rem;
  color: #2e7c5e;
  font-style: italic;
  margin-bottom: 1rem;
}

.profile-details {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.profile-details li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #444;
}

.profile-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

@media (min-width: 768px) {
  .profile-inner {
    flex-direction: row;
    align-items: center;
  }

  .profile-photo {
    width: 45%;
  }

  .profile-text {
    width: 55%;
  }
}

/* デフォルト（スマホ）は縦並びでテキスト→写真 */
.profile-inner {
  display: flex;
  flex-direction: column;
}

/* 写真を後にする */
.profile-photo {
  order: 2;
}

.profile-text {
  order: 1;
}

/* PC表示では横並びに戻して順序もリセット */
@media (min-width: 768px) {
  .profile-inner {
    flex-direction: row;
    align-items: center;
  }

  .profile-photo {
    order: 1;
    width: 45%;
  }

  .profile-text {
    order: 2;
    width: 55%;
  }
}

@media (max-width: 375px) {
  .profile-inner {
    gap: 2rem; 
  }
}

/* === FAQセクション全体 === */
.faq-section {
  background-color: #fefdfa;
  padding: 4rem 1rem;
  max-width: 960px;
  margin: 0 auto;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.faq-section .section-title {
  text-align: center;
  font-size: 1.8rem;
  color: #2e7c5e;
  margin-bottom: 2.5rem;
}

.faq-icon {
  font-size: 1.4rem;
  vertical-align: middle;
}

.faq-heading-bubble {
  background-color: #eafff3;
  border: 2px solid #2e7c5e;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-heading-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg); /* ←ここを修正！ */
  width: 20px;
  height: 20px;
  box-sizing: border-box;
}

.faq-heading-bubble p {
  font-size: 1.4rem;
  font-weight: bold;
  color: #2e7c5e;
  margin: 0;
}

.faq-heading-bubble small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #444;
}

.faq-icon {
  font-size: 1.5rem;
  vertical-align: middle;
  margin: 0 0.4rem;
}

/* === 折りたたみボックス === */
.faq-section details {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.faq-section summary {
  font-weight: bold;
  font-size: 1.05rem;
  color: #2e7c5e;
  cursor: pointer;
  list-style: none;
}

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

.faq-section details[open] {
  background-color: #f0f8f4;
}

/* === 回答部分 === */
.faq-content {
  padding-top: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

/* === リンクなど強調 === */
.faq-content a {
  color: #2e7c5e;
  text-decoration: underline;
  font-weight: bold;
}

.faq-content ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.faq-content li {
  margin-bottom: 0.3rem;
}

/* === 問い合わせ導線 === */
.faq-contact {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1rem;
}

.faq-contact a {
  color: #fff;
  background-color: #2e7c5e;
  padding: 0.5rem 1.3rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 0.5rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.faq-contact a:hover {
  background-color: #246c4e;
}

/* summaryの先頭にマークを表示 */
.faq-section summary {
  position: relative;
  padding-left: 1.5rem;
}

.faq-section summary::before {
  content: "▼"; /* 閉じているときのマーク */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  color: #2e7c5e;
  transition: transform 0.3s ease;
}

/* 開いているときに▲に変わる */
.faq-section details[open] summary::before {
  content: "▲"; /* 開いたときのマーク */
}

/* === お客様の声セクション === */
.voice-section {
  background-color: #afe7b8;
  padding: 4rem 1rem 6rem; /* ← 下の余白を多めに確保 */
  font-family: "M PLUS Rounded 1c", sans-serif;
  text-align: center;
}

.voice-section .section-title {
  font-size: 1.8rem;
  color: #3a7257;
  margin-bottom: 2rem;
}

.voice-slide {
  padding: 1rem;
}

@media (max-width: 768px) {
  .voice-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .swiper-slide {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .bubble-box {
    margin: 0 auto;
    text-align: center;
    max-width: 90%; /* ← 画面いっぱいにならないよう調整 */
  }
}

.voice-slider {
  position: relative;
  padding-bottom: 3rem; /* ← ドット用の余白を確保！ */
}

.bubble-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  position: relative;
  font-style: italic;
  border: 1px solid #e0f2e9;
}
@media (max-width: 480px) {
  .bubble-box {
    margin: 1rem auto;
    padding: 1.2rem 1rem;
    width: 90%; /* ← 固定幅を避けて画面サイズに追従させる */
    box-sizing: border-box;
  }
}

.bubble-box::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 1px solid #e0f2e9;
  border-top: none;
  border-left: none;
}

.voice-meta {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #7a9d84;
  font-style: normal;
}

/* Swiperページネーション（ドット）の調整 */
.swiper-pagination {
  position: absolute !important;
  bottom: 30px !important; /* ← 表示させたい高さに調整 */
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 2;
}

.swiper-pagination-bullet {
  background: #3a7257;
  opacity: 0.3;
  margin: 0 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.swiper-pagination-bullet-active {
  opacity: 0.9;
}

/* contactsection */

.contact-section {
  background-color: #f0f8f4;
  padding: 4rem 1rem;
  text-align: center;
}

.contact-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-inline: auto;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.contact-button {
  background-color: #2e7c5e;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  height: auto;
  max-width: 100%;
  flex-grow: 0;
}

.contact-button.line {
  background-color: #00c300;
}

.contact-button.insta {
  background-color: #e4405f;
}

.contact-button.form {
  background-color: #2e7c5e;
}


.contact-button:hover {
  opacity: 0.9;
}

.contact-links h3 {
  font-size: 1.2rem;
  color: #2e7c5e;
  margin-bottom: 1.2rem;
  text-align: center;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.goods-card {
  display: block;
  max-width: 300px;
  text-decoration: none;
  color: #333;
}

.goods-card img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.goods-card:hover img {
  transform: scale(1.03);
}

.goods-card p {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #444;
}

/* ボタン */
.card-button {
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background-color: #2e7c5e;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  text-align: center;
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
}

.card-button:hover {
  background-color: #246c4e;
}

/* footer */
.site-footer {
  background-color: #2e7c5e;
  color: #fff;
  padding: 2rem 1rem;
  font-family: "M PLUS Rounded 1c", sans-serif;
  text-align: center;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 0.85rem;
  color: #d0f2de;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 0;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  /* ロゴとタイトルを縦並びに */
  header {
    text-align: center;
    padding: 2rem 1rem;
  }

  header img {
    width: 80%;
    max-width: 250px;
    margin: 0 auto 1rem;
    display: block;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .category {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .box {
    padding: 1.5rem;
    text-align: center;
  }

  .box img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-top: 1rem;
  }

  .cta-button {
    display: inline-block;
    margin-top: 1rem;
    background-color: #2e7c5e;
    color: #fff;
    padding: 0.7rem 1.4rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
  }
}

#school {
  background-color: #eafaf1;
}


.more-button-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.more-button {
  display: inline-block;
  background-color: #2e7c5e;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.more-button:hover {
  background-color: #24694c;
}

@media screen and (max-width: 768px) {
  .more-button {
    display: inline-block;
    font-size: 1.2rem;          /* 少し大きく見やすく */
    padding: 1rem 2rem;         /* タップしやすく */
    min-width: 200px;           /* 横幅を確保してボタンらしく */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 立体感 */
  }
}
