@import url('https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap');
/* 1. 全体で利用する標準のフォントを設定 (任意) */
body {
    font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
}

/* 2. 手書き風にしたい部分にのみ、専用のフォントを適用 */
.handwriting {
    /* ここに読み込んだフォント名を指定 */
    font-family: 'Yusei Magic', cursive; 
    }
    
html {
  /* ビューポート（画面全体）の横スクロールを隠す */
  overflow-x: hidden; 
}
  
body {
  overflow-x: hidden;
  text-align: center;
  border: 0;
  margin: 0;
}


img {
  /* width: 100%; */
  vertical-align: bottom;
}
.pc {
  display: block;
}
.sp {
  display: none;
}

#header {
  background-color: rgba(255, 255, 255, 1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid #ccc;
  width: 100%;
}
#header-in {
    background-color: rgba(255, 255, 255, 1);
    position: relative;
    padding: 0em 0em 0.5em;
    width: 100%;
    max-width: 950px;
    margin: auto;
}
#header #header-title {
    float: left;
    margin-top: 0px;
    margin-left: 0px;
}
.header-logo {
    margin-bottom: 0em;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}
.header-logo img {
    width: 100%;
}
.header_mail {
    float: right;
    margin: 0.5rem;
}
.header_mail img {
    width: 100%;
}

#area-text {
  background: linear-gradient(to right, #1cbc9c, #03A9F4);
  padding: 0.8rem 1rem;
  margin-top: 150px;
}
#area-text p {
   margin: 0;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.8rem;
}
#area-text span {
  color: #ffeb3b;
}

#top {
 background: #009786;
 /* padding: 0 2rem; */
 /*padding-top: 6.3em;*/
}

/* #area-text-in, */
.top-in,
.cta-in,
.worries-in,
.features-in,
.reason-in,
.access-in,
.qa-in
 {
  max-width: 950px;
  width: 100%;
  margin: auto;
}

.cta {
 background: #33B593;
}
/*
.cta-box {
  position: relative;
}
.cta-btn {
  position: relative;
  top: 50%;
  margin-top: -170px;
  padding: 0 0 100px;
}*/
#worries {
 background: #f6f1e1;
 padding: 0 2rem;
}
#features {
 background: #ecf0f1;
 padding: 0 2rem;
}
#reason {
 background: #F6F1E1;
 padding: 0 2rem;
}
#access {
 background: #ECF9D7;
 padding: 0 2rem;
}
#qa {
  padding: 0 2rem;
  margin-bottom: 87px;
}
small {
  color: #33B593;
}

/*ーーーーーーーーー　アコーディオン　ーーーーーーーーーー*/
.accordion {
	margin: 0rem auto 4rem;
	max-width: 80%;
  text-align: left;
  padding: 0 2rem;
}

.toggle {
	display: none;
}

.faq {
	position: relative;
	margin-bottom: 1rem;
}

.question,.anser {
	transform: translateZ(0);
	transition: all 0.3s;
}

.question {
	padding: 1rem 2rem 1rem 2rem;
	display: block;
  background: #FCE781;
  border-radius: 100px;
  color: #228D3D;
  font-size: 1.2rem;
  font-weight: bold;
}

.question span,.anser span {
    font-size: 160%;
    padding-right: 0.6rem;
    color: #228D3D;
    line-height: 0;
}

.question:after,.question:before {
	content: "";
	position: absolute;
	right: 2rem;
	top: 0;
  bottom: 0;
  margin: auto;
	width: 2px;
	height: 0.75rem;
	background-color: #228D3D;
	transition: all 0.3s;
}

.question:after {
	transform: rotate(90deg);
}

.anser {
	max-height: 0;
	overflow: hidden;
}

.anser div {
	margin: 0;
	padding: 1rem 2rem 1.5rem;
	line-height: 1.8;
  color: #383838;
}

.toggle:checked + .question + .anser {
	max-height: 500px;
	transition: all 1.5s;
}

.toggle:checked + .question:before {
	transform: rotate(90deg) !important;
}
/*ーーーーーーーー　アコーディオンここまで　ーーーーーーー*/



