@charset "utf-8";
/* ================================================================= 
 License : e-TRUST Inc.
 File name : common.css
 Style : common
================================================================= */
/* BXI reset */
#contents_wrap {
  min-width: unset;
  padding-inline: 10px;
}

header#global_header {
  min-width: unset;
}

footer#global_footer {
  background-color: unset;
}

@media (max-width:1200px){
  #contents {
    width: 100%;
  }
}

#main {
  width: 100%;
  float: none;
  font-size: 16px;
}

#main #col_main {
  width: 100%;
}


a:link {
  color: unset;
  text-decoration:none;
}
a:visited {
  color: unset;
}
a:hover,
a:active {
  color: unset;
}
a, button {
  -webkit-tap-highlight-color: rgba(0,0,0,0.1); /* 薄いグレーなど */
}

@media screen and (max-width: 468px) {
  #contents_wrap {
    padding-inline: 10px;
  }
  img.imgL {
      max-width: 100%;
  }
}


/* ================================================================= 
 common
================================================================= */
:root{
/* 共通コンテナ最大幅（必要なら使用） */
  --container-max: 1200px;
  
  --main-yellow: #fcdc49;
  --main-green: #00ae98;
  --main-red: #df5656;
  --main-blue: #909cce;
  --text-dark: #333;

  --main-shadow: 0 2px 6px rgba(0,0,0,.12);
  --img-shadow: 0 6px 20px rgba(0,0,0,.1);
  --text-shadow: 2px 2px 5px #ffffff;
  
  --fz15-18: clamp(15px, 2vw, 18px);
  --fz16-20: clamp(16px, 2vw, 20px);
  --fz18-24: clamp(18px, 3vw, 24px);
  --fz20-26: clamp(20px, 2vw, 26px);
  --fz24-32: clamp(24px, 3.5vw, 32px);
  --fz26-40: clamp(26px, 4vw, 40px);
}

/* リセット最小限 */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0; 
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

/* ========== ヘッダー ========== */
.site-header {
  width: 100%;
  transition: all 0.3s ease;
}

/* 固定表示時（200pxスクロール後） */
.site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  animation: slideDown 0.4s ease;
}

/* 下からスッと出てくる軽いアニメーション */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}




.site-header {
  width: 100%;
  border-bottom: 1px solid #eee;
  background: #fff;
  position: relative;
  z-index: 1000;
}
.site-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 15px 10px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.site-logo img { width: auto; height: 35px; }

/* PC時の右側メニュー */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tel_nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: var(--fz20-26);
  text-decoration: none;
  color: var(--text-dark);
  font-family: 'Arial', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, sans-serif;
}

.btn-contact {
  background: var(--main-yellow);
  color: var(--text-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--main-shadow);
  transition: background .2s;
  width: 180px;
  justify-content: center;
}
.btn-contact:hover {
  background: #ffe75f;
}

.btn-menu {
  border-bottom: 2px dashed var(--main-blue);
  padding-bottom: 10px;
}


/* ハンバーガーアイコン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: .3s;
}

/* 開閉アニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* モバイルメニュー */
.mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fffffff7;
  border-top: 1px solid #eee;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  width: 95%;
}
.mobile-menu.show {
  display: flex;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== メインビジュアル ====== */
.hero{
  position: relative;
  width: 100%;
  height: 540px;             /* 指定：常に540pxを維持 */
  isolation: isolate;
  color: #111;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* 背景画像（差し替え） */
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(255,255,255,.0), rgba(255,255,255,.0)),
    url("/images/content/mv-map.png") center/cover no-repeat; /* ←差し替え */
  z-index: -2;
}
/* うっすら白ベール（読みやすさ向上・任意） */
.hero::after{
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.55);
  z-index: -1;
}

