/* --- ここから既存CSS --- */
/* 共通ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #ccc;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background-color: white;
}
body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  letter-spacing: 0.05em;
  padding-top: 80px; /* 既存のヘッダー余白 */
}


/* ロゴ */
.header-left img {
  width: 100%;
  height: auto;
  max-width: 200px;
}

/* 450px以下になった場合 */
@media screen and (max-width: 450px) {
  .header-left img {
    max-width: 150px;
  }
}

/* 右側のボタン */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* お申し込みボタン */
.btn-apply {
  background-color: #00783D;
  color: white;
  padding: 10px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, background-color 0.3s;
}

.btn-apply:hover {
  background-color: #ff1493;
  transform: scale(1.05);
}

/* お問い合わせボタン（PC用） */
.btn-contact {
  background-color: #00bfff;
  color: white;
  padding: 10px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, background-color 0.3s;
}

.btn-contact:hover {
  background-color: #1e90ff;
  transform: scale(1.05);
}

/* ハンバーガーボタン */
.menu-toggle {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: none;
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  right: 20px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.mobile-menu a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.mobile-menu a:hover {
  background-color: #f0f0f0;
}

.mobile-menu.active {
  display: block;
}

/* --- レスポンシブ対応 --- */

@media only screen and (max-width: 600px) {
  .btn-contact {
    display: none !important;
  }
  
  .menu-toggle {
    display: block;
  }

  .header-right {
    gap: 5px;
  }
}


/* バナー */
picture,
picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* 共通スタイル（リセット） */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ヘッダー下部の余白調整 */
body {
  padding-top: 80px;
}


/* --- ここから追加：About Support Plus セクション --- */
/* デフォルト設定（スマホ〜タブレット用） */
/* デフォルト設定（スマホ〜タブレット用） */
.about-section {
  width: 100%;               /* 幅を画面いっぱいに */
  margin: 50px auto;         /* 上下50pxの余白、左右は中央寄せ */
  padding: 40px 5%;          /* 左右5%の余白 */
  background-color: transparent; /* 背景を透明に */
  border-radius: 0;          /* 枠をなしに */
  box-shadow: none;          /* シャドウなし */
  text-align: left;          /* 左寄せ */
  box-sizing: border-box;    /* パディングも含めた幅計算 */
}

/* タブレット以上の画面（768px以上） */
@media screen and (min-width: 768px) {
  .about-section {
    padding: 40px 10%;       /* 左右10%の余白 */
  }
}

/* PC以上の画面（1024px以上） */
@media screen and (min-width: 1024px) {
  .about-section {
    padding: 40px 3.5%;
  }
}


.about-section h1 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #00783D;
}

.about-section p {
  font-size: 1.1em;
  line-height: 1.8;
}

.about-section ul {
  padding-left: 20px;
  margin-top: 20px;
}

.about-section li {
  margin-bottom: 10px;
}

.about-lead {
  font-size: clamp(1.5rem, 4.5vw, 2rem); /* 画面幅に応じて文字サイズを可変に */
  font-weight: bold;
  display: block;
  margin-bottom: 0.3em;
  line-height: 1.6;
}

/* PC（1024px以上）では固定サイズに */
@media screen and (min-width: 1024px) {
  .about-lead {
    font-size: 2.5em;
  }
}

.about-desc {
  font-size: 1em;
  line-height: 1.6;
}

/* スマホなど画面幅が600px以下のとき */
@media screen and (max-width: 600px) {
  .about-desc {
    font-size: 0.8em;
  }
}


.bullet-circle {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #00783D;       /* 中心の濃い緑 */
  border: 4px solid #ccf2dd;       /* 外側の薄い緑 */
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  animation: pulseCircle 1.8s ease-in-out infinite;
  transform-origin: center;
}

/* アニメーション定義 */
@keyframes pulseCircle {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* ← 通常の隙間 */
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 80px; /* ← 通常の余白 */
  box-sizing: border-box;
}

