@charset "UTF-8";

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: auto;
  }
}

body {
  font-family: "游明朝", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: #000000;
  background-image: url("./img/main-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin: 2rem 0 0 0;
  padding: 0;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html,
h1,
h2,
h3,
h4,
ul,
ol,
li,
p,
span,
iframe,
footer,
address,
h1,
h2,
h3,
h4,
h5,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

*:focus {
  outline: none;
}

img {
  image-rendering: -webkit-optimize-contrast;
}
img.img-full{
  max-width: 100%;
  height: auto;
}
.w-100{
  width: 100%;
}
.table {
  border-color: #CCC;
}
body.second main{
  padding-top: 102px;
}
/* link ------------------------------*/
a {
  color: #000000;
  transition: color 0.5s ease 0s;
  text-decoration: none;
}

a:focus {
  outline: none;
}

a:hover {
  text-decoration: none;
  color: #000000;
  /* opacity: .6; */
}

.underline_link {
  text-decoration: underline !important;
}

iframe {
  vertical-align: bottom;
}

figure {
  opacity: 1;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

figure {
  margin: 0;
}

figure:hover {
  opacity: 0.7;
}

/* hr ------------------------------*/
hr {
  border-top: 2px dashed #4493d0;
}

hr.border_gray {
  border-top: 1px solid #e2e2e2;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* header ------------------------------*/
/* list ------------------------------*/
li {
  list-style-type: none;
}

ul.circle_list,
ul.common_list {
  padding-left: 1em;
  text-indent: -1em;
}

.circle_list li::before {
  content: "● ";
}

ul.circle_list.font-l {
  font-size: 18px;
}

ol {
  position: relative;
  margin: 0;
  padding: 0
}

ol li {
  list-style: none;
  list-style-position: outside;
  margin: 0;
  padding-left: 1.25em
}

/* color ------------------------------*/
.white {
  color: #FFF;
}

.orange {
  color: #e95412;
}

.red {
  color: #921F1F;
}

.blue {
  color: #0070b7;
}

.green {
  color: #498F6C;
}

.grey {
  color: #585858;
}

.pagetop {
  cursor: pointer;
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 65px;
  border-radius: 50%;
  transition: .3s;
  color: #498F6C;
  border: 1px solid #498F6C;
  font-size: 14px;
  padding: 0 10px;
  opacity: 0;
}
.pagetop:hover {
  bottom: 35px;
}
/* =========================================
   共通レイアウトユーティリティ
========================================= */
.main-column{
  display: flex;
}

.main-column-left{
  position: relative;
  width: 50%;
}
  .float-dw{
  position: sticky;
  top: 30%;
  margin: 0 auto;
  display: block;
  width: fit-content;
  animation: fuwafuwa 3s ease-in-out infinite;
}
  .float-dw:hover{
    opacity: 0.9;
}

@keyframes fuwafuwa {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
  .float-dw img{
    max-width: 400px;
    width: 100%;
    }

/* --- コンテナ（中央寄せ・左右余白） --- */
.container {
    width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background-color: #F6F6F2;
}
/* --- セクション（上下余白） --- */
.container-in{
  padding: 0 20px;
}
.section {
  padding: 70px 0;
}
.section.small {
  padding: 40px 0;
}

/* --- 中央寄せユーティリティ --- */
.text-center { text-align: center; }
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- 幅制限を解除したい時 --- */
.full-width {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* =========================================
   スペーシング・ユーティリティ
========================================= */

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }


.pt-50 { padding-top: 50px; }
.pt-60 { padding-top: 60px; }
.pt-70 { padding-top: 70px; }

.p-0  { padding: 0; }
.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }

.ptb-10 { padding: 10px 0; }
.ptb-20 { padding: 20px 0; }
.ptb-30 { padding: 30px 0; }
.ptb-40 { padding: 40px 0; }

.pt-0 {padding-top: 0;}
.pb-0 {padding-bottom: 0;}

.text-right{
  text-align: right;
}
.text-center{
  text-align: center;
}
.text-left{
  text-align: left;
}
.d-block{
  display: block;
}

.button-right{
  justify-content: end;
  display: flex;
  align-items: center;
}
.button-center{
  justify-content: center;
  display: flex;
  align-items: center;
}
.button-left{
  justify-content: start;
  display: flex;
  align-items: center;
}
/* header */
.header img.fv{
  border-radius: 10px 10px 0 0;
}
.download-btn{
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.download-btn a{ 
  height: 60px;
  overflow: hidden;
}
.download-btn img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.grad-green{
  background-image: linear-gradient(#498f6c, #498f6c80 70%, transparent);
   padding: 40px 0;
   color: #fff;
   text-align: center;
     text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2);
font-size: clamp(1.125rem, -0.625rem + 7vw, 1.5625rem);
}
.down-heading{
  position: relative;
  background: #498F6C;
  position: relative;
  padding: 20px 10px;
}
.down-heading:after{
   content: "";
    position: absolute;
    height: 51px;
    width: 100%;
    clip-path: polygon(0 0,50% 100%,100% 0);
    background-color: #498F6C;
    left: 0;
    bottom: -50px;
    z-index: 101;
}
.down-heading h2{
  color: #fff;
  text-align: center;
  font-size: 20px;
}
.down-heading h2 span{
  font-size: 25px;
  color: #E7F51F;
}

.maru {
  height: 65px;
  width: 65px;
  border-radius: 50%;
  line-height: 65px;
  text-align:center;
  background:#498F6C;
  font-size:30px;
  color: #fff;
  margin: 0 auto;
}

.point-area{
  padding: 70px 0 70px 0;
  border-radius: 30px 30px 0 0;
  background-color: #F6F6F2;
  margin-top: -25px;
}
#point01{
  border-radius: 0;
  margin: 50px 0 0 0;
  padding: 20px 0 70px 0;
}
.point-area:nth-child(odd){
  background-color: #EBEBE3;
}
.point-area h3{
  padding: 10px 0;
  color: #498F6C;
  text-align: center;
  font-size: 25px;
}
.point-area p{
  font-size: 20px;
  text-align: center;
  padding: 10px 0;
}
.point-txt{
  text-align: right;
}
.point-txt img{
  max-width: 220px;
  width: 100%;
}
.point-img02{
display: block;
    margin: 0 auto;
    max-width: 250px;
}
.point-img02 img{
  width: 100%;
}
.voice-heading{
  text-align: center;
  margin-bottom: 2rem;
}
.voice-heading span{
  border-radius: 50px;
  background-color: #fff;
  padding: 10px;
  text-align: center;
  color: #498F6C;
  margin-bottom: .5rem;
  display: inline-block;
}
.voice-heading h2{
  font-size: 25px;
}
.voice-box{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 2rem;
}
.voice-box .voice-img{
  width: 30%;
}
.voice-box .voice-img img{
  width: 100%;
}
.voice-box .voice-txt{
  width: 70%;
}

.voice-section {
  position: relative;
  background: linear-gradient(to right, #D9E5D7 0%, #F3EFD5 100%);
  overflow: hidden;
  padding: 100px 0 70px 0;
}

/* 上ウェーブ */
.voice-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 160px;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 260' xmlns='http://www.w3.org/2000/svg'><path fill='%23EBEBE3' d='M0,80C200,20 400,120 700,70C1000,20 1200,100 1440,60L1440,0 L0,0 Z'></path></svg>") no-repeat;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}



.cta-bg{
  background-image: url("./img/cta-bg.png");
  background-size: cover;
  background-position: center;
  padding: 70px 0 0 0;
  line-height: 0;
}
.cta-box{
  padding: 30px 10px;
    background-color: rgba(255, 255, 255, 0.5);
  text-align: center;
  border-radius: 20px;
  line-height: 1.5;
}
.cta-box h2{
background: linear-gradient(90deg, #5ab487 0%, #5688d2 100%);
color: transparent;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-fill-color: transparent;
margin-bottom: 1rem;
}
.cta-free{
  display: flex;
  justify-content: center;
}
.cta-free p{
  background-color: #498F6C;
  border-radius: 50px;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}
.footer{
  background-color: #F6F6F2;

}
.footer-px{
  padding: 0 10px;
}
.footer-logo{
  max-width: 250px;
  margin: 0 auto;
}
.footer-logo img{
  width: 100%;
}
ul.nav{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
ul.nav li a{
  padding: 0 10px;
  font-size: 14px;
}
ul.nav li:not(:last-child){
  border-right: 1px solid #000;
}
/* 共通：初期状態（非表示）*/
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease-out;
}

.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.6s;
}
.delay-4 {
  transition-delay: 1s;
}

/* スライドアップ */
.animate.slide-up {
  transform: translateY(30px);
}
.animate.show.slide-up {
  opacity: 1;
  transform: translateY(0);
}

/* スライド右から */
.animate.slide-right {
  transform: translateX(-40px);
}
.animate.show.slide-right {
  opacity: 1;
  transform: translateX(0);
}

/* スライド左から */
.animate.slide-left {
  transform: translateX(40px);
}
.animate.show.slide-left {
  opacity: 1;
  transform: translateX(0);
}

/* モーダル背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0; /* top/right/bottom/left: 0 と同じ */
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  overflow-y: auto; /* ← スマホで縦スクロール */
  padding: 40px 20px; /* ← スマホ時の左右余白・上下余白 */
}

/* コンテンツ部分 */
.modal-content {
  background: #fff;
  max-width: 600px;
  width: 100%;
  margin: auto; /* ← これだけで中央に */
  padding: 30px;
  border-radius: 12px;
  position: relative;
  max-height: 80vh; /* ← 中身が長すぎても収まる */
  overflow-y: auto; /* ← 内部スクロール対応 */
  animation: fadeIn .3s ease;
}

/* 閉じる(X)ボタン */
.modal-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 26px;
  cursor: pointer;
}

/* フェードアニメ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 767px){
  .pagetop {
    background-color: #fff;
        right: 10px;
    bottom: 10px;
}
  .modal {
    padding: 40px 16px; 
  }

  .modal-content {
    padding: 20px;
    max-height: 85vh; /* スマホ時に見やすく */
  }
}

@media (min-width: 768px) {
}

@media (max-width: 991px) {
}
@media (max-width: 767px) {
  .main-column-left{
    display: none;
  }
  .main-column{
    justify-content: center;
  }
}

@media (min-width: 992px) {
  }

@media (max-width: 991px) {}

@media (min-width: 1400px) {  

}

@media (min-width: 768px) and (max-width: 1399px) {
}
@media (min-width: 768px) and (max-width: 991px) {}

@media (min-width: 1200px) {}

@media (max-width: 1199px) {}

@media (min-width: 576px) {}

@media (max-width: 575px) {}

@media (min-width: 768px) and (max-width: 1199px) {}

@media (min-width: 992px) and (max-width: 1199px) {}

@media (min-width: 768px) and (max-width: 991px) {}

@media (min-width: 576px) and (max-width: 767px) {}

@media (max-width: 450px) {}