/* テキストボックス */
.hero__content{
  max-width: 900px;
  padding: 24px;
  text-align: center;
}
.hero__wrap{
  background: #ffffffe6;
  padding: 30px 60px;
  box-shadow: var(--img-shadow);
}
.hero__lead{
  font-size: clamp(24px, 7vw, 70px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 18px;
}
.hero__lead:after {
  background-color: var(--main-green); /* 線色 */
  border-radius: 5px; /* 線幅の半分 */
  content: "";
  display: block;
  height: 8px; /* 線幅 */
}
.hero__cta{
  display: inline-block;
  padding: 20px 30px;
  border-radius: 999px;
  background: #f1cf26;   /* ボタン色（黄色系） */
  color: #111;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--main-shadow);
  margin-top: 30px;
  width: clamp(220px, 40vw, 360px);
}
div.mv_img {
  position: absolute;
  right: 15vw;
  bottom: 0;
  width: clamp(140px, 18vw, 300px);
}


/* ===== スマホ対応 ===== */
@media (max-width: 980px) {
  div.mv_img {
    right: 3vw;
  }
  
    
  .site-logo img {
    width: unset; 
    height: 30px !important; 
  }
}

@media (max-width: 640px) {
  .header-right { display: none; }
  .hamburger { display: flex; }
  div.mv_img {
    right: 5vw;
  }
  
  .hero__wrap {
    padding: 60px 40px;
  }
  
  .hero__content {
    padding: 5px;
  }
}

@media (max-width: 420px) {
  .hero__wrap {
    padding: 60px 30px;
  }
}

/* ====== TOPコンテンツ ====== */
section form h2.mail.title {
  display:none;
}

.h1_dis h1 {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text40 {
  font-size: var(--fz26-40);
}

.cont1_1,
.cont1_2 {
  max-width: 800px;
  margin: 60px auto;
  line-height: 2;
}

.cont1_1 span,
.cont1_2 span {
  font-weight: 700;
}

.cont1_1 span {
  border-bottom: 8px dotted var(--main-yellow);
}
.cont1_2 span {
  border-bottom: 8px solid var(--main-green);
}


.cont2_wrap {
  width: 100%;
}

/* 余白が出るセクションだけに適用 */
.cont2_wrap{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background-color: #FFFBE9;
}

#cont2 {
  position: relative;          /* 擬似要素を配置できるようにする */
  background-color: #FFFBE9;   /* 背景色があるなら併用 */
  overflow: hidden;
}

/* 背景画像のみ透過 */
#cont2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/content/cont2_bg.png") right bottom / 360px auto no-repeat;
  opacity: 0.5;                /* 透過度（0〜1） */
  pointer-events: none;        /* 背景をクリック不可にする */
  z-index: 0;
}

/* 中身は通常表示 */
#cont2 > * {
  position: relative;
  z-index: 1;
}

/* 中身（#cont2 / #c6 / #c7 など）には中央寄せの最大幅 */
.cont2_wrap > div{
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

/* 画像部分 */
.cont2_img {
  flex: 1;
}
.cont2_img img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: var(--img-shadow);
}

/* テキスト部分 */
.cont2_text {
  flex: 1;
  font-size: var(--fz18-24);
  line-height: 1.8;
}
.cont2_text span {
  color: #d84b4b;
  font-weight: 700;
}

.cont2_text2 {
  flex: none;
  display: block;
  width: 100%;
}

.cont2_text2 div {
  max-width: 800px;
  margin: 0 auto;
  background-color: #FFF;
  padding: 20px;
  line-height: 1.8;
  font-size: var(--fz18-24);
  font-weight: 700;
}

.cont2_text2 ul {
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff80;
  padding: 20px;
  line-height: 1.8;
  font-size: var(--fz18-24);
  list-style: none;
}

div.cont2_text2 ul li {
  float: none !important;
  position: relative;
  padding-left: 36px;
  line-height: 2;
  font-weight: 700;
}

div.cont2_text2 ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 30px;
  height: 30px;
  background: url("/images/content/mappin.png") no-repeat center / contain;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .cont2_wrap > div {
    flex-direction: column;
  }
  .cont2_wrap {
    background-size: 200px auto;
    background-position: right 10px bottom 10px;
  }
}

.cont3_wrap {
  width: 100%;
  z-index: 1;
}


.cont3_wrap{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background-color: #F4F4F4;
}

#cont3 {
  position: relative;
  background-color: #F4F4F4;
  overflow: hidden;
}

