@charset "utf-8";

/* Google Fonts */
/*
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('../../font/NotoSansJP-Thin.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('../../font/NotoSansJP-ExtraLight.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../../font/NotoSansJP-Light.woff2') format('woff2');
}
*/
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../font/NotoSansJP-Regular.woff2') format('woff2');
}
/*
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../font/NotoSansJP-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../../font/NotoSansJP-SemiBold.woff2') format('woff2');
}
*/
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../font/NotoSansJP-Bold.woff2') format('woff2');
}
/*
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../../font/NotoSansJP-ExtraBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../../font/NotoSansJP-Black.woff2') format('woff2');
}
*/


/* Kosugi Maru */
@font-face {
  font-family: 'Kosugi Maru';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../font/KosugiMaru-Regular.woff2') format('woff2');
}


/* Zen Maru Gothic */
/*
@font-face {
  font-family: 'Zen Maru Gothic';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../../font/ZenMaruGothic-Light.woff2') format('woff2');
}*/
@font-face {
  font-family: 'Zen Maru Gothic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../font/ZenMaruGothic-Regular.woff2') format('woff2');
}
/*
@font-face {
  font-family: 'Zen Maru Gothic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../font/ZenMaruGothic-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Zen Maru Gothic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../font/ZenMaruGothic-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Zen Maru Gothic';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../../font/ZenMaruGothic-Black.woff2') format('woff2');
}
*/
/*-------------------------------------*/
/* SMSカラーの変数定義 */
/*-------------------------------------*/ :root {
  /* Color */
  --main_color: #fefce8;
  --bar_color: #12823a;
  --title_color: #2fad99;
  --txt_color: #4c6558;
  /* Font */
  --font: "Kosugi Maru", sans-serif;
  --nomal_font: "Noto Sans JP", sans-serif;
  --menu_font: "Zen Maru Gothic", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--main_color);
}
/* ヘッダー全体 */
#header {
  background-color: var(--bar_color);
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  height: 80px;
  position: relative;
  margin-top: 2rem;
}
/* フェードインアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px); /* 下から */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 左側のロゴとテキスト */
#header_corp {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s; /* 少し遅れて開始（任意） */
  background-color: var(--main_color);
  display: flex;
  align-items: flex-end;
  padding: 0 20px;
  margin-left: 20px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  height: calc(100% -10px);
  flex-shrink: 0;
  margin-top: 10px;
}
#header_corp a {
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: black;
  height: 100%;
}
#header_corp img {
  width: 60px;
  height: auto;
  margin-right: 10px;
  align-self: flex-end;
}
/* ロゴ横のテキスト部分 */
.corp_text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.1;
  height: 100%;
}
.corp_main {
  font-size: 1.7rem;
  font-weight: 700;
  font-family: var(--nomal_font);
  font-feature-settings: "palt";
}
.corp_main:hover {
  color: var(--title_color);
}
.corp_sub {
  font-size: 0.7rem;
  color: var(--txt_color);
  font-weight: 400;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
}
/* 左から右にスライドしながらフェードイン */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px); /* 左に40pxずらした位置から */
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* nav_menu 全体 */
#nav_menu .menu, #nav_menu #mail {
  opacity: 0;
  animation: fadeInLeft 0.8s ease-out forwards;
}
/* 順番に表示したい場合（遅延をずらす） */
#nav_menu .menu:nth-child(1) {
  animation-delay: 0.3s;
}
#nav_menu .menu:nth-child(2) {
  animation-delay: 0.5s;
}
#nav_menu .menu:nth-child(3) {
  animation-delay: 0.7s;
}
#nav_menu .menu:nth-child(4) {
  animation-delay: 0.9s;
}
#nav_menu #mail {
  animation-delay: 1.1s;
}
/* PC用ナビメニュー */
#nav_menu {
  display: flex;
  margin-left: auto;
  margin-right: 20px;
  align-items: center;
}
.menu {
    margin-left: 2rem;
    font-size: 1.15rem;
    white-space: nowrap;
    letter-spacing: 0.5rem;
    text-align: center;
    /*font-family: "Zen Maru Gothic", sans-serif;*/
    font-family: var(--menu_font);
    font-weight: 300;
}
.menu a {
  color: white;
  text-decoration: none;
}
.menu a:hover {
  color: #c7e5d2;
  font-size: 1.3rem;
}
.menu span {
  display: block;
  font-size: 0.6rem;
  margin-top: 0.5rem;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  letter-spacing: 0;
}
/* 上から下へフェードイン */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px); /* 上から */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 適用するスタイル */
#mail {
  opacity: 0; /* 初期は非表示 */
  animation: fadeInDown 0.8s ease-out forwards;
  animation-delay: 0.8s; /* header_corp の後に遅れて表示 */
}
#mail {
  background-color: var(--main_color);
  padding: 1rem 1.5rem;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-left: 2rem;
  margin-top: -10px;
  height: auto;
  text-align: center;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  font-feature-settings: "palt";
  letter-spacing: 0;
  font-size: 0.8rem;
  width: 100px;
  transition: background-color 0.3s ease;
}
#mail i {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
#mail a {
  display: block; /* ← 幅いっぱいをクリック可能に */
  color: var(--txt_color); /* 通常時の文字色 */
  text-decoration: none;
  transition: color 0.3s ease; /* 色変化をスムーズに */
}
/* hover時の効果 */
#mail a:hover {
  color: #fff; /* テキスト色を白に */
}
#mail:hover {
  background-color: #6dbd30; /* 背景をオレンジ系に */
}
#mail:hover i {
  color: #fff; /* アイコンも白に */
}
#mail_mobile {
  /*background: white;*/
  color: var(--bar_color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  white-space: nowrap;
  margin-left: 2rem;
  font-family: "Zen Maru Gothic", sans-serif;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 1.15rem;
}
/* ハンバーガーアイコン */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 20px;
  z-index: 2100; /* メニューより前に表示 */
  margin-top: 1.5rem;
}
#hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* 開いた時のアニメーション */
#hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#hamburger.active span:nth-child(2) {
  opacity: 0;
}
#hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/* スマホ用メニュー */
#mobile_menu {
  display: flex;
  flex-direction: column;
  background: var(--bar_color);
  position: fixed;
  top: 2rem;
  left: 0;
  width: 100%;
  height: calc(100% - 80px);
  transform: translateY(-100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  padding: 1rem;
}
#mobile_menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#mobile_menu .menu {
  margin: 15px 0;
  text-align: center;
}
#mobile_menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}
#mail_mobile {
  margin: 20px auto 0 auto;
  display: block;
  text-align: center;
}
#close_btn {
  font-size: 2rem;
  color: white;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  font-weight: bold;
}
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
}
#overlay.active {
  display: block;
}
.section1 {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 1000px;
  margin-top: 10rem;
  padding-bottom: 1rem;
}
.section1 h1 {
  color: var(--title_color);
  /*font-family: "Kosugi Maru", sans-serif;*/
  font-family: var(--font);
  font-weight: 700;
  font-style: normal;
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 2.8rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
@media screen and (max-width: 500px) {
  .section1 h1 {
    font-size: 2rem;
  }
}
/* 下から上にフェードイン（既存を利用） */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* section1 の画像を下からフェードイン */
.section1 img {
  opacity: 0;
  animation: fadeInUp 0.9s ease-out forwards;
  animation-delay: 0.6s; /* 見出しの後に遅れて出す */
  display: block;
  margin: 20px auto; /* 中央寄せ＋余白調整 */
}
.section1 img {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 500px) {
  .section1 img {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 96%;
    height: auto;
  }
}
.section1 span {
  color: var(--txt_color);
  /*font-family: "Kosugi Maru", sans-serif;*/
  font-family: var(--nomal_font);
  font-weight: 400;
  font-style: normal;
  padding: 0;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: auto;
  font-size: 1.8rem;
  text-align: center;
  display: block;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 1.0s; /* 画像の後に表示 */
}
@media screen and (max-width: 500px) {
  .section1 span {
    font-size: 1.2rem;
  }
}
.sp {
  display: none;
}
@media screen and (max-width: 950px) {
  .sp {
    display: block;
  }
}
.sp2 {
  display: none;
}
@media screen and (max-width: 650px) {
  .sp2 {
    display: block;
  }
}
/* -------------------------- */
/* スマホ用レスポンシブ対応  */
/* -------------------------- */
@media screen and (max-width: 768px) {
  body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
  }
  #nav_menu {
    display: none;
  }
  #hamburger {
    display: flex;
  }
  #header_corp {
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 10px;
    padding-left: 10px;
    height: 60px;
    align-items: center;
    border-radius: 4px 4px 0 0;
    padding-bottom: 10px;
  }
  #header_corp img {
    width: 45px;
    height: auto;
    margin-right: 10px;
    align-self: flex-end;
  }
  .corp_main {
    font-size: 1.35rem;
  }
  .corp_sub {
    font-size: 0.5rem;
  }
  .section1 {
    margin-top: 5rem;
  }
}
/* 下から上にフェードイン */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px); /* 下から */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 上から下にフェードイン */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px); /* 上から */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- 適用 --- */
#header_corp {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}
#mail {
  opacity: 0;
  animation: fadeInDown 0.8s ease-out forwards;
  animation-delay: 0.8s;
}
#mail_mobile {
  opacity: 0;
  animation: fadeInDown 0.8s ease-out forwards;
  animation-delay: 1.2s; /* PCの相談するより遅れて出現 */
}
.arrow {
  width: 100%;
  height: 100px; /* 三角形の高さ */
  position: relative;
  z-index: 10;
  background: #fff; /* 透明に */
  overflow: hidden;
}
.arrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--main_color);
  clip-path: polygon(50% 100%, 10% 0, 90% 0); /* 左右を20%〜80%にして尖らせる */
}
.arrow2 {
  width: 100%;
  height: 100px; /* 三角形の高さ */
  position: relative;
  z-index: 10;
  background: var(--main_color); /* 透明に */
  overflow: hidden;
}
.arrow2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  clip-path: polygon(50% 100%, 10% 0, 90% 0); /* 左右を20%〜80%にして尖らせる */
}
/* 次のセクション */
.section2 {
    position: relative;
    width: 100%;
    padding-top: 1rem;
    padding-right: 2rem;
    padding-left: 2rem;
    padding-bottom: 5rem;
    overflow: hidden;
}
/* 白背景を別レイヤーに */
.section2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: -2; /* 背景色をさらに奥に */
}
/* 背景画像 */
.bg-img-wrapper {
  position: absolute;
  bottom: 200px;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  z-index: -1; /* 白背景の手前、テキストの奥 */
}
.bg-img-wrapper img {
  max-width: 20%;
  height: auto;
  opacity: 0.5;
  transition: opacity 1.5s ease-out;
}
@media screen and (max-width: 1300px) {
  .bg-img-wrapper {
    bottom: 240px;
  }
  .bg-img-wrapper img {
    max-width: 29%;
  }
}
@media screen and (max-width: 1000px) {
  .bg-img-wrapper {
    bottom: 220px;
  }
  .bg-img-wrapper img {
    max-width: 30%;
  }
}
@media screen and (max-width: 850px) {
  .bg-img-wrapper {
    display: none;
  }
}

