/*
Theme Name:
Author:   
Description:test
Version:    1.0
*/
@media screen and (max-width:768px) {
*{
  box-sizing: border-box;
}
body{
    background-color: #fff2f2;
    color: #411515;
    font-family: 'Kosugi Maru', sans-serif;
}   
img{
  display: block;
  width: 100%;
  height: auto;
}
.hidden-sp{
  display: none !important;
}
/* ----------------------*
 * ヘッダー
 * ----------------------*/
 header{
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.7);
 }
 #logo{
    width: 20%;
    display: block;
    margin: 15px;
    text-align: left;
 }
 #logo img{
    width: 100%;
    height: auto;
 }
 /* 下部ボタン */
#fixed-sp-btn{
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
.fixed-tel{
  position: relative;
  width: 50%;
  background: #fff;
  color: #ff4fcf;
  text-align: center;
  text-decoration: none;
  padding: 15px 10px 5px 40px;
  font-weight: bold;
  font-size: 24px;
}
/* 電話アイコン疑似要素 */
.fixed-tel::before{
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("../../images/tel-icon.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.fixed-tel span{
  display: block;
  font-size: 14px;
}
.fixed-form{
  position: relative;
  width: 50%;
  background: linear-gradient(to bottom,#ff8db1,#ff5ca8);
  color: white;
  text-align: center;
  text-decoration: none;
  padding: 20px 10px 5px 40px;
  font-weight: bold;
  font-size: 24px;
}
/* メールアイコン（擬似要素） */
.fixed-form::before {
    content: "";
    position: absolute;
    left: 15px;             
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("../../images/mail-icon.png");
    background-size: contain;
    background-repeat: no-repeat;
}
 /* ----------------------*
 * メイン
 * ----------------------*/
#main-sp{
    width: 100%;
    height: auto;
    margin: 50px auto;
}
 /* ----------------------*
 * お悩み
 * ----------------------*/
#nayami{
    position: relative;
    padding: 50px 0;
    width: 100%;
    margin: 0 auto;
}
#nayami h2{
    font-size: 20px;
    text-align: center;
}
.blue {
  color: #3ba7ff;
  background: linear-gradient(transparent 70%, #FFEE05 60%);
}
#onayami-girl {
  width: 50%;
  margin: 0 auto;
  margin-top: 20px;
}
#fukidasi-sp {
  position: relative;
  width: 100%;
  height: 300px;
}
.fukidasi {
  position: absolute;
  width: 38%;
}
.fukidasi img {
  width: 100%;
}
.fukidasi p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
}
.f1 {
  top: 0%;
  left: 10%;
}
.f2 {
  top: 0%;
  right: 10%;
}
.f3 {
  bottom: 25%;
  left: 10%;
}
.f4 {
  bottom: 25%;
  right: 10%;
}
 /* ----------------------*
 * 解決
 * ----------------------*/
 #kaiketu h2{
    font-size: 20px;
    text-align: center;
}
.pink {
  color: #FF00C8;
  background: linear-gradient(transparent 70%, #FFEE05 60%);
}
.kaiketu{
    height: 50px;
    color: #FF00C8;
    font-size: 20px;
}
#kaiketu ul{
    margin: 30px auto;
    padding: 0;
}
#kaiketu li {
  text-align: center;
  background-color: #fff;
  width: 70%;
  padding: 10px 10px 20px 10px;
  border-radius: 30px;
  margin: 0 auto 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
#kaiketu li img {
    width: 50%;
  display: block;
  margin: 0 auto;
}

#kaiketu li:nth-child(1) {
  background-color: #FFFEEF;
}

#kaiketu li:nth-child(2) {
  background-color: #EFFFF2;
}

#kaiketu li:nth-child(3) {
  background-color: #FEF2FF;
}
 /* ----------------------*
 * 1日
 * ----------------------*/
 #day{
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding-top: 50px;
}
#day h2{
    font-size: 24px;
    text-align: center;
    position: absolute;
    transform: translate(40%,60%);
}
 /* ----------------------*
 * 教育体制
 * ----------------------*/
 #kyouiku h2{
    font-size: 20px;
    text-align: center;
 }
 #kyouiku-text{
    width: 80%;
    margin: 20px auto;
 }
 #kyouiku-text p{
    line-height: 1.8;
    margin-bottom: 20px;
 }
 #kyouiku-1 img{
    width: 80%;
    margin: 0 auto;
 }
 #kyouiku ul{
    margin: 20px auto;
}
#kyouiku li {
  text-align: center;
  background-color: #fff;
  width: 70%;
  padding: 10px 20px 20px 20px;
  border-radius: 20px;
  margin: 0 auto 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
