@charset "UTF-8";

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

body {
  margin: 0;
  color: #333;
  max-width: 375px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: 'Zen Maru Gothic', sans-serif;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.btn {
  display: block;
  background: #F6A623;
  text-align: center;
  padding: 16px;
  border-radius: 30px;
  font-weight: 700;
  margin: 20px 20px 50px 20px;
  box-shadow: 0 4px 0 #d4881c;
}

.btn:hover {
  transform: translateY(2px);
  background: #F9C54B;
  box-shadow: none;
}

/* ---header--- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #fff;
  z-index: 1000;
}

.inner {
  max-width: 375px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 30px;
}

header img {
  width: 100px;
}

.toggle-btn {
  width: 32px;
  height: 32px;
  position: relative;
  cursor: pointer;
  z-index: 100;
}

.toggle-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
}

.toggle-btn span:nth-child(1) {
  top: 8px;
}

.toggle-btn span:nth-child(2) {
  top: 16px;
}

.toggle-btn span:nth-child(3) {
  top: 24px;
}

.toggle-btn.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 16px;
}

.toggle-btn.open span:nth-child(2) {
  opacity: 0;
}

.toggle-btn.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 16px;
}

header nav {
  position: fixed;
  top: 0;
  right: -100%; 
  width: 100%;
  height: 100vh;
  background: #F9C54B;
  transition: 0.3s;
  z-index: 90;
  margin-top: 64px;
  max-width: 375px;
  opacity: 0;
  visibility: hidden;
}

header nav.open {
  opacity: 1;
  visibility: visible;
  left: 50%;
  transform: translateX(-50%);
}

.menu-list{
  margin-top: 70px;
}

.menu-list li {
  border-bottom: 1px solid #333;
  margin-bottom: 28px;
  width: 300px;
}

.menu-list li a {
  display: block;
  padding: 0 0 18px;
}

.menu-btn {
  background-color: white;
  margin-top: 80px;
}

.menu-btn:hover {
  transform: translateY(2px);
  background: #fff;
  color: #F6A623;
  box-shadow: none;
}

/* ---section hero--- */

main {
  padding-top: 64px;
}

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4); 
}

.hero img {
  display: block;
}

h1 {
  font-size: 24px;
}

.hero h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  white-space: nowrap;
  z-index: 1;
}

/* section problems */

section {
  padding-top: 24px;
  padding-bottom: 32px;
  padding-inline: 24px;
  text-align: center;
}
/* .price-page {
  padding-inline: 11px;
} */
 

.problems {
  background-color: #FFF6E8;
}


h1 span,
h2 span {
  position: relative;
  display: inline-block;
}

h1 span::before,
h1 span::after,
h2 span::before,
h2 span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #F9C54B;  
  transform: translateY(-50%);
}

h1 span::before,
h2 span::before {
  left: -12px;     
}

h1 span::after,
h2 span::after {
  right: -12px;
}

.problems-list {
  display: flex;
  gap: 8px;
  text-align: center;
}

.problems-item {
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
}

.problems-item p {
  font-size: 14px;
}

.problems-item img {
  width: 60px;
}

/* ---section features--- */
.features-item {
  border: 0.5px solid #F6A623;
  border-radius: 10px;
  margin-bottom: 20px;
  padding-inline: 20px;
  text-align: center;
}

.features-item p{
  font-size: 14px;
}

/* ---section teacher--- */

.teacher {
  background-color: #FFF6E8;
}

.teacher img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin: 0 auto;
}

.teacher p {
  text-align: center;
  font-size: 14px;
}

/* ---section courses ---*/

.courses-item {
  background-color: #FFE4B5;
  border-radius: 30px;
  padding: 24px 20px 32px 20px;
  margin-bottom: 34px;
}

.courses-item img {
  width: 270px;
  height: 170px;
  margin: 0 auto;
}

.courses-item a {
  position: relative;
  transition: 0.3s;
}