.bg-img-wrapper.scroll-fade.fade-in img {
  opacity: 1;
}
.section2 h2 {
  color: var(--title_color);
  /*font-family: "Kosugi Maru", sans-serif;*/
  font-family: var(--font);
  font-weight: 700;
  font-style: normal;
  text-align: center;
  padding: 0;
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
  font-size: 2.8rem;
}
.section2 h2 span {
  font-size: 5rem;
  display: block;
  font-weight: normal;
}
@media screen and (max-width: 900px) {
  .section2 h2 {
    margin-top: 6rem;
  }
}
@media screen and (max-width: 600px) {
.section2 h2 span {
    font-size: 3rem;
    display: inline;
    font-weight: normal;
}
  .section2 h2 {
    margin-top: 5rem;
    width: 94%;
    margin-right: auto;
    margin-left: auto;
    font-size: 3rem;
    font-weight: normal;
  }
}
.txt_type1 {
  margin: 10rem auto 0 auto;
  padding: 2rem;
  background-color: #D5E1E0; /* 雲カラー */
  max-width: 600px;
  text-align: center;
  /* 楕円形の雲っぽさを表現 */
  border-radius: 60% 60% 50% 50% / 70% 60% 70% 60%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 900px) {
  .txt_type1 {
    margin: 8rem auto 0 auto;
  }
}
@media screen and (max-width: 800px) {
  .txt_type1 {
    width: 90% !important;
    margin-right: auto;
    margin-left: auto;
  }
}
@media screen and (max-width: 600px) {
  .txt_type1 {
    margin: 5rem auto 0 auto;
  }
}
.txt_type1 p {
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.7rem;
  margin-top: 5px;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
  padding: 0;
  text-align: center;
  line-height: 1;
}