/*ーーーーーーーーーーーーーーーーーー　SP　ーーーーーーーーーーーーーーーーーーーーーーーー*/

/* @media only screen and (max-width: 1024px)  */
@media only screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  #header-title {
    width: 40%;
  }
  .header-logo {
    margin-bottom: 0.5rem;
    width: 100%;
  }
  .header_mail {
    width: 40%;
  }
  #area-text {
    /* display: none; */
    margin-top: 80px;
  }
  #area-text p {
    font-size: 1.1rem;
  }
  #top {
    padding: 0;
    /* margin-top: 14.5vw; */
  }
  .top-in,
  .cta-in,
  .worries-in,
  .features-in,
  .reason-in,
  .access-in,
  .qa-in
   {
    width: 100% !important;
    margin: 0% !important;
  }
  #worries,
  #features,
  #reason,
  #access {
    padding: 0rem;
  }

  .accordion {
    margin: 0 0 4rem;
    max-width: 100%;
    text-align: left;
    padding: 0;
  }
  .question {
    font-size: 0.8rem;
  }
  .anser div {
    font-size: 0.8rem;
    padding: 1rem 2rem 0rem;
  }
  small {
    font-size: 0.6rem;
    padding: 0.3rem;
    display: block;
  }
  img {
  width: 100%;
}
}

/*----------------------------------------
   ページトップへボタン
  -----------------------------------------*/
.page-top{
  position: fixed;
  z-index: 99999;
/*  width: 66px;
  height: 66px;*/
  bottom: 30px;
  right: 30px;
}
.page-top a {
	font-size: 350%;
	opacity: 0.5;
}
.page-top a span { font-size: 0px; }

/*@media screen and (max-width: 896px){*/
@media screen and (max-width: 767px){
  .page-top {
    bottom: 90px;
    right: 10px;
  }
}
/* 
    mv
*/
.pc_main{
    display: block;
}

.mv{
    position: relative;
}

.mv_video .video{
    width: 100%;
    object-fit: cover;
    height: 703px;
    filter: brightness(50%)
}

.mv_inr{
    position: absolute;
    width: 100vw;
    top: 0;
}

.mv_txt{
    margin: 50px auto 80px;
    /* max-width: 90%; */
    width: 900px;
}

