@charset "UTF-8";

/* =========================
  RESET
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Zen Maru Gothic','Hiragino Maru Gothic ProN','Yu Gothic',  sans-serif;
  background:#fdfbfd;
  color:#222;
  line-height:1.9;
  overflow-x:hidden;
  width:100%;

}
html {
  overflow-x:hidden;
  width:100%;
}
a{
  text-decoration:none;
  color:inherit;
}

img{
  width:100%;
  display:block;
}


/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 


@media screen and (max-width:900px){

.pc { 
  display: none !important; 
}
.sp { display: block !important; }
}

.top_text {
  font-size: 11px;
  text-align: right;
}

.marquee{
  width: auto;
  font-size:10px;
  padding:1px 0px 1px 0px;
  background-color:#85dedb;
  text-align: center;
}
.marquee p{
  font-size: 10px;
  text-align: center;
}
/* =========================
HERO
========================= */
.hero{
  position:relative;
  height:650px;
  overflow:hidden;
}


@media screen and (max-width:900px){

.hero{
  height:auto;
}
.hero img{
  width:100%;
  height:auto;
  display:block;
}
}


/* =========================
MAIN
========================= */

.container{
  max-width:1200px;
  margin:70px auto;
  display:grid;
  grid-template-columns:1fr 300px;
  gap:60px;
  padding:0 20px;
}
ul {
  margin-left: 20px;
  margin-bottom: 20px;
}
.main-content{
  position:relative;
  isolation:isolate;
}
.main-content h1{
  font-size:clamp(1.1rem, 5vw, 32px);
  line-height:1.6;
  font-family:serif;
  margin-bottom:40px;
  font-weight:500;
}

.main-content h2{
  font-size:29px;
  margin-bottom:25px;
  font-weight:600;
}
.main-content .copy {
  font-size:30px;
  margin-bottom:25px;
  font-weight:600;

}
.main-content p{
  margin-bottom:30px;
  font-size:18px;
}
.point-list-a{
  margin:40px 0;
  padding-left:20px;
}

.point-list-a li{
  margin-bottom:14px;
  font-size:18px;
  list-style: none;

}

.point-list{
  margin:40px 0;
  padding-left:20px;
}

.point-list li{
  margin-bottom:14px;
  font-size:18px;

}


/* 左上 */

.main-content::before{
  content:"";
  position:absolute;
  left:-420px;
  top:150px;
  width:550px;
  height:550px;
  background-image:url(img/eb9c6c22-2b97-4eee-8be4-6372edc7f9c0.png);
  background-size:contain;
  background-repeat:no-repeat;
  opacity:.45;
  z-index:-1;
}


/* 右下 */

.main-content::after{
  content:"";
  position:absolute;
  right:-350px;
  bottom:-200px;
  width:600px;
  height:600px;
  background-image:url(img/eb9c6c22-2b97-4eee-8be4-6372edc7f9c0.png);
  background-size:contain;
  background-repeat:no-repeat;
  opacity:.38;
  z-index:-1;
}

@media screen and (max-width:900px){

  .main-content::before,
  .main-content::after{
    display:none;
  }


.container{
  grid-template-columns:1fr;
  margin:40px auto;
  padding:0 25px;
}

.main-content h1 span {
  display: inline-block;
}
.main-content h2{
  font-size:20px;
}

.main-content .copy span {
  display: inline-block;

}
.main-content p,
.point-list li{
  font-size:16px;
}
.point-illust {
  margin: 0 auto;
}
}


/* =========================
SIDEBAR
========================= */

.sidebar{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.pink-box{
  background:#f78eb2;
  color:#fff;
  padding:24px;
  text-align:center;
  font-size:28px;
  font-weight:bold;
  line-height:1.5;
}

.side-menu{
  background:#fff;
  padding:30px;
}

.side-menu ul{
  list-style:none;
}

.side-menu li{
  padding:12px 0;
  border-bottom:1px solid #eee;
  font-size:16px;
}

.side-button{
  background:#f78eb2;
  color:#fff;
  padding:20px;
  text-align:center;
  font-weight:bold;
  transition:.3s;
  display:block;
  width:100%;
  line-height:1.5;
  border-radius:4px;
  position:relative;
  isolation:isolate;
  z-index: 0;

}
.side-button:last-child {
    background:white;
      padding:0px;


}
@media screen and (max-width:900px){

.side-button{
  font-size:16px;
  padding:18px 15px;
}

}
.side-button:hover{
  opacity:.8;
}

#lead .flex {
  display: flex;
  justify-content: space-between;
}