.txt_type1 ul {
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: flex-start; /* リスト自体は左揃え */
  margin-top: 10px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  padding-left: 0; /* デフォルトのインデントを削除 */
  list-style-position: inside; /* マーカーを内側に */
  width: fit-content; /* コンテンツ幅に合わせる */
  max-width: 90%; /* レスポンシブ対応 */
}
.txt_type1 ul li {
  line-height: 2;
  text-align: left;
  max-width: 100%;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  font-optical-sizing: auto;
  font-style: normal;
}
@media screen and (max-width: 600px) {
  .txt_type1 {
    padding: 3rem;
    width: 100%;
  }
  .txt_type1 p {
    font-size: 1.4rem;
  }
  .txt_type1 ul {
    max-width: 100%; /* スマホでは幅いっぱい */
    list-style-position: outside; /* 見やすいように外側へ */
    padding-left: 1rem;
  }
}
@media screen and (max-width: 500px) {
  .txt_type1 p {
    font-size: 1rem;
  }
  .txt_type1 ul {
    font-size: 0.8rem;
    margin-top: 0.5rem;
  }
  .txt_type1 ul li {
    line-height: 1.5;
  }
}
.section3 {
  width: 100%;
  max-width: 1000px;
  padding-top: 2rem;
  padding-bottom: 0;
  z-index: 5;
  margin-right: auto;
  margin-left: auto;
  margin-top: 6rem;
}
@media screen and (max-width: 600px) {
  .section3 {
    margin-top: 2rem;
  }
}
.section3 p {
  font-size: 0.9rem;
  display: block;
  line-height: 2;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  font-optical-sizing: auto;
  padding: 0;
  margin: 0;
  font-style: normal;
}
@media screen and (max-width: 800px) {
  .section3 p {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }
}
/* 次のセクション */
.section4 {
  position: relative;
  width: 100%;
  padding-top: 0;
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 3rem;
  background-color: var(--main_color);
  text-align: center;
  overflow: hidden;
  height: auto;
}
#h2_title1 {
  color: var(--title_color);
  /*font-family: "Kosugi Maru", sans-serif;*/
  font-family: var(--font);
  font-weight: 700;
  font-style: normal;
  text-align: center;
  padding: 0;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
  font-size: 2.8rem;
  margin-top: 1rem;
}
#h2_title1 span {
  font-size: 5rem;
  display: block;
  font-weight: normal;
}
@media screen and (max-width: 900px) {
  #h2_title1 {
    margin-top: 6rem;
  }
}
@media screen and (max-width: 600px) {
  #h2_title1 span {
    font-size: 3rem;
    font-weight: normal;
    display: inline;
	}
  #h2_title1 {
    margin-top: 5rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
	   font-size: 3rem; 
	  font-weight: normal;
  }
}
.img_box {
  position: relative;
  margin-top: 12rem;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  max-width: 1000px;
  width: 100%;
  height: auto;
  overflow: hidden; /* 下半分を隠す */
}
@media screen and (max-width: 600px) {
	.img_box {
	  margin-top: 4rem;
	}	
}
.img_box::before {
  content: "";
  display: block;
  padding-top: 36%; /* 高さを幅の50%にする＝半分表示 */
}
.img_box img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%); /* 横方向に中央揃え */
  width: 70%;
  height: auto;
}
.txt_type2 {
  position: relative !important; /* 必ずrelativeに */
  padding-top: 3.5rem;
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 2rem;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  max-width: 1000px;
  background-color: #E1E1E1;
  line-height: 2;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  box-sizing: border-box;
  z-index: 200;
  text-align: left;
}
@media screen and (max-width: 600px) {
	.txt_type2 {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
}

.txt_type2 h3 {
  padding: 1rem 2rem;
  background-color: #2fad99;
  color: #FFFFFF;
  /*font-family: "Kosugi Maru", sans-serif;*/
  font-family: var(--nomal_font);
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  top: -2rem;
  width: calc(100% - 4rem);
  height: auto;
}
@media screen and (max-width: 600px) {
  .txt_type2 h3 {
    white-space: normal;
    line-height: 1.4;
    text-align: center;
  }
}
.bg-img-wrapper2 {
  position: absolute;
  bottom: 300px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  pointer-events: none;
  z-index: 0; /* ←テキストより奥に */
}
.bg-img-wrapper2 img {
  max-width: 20%; /* 適度なサイズ */
  height: auto;
  opacity: 0.8;
}
@media screen and (max-width: 1000px) {
  .bg-img-wrapper2 {
    display: none;
  }
}
#h2_title2 {
  color: #333;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  box-sizing: border-box;
  text-align: center;
  padding: 0;
  margin-top: 16rem;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
  font-size: 2rem;
}
@media screen and (max-width: 600px) {
  #h2_title2 {
      margin-top: 8rem;
  }
}