.mv_txt p{
    font-size: 60px;
    /* font-weight: bold; */
    text-align: left;
    color: #fff;
    letter-spacing: 3px;
    line-height: 1.3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.mv_list{
    margin: -20px auto 20px;
    max-width: 90%;
    width: 900px;
    display: flex;
    justify-content: right;
    gap: 20px;
}

.mv_list img{
    width: 100px;
    height: 100px;
}

.mv_txt2{
    margin: 0 auto;
    max-width: 90%;
    width: 900px;
    writing-mode: vertical-rl;
    text-align: left;
}

.mv_txt2 p{
    font-size: 22px;
    color: #fff;
    line-height: 80px;
    letter-spacing: 5px;
}

/* 
    hdg_sec
*/

.hdg_sec{
    margin: 0 auto;
    position: relative;
    /* background-color: #f2fbe5; */
}

.hdg_img{
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
}

.hdg_img img{
    margin: 0 auto;
    width: 100%;
    max-width: 860px;
}

.hdg_img2{
    margin: 0px auto;
    width: 90%;
    max-width: 900px;
}

.hdg_img2 img{
    margin: 0 auto;
    width: 90%;
    max-width: 900px;
}
@media screen and (max-width:767px) {
    .mv{
        margin-bottom: 20px;
    }

    .mv_video .video{
        height: 550px;
    }

    .mv_txt{
        width: 100%;
    }

    .mv_txt p{
        margin: 20px;
        font-size: 1.8em;
        line-height: 1.8em;
        letter-spacing: 2px;
        text-align: center;
    }
.mv_list{
    width: 90%;
    justify-content: center;
    margin: 220px auto 15px;
    gap: 20px;
}

.mv_list img{
    width: 25%;
    height: 25%;
    }
    .mv_txt2 {
    width: 80%;
    writing-mode: horizontal-tb;
    }
    .mv_txt2 p {
      font-size: 13px;
      line-height: 26px;
    }
    .mv_txt2 p br {
        display: none;
    }

    .hdg_sec{
        margin: -10px auto 10px;
        /* padding: 0 15px */
    }

    .hdg_img{
        width: 100%;
    }
    .hdg_img2{
        margin: 0 auto;
        width: 95%;
    }
    
  }
  
#btn1 {
    padding: 20px 0 40px;
    width: 100%;
    background: linear-gradient(to right, #1cbc9c, #03A9F4);
    }

div.banner {
	background: #ffffff;
	border: 1px solid #FFFFFE;
	border-radius: 10px;
    /* float: left; */
    height: fit-content;
    margin: 20px auto 20px;
    /* position: relative; */
    text-align: center;
    /* width: fit-content; */
    max-width: 800px;
  	z-index: -1;
}
div.banner h2 {
    background: linear-gradient(to right, #1cbc9c, #00bcd4);
    border: 0 solid rgba(0,0,0,0.2);
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    border-radius: 20px;
    border-width: 4px;
    border-color: #FFFFFE;
    display: inline-block;
    margin: -16px auto 0;
    padding: 8px 38px;
}
div.banner h2:before, div.banner h2:after {
    bottom: 4px;
    box-shadow: 0 6px 5px rgba(0,0,0,0.4);
    content: "";
    height: 10px;
    position: absolute;
    width: 47%;
    z-index: -1;
}
div.banner h2::before {
    left: 3%;
    transform: rotate(-3.5deg);
}
div.banner h2::after {
    right: 3%;
    transform: rotate(3.5deg);
}
div.banner p {
	text-align: center;
	margin: 20px 20px;
}
.description {
	font-size: 1.7em;
	font-weight: bold;
  line-height: 1.4em;
}

.my-btn {
  text-align: center;
}
.my-btn a {
  display: inline-block;
  width: 80%;
  margin: 20px auto;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  color: #ffffff!important;
  text-decoration: none;
  font-size: 1.2em;
  line-height: 27px;
  font-weight: bold;
  background: #3f51b5;
  border-bottom: 4px solid #283373;
  position: relative;
  overflow: hidden;
}
/* ボタンを凹ませる */
.my-btn a:active {
  transform: translateY(4px); /*下に動く*/
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2); /*影を小さく*/
  border-bottom: none;
}
/* ボタンをキラッとさせる */
.my-btn a:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 80%, rgba(255, 255, 255, 100) 81%, rgba(255, 255, 255, 0) 100%);
  animation: shine 3s infinite; /* inifiniteによりずっと続ける */
}
@keyframes shine {
  33% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
/* ボタンをドキドキさせる */
.dokidoki {
  animation: dokidoki 1.5s infinite;
}
@keyframes dokidoki {
  0% {
    transform: scale(1.05)
  }
  5% {
    transform: scale(1)
  }
  95% {
    transform: scale(1)
  }
  100% {
    -webkit-transform: scale(1.05)
  }
}

/* テキストの後ろに矢印 */
.my-btn a:after {
  content: '»';
  display: inline-block;
  color: #fff;
  padding-left: 10px;
  font-size: 20px;
}
.my-btnb a:after {
    content: '»';
    display: inline-block;
    color: #3f51b5;
    padding-left: 10px;
    font-size: 20px;
}
/* 反転ボタンの矢印の色をテキストと同じに */
.purupuru a:after {
color: inherit;
}

.br-sp {
  display: none;
}
/* 767px(iPad)以下でボタンの幅を90%に */
@media (max-width: 767px) {
  .my-btn a {
    width: 90%;
    font-size: 1em;
  }
  div.banner {
    width: 90%;
}
div.banner h2{
    font-size: 20px;
    border-radius: 30px;
    padding: 8px 20px;
}
.color-marker{
    font-size: 0.9em;
}
.description{
  font-size: 1.2em;
}
.br-sp {
    display: block; /* もしくは display: inline; */
  }
}
/* 蛍光マーカー */
.color-marker {
  background: linear-gradient(transparent 50%, yellow 50%);
  font-weight: bold;
}

/* Section Titles */
        .section-title {
            font-size: 2.2em;
            font-weight: 600;
            color: #00973b;
            margin-bottom: 40px;
            border-bottom: 3px solid #fbea1b;
            display: inline-block;
            padding-bottom: 5px;
            line-height: 1.7;
        }
.container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 60px 20px;
        }
 /* こんな悩み、ありませんか？        */
