/*===================================================================
*
*
* CSS変数 定義 var
*
*
====================================================================*/

:root {
    --mainColor: #00A29A;
    --subColor: #3ba19d;
    --sub2Color: #42697b;
}

.__main_Color {
  color: var(--mainColor);
  font-weight: 900;
}

.__subColor {
  color: var(--sub2Color);
  font-weight: 900;
}

.__sub2Color {
  color: var(--sub2Color);
  font-weight: 900;
}

/*=============================================================================
*
* 
*
=============================================================================*/
/*=============================================================================
*
* main-column
*
=============================================================================*/
.title {
  font-family: source-han-serif-japanese, serif;
  font-size: 3rem;
  margin-top: 1.5rem;
}

.title_img {
  margin: 1.5rem auto;
  padding: 0 1.5rem;
}

.cp-h {
  font-size: 3rem;
  letter-spacing: .2rem;
  line-height: 1.4;
}

.ribbon {
  background: #de946f;
  box-sizing: border-box;
  color: #fff;
  display: inline-block;
  height: 50px;
  letter-spacing: .5px;
  line-height: 50px;
  padding: 0 30px;
  position: relative;
  text-align: center;
  margin-top: 2.5rem;
}

.ribbon::before, .ribbon::after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon::before {
  border-color: transparent transparent transparent #fff;
  border-style: solid;
  border-width: 25px 0px 25px 15px;
  left: 0;
  top: 0;
}

.ribbon::after {
  border-color: transparent #fff transparent transparent;
  border-style: solid;
  border-width: 25px 15px 25px 0px;
  right: 0;
  top: 0;
}

.ribbon p {
  font-size: 1.6rem;
  font-weight: bold;
}

.gentei_pre {
  font-family: source-han-serif-japanese, serif;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.2rem;
}

#nayami {
  background: #E6ECEE;
}

.nayami_content {
  position: relative;
  margin-bottom: -60rem;
  z-index: 2;
}

.nayami_kaiketsu {
  position: relative;
}

.nayami_kaiketsu {
  content: "";
  background: url(../images/nayami-bg.png) no-repeat center;
  width: 100%;
}

#nayami .nayami_kaiketsu .__inner {
  padding-top: 12.0rem;
}

.kaiketsu-img {
  margin-top: 50rem;
}

@media (max-width: 768px) {
  .nayami_content {
    position: relative;
    margin-bottom: -30rem;
    z-index: 2;
  }

  .nayami_kaiketsu {
    position: relative;
  }

  .nayami_kaiketsu {
    content: "";
    background: url(../images/nayami-bg.png) no-repeat center;
    width: 100%;
  }

  #nayami .nayami_kaiketsu .__inner {
    padding-top: 12.0rem;
  }

  .kaiketsu-img {
    margin-top: 20rem;
  }
}

#about {
  background-color: #fff;
  position: relative;
  z-index: 0;
  padding: 2rem 0 0; /* 上下に余白で高さを作る */
}

#about::before {
  content: "";
  background: url(../images/about-bg.jpg) no-repeat top center / cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

#about .training {
  width: 75%;
  margin: 2.5rem auto;
}

#benefit {

}

#reason {}

.hrReason {
  margin: 3.5rem 0;
}

#reason .box {
  width: 95%;
  background-color: #f1f1f1;
  margin: 2.5rem auto;
  padding: 1rem 1.5rem 1.5rem;
}

#reason .box ol {
  text-align: left;
  font-size: 1.4rem;
}

#reason .box ol li {
  list-style-type: disc;/* リストの左側に黒丸 */
  margin-left: 24px;/* リストの左側に余白 */
}

#flow {
  background-color: #f8fafc;
  padding-bottom: 3.5rem;
}

#flow .cta_btn {
  margin: 2.5rem 0;
}

#flow .arrow-img {
  width: 30%;
  margin: 1rem auto;
}

.step-text {
  font-family: source-han-serif-japanese, serif;
  color: var(--mainColor);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

#QA {
  background-color: #f8fafc;
  padding-top: 1.5rem;
}

#QA .box {
  background: var(--mainColor);
  color: #fff;
  font-size: 1.6rem;
  border-radius: 0.5rem;
}