.img_box2 {
  position: relative;
  margin-top: 2rem;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  max-width: 1000px;
  width: 100%;
  height: auto;
  overflow: hidden; /* 下半分を隠す */
}
.img_box2::before {
  content: "";
  display: block;
  padding-top: 20%; /* 高さを幅の50%にする＝半分表示 */
}
.img_box2 img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%); /* 横方向に中央揃え */
  width: 40%;
  height: auto;
}
.txt_type3 {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  border-radius: 20px;
  padding: 2rem;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 2;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  box-sizing: border-box;
  font-size: 1rem;
  text-align: left;
  box-shadow: 5px 5px 15px -10px #777777;
}
@media screen and (max-width: 600px) {
  .txt_type3 {
    width: 100%;
  }
}
.txt_type3 span {
  color: #333;
  /*font-family: "Kosugi Maru", sans-serif;*/
  font-family: var(--nomal_font);
  font-weight: normal;
  font-style: normal;
  text-align: center;
  font-size: 1.5rem;
  display: block;
  line-height: 1.3;
  margin-bottom: 2rem;
}
@media screen and (max-width: 600px) {
  .txt_type3 span {
    font-size: 1.1rem;
    text-align: left;
  }
}
.txt_type5 {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  border-radius: 20px;
  padding: 2rem;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 2;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  box-sizing: border-box;
  font-size: 1rem;
  text-align: left;
}
@media screen and (max-width: 600px) {
  .txt_type3 {
    width: 100%;
  }
}
.txt_type5 span {
  color: #333;
  /*font-family: "Kosugi Maru", sans-serif;*/
  font-family: var(--nomal_font);
  font-weight: normal;
  font-style: normal;
  text-align: center;
  font-size: 1.5rem;
  display: block;
  line-height: 1.3;
  margin-bottom: 2rem;
}
@media screen and (max-width: 600px) {
  .txt_type5 span {
    font-size: 1.1rem;
    text-align: left;
  }
}