/* スマホなど幅が600px以下のとき */
@media screen and (max-width: 600px) {
  .about-wrapper {
    flex-direction: column;
    row-gap: 8px;
    padding: 20px 10px;
  }
}

.about-section {
  flex: 1 1 500px;
  text-align: left;
}


/* 動画エリア */
.about-video {
  flex: 1 1 400px;
  max-width: 100%; /* ← 追加: はみ出し防止 */
}

/* 動画自体に幅制限 */
.about-video video {
  width: 100%;
  height: auto;
  max-width: 100%; /* ← 追加: 画面にフィットさせる */
  display: block;
}

.content-section {
  background-color: #00783D; /* ← 背景色。好きな色に変更OK */
  padding: 60px 20px;        /* 上下の余白を確保 */
}

.section-title {
  text-align: center;
  font-size: 2.0rem;
  color: white;
  font-weight: bold;
  margin-top: 40px;
  letter-spacing: 0.1em;
}

.big-number {
  font-size: 4.0rem;
  line-height: 1;
  display: inline-block;
  vertical-align: baseline;
}

.content-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 70px;
  margin-top: 80px;
}

.image-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 120px;
} 

.image-circle {
  background-color: white;
  border-radius: 50%;
  width: 150px; /* ← 大きくしました */
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-circle img {
  width: 50%; /* ← 少し小さくして中に収まるように */
  height: auto;
  object-fit: contain;
}

.image-caption {
  margin-top: 12px;
  color: white;
  font-size: 14px;
  text-align: center;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .image-circle {
    width: 130px;
    height: 130px;
  }

  .image-circle img {
    width: 50%;
  }
}


/* サービス詳細 */
.service-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 80px;
  padding: 0 20px;
}

.service-card {
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1200px; /* 常に一定の最大幅 */
  margin: 0 auto;    /* 中央寄せ */
  box-sizing: border-box;
}

.service-card-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.service-image img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
}

/* 画像浮遊アニメーション */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.service-image img {
  animation: float 3s ease-in-out infinite;
}


.service-text {
  flex: 1;
}

.service-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 12px;
  white-space: nowrap;     /* 改行を防ぐ */
  overflow: hidden;        /* はみ出し対策 */
  text-overflow: ellipsis; /* はみ出したら「…」 */
}

.service-price {
  font-size: 20px;
  font-weight: 600;
  color: #00783D;
  margin-bottom: 20px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .service-card {
    padding: 24px;
  }

  .service-card-inner {
    flex-direction: column;
    align-items: center;
  }

  .service-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
  }

  .service-image img {
    width: 150px;
    height: 150px;
  }

  .service-title {
    font-size: 24px;
    text-align: center;
  }

  .service-price {
    text-align: center;
  }

  .service-desc {
    text-align: left;
  }
}

/* PCのみ改行表示 */
@media (max-width: 600px) {
  .service-desc br {
    display: none;
  }
}

/* PC（1024px以上）*/
@media screen and (min-width: 700px) {
  .service-title br {
    display: none;
  }
}