#lead img {
  width: 200px;
  height: auto;
}
#lead h3 {
  font-size: 23px;
}
@media screen and (max-width:900px){
  
#lead .flex {
  flex-direction: column;
}
#lead .box{
  flex:1;
  min-width:0;
}
#lead img{
  max-width:100%;
  height:auto;
}
.lead_p {
  margin-top: 35px;
}
.sidebar{
  margin-top:40px;
}
}
/* =========================
アコーディオン
========================= */



/* 全体 */

.menu_area{
padding:80px 20px;
margin-top: 100px;

}

.menu_flex{
max-width:1200px;
margin:auto;

display:flex;
gap:40px;
justify-content:center;
align-items:flex-start;
}
@media screen and (max-width:900px){

.menu_flex{
flex-direction:column;
}
.menu_area{
  padding:80px 20px;
  margin-top:80px;
}
}
/* ボックス */

.menu_box{
width:33%;
}


/* タイトル */

.menu_title{
background:#7ad9df;
font-size:28px;
font-weight:700;
line-height:1.4;
padding:28px 20px;
text-align:center;
cursor:pointer;
position:relative;
transition:.3s;
}


/* hover */

.menu_title:hover{
opacity:.85;
}


/* デフォルト矢印削除 */

.menu_title::-webkit-details-marker{
display:none;
}

.menu_title{
list-style:none;
}


/* 矢印 */

.menu_title::after{

content:"";
position:absolute;
left:50%;
bottom:-25px;
transform:translateX(-50%);
width:0;
height:0;
border-left:18px solid transparent;
border-right:18px solid transparent;
border-top:25px solid #000;
transition:.3s;

}


/* 開閉 */

.menu_inner{
background:#fff;
border:1px solid #222;
margin-top:25px;
overflow:hidden;
max-height:0;
transition:max-height .5s ease;
text-align: center;
}


/* 開いた時 */

.menu_box[open] .menu_inner{
max-height:1000px;
}


/* 矢印回転 */

.menu_box[open] .menu_title::after{
transform:translateX(-50%) rotate(180deg);
}


/* リスト */

.menu_inner ul{
padding:35px 25px;
}

.menu_inner li{
margin-bottom:24px;
  list-style: none;

}

.menu_inner li:last-child{
margin-bottom:0;
}

.menu_inner a{

font-size:27px;
font-weight:700;
line-height:1.5;

transition:.3s;
}

.menu_inner a:hover{
opacity:.6;
}

/* 写真入りタイトル */

.menu_title_img{
display:flex;
align-items:center;
justify-content:space-between;
gap:15px;
text-align:left;
}


/* 文字 */

.menu_title_img .menu_text{
display:block;
flex:1;
}


/* 写真 */

.menu_title_img img{
width:120px;
height:auto;
display:block;
border-radius:10px;
flex-shrink:0;
}
@media screen and (max-width:768px){

.menu_title_img{
text-align:center;
}

.menu_title_img img{
width:100px;
}

}
/* スマホ */

@media screen and (max-width:900px){


.menu_box{
width:100%;
}

.menu_title{
font-size:26px;
padding:22px 15px;
}

.menu_inner a{
font-size:22px;
}

}



.container2{
  max-width:1200px;
  margin:70px auto;
}
.concept{
  text-align:center;
  font-size:42px;
  margin-bottom:60px;
}
.concept .inner{
  padding:0 20px;
}
@media screen and (max-width:900px){
  .concept .inner h2 span {
    display: inline-block;
  }
}
.top-gallery{
  display:flex;
  justify-content:center;
  gap:40px;
  margin-bottom:120px;
}

.gallery-box{
  width:45%;
}

.gallery-box img{
  border:1px solid #999;
  width: 100%; /* コンテナの幅に合わせる */
  height: 100%; /* コンテナの高さに合わせる */
  object-fit: contain; /* 画像をコンテナ内に収め、アスペクト比を維持する */
}