.cont3_wrap > div{
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.cont3 h2 {
  font-size: var(--fz26-40);
  font-weight: 700;
  text-align: center !important;
}

.cont3 h2:after {
  background-color: var(--main-green);
  border-radius: 5px;
  content: "";
  display: block;
  height: 8px;
  width: 120px;
  margin: 20px auto;
}


.map-trouble {
  padding: 80px 20px;
}

/* 1) 中央基準にする */
.map-trouble__inner{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  place-items: center;          /* ←常に中央 */
}

/* 2) 画像ステージを確実に中央へ */
.map-image{
  position: relative;
  display: block;               /* ←inline-blockにしない */
  width: min(100%, 360px);      /* 任意：PC時の最大幅 */
  margin: 0 auto;
}
.map-image img{
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--img-shadow);
}

/* 吹き出し（PC想定） */
.bubble{
  position: absolute;
  background:#fff;
  padding:10px 18px;
  border-radius:40px;
  box-shadow: var(--main-shadow);
  font-size:14px; line-height:1.6; text-align:left;
  max-width:280px;
}
.bubble.top-right    { top: 5%;   right: -80%; }
.bubble.bottom-right { bottom:10%; right: -80%; }
.bubble.top-left     { top: 5%;   left:  -80%; }
.bubble.middle-left  { top: 45%;  left:  -75%; }

p.bubble {
  font-weight: 700;
  font-size: var(--fz15-18);
}

/* 共通：しっぽの色や影は吹き出しと合わせる */
.bubble{
  --bubble-bg: #fff;
  background: var(--bubble-bg);
  box-shadow: var(--main-shadow);
}

/* しっぽ共通（サイズは好みで調整） */
.bubble::after{
  content:"";
  position:absolute;
  width: 20px;
  height: 16px;
  background: var(--bubble-bg);
  box-shadow: var(--main-shadow);
}

/* 右側にある吹き出し（画像の左へ向けて“左向きのしっぽ”） */
.bubble.top-right::after,
.bubble.bottom-right::after{
  left: -12px;               /* 吹き出しの外に少し出す */
  top: 50%;
  transform: translateY(-50%);
  /* 左向き三角：先端が左(0% 50%)を向く */
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

/* 左側にある吹き出し（画像の右へ向けて“右向きのしっぽ”） */
.bubble.top-left::after,
.bubble.middle-left::after{
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  /* 右向き三角：先端が右(100% 50%)を向く */
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* 3) 人物は中央基準でオフセット */
.map-person{
  position: absolute;
  left: 50%;
  transform: translateX(calc(-50% - 360px)); /* ←中央から左へずらす量 */
  bottom: -24px;
}
.map-person img{ width:140px; height:auto; }

/* タブレットで少し内側へ */
@media (max-width: 1024px){
  .bubble{ font-size:13px; max-width:260px; }
  .bubble.top-right    { right:-50%; }
  .bubble.bottom-right { right:-50%; }
  .bubble.top-left     { left:-50%; }
  .bubble.middle-left  { left:-50%; }

  .map-person{
    transform: translateX(calc(-50% - 300px));
    bottom: -10px;
  }
}

/* 背景 */
.cont3_wrap { overflow: visible; }
#cont3 { padding-bottom: 100px; }

/* 下中央にV字（三角） */
.cont3_wrap::after{
  content:"";
  position: absolute;
  left: 50%;
  bottom: -60px;               /* どれだけはみ出すか */
  transform: translateX(-50%);
  width: 200vw;                /* 画面幅いっぱい */
  height: 120px;               /* 三角の高さ（= 上の2倍が目安） */
  background: #F4F4F4;         /* セクションと同じ色 */
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  pointer-events: none;
  z-index: 0;
}

/* スマホ時は少し小さく */
@media (max-width: 768px){
  .cont3_wrap::after{
    bottom: -40px;
    height: 80px;
  }
}

/* スマホ：縦積み・人物は通常配置に */
@media (max-width: 768px){
  .map-trouble {
    padding: 60px 20px 30px 20px;
  }
  .map-trouble__inner{
    grid-auto-flow: row;
    row-gap: 24px;
  }
  .bubble{
    position: static;
    max-width: 100%;
    margin: 20px 0;
    text-align: left;
  }
  .bubble::after{
    display:none;
  }
  .map-person{
    position: static;
    transform: none;
    margin-top: 4px;
  }
  .map-person img{ width:120px; }
}


.cont4_wrap {
  width: 100%;
  padding-top: 60px;
  z-index: 0;
}


.cont4_wrap{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background-image: repeating-linear-gradient(135deg, #f6fffe, #f6fffe 5px, transparent 5px, transparent 10px);
}

#cont4 {
  overflow: hidden;
}

.cont4_inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: flex;
  flex-direction: row;
  gap: 40px;
}