.courses-item a:hover {
  opacity: 0.7;
}

.courses-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #333;
  transition: 0.3s;
}

.courses-item a:hover::after {
  width: 100%;
}

/* ---section pricing--- */
.pricing {
  background-color: #FFF6E8;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 25px;
  background-color: white;
  margin-bottom: 20px;
}

.pricing-amount {
  font-weight: 700;
  font-size: 18px;
}

.pricing-note {
  font-size: 12px;
}

/* ---section testimonials--- */

.testimonials-item {
  margin-bottom: 50px;
  padding-inline: 6px;
}

.testimonials-item img {
  width: 90px;
  height: 100px;
  border-radius: 50%;     
  margin: 0 auto 16px;
}

.testimonials-item p {
  font-size: 12px;
}

/* ---section access--- */
#access {
  background-color: #FFF6E8;
}

#access dl dd{
  margin-left: 0;
  margin-bottom: 15px;
}

#access dl {
  padding-bottom: 5px;
}

iframe {
  width: 100%;
  height: 250px;
}

/* ---footer--- */
footer {
  background-color: #FFF6E8;
  text-align: center;
  padding: 32px 24px 24px;
}

.footer-btn {
  display: block;
  margin: 0 auto 10px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 0.5px solid #F6A623;
  background-color: #fff;
  font-size: 14px;
}

.footer-btn {
  transition: 0.3s;
}

.footer-btn:hover {
  background-color: #F6A623;
  color: #fff;
  transform: translateY(-2px);
}

.footer-nav ul {
  display: flex;
  font-size: 12px;
  gap: 7px;
}

.footer-nav ul li {
    border-right: 1px solid #333;
    padding-right: 7px;
}

.footer-nav ul li:last-child {
  border-right: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}


/* ---section course-page--- */

.course-page {
  background-color: #FFF6E8;
}

.course-card {
  background-color: #fff;
  border-radius: 30px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 30px;
}

.course-card h2 {
  font-size: 18px;
}

.course-card img {
  width: 280px;
  height: 200px;
  object-fit: cover;
}

.course-card p {
  font-size: 14px;
}

.course-card ul {
  text-align: left;
  font-size: 14px;
}
.course-card li {
  position: relative;
  padding-left: 24px;
}

.course-card li::before {
  content: "☑";
  position: absolute;
  left: 0;
  top: -6px;
  color: #333;
  font-size: 18px;
}

/* ---section flow--- */
.flow-item {
  margin-bottom: 30px;
}

.flow-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.flow-number {
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: #333;
}

.flow-head h3 {
  position: relative;
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 600;
}

.flow-head h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #F6A623;
}

/* ---section price-page--- */

.price-page {
  background-color: #FFF6E8;
  margin-bottom: 30px;
}
.price-page .introduce{
  font-size: 14px;
 }


.price-box {
  background: #fff;
  border: 1px solid #F6A623;
  border-radius: 10px;
  padding-inline: 10px;
  margin-bottom: 20px;
}

.label {
  background: #FFE4B5;
  display: inline-block;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 10px;
  width: 180px;
  padding-block: 6px;
}

.price-page .price {
  margin: 10px 0;
  font-size: 24px;
}

.price span {
  font-size: 14px;
  font-weight: normal;
  margin-right: 8px;
}

hr {
  border: none;
  border-top: 1px solid #333;
  margin: 40px 20px;
}

.item-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.price-item .item-price {
  font-size: 24px;
}


.note {
  margin-top: 6px;
  font-size: 12px;
}


/* ---section contact--- */

.contact p {
  font-size: 10px;
}

form {
  margin-top: 24px;
}

.form-item label {
  display: block;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 280px;
}
.contact-form input {
  height: 2rem;
}

.form-item {
  margin-bottom: 24px;
}

.submit-btn {
  background: #F6A623;
  padding: 6px 60px;
  border-radius: 10px;
  font-weight: 700;
  margin: 20px;
  border: none;
}