.gallery-box p{
  margin-top:15px;
  font-size:15px;
}
.concept-flex{
  display:flex;
  justify-content: center;
  gap:60px;
  align-items:flex-start;
}

.concept-text{
  width:45%;
  font-size:18px;
  text-align: left;
}
.concept_p {
  margin-top: 30px;
}
.concept-side{
  width:30%;
  position:relative;
}

.concept-side p {
  font-size: 16px;
}
.side_photo {
  margin-top: 30px;
}


@media screen and (max-width:900px){
  .concept-text p {
    margin-left: 30px;
  }
}


/* 受講生の声 */

.voice-title{
  text-align:center;
  font-size:48px;
  margin-bottom:60px;
  margin-top: 100px;
}
/* 横並び */
.voice-flex{
  display:flex;
  gap:40px;
}

/* ボックス */
.voice-box{
  width:50%;
  padding:30px;
  min-height:340px;
}

/* 色 */
.voice-box.blue{
  background:#d6f4f6;
}

.voice-box.pink{
  background:#f9dce7;
}

/* タイトル */

.voice-box h3{
  font-size:30px;
  line-height:1.5;
  margin-bottom:30px;
  text-align:left;
}
/* 下段 */

.voice-content{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:30px;
}

/* テキスト */
.voice-text{
  flex: 1;
}


.voice-text p{
  font-size:18px;
  line-height:2;
  text-align: left;
}



/* 写真 */

.voice-image{
  width:180px;
   text-align:center;
  flex-shrink:0;
}

.voice-image img{
  width:180px;
  height:180px;
  border-radius:50%;
  object-fit:cover;
  object-position:center top; /* 顔アップ */
  border:3px solid #777;
}

/* 名前 */

.voice-image span{
  display:block;
  margin-top:15px;
  font-size:15px;
  font-weight:bold;
}

.voice-button-wrap{
  text-align:center;
  margin-top:60px;
}

.voice-button{
  display:inline-block;
  background:#79dce3;
  color:#fff;
  padding:18px 45px;
  border-radius:999px;
  font-size:18px;
  font-weight:bold;
}


/* =========================
SP
========================= */

@media screen and (max-width:900px){
.voice-title {
  font-size:clamp(2rem,4vw,3rem);
  margin: 100px 0 20px;
}
/* 横並びを解除 */
.voice-flex{
  flex-direction:column;
  gap:30px;
}

.voice-box{
  width:100%;
padding:25px 20px;
}

/* タイトル */
.voice-box h3{
  text-align:center;
  font-size:26px;
  margin-bottom:25px;
  line-height:1.6;
}

.voice-content{
display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
}

/* 写真を上 */
.voice-image{
  width:100%;
  text-align:center;
  order:1;
}


.voice-text{
  text-align:center;
}


.voice-image img{
  width:300px;
  height:220px;
  object-fit:cover;
  object-position:center top;
  border-radius:16px;
}

/* 名前 */
.voice-image span{
  display:block;
  margin-top:12px;
  font-size:15px;
  line-height:1.6;
}

/* テキストを下 */
.voice-text{
  order:2;
  width:100%;
}

.voice-text p{
font-size:18px;
  line-height:2;
  text-align:left;
  margin-left: 30px;
}


}

.cta-area{
  text-align: center;
  margin-top: 100px;
  
}

.cta-button{
  display:inline-block;
  background:#ff8fb0;
  color:#fff;
  font-size:34px;
  font-weight:bold;
  padding:30px 60px;
  line-height:1.6;
}


.sns-box{
width: 32%; /* 3つ並べるため、約3分の1の幅に固定 */
  position: relative;
  background-color: #e0f7fa; /* 元の水色（必要に応じて色コードを調整してください） */
  padding: 20px 10px;        /* 内側の余白 */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;    /* 中身を上から下に並べる */
  align-items: center;       /* 中身を中央寄せにする */
}
.sns-photo {
  margin-bottom: 20px;
}
.sns-icon{
margin-top: -40px; /* 上に飛び出させる（アイコンのサイズに合わせて調整） */
  margin-bottom: 15px;
  z-index: 10;
}
.sns-icon img {
  width: 80px;  /* アイコンの適切なサイズ */
  height: 80px;
  object-fit: contain;
}

