@charset "UTF-8";

/* ========== フォント読み込み ========== */
@font-face {
  font-family: 'CustomFont';
  src: url('../fonts/nikumaru.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* ========== ベース設定 ========== */
body {
  margin: 0;
  font-family: 'CustomFont', sans-serif;
  background-color: #faf7f3;
}


/* ========== SNSリンク ========== */
.sns-links {
  position: fixed;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sns-icon {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
}

.sns-icon:hover {
  transform: scale(1.2);
}

.sns-icon.youtube   { background-image: url('../img/youtube-gray.png'); }
.sns-icon.instagram { background-image: url('../img/insta_gray.png'); }
.sns-icon.line      { background-image: url('../img/line-gray.png'); }

/* ========== レスポンシブ対応 ========== */
@media screen and (max-width: 1100px) {

  .sns-links {
    display: none;
  }
}


/* ここまで */

.title{
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 20px;
  margin-bottom: 100px;
  padding-top: 190px;
}
.title_letter{
  font-size: 2em;
}
.title h1{
  color: rgb(54, 54, 54);
  font-size: 1.5em;
}
.title p{
  color: rgb(133, 108, 76);
}
.title img{
  width: 50px;
}

/* ここまで */

.lesson{
  background-color: white;
  padding: 50px 20px;
  border-radius: 30px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 100px;
  color: rgb(54, 54, 54);
}
.lesson h2{
  font-size: 1.8em;
  text-align: center;
}
.faq-section {
  margin-top: 50px;
  max-width: 600px;
  margin: 0 auto;
}

.faq-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0c97f;
  padding-bottom: 5px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.faq-question {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-top: 15px;
}

.faq-question img {
  width: 40px;
  margin-right: 20px;
}

.faq-question span {
  font-weight: bold;
  font-size: 20px;
}

.faq-answer {
  display: none; /* 最初は非表示 */
  flex-direction: row;  /* 横並び */
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0 15px 30px;
}


.faq-answer.active {
  display: flex; /* 表示時にflex */
  align-items: center;
}
.faq-answer img {
  width: 40px;
  margin-right: 8px;
  vertical-align: top;
}

.faq-answer p {
  display: inline-block;
  margin: 0;
  vertical-align: top;
}



@media screen and (max-width: 1100px) {
  main{
    padding: 0 20px;
  }
  .representative-profile {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 40px;
  color: rgb(53, 53, 53);
  margin-top: 50px;
}

}

@media screen and (max-width: 600px) {
.title_letter{
  font-size: 1.5em;
}
.title{
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  padding-top: 190px;
}
.title h1{
  color: rgb(54, 54, 54);
  font-size: 1.3em;
}
.title img{
  width: 35px;
}
.lesson{
  background-color: white;
  padding: 50px 20px;
  border-radius: 30px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 100px;
  font-size: 15px;
}


.lesson h2{
  font-size: 1.4em;
  text-align: center;
  color: rgb(54, 54, 54);
}
.detail li{
  display: flex;
  gap: 40px;
  align-items: center;
  flex-direction: column;
}
.detail ul{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 350px;
  margin: 0 auto;
}
.detail li img{
  width: 300px;
  border-radius: 20px;
}
.step ul{
  list-style: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}
.step li{
  width: 250px;
  padding: 30px 20px 20px;
  background-color: rgb(241, 241, 241);
  border-radius: 20px;
}
  .career-list li {
    flex-direction: column;
    align-items: flex-start;
  }
  .career-list .year {
    margin-right: 0;
    margin-bottom: 3px;
  }
  .faq-question span {
  font-weight: bold;
  font-size: 16px;
}

  .faq-question img {
  width: 30px;
  margin-right: 10px;
}
.faq-answer img {
  width: 30px;
  margin-right: 8px;
  vertical-align: top;
}
.faq-answer {
  display: none; /* 最初は非表示 */
  flex-direction: row;  /* 横並び */
  align-items: flex-start;
  gap: 0px;
  margin: 15px 0 5px 30px;
}

.lesson{
  background-color: white;
  padding: 20px 20px 50px;
  border-radius: 30px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 100px;
  color: rgb(54, 54, 54);
}
}

@media screen and (max-width: 420px) {
.lesson h2{
  font-size: 1.2em;
  text-align: center;
  color: rgb(54, 54, 54);
}
}