/*
  ブレイクポイント
  PC:   min-width: 1024px 
  @media screen and (min-width: 64em)
  TAB:  max-width: 1023px
  @media screen and (min-width: 48em) and (max-width: 63.9375em)
  SP:   max-width: 767px
  @media screen and (max-width: 47.9375em))
*/
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
:root {
  --font-color-text: #333333;
  --bg-color: #fff;
  --font-family: 'Yu Gothic', '游ゴシック体', 'YuGothic','Hiragino Kaku Gothic ProN', 'Hiragino Sans','Meiryo', sans-serif;
  --font-family-en: 'Work Sans', 'Yu Gothic', '游ゴシック体', 'YuGothic','Hiragino Kaku Gothic ProN', 'Hiragino Sans','Meiryo', sans-serif;
  --font-family-mincho: "Noto Serif JP", serif;
  --container-width: 820px;
}

/* constant */


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

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: 0 0
}

*,*:after,*::before {
  box-sizing: border-box
}

article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,main {
  display: block
}

a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: 0 0;
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  pointer-events: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
  image-rendering: -webkit-optimize-contrast;
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* common */
html {
  font-size: 16px;
  height: 100%;
  overflow-y: scroll;
}

body {
  font-family: var(--font-family);
  color: var(--font-color-text);
  background: var(--bg-color);
  letter-spacing: 0.1em;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

.container {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: calc(var(--container-width) + 20px);
  padding: 0 10px;
  overflow: hidden;
  text-align: center;
}
.container.wide{
  max-width: 1020px
}

section {
  position: relative;
  margin-bottom: 80px;
}

.font-en {
  font-family: var(--font-family-en);
}

h2{
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
  letter-spacing: 0.1em;
}
.h2 span.font-en{
  display: block;
  font-weight: 400;
  font-size: 16px;
}

.mb0{
  margin-bottom: 0;
}
.mb20{
  margin-bottom: 20px;
}
.mb40{
  margin-bottom: 40px;
}
.mb50{
  margin-bottom: 50px;
}
.pt80{
  padding-top: 80px;
}
.pb80{
  padding-bottom: 80px;
}
.slider {
  overflow: hidden;
  box-sizing: border-box;
  padding: 20px 0;
}
.slider img{
  aspect-ratio: 518 / 297;
  object-fit: cover;
}
.slide-track {
  display: flex;
  width: calc(350px * 10 * 2); /* 画像10枚×2セット分 */
  animation: scroll 60s linear infinite;
}
.slide {
  width: 350px;
  margin-right: 20px;
  flex-shrink: 0;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bg01 {
  background: url( ../img/bg01.webp) no-repeat center center/cover;
  padding: 80px 0px;
}
.bg02 {
  background: url( ../img/bg02.webp) no-repeat center center/cover;
  padding: 80px 0px;
}
.shadow{
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
.bg-green{
  background: #EAF5ED;
  padding-top: 80px;
  padding-bottom: 80px;
}
.flex{
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex.reverse{
  flex-direction: row-reverse;
}
.text-blue{
  color: #6C9CD5
}
.text-green{
  color: #49CCBD
}
.text-orange{
  color: #FF8822
}
.text-small{
  font-size: 14px;
}
.text-middle{
  font-size: 18px;
}
.text-large{
  font-size: 22px;
}
.text-bold{
  font-weight: 700;
}
.text-liner{
  text-decoration: underline; 
  text-decoration-thickness: 10px; 
  text-decoration-color: #F7F275; 
  text-underline-offset: -0.2em; 
  text-decoration-skip-ink: none;
}
.spOnly{
  display: none;
}
.pcOnly{
  display: block;
}
@media screen and (max-width: 767px){
  .container{
    padding: 0 15px;
  }
  section{
    margin-bottom: 40px;
  }
  .mb40{
    margin-bottom: 20px;
  }
  .mb50{
    margin-bottom: 30px;
  }
  h2{
    font-size: 24px;
    margin-bottom: 25px;
    line-height: 1.5;
    letter-spacing: 0.03rem;
  }
  .h2 span.font-en{
    font-size: 14px;
  }
  .pt80{
    padding-top: 40px;
  }
  .slide {
    width: 172px;
    margin-right: 5px;
    flex-shrink: 0;
  }
  .slide-track {
    width: calc(172px * 10 * 2);
    animation: scroll 50s linear infinite;
    display: flex;
  }
  .bg01, .bg02{
    padding: 40px 0;
  }
  .spOnly{
    display: block;
  }
  .pcOnly{
    display: none;
  }
  .bg-green{
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .flex{
    flex-direction: column;
  }
  .flex.reverse{
    flex-direction: column;
  }
}
/* header */
#header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s ease-in;
}

#header.fixed {
  position: fixed;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
}

#header .header-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

#header .header-container .logo img{
  max-width: 153px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 700;
}

.nav a .font-en {
  font-size: 11px;
  font-weight: 400;
}

/* footer */
#footer {
  background-color: #000;
  color: #fff;
  padding: 20px 10px 140px;
  text-align: center;
}
#footer .line-btn{
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  width: 100%;
  height: 100px;

}
#footer .line-btn a{
  display: block;
  width: 80%;
  max-width: 650px;
  position :absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 15%;
}
#footer nav {
  margin: 0 auto 20px;
}