/* 背景画像のみ透過 */
.cont4_inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/content/woman2.png") right bottom / auto no-repeat;
  background-size: clamp(160px, 20vw, 240px);
  opacity: 1.0;                /* 透過度（0〜1） */
  pointer-events: none;        /* 背景をクリック不可にする */
  z-index: -1;
}

.cont4_img, .cont4_text {
  flex: 1;
}

.cont4_inner>div:last-child {
  display: none;
}

.cont4_text>div {
  font-size: var(--fz20-26);
  font-weight: 700;
  line-height: 2;
  text-shadow: var(--text-shadow);
}

.cont4_text span {
  font-weight: 700;
  border-bottom: 5px solid var(--main-yellow);
  color: var(--main-red);
  text-shadow: var(--text-shadow);
}


@media (max-width: 768px){
  .cont4_inner {
    flex-direction: column;
  }
  
  .cont4_img, .cont4_text {
    margin: 0 auto;
  }
}

@media (max-width: 468px) {
  .cont4_inner::before {
    background-size: 100px;
  }
  
  .cont4_img, .cont4_text {
    margin: 0;
  }
}

.cont5 {
  display: flex;
  flex-direction: row;
  gap:40px;
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px;
  align-items: center;
}

.cont5_title h2 {
  font-size: var(--fz26-40);
  font-weight: 700;
  text-align: center;
}

.cont5_title h2:after {
  background-color: var(--main-green);
  border-radius: 5px;
  content: "";
  display: block;
  height: 8px;
  width: 120px;
  margin: 20px auto;
}

.cont5>img {
  flex: 1;
  max-width: 260px;
}

.cont5>div {
  font-size: var(--fz18-24);
  font-weight: 700;
  line-height: 2;
  background: url(/images/content/point_bg.png) center / auto no-repeat;
  padding: 60px 0;
  min-width: 260px;
  min-height: 260px;
}

.cont5.clearfix::after {
  display: none;
}

@media (max-width: 768px){
  .cont5 {
    flex-direction: column;
  }
}

@media (max-width: 468px) {
  .cont5 {
    padding: 10px 0;
  }
}
.cta_wrap{
  width: 100%;
  padding: 60px 20px;
  z-index: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background-color: #DEF6F4;
}

.cta_text {
  max-width: 800px;
  margin: 20px auto 30px;
  font-size: var(--fz18-24);
  line-height: 1.5;
}

.cta_text>div {
  font-weight: 500;
}

.cta_inner {
  position: relative;
  max-width: 800px;
  background-color: #FFF;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
}

.cta_inner .cta_img {
  position: absolute;
  bottom: 0;
  right: 0;
}

.cta_inner>div:last-child {
  display: none;
}

.btn_cta>div {
  display: block;
  background: var(--main-yellow);
  padding: 0;
  text-align: center;
  max-width: 360px;
  border-radius: 50px;
  font-size: var(--fz20-26);
  font-weight: 700;
}

.btn_cta{
  cursor: pointer;
}

.btn_cta a {
  display: block;
  padding: 20px 30px;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 640px) {
  .cta_inner .cta_img {
    width: clamp(80px, 25vw, 180px);
  } 
}

@media (max-width: 420px) {
  .btn_cta a {
    padding: 20px 40px 20px 10px;
  }
}