.img_merit {
  margin-right: auto;
  margin-left: auto;
  display: block;
  padding: 0;
  max-width: 1000px;
  margin-bottom: -1rem;
}
.img_merit img {
  display: block;
  width: 70%;
  margin-right: auto;
  margin-left: auto;
  height: auto;
}
.merit_a {
    background-color: #FFFFFF;
    position: relative;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 5rem;
    display: flex;
    color: #333;
    /*font-family: "Noto Sans JP", sans-serif;*/
    font-family: var(--nomal_font);
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.85;
}
.merit_a div {
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
}
.merit_a .no {
  /*font-family: "Kosugi Maru", sans-serif;*/
  font-family: var(--font);
  font-weight: 700;
  font-style: normal;
  font-size: 8rem;
  color: #DFDFDF;
  text-align: center;
  width: 15%;
  line-height: normal;
}
.merit_a .txt {
  width: 85%;
}
.merit_a .txt p {
  color: var(--title_color);
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  box-sizing: border-box;
  font-size: 1.8rem;
  line-height: normal;
  font-weight: bold;
  margin-bottom: 6px;
}
.txt_type4 {
  position: relative !important; /* 必ずrelativeに */
  padding-top: 3.5rem;
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 2rem;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 10rem;
  max-width: 1000px;
  background-color: var(--main_color);
  line-height: 2;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  box-sizing: border-box;
  z-index: 200;
  text-align: left;
  box-shadow: 5px 5px 15px -10px #777777;
  margin-top: 0rem;
  color: #333;
  font-size: 1rem;
  font-weight: normal;
}
@media screen and (max-width: 600px) {
	.txt_type4 {
	  margin-bottom: 4rem;
	}
}