.recommend-box {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #00bfff;
  border-radius: 15px;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.service-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recommend-section {
  margin-top: 20px;
  text-align: center;
}

.recommend-title {
  background-color: #00bfff;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 25px;
}

.recommend-list {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.recommend-item {
  background-color: white;
  padding: 40px 20px;
  border-radius: 10px;
  min-width: 200px;
  box-sizing: border-box;
  font-weight: 600;
  /* 影を追加 */
  box-shadow: 0 4px 8px rgba(0, 120, 61, 0.2);
  transition: box-shadow 0.3s ease;
}



  /* プラン */
.plan-section {
  background-color: #fff;
  border-radius: 40px;
  width: 100%;
}



.plan-about-section {
  width: 100%;               /* 幅を画面いっぱいに */
  margin: 50px auto;         /* 上下50pxの余白、左右は中央寄せ */
  padding: 40px 5%;          /* 左右5%の余白 */
  background-color: transparent; /* 背景を透明に */
  border-radius: 0;          /* 枠をなしに */
  box-shadow: none;          /* シャドウなし */
  text-align: left;          /* 左寄せ */
  box-sizing: border-box;    /* パディングも含めた幅計算 */
}

/* タブレット以上の画面（768px以上） */
@media screen and (min-width: 768px) {
  .plan-about-section {
    padding: 100px 10%;       /* 左右10%の余白 */
  }
}

/* PC以上の画面（1024px以上） */
@media screen and (min-width: 1024px) {
  .plan-about-section {
    padding: 100px 3.5%;
  }
}


.plan-about-section h1 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #00783D;
  text-align: center;
}

.plan-about-section p {
  font-size: 1.1em;
  line-height: 1.8;
}

.plan-about-section ul {
  padding-left: 20px;
  margin-top: 20px;
}

.plan-about-section li {
  margin-bottom: 10px;
}

.plan-about-lead {
  font-size: clamp(1.5rem, 4.5vw, 2rem); /* 画面幅に応じて文字サイズを可変に */
  font-weight: bold;
  display: block;
  margin-bottom: 0.3em;
  line-height: 1.6;
  text-align: center;
}

/* PC（1024px以上）では固定サイズに */
@media screen and (min-width: 1024px) {
  .plan-about-lead {
    font-size: 2.5em;
  }
}

/* 表 */
.plan-table {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0;
  font-family: sans-serif;
}

.plan-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* セルのスタイル */
.plan-table th,
.plan-table td {
  font-size: 15px;
  padding: 1.5rem 1rem; 
  text-align: center;
  vertical-align: middle;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  font-weight: bold;
}

/* 最後の行の下線を消す */
.plan-table tr:last-child td {
  border-bottom: none;
}

.plan-table th {
  background-color: #ccf2dd;
  font-weight: bold;
  width: 30%;
  white-space: nowrap;
}



  /* 利用方法 */
  .apply-section {
    width: 100%;               /* 幅を画面いっぱいに */
    margin: 50px auto;         /* 上下50pxの余白、左右は中央寄せ */
    padding: 40px 5%;          /* 左右5%の余白 */
    background-color: #f2f2f2;
    border-radius: 40px;          /* 枠をなしに */
    box-shadow: none;          /* シャドウなし */
    text-align: left;          /* 左寄せ */
    box-sizing: border-box;    /* パディングも含めた幅計算 */
  }
  
  /* タブレット以上の画面（768px以上） */
  @media screen and (min-width: 768px) {
    .apply-section {
      padding: 100px 10%;       /* 左右10%の余白 */
    }
  }
  
  /* PC以上の画面（1024px以上） */
  @media screen and (min-width: 1024px) {
    .apply-section {
      padding: 100px 3.5%;
    }
  }
  
  .apply-section h1 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #00783D;
    text-align: center;
  }
  
  .apply-section p {
    font-size: 1.1em;
    line-height: 1.8;
  }
  
  .apply-sectionn ul {
    padding-left: 20px;
    margin-top: 20px;
  }
  
  .apply-section li {
    margin-bottom: 10px;
  }
  
  .apply-lead {
    font-size: clamp(1.5rem, 4.5vw, 2rem); /* 画面幅に応じて文字サイズを可変に */
    font-weight: bold;
    display: block;
    margin-bottom: 0.3em;
    line-height: 1.6;
    text-align: center;
  }
  
  /* PC（1024px以上）では固定サイズに */
  @media screen and (min-width: 1024px) {
    .apply-lead {
      font-size: 2.5em;
    }
  }

  
  .flow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
  }
  
  .flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  
  .flow-circle {
    position: relative;
    width: 150px;
    height: 150px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .flow-circle img {
    width: 60%;
    height: auto;
  }
  
  .flow-number {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 28px;
    height: 28px;
    color: #00783D;
    border-radius: 50%;
    font-weight: bold;
    font-size: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  
  .flow-label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
  }
  
  .arrow {
    font-size: 24px;
    color: #00bfff;
    margin: 10 8px;
  }


  .flow-desc {
    font-size: 0.7em;
    line-height: 1.6;
    display: block;
    text-align: center;
    padding-top: 70px;
  }
  
  /* スマホなど画面幅が600px以下のとき */
  @media screen and (max-width: 600px) {
    .flow-desc {
      font-size: 0.8em;
    }
  }

  @media screen and (max-width: 700px) {
    .flow-container {
      flex-direction: column;
      align-items: center;
    }
  
    .arrow {
      transform: rotate(90deg); /* ▶ を ▼ に見せかける（文字を変える方法も後述） */
      margin: 8px 0;
    }
  }
  

 /* FAQ */
 .faq-section {
  width: 100%;               /* 幅を画面いっぱいに */
  margin: 50px auto;         /* 上下50pxの余白、左右は中央寄せ */
  padding: 40px 5%;          /* 左右5%の余白 */
  background-color: white;
  border-radius: 20px;          /* 枠をなしに */
  box-shadow: none;          /* シャドウなし */
  text-align: left;          /* 左寄せ */
  box-sizing: border-box;    /* パディングも含めた幅計算 */
}

/* タブレット以上の画面（768px以上） */
@media screen and (min-width: 768px) {
  .faq-section {
    padding: 100px 10%;       /* 左右10%の余白 */
  }
}

/* PC以上の画面（1024px以上） */
@media screen and (min-width: 1024px) {
  .faq-section {
    padding: 100px 3.5%;
  }
}

.faq-section h1 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #00783D;
  text-align: center;
}