.cont6_wrap{
  width: 100%;
  z-index: 1;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding-bottom: 60px;
  background-color: #ffffff;
  background-image: radial-gradient(circle, #e2fbf8 1.5px, transparent 1.5px);
  background-position: 0 0;
  background-size: 6px 6px;
}

.cont6_inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cont6_box {
  width: calc((100% / 3) - 40px);
  border: 2px solid var(--main-green);
  background-color: #FFF;
}

.cont6_box h3 {
  background-color: var(--main-green);
  padding: 10px;
  text-align: center !important;
  color: #FFF;
  font-weight: 700;
}

.cont6_box article div {
  padding: 20px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 20px;
}

.cont6_box2 {
  width: calc((100% / 3) - 40px);
  border: 2px solid var(--main-red);
  background-color: #FFF;
}

.cont6_box2 h3 {
  background-color: var(--main-red);
  padding: 10px;
  text-align: center !important;
  color: #FFF;
  font-weight: 700;
}

.cont6_box2 article div {
  padding: 20px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 20px;
}

.cont6_inner>div:last-child {
  display: none;
}

.cont6_box3 {
  position: relative;
  margin-top: 80px;
  padding: 30px 40px;
  width: calc((100% / 2) - 40px);
  border: 3px solid var(--main-green);
  border-radius: 10px;
  background-color: #FFF;
  min-width: 346px;
}

.cont6_box3::before {
    content: "";
    position: absolute;
    inset: 0;
    top: 20px;
    right: 20px;
    background: url(/images/content/cont6_bg1.png) right top / 260px auto no-repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.cont6_box3 h3 {
  font-size: var(--fz24-32);
  color: var(--main-green);
  font-weight: 700;
  margin-bottom: 20px;
}

.cont6_box3 ul li::before,
.cont6_box4 ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 20px;
    height: 20px;
    background: url(/images/content/checkicon.png) no-repeat center / contain;
}

.cont6_box3 ul,
.cont6_box4 ul {
  line-height: 2;
}

.cont6_box3 ul li,
.cont6_box4 ul li {
  position: relative;
  font-size: var(--fz16-20);
  font-weight: 700;
  padding-left: 26px;
}

.cont6_box4 {
  position: relative;
  margin-top: 80px;
  padding: 30px 40px;
  width: calc((100% / 2) - 40px);
  border: 3px solid var(--main-red);
  border-radius: 10px;
  background-color: #FFF;
  min-width: 346px;
}

.cont6_box4::before {
    content: "";
    position: absolute;
    inset: 0;
    top: 20px;
    right: 20px;
    background: url(/images/content/cont6_bg2.png) right top / 260px auto no-repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.cont6_box4 h3 {
  font-size: var(--fz24-32);
  color: var(--main-red);
  font-weight: 700;
  margin-bottom: 20px;
}


@media (max-width: 1200px) {
  .cont6_inner {
    gap: 30px;
  }
  
  .cont6_box,
  .cont6_box2 {
    width: calc((100% / 3) - 20px);
  }
}

@media (max-width: 768px){
  .cont6_inner {
    gap: 20px;
  }
  
  .cont6_box,
  .cont6_box2 {
    width: calc((100% / 2) - 10px);
  }
  
  .cont6_box3 {
    width: 100%;
    min-width: unset;
  }
  
  .cont6_box4 {
    width: 100%;
    min-width: unset;
    margin-top: 20px;
  }
}

@media (max-width: 468px) {
  .cont6_inner {
    gap: 20px;
  }
  
  .cont6_box,
  .cont6_box2 {
    width: 100%;
  }
  
  .cont6_box3,
  .cont6_box4 {
    padding: 20px 15px;
  }
}



.cont7_wrap{
  width: 100%;
  z-index: 1;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background-color: #FFFBE9;
  padding-bottom: 80px;
}

#cont7 .cont3 div {
  font-size: var(--fz18-24);
  font-weight: 700;
}

.cont7_inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cont7_inner div.box {
  width: calc((100% / 3) - 20px);
  box-sizing: border-box;
  overflow: hidden;
  border: 3px solid var(--main-yellow);
  border-radius: 10px;
  padding: 10px 20px;
  background-color: #FFF;
}

.cont7_inner div.box>div {
  font-size: var(--fz20-26);
  font-weight: 700;
  padding: 20px 0;
}

.cont7_inner div.box>div span {
  font-size: var(--fz15-18);
  display: block;
  padding-top: 20px;
  text-align: right;
}

@media (max-width: 768px){
  .cont7_inner {
    flex-direction: column;
  }
  
  .cont7_inner div.box {
    width: 100%;
  }
}

.plan_price {
  justify-content: space-between;
  gap: 30px
}

.plan_price div.box {
  box-sizing: border-box;
  overflow: hidden;
  width: calc((100% / 3) - 20px);
  box-shadow: var(--main-shadow);
  padding: 20px;
  text-align: center;
}

.plan_price .box:nth-child(2) {
  position: relative;
}

/* 右上の黄色い三角 */
.plan_price .box:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 0px 0px 30px;
  border-color: #f9d94c transparent transparent transparent;
}