/* ウィジェットがブルーの枠幅に自動で収まるようにする */
.snapwidget-widget {
width: 100%;
  max-width: 100%;
  border: none;
  /* 必要に応じて高さを調整してください（例: height: 300px; など） */
}

/* ボタンを中央寄せにして、少し上の余白をあける場合 */
.button_w {
text-align: center;
}


.banner-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.section-title {
  font-size: 45px;
  margin-top: 100px;
}
@media screen and (max-width:900px){

.section-title{
  font-size:28px;
}

.top-gallery,
.concept-flex,
.voice-flex,
.sns-flex{
  flex-direction:column;
}

.gallery-box,
.concept-text,
.concept-side,
.voice-box,
.sns-box{
  width:100%;
}

.voice-box{
  flex-direction:column;
  text-align:center;
}

.voice-text{
  width:100%;
}

.banner-grid{
  grid-template-columns:1fr;
  margin: 0 20px;
}

.cta-button{
  font-size:24px;
  padding:25px 30px;
}

.kanji-bg img {
  width: 80%;
  height: auto;
  margin-left: 20px;
}
.small{
  margin-top:180px;
}

.book_photo {
  margin-bottom: 20px;
}
}

.book_photos {
  width: 400px;
margin: 0 auto;
}

/*---------------------------------
トップへもどるボタン
---------------------------------*/

.go-top{
  position: fixed;
  bottom: 10px;
  right: 20px;
  z-index: 9999;
}
.go-top a{
  width: 50px;
  height: 50px;
  display: inline-block;
  background: #E94E66;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  color: black;
  text-decoration: none;
}
 
.go-top a:hover{
  opacity: 0.8;
}
 
@media screen and (max-width:900px) {
  
.go-top{
  position: fixed;
  z-index: 9999;
  bottom: 10px;
  right: 10px;

}

}



/* --- SNSエリアを強制的に横並びにする設定 --- */

.custom-sns-row {
display: flex !important;
  justify-content: space-between !important;
  /* ↓ flex-start から stretch に変更することで、高さを一番高いボックスに自動で揃えます */
  align-items: stretch !important;  
  width: 100% !important;
  max-width: 1200px;
  margin: 200px auto !important;
  box-sizing: border-box !important;
}

/* 各水色ボックスの幅と高さを固定 */
.custom-sns-row .sns-box {
width: 31%;
  background-color: #e0f7fa !important;
  box-sizing: border-box !important; /* ※前回の記述ミス「border-box: border-box」を修正しました */
  padding: 20px 15px 80px !important; /* ↓ 下側にボタン用の余白（80px）をあらかじめ確保します */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;     /* ↓ ボタンを一番下に固定するために必要です */
}

/* アイコンの位置調整 */
.custom-sns-row .sns-icon {
  margin-top: -40px !important;       /* 水色枠の上に半分飛び出させる */
  margin-bottom: 20px !important;
}

.custom-sns-row .sns-icon img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
}

/* SnapWidget（Instagramの埋め込み）のサイズ制限 */
.custom-sns-row .snapwidget-widget {
  width: 100% !important;             /* 水色枠の幅いっぱいに広げる */
  height: 250px !important;           /* 高さを指定（好みに合わせて調整してください） */
  border: none !important;
}

/* フォローボタンの調整 */
.custom-sns-row .button_w {
position: absolute !important;     /* ボックス内での絶対位置を指定 */
  bottom: 20px !important;           /* 下から20pxの位置に固定 */
  left: 0 !important;
  width: 100% !important;
  text-align: center !important;
}

.custom-sns-row .sns_button {
  display: inline-block !important;
  padding: 8px 24px !important;
  background-color: #d93175 !important; /* ボタンの色（ピンク） */
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 4px !important;
}
.sns_button {
  display: inline-block ;
  padding: 8px 24px ;
  background-color: #d93175 ; /* ボタンの色（ピンク） */
  color: #ffffff ;
  text-decoration: none ;
  border-radius: 4px ;
  font-size: 16px;
}


@media screen and (max-width:900px) {
  .custom-sns-row {
    flex-direction: column;
}

.custom-sns-row .sns-box {
width: 100%;
margin-bottom: 100px;
}
.custom-sns-row .sns-box:last-child {
  margin-bottom: 30px;

}
}