#footer nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 60px;
}
@media screen and (max-width: 767px){
  #footer nav ul {
    flex-direction: column;
  }
}

/* humburger */
#humburger {
  display: none;
}
@media screen and (max-width: 1140px){
  #header{
    height: 60px;
  }
  .nav{
    position: fixed;
    top: -100%;
    left: 0;
    width: 100vw;
    background-color: #fff;
  }
  .nav.open{
    top: 0;
    transition: 0.3s;
  }
  .logo:has(+ .nav.open) {
    position: absolute;
    z-index: 1002;
  }
  .nav ul{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 60px 20px;
    gap: 0;
  }
  .nav ul li{
    width: 100%;
    border-bottom: 1px solid #C6E5E3;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  .nav ul li:last-child{
    border: none;
  }
  .nav a{
    align-items: center;
    padding: 0;
  }
  #humburger {
    position: absolute;
    cursor: pointer;
    display: block;
    width: 35px;
    height: 35px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  #humburger>span {
    display: inline-block;
    transition: transform .2s, opacity .2s;
    will-change: transform;
    position: absolute;
    height: 2px;
    background: var(--font-color-text);
    width: 30px;
    border-radius: 3px;
    z-index: 1002;
    transform-origin: 27% center;
  }
  
  #humburger>span:nth-of-type(1) {
    top: calc(50% - 5px);
  }
  
  #humburger>span:nth-of-type(2) {
    top: calc(50% + 5px);
  }
  
  #humburger.active>span:nth-of-type(1) {
    transform: rotate(45deg);

  }
  
  #humburger.active>span:nth-of-type(2) {
    transform: rotate(-45deg);
  }

}

/* popup */
#popup {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: 0.5s ease;
  pointer-events: none;
}
#popup.show{
  opacity: 1;
  pointer-events: auto;
}
#popup.close{
  opacity: 0!important;
  pointer-events: none!important;
}
#popup .popup-box {
  position: relative;
  width: 1000px;
  background: url('../img/popup-bg.webp') no-repeat;
  padding: 16px;
  background-size: cover;
  background-position: center center;
}
#popup .popup-title{
  position :absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -15px;
  z-index: 5;
  width: 47%;
}
#popup .popup-inner{
  border: 2px solid #DBC98B;
  position: relative;
  padding: 40px 50px 30px;
}
#popup .popup-text{
  color: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  font-family: var(--font-family-mincho);
  margin-bottom: 10px;
  line-height: 1.6;
}
#popup .popup-text .text-yellow{
  font-size: 26px;
  color: #F7F275;
}
#popup .flex{
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
#popup .flex li{ 
  max-width: 200px;
}
#popup .btn img{
  max-width: 412px;
  width: 100%;
}
#popup--close {
  position: absolute;
  inset: 15px 15px auto auto;
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid #fff;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
}

#popup--close::before,
#popup--close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  /* 棒の幅（太さ） */
  height: 22px;
  /* 棒の高さ */
  background: #fff;
  /* バツ印の色 */
}

#popup--close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#popup--close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media screen and (max-width: 767px){
  #popup .popup-box{
    width: calc(100% - 30px);
  }
  #popup .popup-title{
    width: 70%;
  }
  #popup .popup-inner{
    padding: 55px 15px 30px;
  }
  #popup .flex{
    flex-direction: row;
    gap: 5px;
    margin-bottom: 25px;
  }
  #popup .flex li{
    width: calc((100% - 10px) / 3);
  }
  #popup .popup-text{
    font-size: 17px;
  }
  #popup .popup-text .text-yellow{
    font-size: 20px;
  }
  #popup--close {
    inset: 11px 11px auto auto;
    width: 25px;
    height: 25px;
  }
  #popup--close::before,#popup--close::after {
    height: 18px;
  }
}