.txt_type4 ul {
  margin-left: 3rem;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}
.txt_type4 h3 {
    padding: 0.8rem 2rem;
    /*background-color: #2D718A;*/
    background-color: #d05266;
    color: #FFFFFF;
    /*font-family: "Noto Sans JP", sans-serif;*/
    font-family: var(--nomal_font);
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: -2rem;
    width: calc(100% - 4rem);
    height: auto;
    font-size: 1.5rem;
    margin-bottom: 3rem;
}
@media screen and (max-width: 600px) {
  .txt_type4 h3 {
    white-space: normal;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 3rem;
  }
}
.txt_type4 h4 {
    margin-top: 1rem;
}
.section5 {
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 10rem;
  background-color: var(--main_color);
}
.section5 .div1000 {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 2;
  font-weight: normal;
}
@media screen and (max-width: 600px) {
  .section5 .div1000 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
  }
}
.section5 .div1000 span {
    /*font-family: "Kosugi Maru", sans-serif;*/
    font-family: var(--font);
    font-weight: 700;
    font-style: normal;
    color: var(--title_color);
    font-size: 2.5rem;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    display: block;
    margin-top: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}
@media screen and (max-width: 600px) {
	.section5 .div1000 span {
		font-size: 2.1rem;
	}
}
/*-------------------------------------------------------*/
/* お問い合わせ
/*-------------------------------------------------------*/
/*-------------------------------------------------------
 お問い合わせセクション共通
-------------------------------------------------------*/
.content {
  padding: 40px 20px;
  text-align: center;
  /*font-family: 'Noto Sans JP', sans-serif;*/
  font-family: var(--nomal_font);
  color: #333;
  margin-top: 5rem;
}
/* 吹き出し風タイトル */
.fukidashi {
  display: inline-block;
  background: var(--title_color);
  color: white;
  padding: 15px 40px;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: -100px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 600px) {
	.fukidashi {
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: normal;
	}
}
/* テキストボックス */
.text_box {
  background: white;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding-top: 50px;
  padding-right: 30px;
  padding-left: 30px;
  padding-bottom: 60px;
  width: 100%;
}