.plan_price div.box h3 {
  border-radius: 10px;
  margin: 10px 0;
  padding: 10px;
  font-size: var(--fz16-20);
  color: #FFF;
  font-weight: 700;
}

.plan_price div.box h3.green {
  background-color: var(--main-green);
}

.plan_price div.box h3.yellow {
  background-color: var(--main-yellow);
  color: #333;
}

.plan_price div.box h3.red {
  background-color: var(--main-red);
}

.plan_price div.box div.prtext {
  font-size: var(--fz15-18);
  font-weight: 700;
  line-height: 2;
}

.cont5_title h3 {
  font-size: var(--fz24-32);
  font-weight: 700;
  text-align: center;
}

.cont5_title h3:after {
    background-color: var(--main-green);
    border-radius: 5px;
    content: "";
    display: block;
    height: 4px;
    width: 100px;
    margin: 20px auto;
}

.plan_common {
  justify-content: space-between;
  gap: 20px
}

.plan_common div.box {
  box-sizing: border-box;
  overflow: hidden;
  width: calc((100% / 4) - 20px);
  padding: 0;
  text-align: center;
  border: 3px solid var(--main-blue);
}

.plan_common div.box h3 {
  background: var(--main-blue);
  font-size: var(--fz16-20);
  font-weight: 700;
  color: #FFF;
  position: relative;
  padding: 5px 5px 5px 40px;
  text-align: left;
}

.plan_common div.box h3:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 11px;
  width: 20px;
  height: 20px;
  background: url(/images/content/checkicon2.png) no-repeat center / contain;
}

.plan_common div.box div {
  padding: 20px 15px 30px;
  text-align: left;
}

@media (max-width: 872px){
  .plan_common {
    gap: 30px;
  }
  
  .plan_common div.box {
    width: calc((100% / 2) - 20px);
  }
}

@media (max-width: 768px){
  .plan_price {
    flex-direction: column;
  }
  
  .plan_price div.box {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .plan_price div.box h3 {
    font-size: clamp(18px, 3vw, 24px);;
  }
  
  .plan_price div.box div.prtext {
    font-size: clamp(18px, 3vw, 24px);;
  }
}

@media (max-width: 468px){
  .plan_common div.box {
    width: 100%;
  }
}

#faq {
  margin-top: 80px;
}

.faq_wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #FFF;
  border-radius: 10px;
  padding: 30px;
}

section div.form_wrap.faq_wrap dl {
  flex-direction: column;
  border-bottom: 2px solid var(--main-yellow);
  margin: 40px 0;
}

section div.form_wrap.faq_wrap dl dt {
  border: none;
  background-color: #FFF;
  position: relative;
  padding-left: 45px;
}

section div.form_wrap.faq_wrap dl dd {
  border-top: 2px dashed var(--main-yellow);
  margin-top: 0;
  position: relative;
  padding-left: 45px;
}

section div.form_wrap.faq_wrap dl dt:before {
  content: "Q";
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: var(--fz26-40);
  font-weight:700;
}

section div.form_wrap.faq_wrap dl dd:before {
  content: "A";
  position: absolute;
  left: 0;
  bottom: 10px;
  font-size: var(--fz26-40);
  font-weight:700;
}

section div.form_wrap.faq_wrap dl dd {
  border-right: none;
  border-left: none;
  border-bottom: none;
}

/* ▼ボタン表示（+ / −） */
section div.faq_wrap dl dt {
  padding-right: 44px; /* 右側にボタン分の余白 */
  cursor: pointer;
}
section div.faq_wrap dl dt::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border: 2px solid var(--main-yellow);
  border-radius: 50%;
  font-weight: 700;
  color: var(--main-yellow);
}

