@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);
}
.price{
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.price_itself{
  font-size: 3em;
  color: rgb(107, 71, 38);
}
.span1{
  font-size: .6em;
}
.span2{
  font-size: .5em;
}

.price h4{
  color: white;
  font-size: 1.2em;
  background-color: rgb(167, 124, 68);
  padding: 10px 30px;
  border-radius: 30px;
  text-align: center;
  display: inline-block;
  margin: 50px 0 30px;
}

.fee{
  text-align: right;
  color: rgb(54, 54, 54);
  margin-top: 20px;
}
.fee span{
  color: rgb(107, 71, 38);
}
.detail{
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 50px auto 30px;
}
.detail h4{
  color: white;
  font-size: 1.2em;
  background-color: rgb(167, 124, 68);
  padding: 10px 30px;
  border-radius: 30px;
  text-align: center;
  display: inline-block;
  margin: 50px 0 30px;
}
.detail ul{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.detail li{
  display: flex;
  gap: 40px;
  align-items: center;
}
.detail li img{
  width: 250px;
  border-radius: 20px;
}
.detail div{
  text-align: left;
}
.detail h5{
  color: rgb(161, 77, 77);
  font-size: 1.6em;
  margin-bottom: 20px;
}
.detail p{
  text-align: left;
  color: rgb(65, 65, 65);
  line-break: strict;
  word-break: break-word;
  overflow-wrap: break-word;
}

.step{
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 50px auto 30px;
}
.step h4{
  color: white;
  font-size: 1.2em;
  background-color: rgb(167, 124, 68);
  padding: 10px 30px;
  border-radius: 30px;
  text-align: center;
  display: inline-block;
  margin: 50px 0 30px;
}

.step ul{
  list-style: none;
  display: flex;
  gap: 30px;
}
.step li{
  width: 250px;
  padding: 30px 20px 20px;
  background-color: rgb(241, 241, 241);
  border-radius: 20px;
}

.step li img{
  width: 100px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.step h5{
  color: rgb(77, 113, 161);
  font-size: 1.6em;
  margin-bottom: 20px;
}

.step p{
  text-align: left;
  color: rgb(65, 65, 65);
  line-break: strict;
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: .8em;
}

@media screen and (max-width: 1100px) {
  main{
    padding: 0 20px;
  }
}

@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;
}
}

@media screen and (max-width: 420px) {
.lesson h2{
  font-size: 1.2em;
  text-align: center;
  color: rgb(54, 54, 54);
}
}


.lesson-extra {
  background-color: white;
  padding: 50px 20px;
  border-radius: 30px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 0px;
  text-align: center;
}

.lesson-extra h4 {
  color: white;
  font-size: 1.2em;
  background-color: rgb(167, 124, 68);
  padding: 10px 30px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 30px;
  text-align: center;
}

.lesson-extra ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lesson-extra li {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.lesson-extra-img img {
  width: 300px;
  border-radius: 20px;
}

.lesson-extra-info {
  flex: 1;
  text-align: left;
}

.lesson-extra-info .price_itself {
  font-size: 2em;
  color: rgb(107, 71, 38);
  margin-bottom: 20px;
}

.lesson-extra-info p {
  color: rgb(65, 65, 65);
  line-height: 1.6;
  font-size: 1em;
}
.lesson-extra span{
  color: rgb(73, 73, 73);
  font-size: .7em;
  margin-right: 30px;
}

/* ========== レスポンシブ ========== */
@media screen and (max-width: 600px) {
  .lesson-extra li {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .lesson-extra-img img {
    width: 100%;
    max-width: 300px;
  }
}

.photo_ex{
  font-size: .8em;
  margin-top: 15px;
  color: rgb(54, 54, 54);
}