/* FV */
#fv {
  padding: 0;
  background-color: rgba(194,246,247, 0.8);
}
#fv picture img{
  aspect-ratio: 2880 / 1248;
  object-fit: cover;
  display: block;
  padding-bottom: 20px;
}
#fv .slider{
  background-color: #E7F7F6;
  padding-top: 0;
}

@media screen and (max-width: 767px){
  #fv .slider{
    background-color: rgba(194,246,247, 0.8);
  }
  #fv .slide-track a:first-child{
    display: none;
  } 
  #fv picture img{
    aspect-ratio: 1123 / 1191;
    object-fit: cover;
    display: block;
  }
}

/* PRESENT */
.present h2 img{
  width: 95%;
  max-width: 475px;
}
.present .present-text{
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 33px;
  font-family: var(--font-family-mincho);
}
.present.bg01 .present-text{
  color: #fff;
}
.present .present-text .text-yellow{
  color: #F7F275;
}
.present .present-text .text-large{
  font-size: 33px;
}
.present .video-wrapper {
  aspect-ratio: 16 / 9;   
  overflow: hidden;
}
.present .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.present picture img{
  aspect-ratio: 1600 / 1130;   
  object-fit: cover;
  display: block;
}
#fv + .present picture img{
  aspect-ratio: 1600 / 2176;   
}
.present .btn a{
  display: block;
  max-width: 380px;
  margin: 0 auto;
}
@media screen and (max-width: 767px){
  .present .present-text{
    font-size: 16px;
    margin-bottom: 15px;
  }
  .present .present-text .text-large{
    font-size: 29px;
  }
  .present picture img{
    aspect-ratio: 691 / 747;   
  }
  #fv + .present picture img{
    aspect-ratio: 688 / 1761;   
  }
}

/* SECTION01 */
#section01{
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #333333;
}
#section01 .main-text{
  font-size: 26px;
  background: #fff;
  border-radius: 60px;
  padding: 15px;
  width: 100%;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 10px;
}
#section01 .main-text ruby rt{
  font-size: 2rem;
  position: relative;
  top: 7px;
}
#section01 .main-text .text-large{
  font-size: 30px;
}
#section01 .main-text .text-green{
  font-size: 33px;
}
#section01 ul li{
  color: #fff;
  text-align: left;
  font-weight: bold;
  font-size: 19px;
  position: relative;
  padding-left: 40px;
}
#section01 ul li::before{
  content: '';
  width: 20px ;
  height: 20px;
  background: url('../img/check-icon.svg') no-repeat;
  background-size: contain;
  position: absolute;
  left:5px;
  top: 50%;
  transform: translateY(-50%);
}
#section01 ul li .text-yellow{
  color: #F7F275;
}
#section01 ul li .text-large{
  font-size: 28px;
}
#section01 ul li .text-middle{
  font-size: 23px;
}
#section01 img{
  margin-bottom: 15px;
}
@media screen and (max-width: 767px){
  #section01{
    padding-top: 25px;
    padding-bottom: 20px;
  }
  #section01 .main-text .text-large{
    font-size: 21px;
  }
  #section01 .main-text .text-green{
    font-size: 26px;
  }
  #section01 .main-text ruby rt{
    font-size: 20px;
  }
  #section01 .main-text{
    font-size: 18px;
    border-radius: 10px;
  }
  #section01 ul li{
    font-size: 15px;
    letter-spacing: 0.05rem;
    padding-left: 22px;
    line-height: 1.5;
  }
  #section01 ul li .text-large{
    font-size: 22px;
  }
  #section01 ul li .text-middle{
    font-size: 18px;
  }
  #section01 ul li::before{
    left: 0;
    top: auto;
    bottom: 20px;
    width: 16px;
    height: 16px;
  }
}

/* SECTION02 */
#section02 picture img{
  aspect-ratio: 820 / 75;   
  object-fit: cover;
  display: block;
}
#section02 .flex .flex-item{
  width: calc(100% / 3);
}
#section02 .flex .flex-item img{
  aspect-ratio: 403 / 227;   
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 767px){
  #section02 picture img{
    aspect-ratio: 690 / 102;   
  }  
  #section02 .flex{
    flex-wrap: wrap;
    gap: 0 15px ;
    flex-direction: row;
  }
  #section02 .flex .flex-item{
    width: calc((100% - 15px) / 2);
  }
}