/* ▼開いたときは − 表示 */
section div.faq_wrap dl.is-open dt::after {
  content: "−";
}

/* ▼アコーディオン本体（初期は閉じる） */
section div.faq_wrap dl dd {
  overflow: hidden;
  max-height: 0;
  opacity: .0;
  transition: max-height .3s ease, opacity .2s ease;
  margin-top: 10px; /* 好みで調整 */
}

/* ▼開いた状態 */
section div.faq_wrap dl.is-open dd {
  opacity: 1;
  /* max-height は JS で実寸にセット（滑らかに） */
  padding: 20px 8px 20px 45px;
}

@media (max-width: 840px){
  .faq_wrap {
    margin: 0 20px;
  }
}

@media (max-width: 468px){
  .faq_wrap {
    padding: 20px 15px;
  }
  
  section div.form_wrap.faq_wrap dl dt {
    padding-left: 25px;
  }
  
  section div.faq_wrap dl.is-open dd {
    padding-left: 25px;
  }
}

.cta_contact {
  max-width: 800px;
  margin: 0 auto;
}

.about-tel {
  font-size:var(--fz26-40);
  font-weight: 700;
}

.cta_form {
  box-shadow: var(--main-shadow);
  padding: 30px 0px;
}

section div.form_wrap.cta_form dl {
  padding: 20px;
}

section div.form_wrap.cta_form dl dt {
  border: none;
  background-color: #FFF;
  justify-content: flex-start;
  flex-direction: row;
  min-width: 170px;
  font-weight: 700;
}

section div.form_wrap.cta_form dl dt label {
  color: var(--main-red);
  padding-left: 5px;
}

section div.form_wrap.cta_form dl dd {
  border: none;
  padding: 0;
}

section p.annot, section form p.annot {
  max-width: 800px;
  margin: 0 auto;
  color: var(--main-red);
}

.bt_confirm {
  text-indent: 0 !important;
  background: unset;
  width: 200px;
  background-color: var(--main-red);
  color: #FFF;
  font-weight: 700;
  padding: 15px;
  height: auto;
  border: 1px solid #FFF;
  margin-top: 0;
  border-radius: 10px;
}

.page-form-confirm section div.form_wrap.confirm {
  max-width: 800px;
  margin: 30px auto;
}

.page-form-complete section div.form_wrap.message {
  max-width: 800px;
  margin: 30px auto;  
}

@media (max-width: 768px){
  input[type="text"], input[type="password"], textarea {
    padding: 5px 5px;
    font-size: unset;
  }
}


footer#global_footer {
  width: 100%;
  padding: 30px 20px;
  z-index: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background-color: #DEF6F4;
}

#nav_footer ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  margin: 20px 0;
}

#nav_footer p {
  font-size: var(--fz20-26);
  font-weight: 700;
}

footer#global_footer {
  min-width: unset;
}

@media (max-width: 640px){
  #nav_footer ul {
    gap: 20px;
    padding: 10px 0;
  }
}

/* TOPへ戻る */
.back-to-top{
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--main-blue);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 15px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  transform: translateY(20px);
  z-index: 99999;
}
.back-to-top.show{ opacity:1; pointer-events:auto; transform: translateY(0); }

/* スマホ用固定CTA（デフォルトは非表示） */
.fixed-cta{
  display: none; /* 640px以下で表示 */
}

/* 640px以下の表示切替 */
@media (max-width: 640px){
  /* TOPへ戻るは非表示 */
  .back-to-top{ display: none !important; }

  /* 固定CTAを下部に表示 */
  .fixed-cta{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); /* iOSノッチ対応 */
    background: rgba(255,255,255,0.96);
    box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
    z-index: 2147483647; /* 最前面 */
  }
  .fixed-cta .cta{
    flex: 1 1 0;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    padding: 14px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
  }
  .fixed-cta .cta--tel{
    background: var(--main-green); /* 緑系（お好みで） */
    color: #fff;
  }
  .fixed-cta .cta--mail{
    background: var(--main-yellow); /* 既存カラー */
    color: #333;
  }

  /* 本文がCTAに隠れないよう下余白を確保（任意・推奨） */
  body{
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
}