@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: 1100px;
  margin: 0 auto 100px;
  font-size: 18px;
}
.lesson h2{
  font-size: 1.8em;
  text-align: center;
  color: rgb(54, 54, 54);
}
.representative-profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  color: rgb(53, 53, 53);
  margin-top: 50px;
}

.profile-text {
  background: #fffbea;
  padding: 20px;
  border: 2px solid #e0c97f;
  border-radius: 8px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.profile-text h3 {
  margin-bottom: 15px;
}

.profile-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.career-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-list li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.career-list li::before {
  content: "✎";
  position: absolute;
  left: 0;
  color: #e0c97f;
}

.career-list .year {
  font-weight: bold;
  margin-right: 8px;
  white-space: nowrap;
}

.career-list .detail {
  flex: 1;
}

.profile-photo img {
  max-width: 450px;
  border-radius: 20px;
  object-fit: cover;
  opacity: .9;
  width: 100%;
}


.representative-story {
  margin: 50px auto 0;
  padding: 25px;
  background: #fdfdf8;
  border-left: 6px solid #e0c97f;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  line-height: 1.8;
  font-size: 15px;
  max-width: 600px;
  color: rgb(53, 53, 53);

}

.representative-story h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #7a5d00;
}

.representative-story p {
  margin-bottom: 15px;
}


@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;
  }
}

@media screen and (max-width: 420px) {
.lesson h2{
  font-size: 1.2em;
  text-align: center;
  color: rgb(54, 54, 54);
}
}

.youtube-section {
  max-width: 800px;
  margin: 80px auto 100px;
  text-align: center;
}

.youtube-section h4 {
  font-size: 30px;
  color: #3d3d3d;
  margin-bottom: 40px;
}
.youtube-section a{
  color: #3d3d3d;
  text-decoration: none;
}

.youtube-videos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.youtube-videos a img {
  width: 300px;
  max-width: 100%;
  border-radius: 12px;
  transition: transform 0.3s;
}

.youtube-videos a img:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .youtube-videos {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .youtube-videos a img {
    width: 100%;
    max-width: 350px;
  }
  .youtube-section h4 {
  font-size: 20px;
  color: #3d3d3d;
  margin-bottom: 40px;
}
}