/* WORK */
#work .slider img{
  aspect-ratio: 524 / 298;
}
@media screen and (max-width: 767px){
  #work .slider{
    padding: 0;
  }
}

/* FEATURE */
#feature .flex{
  gap: 30px;
}
#feature .flex .flex-item{
  width: calc((100% - 60px) / 3); 
}
#feature .flex .flex-item img{
  aspect-ratio: 628 / 370;   
  object-fit: cover;
  display: block;
}
#feature .feature-box{
  border-radius: 10px;
  box-shadow: 0 0 4px rgba(46, 160, 148, 0.3);
  padding: 15px 20px 20px;
  margin-bottom: 10px;
  position: relative;
  background: url('../img/feature05.svg') no-repeat;
  background-position: top center;
  background-size: 100%;
}
#feature .feature-box h3{
  color: #2EA094;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  letter-spacing: 0.05rem;
}
#feature .feature-box h3::before, #feature .feature-box h3::after{
  content: '';
  width: 18px;
  height: 26px;
  background-size: contain;
  background-repeat: no-repeat;
}
#feature .feature-box h3::before{
  background-image: url('../img/feature09.svg');
}
#feature .feature-box h3::after{
  background-image: url('../img/feature10.svg');
}
#feature .feature-box .feature-box-bg{
  position: absolute;
  width: 12%;
  height: auto;
  max-width: 97px;
  top: 14px;
}
#feature .feature-box .feature-box-bg.left{
  left: 14px;
}
#feature .feature-box .feature-box-bg.right{
  right: 14px;
}
#feature .feature-box ul {
  display: flex;
  align-items: start;
  gap: 45px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
#feature .feature-box ul li{
  width: calc((100% - 90px) / 3);
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}
#feature .feature-box ul li img{
  max-width: 65px;
  margin-bottom: 5px;;
}
@media screen and (max-width: 767px){
  #feature .feature-box {
    background: url('../img/feature05_sp.svg') no-repeat;
  }
  #feature .feature-box h3{
    gap: 5px;
  }
  #feature .feature-box .feature-box-bg{
    width: 18%;
    top: 70px;
  }
  #feature .feature-box .feature-box-bg.left{
    left: 3px;
  }
  #feature .feature-box .feature-box-bg.right{
    right: 3px;
  }
  #feature .feature-box ul {
    flex-direction: column;
    width: 80%;
  }
  #feature .feature-box ul li{
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }
  #feature .flex .flex-item{
    width: 100%;
  }
  #feature .feature-box ul li img{
    width: 25%;
  }
  #feature .feature-box ul li .feature-box-text{
    flex: 1;
  }
}

/* WORRIES */
#worries .flex{
  gap: 20px;
}
#worries .flex > div{
  width: calc((100% - 20px) / 2);
}
#worries .flex > div > img{
  aspect-ratio: 720 / 432;   
  object-fit: cover;
  display: block;
}
#worries .flex .worries-text ul li{
  text-align: left;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  padding-left: 25px;
  margin-bottom: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}
#worries .flex .worries-text ul li::before{
  content: '';
  width: 18px ;
  height: 18px;
  background: url('../img/worries_icon.svg') no-repeat;
  background-size: contain;
  position: absolute;
  left:0px;
  top: 4px;

}
#worries p{
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 2;
  letter-spacing: 0.05rem;
}
#worries img.chart{
  aspect-ratio: 1600 / 526;   
  object-fit: cover;
  display: block;
}
#worries .caption{
  font-size: 14px;
  text-align: right;
}
@media screen and (max-width: 767px){
  #worries .flex > div{
    width: 100%;
  }
  #worries img.chart{
    aspect-ratio: 692 / 445;   
  }
}