/* テキストボックス内の段落 */
.text_box p {
  line-height: 1.8;
  margin-bottom: -1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #666;
}
/* 電話番号とボタン横並び */
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  margin-top: 3rem;
}
/* 電話番号エリア */
.tel {
  flex: 1;
  margin: 0;
  padding: 0;
  text-align: center;
}
.tel a {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d05266;
  text-decoration: none;
  margin: 0;
  padding: 0;
  line-height: 1;
}
.tel p {
  font-size: 1rem;
  color: #666;
  margin-top: 5px;
  font-weight: normal;
  padding: 0;
  line-height: 1;
}
/* お問い合わせボタン */
.mail {
  flex: 1;
  text-align: center;
}
.mail a {
  display: inline-block;
  background: #d05266;
  font-size: 1.4rem;
  text-decoration: none;
  color: #FFFFFF !important;
  transition: background 0.3s;
  padding-top: 1.5rem;
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 1.5rem;
  line-height: 1;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.mail a:hover {
  background: #2fad99;
}
/*-------------------------------------------------------
 スマホ表示調整
-------------------------------------------------------*/
@media (max-width: 600px) {
  .fukidashi {
    font-size: 1.1rem;
    padding: 12px 20px;
  }
  .tel a {
    font-size: 1.8rem;
  }
  .text_box {
    padding: 20px;
  }
  .contact-row {
    flex-direction: column;
  }
  .tel, .mail {
    width: 100%;
  }
}
.link_b {
  padding: 2rem;
  /*background-color: var(--title_color);*/
  background-color: #d05266;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #FFFFFF;
  /*font-family: "Noto Sans JP", sans-serif;*/
  font-family: var(--nomal_font);
  box-sizing: border-box;
  font-size: 2.5rem;
  display: block;
  margin-top: 2rem;
  text-decoration: none;
  font-variant: normal;
  text-align: center;
  line-height: 1;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 5px 5px 15px -10px #777777;
  border-radius: 80px;
}
.link_b:hover {
  background-color: var(--title_color);
}
.link_b p {
  font-size: 0.8rem;
  margin-top: 10px;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
  padding: 0;
  line-height: 0;
  display: block;
}
@media screen and (max-width:600px) {
  .link_b {
    width: 100%;
    font-size: 1.5rem;
  }
  .link_b p {
    font-size: 0.7rem;
  }
}
/*---------------------------------------------------------------*/
/* 初期状態（非表示） */
/* HTMLでアニメーションさせたい要素に .scroll-fade を付けるだけです。
/*---------------------------------------------------------------*/
/*
.scroll-fade {
  opacity: 0;
  transition: all 1.2s ease-out;
}

.scroll-fade.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade.hidden-up {
  transform: translateY(-60px);
}

.scroll-fade.hidden-down {
  transform: translateY(60px);
}
*/
/*----------------------------------------------------*/
/*	
/*----------------------------------------------------*/
.margin-top10 {
  margin-top: 10rem;
}
.bg_color_white {
  background-color: #FFFFFF;
}
/*----------------------------------------------------*/
/*	右固定サイドリンク
/*----------------------------------------------------*/
.fix-btn-container {
  position: fixed;
  top: 70%;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0.8;
  background-color: transparent;
}
.fix-btn-item {
  width: 90px;
  text-decoration: none;
  font-size: 1rem;
  text-align: center;
  color: #FFFFFF;
  padding: 20px 0;
  font-family: var(--nomal_font);
  font-weight: 300;
  font-style: normal;
  display: block;
}
@media (max-width:500px) {
	.fix-btn-item {
	  width: 60px;
		font-size: 0.6rem;
		 padding: 15px 0;

	}
}
.fix-btn-item i {
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: 2rem;
}
/* 個別ボタンカラー */
.btn-contact {
  background: #d05266;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}
.btn-contact:hover {
  background: #2fad99;
  opacity: 1;
}
.btn-pagetop {
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  margin-top: 10px;
  background-color: #A4A4A4;
}
.btn-pagetop i {
  margin: 0;
}
/* スマホ非表示 */
@media (max-width:400px) {
  .fix-btn-container {
    display: none;
  }
}
.fix-btn-item {
  position: relative;
  overflow: hidden;
}
.fix-btn-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
}
.fix-btn-item:hover::before {
  left: 125%;
  transition: left 0.5s;
}
.h_google form {
  text-align: right;
}
.h_google button {
  background-color: var(--main_color);
  color: #FFFFFF;
  padding-top: 9px;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 9px;
  border-radius: 5px;
  border-width: 0px;
}
#g_input {
  padding: 7px;
  border-radius: 5px;
  border: 1px solid var(--main_color);
}
@media (max-width:900px) {
  #g_input {
    width: 70%;
  }
}
/*---------------------------------------------*/
/*---------------------------------------------*/
#faq-section {
  margin-top: 10rem;
}
.faq-item {
  position: relative;
  background: #fff;
  margin: 2rem auto;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: visible; /* ← これ重要。雲のはみ出しを許可 */
  max-width: 700px;
}
/* 質問ボタン */
.faq-question {
  background: none;
  border: none;
  width: 100%;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--title_color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--nomal_font);
}
.faq-question h3 {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
}
@media (max-width:1000px) {
  .faq-question {
    text-align: left;
  }
  .faq-question span {
    display: none;
  }
}
/* 回答部分 */
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  /*font-family: "Noto Sans JP", sans-serif;*/
  text-align: left;
  font-size: 1rem;
  line-height: 1.8;
  color: #666666;
  font-family: var(--nomal_font);
}
.faq-item.active .faq-answer {
  opacity: 1;
}
/* プラスアイコン */
.icon {
  font-size: 1.5rem;
  color: #2fad99;
  transition: transform 0.3s ease;
}
.faq-item.active .icon {
  transform: rotate(45deg);
}
/* スマホ時はシンプル */
@media screen and (max-width: 600px) {
  .faq-item {
    border-radius: 20px;
  }
  .faq-item::before, .faq-item::after {
    display: none;
  }
}