.worries_hdg{
    margin: 20px auto 0;
    width: 100%;
    max-width: 760px;
    position: relative;
}

.worries_hdg::after{
    position: absolute;
    content: "";
    background-image: url("images/worries01.webp");
    background-size: contain;
    background-repeat: no-repeat;
    width: 126px;
    height: 234px;
    right: 0;
    top: -153px;
}
.worries_hdg::before{
    position: absolute;
    content: "";
    background-image: url("images/worries02.webp");
    background-size: contain;
    background-repeat: no-repeat;
    width: 126px;
    height: 234px;
    left: 0;
    top: -147px;
}


/* 2. Problem Section */
        .problem-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            list-style: none;
            padding: 0;
            margin: 30px 0 0;
        }

        .problem-item {
            background-color: #ffffffba; 
            border: 2px solid #00973b;
            color: #00973b;
            padding: 15px;
            border-radius: 5px;
            font-weight: bold;
            width: 45%;
            box-sizing: border-box;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
        }

        .feature-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }
        .feature-item {
            background-color: white;
            padding: 30px;
            width: calc(33% - 30px);
            min-width: 280px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            border-top: 20px solid #20b5ab;
        }
        .feature-item .icon {
            margin-bottom: 15px;
        }
        .feature-item h3 {
            color: #20b5ab;
            font-size: 1.3em;
            border-bottom: 2px solid #ddd;
            padding-bottom: 10px;
            margin-bottom: 15px;
        }
        .feature-item p {
            text-align: left;
        }
        .feature-item-bl {
            background-color: white;
            padding: 30px;
            width: calc(33% - 30px);
            min-width: 280px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            border-top: 20px solid #3f51b5;
        }
        .feature-item-bl .icon {
            margin: 0 auto 15px;
        }
        .feature-item-bl h3 {
            color: #3f51b5;
            font-size: 1.3em;
            border-bottom: 2px solid #ddd;
            padding-bottom: 10px;
            margin-bottom: 15px;
        }

        .feature-item-bl p {
            text-align: left;
        }

        #program {
          padding-top: 40px;
          background-color: #f8f8f8; /* 背景のベースカラー（非常に薄いグレー） */
          background-image: 
            /* 縦の線（垂直のグラデーション） */
          linear-gradient(to right, #e6e6e6 1px, transparent 1px),
            /* 横の線（水平のグラデーション） */
          linear-gradient(to bottom, #e6e6e6 1px, transparent 1px);
          background-size: 20px 20px;
        }
        .process-image-container {
          text-align: center; /* コンテナ内の要素（画像）を中央揃えにする */
          margin-bottom: 20px; /* ulタグまでの下部の余白 */
      }

      /* 画像自体のスタイル設定 */
      .process-image {
          max-width: 400px; /* 親要素の幅を超えないようにする */
          height: auto;    /* 縦横比を維持する */
          display: block;  /* text-align: centerを有効にするために、インライン要素をブロック要素として扱う（またはコンテナにtext-align: centerを使用）*/
          margin: 0 auto;  /* ブロック要素の中央揃え（text-align: center;と併用すると確実） */
          /* 適切な幅を指定することもできます（例: width: 600px;） */
      }
        .process-list {
            max-width: 800px;
            margin: 0 auto;
            padding: 0;
            list-style: none;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            text-align: center;
        }
        /* 学習の流れのアイテムにデザインを追加 */
        .process-list li {
            position: relative;
            width: 18%;
            padding: 20px 10px; /* パディングを増やす */
            font-size: 0.9em;
            font-weight: bold;
            background-color: #fff; /* 背景色を追加 */
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 影を追加 */
            margin-bottom: 20px;
        }
        .process-list li:not(:last-child)::after {
            content: "▶";
            position: absolute;
            right: -25px;
            top: 50%; /* 中央に配置 */
            transform: translateY(-50%);
            color: #fbea1b; /* 矢印の色を強調 */
            font-size: 2em;
            font-weight: 900;
        }
        .process-step-title {
            color: #00973b;
            font-weight: 900;
            display: block;
            margin-bottom: 5px;
        }

        /* 8. Voice (お客様の声) */
        #voice {
            background-color: #20b5ab;
            color: white;
        }
        #voice .section-title {
            color: white;
            border-bottom-color: #fbea1b;
        }
        .voice-item {
    /* 子要素（写真とコンテンツ）を横並びにする */
    display: flex;
    /* 縦方向の中央揃え */
    align-items: center; 
    gap: 15px; /* 写真とテキストの間に隙間を設ける */
    }