/* WORK STYLE */
#work_style .bg-green{
  position: relative;
  clip-path: polygon(
    0 0,         /* 左上 */
    100% 0,      /* 右上 */
    100% calc(100% - 140px), /* 右下から140px上 */
    50% 100%,    /* 中央下（ここが三角の先端） */
    0 calc(100% - 140px)     /* 左下から140px上 */
  );
  overflow-x: hidden;
}
#work_style .flex.list{
  gap: 45px;
}
#work_style .flex.list > div{
  width: calc((100% - 90px) / 3);
}
#work_style .flex.list > div img{
  aspect-ratio: 1 / 1;   
  object-fit: cover;
  display: block;  
}
#work_style .work_style_text{
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 2;
  letter-spacing: 0.05rem;
}
#work_style .flex.box{
  gap: 20px;
  margin-bottom: 90px;
}
#work_style .flex .flex-img{
  flex: 1
}
#work_style .flex .flex-img img{
  aspect-ratio: 720 / 432;   
  object-fit: cover;
  display: block;  
}
#work_style .flex .flex-img img.shadow{
  box-shadow: 0 0 8px rgba(46, 160, 148, 0.3);
  border-radius: 10px;
}
#work_style .flex .flex-text{
  width: 50%;
  text-align: left;
}
#work_style .flex .flex-text h3{
  font-size: 22px;
  margin-bottom: 13px;
  letter-spacing: 0;
}
#work_style .text-green{
  font-size: 28px!important;
}
#work_style .curriculum-box{
  background-color: #EAF5ED;
  border-radius: 10px;
  padding: 30px 40px;
  display: flex;
  gap: 40px;
}
#work_style .curriculum-box .day-box{
  width: calc((100% - 40px) / 2);
}
#work_style .curriculum-box .day-box .day-box-title{
  background:#333333;
  border-radius: 25px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 5px 15px;
}
#work_style .curriculum-box .day-box ul li{
  text-align: left;
  padding: 10px 15px;
  border-bottom: 1px solid #fff;
  font-weight: bold;
  letter-spacing: 0;
}
@media screen and (max-width: 767px){
  #work_style .bg-green{
    padding-bottom: 80px;
    clip-path: polygon(
      0 0,         /* 左上 */
      100% 0,      /* 右上 */
      100% calc(100% - 60px), /* 右下から140px上 */
      50% 100%,    /* 中央下（ここが三角の先端） */
      0 calc(100% - 60px)     /* 左下から140px上 */
    );
  }
  #work_style .bg-green + .container .text-bold{
    font-size: 18px;
  }
  #work_style .flex.list{
    gap: 0 23px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #work_style .flex.list > div{
    width: calc((100% - 23px) / 2);
  }
  #work_style .flex.box{
    margin-bottom: 35px;
  }
  #work_style .flex .flex-text{
    width: 100%;
  }
  #work_style .text-large{
    font-size: 18px;
  }
  #work_style .slider{
    padding: 0;
    margin-bottom: 20px;
  }
  #work_style .curriculum-box{
    padding: 30px 7px;
    flex-direction: column;
  }
  #work_style .curriculum-box .day-box{
    width: 100%;
  }
  #work_style .curriculum-box .day-box ul li{
    padding: 8px 0 8px 8px;
  }
  #work_style .work_style_text{
    letter-spacing: 0;
  }
}

/* REASON */
#reason .flex {
  gap: 40px;
  margin-bottom: 50px;
  align-items: flex-start;
}
#reason .flex .flex-img{
  width: calc((100% / 2) - 40px);
}
#reason .flex .flex-img img.shadow{
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  aspect-ratio: 920 / 520;   
  object-fit: cover;
  display: block;
}
#reason .flex .flex-text{
  flex: 1;
  text-align: left;
}
#reason .flex .flex-text .reason-no{
  margin-bottom: 10px;
}
#reason .flex .flex-text .reason-no span{
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  background-color: #333333;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 5px;
}
#reason .flex .flex-text img{
  margin-bottom: 20px;
}
#reason .flex .flex-text .reason-borderbox {
  margin: 10px 0;
}
#reason .flex .flex-text .reason-borderbox span{
  font-weight: bold;
  border: 1px solid #333333;
  padding: 3px 15px;
}

#reason .president-box{
  border: 2px solid #61B7D6;
  border-radius: 10px;
  background-color: #F0F8FD;
  padding: 30px 50px;
}
#reason .president-box .flex{
  gap: 20px;
  margin: 0;
}
#reason .president-box .flex .flex-img{
  width: 46%;
}
#reason .president-box .flex .flex-text{
  line-height: 1.5;
}
#reason .president-box .flex .flex-text .president-name{
  font-size : 24px;
  font-weight: bold;
  color: #61B7D6;
}
#reason .president-box .flex .flex-text .president-company{
  font-size: 16px;
  font-weight: bold;
  color: #61B7D6;
  margin-bottom: 15px;
}
#reason .president-box .flex .flex-text  .president-text{
  letter-spacing: 0.05em;
}
@media screen and (max-width: 767px){
  #reason .h2 .text-middle{
    font-size: 16px;
    line-height: 1.3;
  }
  #reason .flex{
    margin-bottom: 40px;
  }
  #reason .flex .flex-img{
    width: 100%;
  }
  #reason .flex .flex-text .reason-borderbox span{
    display: block;
    line-height: 1.5;
  }
  #reason .president-box{
    padding: 30px 15px;
  }
  #reason .president-box .flex .flex-img{
    width: 100%;
  }
}