/* ===== Scroll Fade (directional) ===== */
:root{
  --sf-distance: 60px;                 /* 移動量 */
  --sf-duration: 1200ms;               /* 時間（旧1.2sと同等） */
  --sf-ease: cubic-bezier(0,0,0.58,1); /* ease-out 相当 */
}

/* 基本：初期 transform は付けない（方向クラスで付ける） */
.scroll-fade{
  opacity: 0;
  transition:
    opacity var(--sf-duration) var(--sf-ease),
    transform var(--sf-duration) var(--sf-ease);
  will-change: opacity, transform;
}

/* 方向：表示前だけオフセット */
.scroll-fade.left:not(.show)  { transform: translateX(calc(var(--sf-distance) * -1)); }
.scroll-fade.right:not(.show) { transform: translateX(var(--sf-distance)); }
.scroll-fade.up:not(.show)    { transform: translateY(var(--sf-distance)); }
.scroll-fade.down:not(.show)  { transform: translateY(calc(var(--sf-distance) * -1)); }

/* 表示状態 */
.scroll-fade.show{
  opacity: 1;
  transform: translate(0,0);
}

/* 旧クラスが残っていても無効化するガード */
.scroll-fade.hidden-down,
.scroll-fade.hidden-up {
  transform: none !important;
}

/* 動きが苦手な人に配慮 */
@media (prefers-reduced-motion: reduce){
  .scroll-fade{ transition:none !important; opacity:1 !important; transform:none !important; }
}










.icon {
    font-size: 2rem;   /* ここを変えるだけでSVGも拡大縮小 */
    color: #FFFFFF;
}
.icon2 {
    font-size: 2rem;   /* ここを変えるだけでSVGも拡大縮小 */
    color: #2fad99;
}