/* ---------------------------------- */
/* 画像のスタイリング (丸く切り抜く) */
/* ---------------------------------- */
.voice-item__photo {
    /* 画像のサイズを指定 */
    width: 100px;
/*    height: 100px;*/
    /* 丸く切り抜く */
/*    border-radius: 50%;*/
    /* 画像の縦横比を保ちつつ、要素全体を覆うように調整 */
    object-fit: cover; 
    /* 画像が欠けるのを防ぐための設定（必要な場合） */
    flex-shrink: 0;
}

/* ---------------------------------- */
/* テキストコンテンツのスタイリング */
/* ---------------------------------- */
.voice-item__content {
    /* テキストが画像に合わせて折り返せるようにする */
    flex-grow: 1;
}

/* テキストの縦方向の寄せ方を調整したい場合は以下を使用 */
.voice-item__content p {
    margin-bottom: 5px; /* 段落下の余白を調整 */
}

        /* デフォルト（広めの画面）では2列表示 */
.voice-grid {
    display: grid;
    /* 2列均等に表示 */
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; /* アイテム間の隙間 */
}

/* 画面幅が767px以下になったら1列表示に切り替える */
@media (max-width: 767px) {
    .voice-grid {
        /* 1列に設定 */
        grid-template-columns: 1fr; 
    }
}
        .voice-item {
            background-color: white;
            color: #333;
            padding: 25px;
            width: ;
            border-left: 5px solid #fbea1b;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            text-align: left;
        }

        /* 9. FAQ */
        .faq-item {
            text-align: left;
            margin-bottom: 15px;
            border-bottom: 1px solid #ddd;
            padding-bottom: 10px;
        }
        .faq-item strong {
            color: var(--dark-blue);
            display: block;
            margin-bottom: 5px;
        }

        /* 10. Final CTA & Footer */
        .final-cta {
            background-color: #02973b;
            color: white;
            padding: 40px 0;
        }
        .final-cta h2 {
            color: #fbea1b;
            font-weight: 900;
        }
        footer {
            padding: 20px 0;
            text-align: center;
            font-size: 0.8em;
            background-color: #0a5f34;
            color: #ffffff;
        }

        /* Responsive Design */
        @media (max-width: 767px) {
            .hero-content h1 { font-size: 1.8em; }
            .problem-item { width: 100%; }
            .feature-item { width: 90%; min-width: auto; }
            .feature-item-bl { width: 90%; min-width: auto; }
            .process-list { display: block; }
            .process-list li { width: 100%; margin: 0 auto 10px; text-align: left; border-left: 2px dashed #ccc; padding-left: 60px; }
            .process-list li:not(:last-child)::after { content: "▼"; right: auto; bottom: 5px; left: 10px; top: auto; }
            .process-list li:last-child { border-left: 2px dashed #ccc; }
            .worries_hdg {
              margin: 100px auto 0;
              font-size: 1.5em;
            }
            .worries_hdg::after{
                width: 100px;
                right: 20%;
                top: -180px;
            }
            .worries_hdg::before{
                width: 100px;
                left: 20%;
                top: -180px;
            }
            .section-title {
              font-size: 1.5em;
            }
            .icon{
              margin: 0 auto;
              max-width: 85%;
            }
            .process-image{
              max-width: 90%;
            }

                    }