/* MESSAGE */
#message .flex{
  gap:  20px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #D3D3D3;
  align-items: flex-start;
}
#message .flex:last-child{
  margin-bottom: 0;
  padding-bottom: 0;
}
#message .flex .flex-img{
  width: 33%;
}
#message .flex .flex-img img{
  aspect-ratio: 495 / 339;   
  object-fit: cover;
  display: block;
}
#message .flex .flex-text{
  text-align: left;
  font-size: 14px;
  letter-spacing: 0;
  flex: 1;
}
#message .flex:last-child{
  border: none;
}
@media screen and (max-width: 767px){
  #message .flex .flex-img{
    width: 100%;
  }
  #message .flex.flex .flex-img img{
    width: 80%;
    margin: 0 auto 0 0;
  }
  #message .flex.flex.reverse .flex-img img{
    margin: 0 0 0 auto;
  }
}

/* FLOW */
#flow .flex{
  gap: 20px;
  margin-bottom: 30px;
}
#flow .flex .flex-img{
  width: 22%;
}
#flow .flex .flex-img img{
  aspect-ratio: 239 / 224;   
  object-fit: cover;
  display: block;
}
#flow .flex .flex-text{
  text-align: left;
  flex: 1;
}
#flow .flex .flex-text h3{
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 17px;
}
#flow li:nth-child(1) .flex-text h3{
  color: #73B783;
}
#flow li:nth-child(2) .flex-text h3{
  color: #58C7A5;
}
#flow li:nth-child(3) .flex-text h3{
  color: #49CCBD;
}
#flow li:nth-child(4) .flex-text h3{
  color: #62C4CC;
}
#flow li:nth-child(5) .flex-text h3{
  color: #61B7D6;
}
@media screen and (max-width: 767px){
  #flow .flex{
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
  }
  #flow .flex .flex-img{
    width: 30%;
  }
  #flow .flex .flex-text h3{
    font-size: 18px;
    margin-bottom: 7px;
    line-height: 1.3;
  }
  #flow .flex .flex-text p{
    font-size: 14px;
    line-height: 1.4;
  }
}

/* CURRICULUM */
#curriculum{
  background-color: #E7F7F6;
}
#curriculum picture img{
  aspect-ratio: 2008 / 2298;   
  object-fit: cover;
  display: block;
}
#curriculum + .present{
  background-color: #E7F7F6;
}
@media screen and (max-width: 767px){
  #curriculum .sp-scroll{
    overflow-x: scroll;
    white-space: nowrap; /* 子要素が横に並ぶように */
    width: 100%;
  }
  #curriculum .sp-scroll img{
    width: 780px;
    max-width: 780px;
  }
}

/* FAQ */
#faq .h2{
  color: #fff;
}
#faq dl{
  background-color: #fff;
  padding: 40px 60px;
  border-radius: 10px;
  text-align: left;
  letter-spacing: 0.05em;
}
#faq dl dt{
  color: #49CCBD;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: flex-start;
  line-height: 42px;
  gap: 15px;
  margin-bottom: 10px;
}
#faq dl dt::before{
  content: '';
  width: 42px;
  height: 42px;
  background: url('../img/faq_q.webp') no-repeat;
  background-size: contain;
}
#faq dl dd{
  display: flex;
  align-items: flex-start;
  line-height: 42px;
  gap: 15px;
  flex: 1;
}
#faq dl dd::before{
  content: '';
  width: 42px;
  height: 42px;
  background: url('../img/faq_a.webp') no-repeat;
  background-size: contain;
}
#faq dl dd:not(:last-child){
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #49CCBD;
}
#faq dl span{
  flex: 1;
}
@media screen and (max-width: 767px){
  #faq dl{
    padding: 25px 15px;
  }
  #faq dl dt::before, #faq dl dd::before{
    width: 30px;
    height: 30px;
  }
  #faq dl dt{
    line-height: 1.4;
  }
  #faq dl dd{
    line-height: 2;
  }
}