@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* 共通 */
:root {
  --main-color: #3AA551;
  --sub-color: #80CC91;
  --sec-bg-color: #EBFFF0;
  --en-font: "Oswald", sans-serif;
  --jp-font: "Noto Sans JP", sans-serif;
  --sec-padding: clamp(2rem, 1rem + 5vw, 5rem) clamp(1.5rem, 1.167rem + 1.67vw, 2.5rem);
}

html {
  font-size: 16px;
}

body {
  font-family: var(--jp-font);
  box-sizing: border-box;
}

main {
  padding-top: 90px;
}

a {
  color: #333;
}

.sp-br {
  display: none;
}

@media (max-width: 540px) {
  .sp-br {
    display: block;
  }
}

.-sidebar-on .l-mainContent {
  margin: 0 auto;
}

/* 固定ボタンラッパー */
.fixed-contact-buttons {
  position: fixed;
  top: 20%;
  right: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* difyスタイル */
#dify-chatbot-bubble-window {
	position: fixed !important;
}

/* 共通ボタンスタイル（縦並び） */
.fixed-contact-buttons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  width: 48px;
  height: 160px;
  padding: 8px;
  transition: opacity 0.3s;
}

.fixed-contact-buttons a:hover {
  opacity: 0.85;
}

.fixed-contact-buttons .contact-btn {
  background-color: var(--main-color);
}

.fixed-contact-buttons .line-btn {
  background-color: #80CC91;
}

/* アイコン上、テキスト下に */
.fixed-contact-buttons i {
  font-size: 20px;
  margin-bottom: 8px;
  color: #fff;
}

/* ← テキストを縦書きに */
.fixed-contact-buttons span {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 14px;
  line-height: 1.6;
}

/* SPでは非表示 */
@media (max-width: 840px) {
  .fixed-contact-buttons {
    display: none;
  }
}

/* SP固定問い合わせボタン */
.sp-fixed-contact {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--sec-bg-color);
  padding: 12px 8px 16px;
  text-align: center;
  z-index: 888;
  display: none;
}

.sp-fixed-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.sp-fixed-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  padding: 10px 16px;
  white-space: nowrap;
  transition: opacity 0.3s;
  width: 48%;
  justify-content: center;
}

.sp-btn:hover {
  opacity: 0.9;
}

.sp-btn i {
  color: #fff;
}

.tel-btn {
  background-color: var(--main-color);
}

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

/* スマホのみ表示 */
@media (max-width: 840px) {
  .sp-fixed-contact {
    display: block;
  }
}

/* ===== 右下追従メニューボタン（SP限定） ===== */
.floating-menu-btn {
  position: fixed;
  bottom: 110px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: var();
  border: none;
  border-radius: 50%;
  z-index: 10000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.floating-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
}

/* SPのみ表示 */
@media (min-width: 841px) {
  .floating-menu-btn {
    display: none;
  }
}


.fa-solid {
  color: var(--main-color);
}

.site-header {
  background-color: #fff;
  padding: 12px 20px;
  position: fixed;
  z-index: 99999;
  width: 100%;
  transform: translateY(0); /* ← これを明示 */
  transition: transform 0.3s ease-in-out; /* ← アニメーションを滑らかに */
}

.site-header.hide {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  max-height: 60px;
}