.faq-section p {
  font-size: 1.1em;
  line-height: 1.8;
}

.faq-sectionn ul {
  padding-left: 20px;
  margin-top: 20px;
}

.faq-section li {
  margin-bottom: 10px;
}

.faq-lead {
  font-size: clamp(1.5rem, 4.5vw, 2rem); /* 画面幅に応じて文字サイズを可変に */
  font-weight: bold;
  display: block;
  margin-bottom: 0.3em;
  line-height: 1.6;
  text-align: center;
}

/* PC（1024px以上）では固定サイズに */
@media screen and (min-width: 1024px) {
  .faq-lead {
    font-size: 2.5em;
  }
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  justify-content: center; /* カードを中央に寄せる */
  padding-top: 50px;
}

.faq-item {
  position: relative; /* アイコンを絶対配置するため */
  background-color: #fff;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 420px; /* ← 横幅を小さく制限 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* 丸がめり込むように見せる */
}

.faq-question {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #00783D;
  text-align: center;
}

.faq-answer {
  font-size: 15px !important;
  line-height: 1.8;
  font-weight: bold;
  color: #444;
  padding: 20px 25px; /* 上下は0、左右は12px */
}

.small-text {
  font-size: 0.8em; /* お好みのサイズに調整 */
  color: #555; /* 任意で色も変えられます */
}


/* PC表示：2列に分ける */
@media (min-width: 768px) {
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 0px;
    justify-content: center; /* ← アイテム全体を中央に寄せる */
  }

  .faq-item {
    max-width: 80%; /* 幅を固定値で調整（任意） */
    width: 100%;
    margin: 0 auto; /* 念のため中央寄せ */
  }
}


.icon-question {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: #00bfff;
  color: white;
  font-weight: bold;
  font-size: 20px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  transform: translate(-10%, -10%); /* めり込む位置を微調整 */
  z-index: 1;
}



/* フッター */
.site-footer {
  background-color: #00783D;
  padding: 150px 20px 20px;
  text-align: center;
  font-size: 14px;
  color: white;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}

.footer-logo {
  height: 35px;
  margin-bottom: 80px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 12px;
  color: white;
}