details {
  --arrow-size: 18px;
  --anime-speed: 0.3s;
  margin: 1.5rem 0;
}

details summary {
  box-sizing: border-box;
  position: relative;
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1.5em calc(var(--arrow-size) + 2em) 1.5em 3.5em;
  background: #fff;
  border: 1px solid var(--mainColor);
  cursor: pointer;
}

details summary::-webkit-details-marker {
  /* iOSで表示されるデフォルトの三角形アイコンを消す */
  display: none;
}

details summary::before {
  content: "Q.";
  position: absolute;
  top: 1.5em;
  left: 1.5em;
}

/* ※本来はafter要素の装飾で十分だが、iOSだと疑似要素に「transition」が効かないので、通常のタグを装飾 */
details summary .ico {
  position: absolute;
  top: 0;
  right: 1.5em;
  bottom: 0;
  display: block;
  width: var(--arrow-size);
  height: calc(var(--arrow-size) * 0.6);
  /*aspect-ratio: 1/0.6;*/
  /* ※追記 Windows版Chrome124にてaspect-ratioを指定した要素と、position: absoluteの位置調整の組み合わせに不具合が発生したため、height値をcalcの計算に切り替え */
  margin: auto;
  background: var(--mainColor);
  clip-path: polygon(100% 13%, 50% 100%, 0 13%, 8% 0, 50% 73%, 92% 0);
  transition: transform var(--anime-speed);
}

details[open] summary .ico {
  transform: rotate(180deg);
}

details .inner {
  position: relative;
  padding: 1.5em 1.5em 1.5em 3.5em;
  background: #daf5e8;
  font-size: 1.2rem;
}

details .inner::before {
  content: "A.";
  position: absolute;
  top: 1.5em;
  left: 1.5em;
  font-weight: 700;
}

#StudioList {
  background-color: var(--mainColor);
  color: #fff; 
  padding: 1.5rem 0 3.5rem;
}

.tenpo-section {
  width: 95%;
  background-color: #fff;
  margin: 2.5rem auto 0;
  color: #333;
  padding: 3rem 1.5rem;
}

.tenposentaku {
  margin: 1.5rem 0 .3rem;
  font-size: 1.4rem;
}

#tenpo-select {
  width: 80%;
  margin: 0 auto;
  padding: 1.2rem;
  font-size: 1.6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  appearance: none; /* iOS/Safariのデフォルト矢印を消す */
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
}

/* Android・iOSのデフォルト矢印を表示させるための背景画像を入れる場合（任意） */
#tenpo-select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
}

.info-table {
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.8;
  max-width: 400px;
  margin: 1.5rem auto;
}

.info-row {
  display: flex;
  margin-bottom: 10px;
}

.info-label {
  font-weight: bold;
  width: 80px;
  white-space: nowrap;
}

.info-value {
  flex: 1;
  text-align: left;
}

.mapArea {
  position: relative;
  z-index: 0;
}

.mapArea iframe {
  width: 100%;
  height: 250px;
  display: block;
  position: relative;
  z-index: 0;
}

.tenpoCta {
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  text-align: center;
}

.tenpo-btn a {
    background: var(--mainColor);
    border: 2px solid var(--mainColor);
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 3rem auto 0;
    width: 100%;
    padding: 10px 25px;
    color: #fff;
    transition: 0.3s ease-in-out;
    font-size: 1.8rem;
    font-weight: 900;
}
.tenpo-btn a:hover {
    background: #FFF;
    color: var(--mainColor);
    border: 2px solid var(--mainColor);
}
.tenpo-btn a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.tenpo-btn a:hover:after {
    border-color: var(--mainColor);
}


/*=============================================================================
* btn animation
=============================================================================*/
.shiny-image-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 30px; /* ボタン画像の角丸と同じ */
}

.shiny-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.shiny-image-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shiny-slide 2.5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 30px;         /* ← 光の角にも丸みをつける */
  filter: blur(6px);           /* ← 光の端をふんわり */
}


/* 光が横に流れるアニメーション */
@keyframes shiny-slide {
  0% {
    left: -75%;
  }
  50% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}