@media (max-width: 540px) {
  .site-logo img {
    max-height: 40px;
  }
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* 共通のCTAスタイル */
.header-cta-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.header-cta-access,
.header-cta-call {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cta-wrapper a {
  text-decoration: none;
  color: #333;
}

/* ---- ナビ ---- */
.site-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  border-right: 1px solid #333;
  padding: 0 16px;
  transition: color 0.3s;
}

.nav-menu li:last-child a {
  border-right: none;
  padding: 0 0 0 16px;
}

.nav-menu li a:hover {
  color: var(--main-color);
}

/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-icon {
  width: 25px;
  height: 2px;
  background-color: #333;
  display: block;
  position: relative;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  width: 25px;
  height: 2px;
  background-color: #333;
  position: absolute;
  left: 0;
  transition: transform 0.3s;
}
.menu-icon::before {
  top: -8px;
}
.menu-icon::after {
  top: 8px;
}

/* ==== モバイルメニュー（スマホ表示） ==== */
@media (max-width: 840px) {
  .site-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--main-color);
    z-index: 999;
    padding: 60px 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    transition: right 0.3s ease;
  }

  .site-navigation.active {
    right: 0;
    gap: 40px;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin-top: 40px;
    gap: 0 !important;
    align-items: flex-end;
  }

  .nav-menu li {
    width: 100%;
    text-align: right;
  }

  .nav-menu li a {
    display: flex;
    align-items: center;
    padding: 20px 0;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid #fff;
    border-right: none;
  }

  .nav-menu li:last-child a {
    padding: 20px 0;
  }

  .nav-menu li a::before {
    content: "›";
    margin-right: 10px;
    font-size: 18px;
  }

  .menu-toggle {
    display: block;
    z-index: 888;
  }

  .menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
  }

  .menu-close span {
    font-size: 12px;
    margin-top: 4px;
    letter-spacing: 1px;
  }

  /* SP時だけ表示するCTA */
  .header-cta-wrapper.mobile-only {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .header-cta-wrapper.mobile-only a {
    color: var(--main-color);
    background-color: #fff;
    padding: 8px 16px;
    border-radius: 80px;
  }

  .header-cta-access,
  .header-cta-call {
    justify-content: center;
    font-weight: 500;
  }

  /* PC表示用CTA非表示 */
  .header-cta-wrapper.desktop-only {
    display: none;
  }
}

/* ==== PC表示用 ==== */
@media (min-width: 841px) {
  .site-navigation {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    background: none;
    height: auto;
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }

  .menu-close {
    display: none;
  }

  .header-cta-wrapper.mobile-only {
    display: none !important;
  }

  .header-cta-wrapper.desktop-only {
    display: flex;
    gap: 32px;
  }
}

/* タブレット対応調整 */
@media (min-width: 541px) and (max-width: 840px) {
  .nav-menu {
    gap: 15px;
  }

  .site-logo img {
    max-height: 50px;
  }
}

/* フッター */
.site-footer {
  background-color: #fff;
  font-size: 14px;
  color: #333;
}

.footer-hours {
  background-color: #EBFFF0;
  text-align: center;
  padding: var(--sec-padding);
}

.footer-hours h2 {
  font-size: clamp(1rem, 0.875rem + 0.63vw, 1.375rem);
  font-weight: 500;
  margin-bottom: 24px;
}

.hours-table {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  border-bottom: 1px solid #ddd;
  padding: 12px 8px;
}

.hours-table thead th {
  font-weight: 500;
}

.note {
  font-size: 12px;
  color: #777;
  margin-top: 10px;
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.footer-left {
  flex: 1 1 300px;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 20px;
}

.footer-info li {
  margin-bottom: 6px;
}

.footer-nav {
  flex: 1 1 200px;
  margin-top: 20px;
}

.footer-nav ul {
  width: 100%;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--main-color);
}

.footer-bottom {
  background-color: var(--sub-color);
  text-align: center;
  padding: 12px 20px;
  font-size: 12px;
  color: #fff;
}