#kyouiku li img {
  display: block;
  margin: 20px auto;
}
.kyouiku-card{ 
    color: #FF00C8;
    margin: 10px auto;
}
.text{
    font-size: 14px
}
 /* ----------------------*
 * スタッフの声
 * ----------------------*/
 #staff-voice{
    margin: 50px auto;
 }
  #staff-voice h2{
    font-size: 20px;
    text-align: center;
 }
#voice{
    background-color: #fff;
    width: 70%;
    padding: 20px;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
#voice img{
  width: 70%;
  margin: 0 auto;
}
#staff-text p{
    margin-top: 20px;
    margin-bottom: 20px;
}
 /* ----------------------*
 * 質問
 * ----------------------*/
 #question h2{
    font-size: 20px;
    text-align: center;
}
details {
  margin: 15px;
  border-radius: 10px;
  background: #fff;
  padding: 15px 20px;
}
summary {
  font-weight: bold;
  cursor: pointer;
  color: #F27A8A;
}
.answer-text p {
  margin-top: 10px;
}
summary::after {
  content: "＋";
  float: right;
}
.answer{
    font-size: 18px;
  font-weight: bold;
}
details[open] summary::after {
  content: "－";
}
 /* ----------------------*
 * 応募要項
 * ----------------------*/
 #bosyu{
    background-color: #fff;
    width: 80%;
    margin: 50px auto;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 10px;
}
#bosyu h2{
    font-size: 20px;
    text-align: center;
}
 .recruit {
  border-collapse: collapse;
}
/* 行ごとの横線 */
.recruit tr {
  border-bottom: 1px solid #ccc;
}
/* 左側（項目） */
.recruit th {
  width: 30%;
  text-align: left;
  padding: 10px;
  vertical-align: top;
  font-weight: bold;
}
/* 右側（内容） */
.recruit td {
  width: 70%;
  padding: 5px;
  line-height: 1.8;
  font-size: 14px;
}
#voice-text {
  text-align: center;
  margin-top: 20px;
}
 /* ----------------------*
 * 応募フォーム
 * ----------------------*/
 #form{
  margin: 50px auto 10px;
  background: white;
  padding: 20px;
}
#form h2{
  font-size: 20px;
  text-align: center;
}
#form-container{
    width: 80%;
    margin: 0 auto;
    margin-top: 10px;
}
.form-group {
  align-items: flex-start;
  margin-bottom: 10px;
}
.form-group label {
  width: 30%;
}
/* 必須 */
.form-group span {
  background: hotpink;
  color: white;
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 10px;
  margin-left: 5px;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 90%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
textarea {
  height: 120px;
  resize: none;
}
/* ラジオボタン */
.radio-group {
  display: flex;
  gap: 20px;
  padding-top: 5px;
}
#button-area {
  text-align: center;
  margin: 20px;
}
button {
   background: linear-gradient(to bottom, #FF8FA3, #FF5DA2);
  color: white;
  border: none;
  padding: 15px 60px;
  border-radius: 40px;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 4px 0 #d1407a;
  transition: 0.2s;
}
 /* ----------------------*
 * フッター
 * ----------------------*/
#footer-area{
    width: 80%;
    margin: 0 auto;
    justify-content: space-between;
    gap: 10px;
 }
#footer-logo img{
    width: 50%;
    margin: 0 auto;
}
#footer-text{
    text-align: center;
    margin-top: 20px;
}
.footer-info{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 70%;
    font-size: 14px;
    margin: 20px auto;

}
.footer-icon img{
    width: 20px;
    display: block;
}
#footer-area p{
    margin: 0;
}
#copyright{
    font-size: 12px;
    text-align: center;
    display: block;
    margin: 0px auto;
    padding-bottom: 100px;
}
/* =========================
スクロールフェードイン
========================= */
.scroll{
    opacity: 0;
    transform: translateY(50px);
    transition: all 2s ease;
}
.scroll.activ{
    opacity: 1;
    transform: translateY(0);
}
}