/* スマホ対応 */
@media (max-width: 540px) {
  .site-footer {
    margin-bottom: 100px;
  }

  .footer-left {
    flex: 1 1 220px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .footer-nav {
    margin-top: 0;
    display: none;
  }
}

/* トップページ */
.front-page .main-visual {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.front-page .main-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.sp-mv {
  display: none;
}

@media (max-width: 540px) {
  .pc-mv {
    display: none;
  }

  .sp-mv {
    display: block;
  }
}

.news-section {
  background: var(--sec-bg-color);
  padding: var(--sec-padding);
}

.news-section__inner .section_title,
.news-section__inner .section_subtitle {
  text-align: center;
}

.news-section__inner .section_subtitle {
  margin-bottom: 24px;
}

.news-section__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
}

.news-section__item {
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
}

.news-section__item a {
  text-decoration: none;
  color: #333;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

@media (max-width: 840px) {
  .news-section__item,
  .news-section__item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.news-section__date {
  font-size: 14px;
  color: #888;
}

.news-section__text {
  font-weight: 500;
}

/* ページネーション（SWELL影響排除済み） */
.news-section__pagination-item.current .news-page-link {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

.news-section__pagination {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.news-section__pagination ul {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-section__pagination-item a,
.news-section__pagination-item span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  background: #fff;
  font-size: 14px;
  transition: 0.3s;
}

.news-section__pagination-item a:hover {
  background-color: var(--main-color);
  color: #fff;
  border: 1px solid var(--main-color);
}

.news-section__pagination-item .current {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

@media (max-width: 540px) {
  .news-section__pagination ul {
    justify-content: center;
    gap: 8px;
  }

  .news-section__pagination-item {
    flex: 0 1 auto;
  }

  .news-section__pagination-item .news-page-link {
    padding: 6px 10px;
    font-size: 13px;
    min-width: 36px;
    text-align: center;
    word-break: keep-all;
  }
}


/* セクション全体 */
.info-section {
  text-align: center;
  padding: var(--sec-padding);
  background: #fff;
}

.section_title {
  font-size: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  font-family: var(--en-font);
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--main-color);
  margin-bottom: 2px;
}

.section_subtitle {
  font-size: clamp(0.875rem, 0.833rem + 0.21vw, 1rem);
  font-family: var(--jp-font);
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 40px;
}

/* カードグリッド */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

/* 各カード */
.info-card {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--main-color);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  transition: box-shadow 0.3s;
}

.info-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

.info-card__text h3 {
  font-size: 18px;
  color: var(--main-color);
  margin-bottom: 8px;
  text-align: left;
  font-weight: 500;
}

.info-card__text p {
  font-size: 14px;
  color: #333;
  text-align: left;
}

/* タブレット対応 */
@media (max-width: 840px) {
  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ対応 */
@media (max-width: 540px) {
  .info-cards {
    grid-template-columns: 1fr;
  }

  .info-card img {
    margin-right: 0;
    margin-bottom: 12px;
  }

  .info-card__text h3,
  .info-card__text p {
    text-align: left;
  }
}

.support-section {
  background-color: var(--sec-bg-color);
  padding: var(--sec-padding);
  text-align: center;
}

.support-section__title {
  font-size: 36px;
  color: var(--main-color);
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 10px;
}

.support-section__subtitle {
  font-size: 16px;
  color: var(--main-color);
  margin-bottom: 40px;
}

.support-box {
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.support-box__text {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 25px;
  color: #333;
}

.support-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.support-item {
  width: 140px;
  text-align: center;
}

.support-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 4px;
}

.support-item p {
  font-size: 14px;
  color: #333;
}

/* タブレット対応 */
@media (max-width: 840px) {
  .support-items {
    gap: 10px;
  }

  .support-item {
    width: 120px;
  }

  .support-box {
    padding: 12px;
  }
}

/* スマホ対応 */
@media (max-width: 540px) {
  .support-item {
    width: 75px;
  }

  .support-box__text {
    font-size: 16px;
  }
}

.point-section {
  padding: var(--sec-padding);
  background-color: #fff;
}

.point-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.point-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1080px;
}

/* 各ポイントブロック */
.point-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 40px;
}

.point-item.reverse {
  flex-direction: row-reverse;
  margin-bottom: 40px;
}

.point-item__image {
  width: 50%;
  z-index: 1;
}

.point-item__image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.point-item__text {
  position: absolute;
  bottom: -32px;
  left: 66%;
  transform: translateX(-50%);
  width: 36%;
  background-color: #EBFFF0;
  padding: 24px 24px 24px 56px;
  border-radius: 12px;
}

/* reverse時のテキスト位置切り替え */
.point-item.reverse .point-item__text {
  left: auto;
  right: 66%;
  transform: translateX(50%);
  padding: 24px 56px 24px 24px; /* 左右余白を逆に */
  text-align: left;
}

.point-number {
  font-size: 24px;
  font-family: var(--en-font);
  
  color: var(--sub-color);
  font-weight: 500;
  margin-bottom: 2px;
}

.point-desc {
  font-size: 18px;
  font-weight: 500;
  padding-bottom: 16px;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.6;
  border-bottom: 1px solid #707070;
}

.point-btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 30px;
  background: #fff;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}

.point-btn:hover {
  background-color: var(--main-color);
  color: #fff;
}

/* レスポンシブ：タブレット以下 */
@media (max-width: 840px) {
  .point-item {
    flex-direction: column;
    margin-bottom: 0;
  }

  .point-item.reverse {
    flex-direction: column;
    margin-bottom: 0;
  }

  .point-item__text {
    width: 100%;
    transform: translateX(0%);
    position: static;
    padding: 8px 0 16px;
  }

  /* reverse時のテキスト位置切り替え */
  .point-item.reverse .point-item__text {
    transform: translateX(0%);
    padding: 8px 0 16px;
  }

  .point-item__text__wrapper {
    width: 80%;
    margin: 0 auto;
  }

  .point-item__image {
    width: 80%;
  }

  .point-btn {
    width: 100%;
    text-align: center;
  }
}

.clinic-intro {
  background-color: #fff;
  text-align: center;
  padding: var(--sec-padding);
}

.clinic-intro__title {
  font-size: 36px;
  color: var(--main-color);
  font-weight: 500;
  
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.clinic-intro__subtitle {
  font-size: 14px;
  color: var(--main-color);
  margin-bottom: 30px;
}

.clinic-intro__catch {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  line-height: 1.6;
  margin-bottom: 32px;
}

.clinic-intro__btn {
  min-width: 260px;
  display: inline-block;
  background-color: var(--main-color);
  color: #fff;
  font-size: 14px;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

.clinic-intro__btn:hover {
  background-color: var(--main-color);
}

@media (max-width: 540px) {
  .clinic-intro {
    padding-top: 0;
  }

  }
  .clinic-intro__title {
    font-size: 28px;
  }

  .clinic-intro__catch {
    font-size: 20px;
  }

.greeting-section {
  background-color: var(--sec-bg-color);
  position: relative;
  padding: 80px 20px 64px;
  clip-path: polygon(0% 0%, 100% 0, 100% 85%, 50% 100%, 0 85%);
  overflow: visible;
  z-index: 0;
}

.greeting-section__top {
  text-align: center;
  font-size: clamp(1.125rem, 1rem + 0.63vw, 1.5rem);
  color: var(--main-color);
  font-weight: 500;
  margin-bottom: 40px;
  position: relative;
}

.greeting-section__top p::before {
  content: "＼";
  margin: 0 8px;
  color: var(--main-color);
}

.greeting-section__top p::after {
  content: "／";
  margin: 0 8px;
  color: var(--main-color);
}

.greeting-section__inner {
  max-width: 880px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.greeting-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 32px;
  gap: 32px;
  align-items: flex-start;
}

.greeting-text {
  flex: 1;
}

.greeting-label {
  color: var(--main-color);
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 12px;
}

.greeting-title {
  font-size: clamp(1rem, 0.833rem + 0.83vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 20px;
  color: #333;
}

.greeting-body p {
  font-size: clamp(0.625rem, 0.542rem + 0.42vw, 0.875rem);
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.greeting-name {
  font-weight: 500;
  font-size: clamp(0.625rem, 0.417rem + 1.04vw, 1.25rem);
  color: #333;
}

.greeting-photo {
  width: 40%;
  padding: 24px;
}

.greeting-photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .greeting-content {
    gap: 16px;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .greeting-section__top {
    margin-bottom: 8px;
  }
}

@media (max-width: 540px) {
  .greeting-section {
    padding: 40px 20px 80px;
    clip-path: polygon(0% 0%, 100% 0, 100% 90%, 50% 100%, 0 90%);
  }

  .greeting-photo {
    padding: 0 24px;
  }
}

.contact-section {
  background-color: #EBFFF0;
  padding: 80px 0 0;
  text-align: center;
}

.contact-title {
  font-size: 36px;
  font-weight: 500;
  color: var(--main-color);
  
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 14px;
  color: var(--main-color);
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-box {
  flex: 1 1 50%;
  padding: 30px 20px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-box.phone {
  background-color: var(--main-color);
}

.contact-box.line {
  background-color: var(--sub-color);
}

/* スマホ対応 */
@media (max-width: 540px) {
  .contact-section {
    padding: 40px 0 0 0;
  }

  .contact-box {
    flex: 1 1 100%;
    font-size: 18px;
  }

  .greeting-photo {
    width: 90%;
  }
}

.faq-section {
  padding: var(--sec-padding);
  text-align: center;
}

.faq-title {
  font-size: 36px;
  color: var(--main-color);
  font-weight: 500;
  
  margin-bottom: 6px;
}

.faq-subtitle {
  font-size: 14px;
  color: var(--main-color);
  margin-bottom: 40px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
}

.faq-item {
  background-color: #EBFFF0;
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
  text-align: left;
}

.faq-question:hover {
  background-color: #EBFFF0;
}

.faq-icon {
  background-color: var(--sub-color);
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  padding: 16px;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-answer {
  padding: 20px;
  display: none;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

/* 一覧ボタン */
.faq-more__btn {
  min-width: 260px;
  display: inline-block;
  background-color: var(--main-color);
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}

.faq-more__btn:hover {
  background-color: #3AA551;
}

.custom-banner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
  background-color: #ffffff;
  text-align: center;
}

.custom-banner img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* サプページ_初めての方 */
.subpage-visual {
  position: relative;
  height: 300px;
  background-image: url("./assets/subpage-visual.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.subpage-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.subpage-visual__inner {
  position: relative;
  z-index: 2;
  color: #fff;
}

.subpage-visual__title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.75rem, 1.167rem + 2.92vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  
}

.subpage-visual__subtitle {
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 540px) {
  .subpage-visual {
    height: 200px;
  }

  .subpage-visual__title {
    font-size: 28px;
  }

  .subpage-visual__subtitle {
    font-size: 12px;
  }
}

.subpage-point {
  padding: var(--sec-padding);
  background-color: #fff;
}

.subpage-point__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.subpage-point__heading {
  font-size: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  font-weight: 500;
  margin-bottom: 60px;
  text-align: center;
  color: var(--main-color);
}

.subpage-point__item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.subpage-point__item.reverse {
  flex-direction: row-reverse;
}

.subpage-point__img {
  flex: 1 1 45%;
}

.subpage-point__img img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.subpage-point__content {
  flex: 1 1 50%;
}

.subpage-point__number {
  font-family: var(--en-font);
  color: var(--sub-color);
  font-size: clamp(1.5rem, 1.167rem + 1.67vw, 2.5rem);
  font-weight: 500;
  
}

.subpage-point__title {
  font-size: clamp(1.125rem, 1rem + 0.63vw, 1.5rem);
  font-weight: 500;
  color: #333;
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--main-color);
}

.subpage-point__text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

/* SP対応 */
@media (max-width: 768px) {
  .subpage-point__item {
    gap: 16px;
    margin-bottom: 40px;
  }

  .subpage-point__item,
  .subpage-point__item.reverse {
    flex-direction: column;
  }

  .subpage-point__img,
  .subpage-point__content {
    flex: 1 1 100%;
  }

  .subpage-point__img img {
    width: 100%;
  }

  .subpage-point__heading {
    margin-bottom: 40px;
  }

  .subpage-point {
    padding-bottom: 0;
  }
}

.subpage-flow {
  background: #fff;
  padding: var(--sec-padding);
}

.subpage-flow__inner {
  max-width: 880px;
  margin: 0 auto;
}

.subpage-flow__heading {
  font-size: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  font-weight: 500;
  color: var(--main-color, #d86b1e);
  text-align: center;
  margin-bottom: 60px;
}

.subpage-flow__step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.subpage-flow__image {
  flex: 0 0 120px;
}

.subpage-flow__image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #eee;
}

.subpage-flow__content {
  flex: 1 1 0;
}

.subpage-flow__label {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  color: var(--sub-color);
  font-weight: 500;
  margin-bottom: 4px;
}

.subpage-flow__title {
  font-size: clamp(1.125rem, 1rem + 0.63vw, 1.5rem);
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.subpage-flow__text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  text-align: left;
}

/* スマホ対応 */
@media (max-width: 540px) {
  .subpage-flow__step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .subpage-flow__step:last-child {
    margin-bottom: 0;
  }

  .subpage-flow__content {
    margin-top: 16px;
  }

  .subpage-flow__image {
    margin: 0 auto;
  }

  .subpage-flow__heading {
    margin-bottom: 40px;
  }
}

/* サプページ_治療内容 */
.subpage-treatment {
  padding: var(--sec-padding);
  background-color: #fff;
}

.subpage-treatment__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.plan {
  max-width: 1080px;
  margin: 0 auto;
}

.plan p {
  font-size: clamp(0.875rem, 0.739rem + 0.68vw, 1.25rem);
  margin-left: 16px;
  margin-bottom: 8px;
}

.plan .subpage-about-outline__table {
  margin-bottom: 16px;
}

.subpage-treatment__block {
  margin-bottom: 60px;
}

.subpage-treatment__title {
  font-size: clamp(1.125rem, 1rem + 0.63vw, 1.5rem);
  font-weight: 500;
  border-bottom: 2px solid var(--main-color);
  display: inline-block;
  width: 100%;
  padding-bottom: 4px;
  margin-bottom: 20px;
  color: #333;
}

.subpage-treatment__block:nth-child(even) .subpage-treatment__title {
  text-align: right;
}

.subpage-treatment__row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.subpage-treatment__block.reverse .subpage-treatment__row {
  flex-direction: row-reverse;
}

.subpage-treatment__image {
  flex: 1 1 40%;
}

.subpage-treatment__image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.subpage-treatment__text {
  flex: 1 1 55%;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .subpage-treatment__block:nth-child(even) .subpage-treatment__title {
    text-align: left;
  }

  .subpage-treatment__row {
    flex-direction: column;
  }

  .subpage-treatment__block.reverse .subpage-treatment__row {
    flex-direction: column;
  }

  .subpage-treatment__block:last-child {
    margin-bottom: 0;
  }
}

/* --- 当院概要 --- */
.subpage-about-outline {
  padding: var(--sec-padding);
  background-color: #fff;
}

.subpage-about-outline__inner {
  max-width: 800px;
  margin: 0 auto;
}

.subpage-about-outline__heading {
  text-align: center;
  color: var(--main-color);
  font-size: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  font-weight: 500;
  margin-bottom: 40px;
}

.subpage-about-outline__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #333;
}

.subpage-about-outline__table th,
.subpage-about-outline__table td {
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.subpage-about-outline__table th {
  width: 20%;
  font-weight: 500;
  background-color: #f9f9f9;
  white-space: nowrap;
}

/* --- 交通アクセス --- */
.subpage-about-access {
  padding: var(--sec-padding);
  background-color: #fff;
}

.subpage-about-access__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.subpage-about-access__heading {
  color: var(--main-color);
  font-size: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  font-weight: 500;
  margin-bottom: 40px;
}

.subpage-about-access__map {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.subpage-about-access__info p {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

/* サプページ_よくある質問 */
.subpage-faq {
  padding: var(--sec-padding);
  background-color: #fff;
}

.subpage-faq__inner {
  max-width: 880px;
  margin: 0 auto;
}

.subpage-faq__heading {
  text-align: center;
  color: var(--main-color);
  font-size: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  font-weight: 500;
  margin-bottom: 40px;
}

.subpage-faq__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.subpage-faq__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.subpage-faq__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #80CC91;
  border-radius: 50%;
  color: #fff;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.subpage-faq__content {
  flex: 1;
}

.subpage-faq__question {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.subpage-faq__answer {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

/* スマホ対応 */
@media (max-width: 540px) {
  .subpage-faq__icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .subpage-faq__question {
    font-size: 15px;
  }
}
