/* --- 全体のボックス設定 --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --- 全体のリセットと基本設定 --- */
body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

header, main, footer {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

h1, h2 {
  color: #222;
}

/* --- ナビバー --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  color: #fff;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: bold;
  font-size: 1.2em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #f0a500;
}

.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
}

/* レスポンシブ（スマホ用） */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(17, 17, 17, 0.7);
    width: 100%;
    position: absolute;
    top: 50px;
    left: 0;
    padding: 10px 0;
    z-index: 9;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }
}

/* --- フッター --- */
footer {
  text-align: center;
  font-size: 0.9em;
  margin-top: 40px;
  color: #888;
  border-top: 1px solid #ddd;
}

/* --- ヒーローセクション --- */
.hero {
  background-image: url("images/main-photo.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-message {
  z-index: 2;
  color: #f2f2f2;
  transform: translateY(50px);
}

.hero-message h1 {
  font-size: 2.4rem;
  margin: 0;
  font-weight: 400;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.hero-message p {
  font-size: 1rem;
  margin-top: 8px;
  opacity: 0.9;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- プロフィールページ --- */
body.profile-page header {
  position: relative;
  height: 80vh;
  background-image: url("images/profile.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
}

body.profile-page header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

body.profile-page header h1 {
  font-size: 3rem;
  font-weight: 400;
  color: #ffffff;
  position: relative;
}

body.profile-page header p {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  color: #ffffff;
  margin: 0.5rem 0;
}

body.profile-page main {
  max-width: 900px;
  margin: -80px auto 60px;
  background: #fff;
  border-radius: 0px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px 20px;
  z-index: 2;
  position: relative;
}

body.profile-page .profile-content {
  max-width: 800px;
  margin: auto;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  color: #444;
}

/* --- レッスンページ --- */
body.lesson-page {
  background-color: #fafafa;
  margin: 0;
}

.lesson-header {
  width: 100%;
  height: 80vh;
  background: url("images/lesson.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 20px;
}

.lesson-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.lesson-header-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.lesson-header-inner h1 {
  font-size: 3rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0.5rem 0;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

.lesson-header-inner p {
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.9;
  margin-top: 8px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.lesson-content {
  width: 100%;
  max-width: 900px;
  background: #fff;
  margin: -60px auto 60px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  padding: 40px 30px;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

.lesson-details h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #f0a500;
  display: inline-block;
  padding-bottom: 5px;
}

.lesson-details ul {
  list-style: disc inside;
  margin: 0;
  padding: 0;
  text-align: left;
}

.lesson-details li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #555;
}

.lesson-details p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}
/* ボタン共通デザイン */
.btn-orange {
    display: inline-block;
    background-color: #ff6600;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;   /* 角を丸くする */
    text-decoration: none; /* 下線消す */
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* 立体感 */
    transition: all 0.3s ease;
  }
  
  /* ホバー時の動き */
  .btn-orange:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.3);
  }
  

/* --- Contactページ --- */
body.contact-page {
  background-color: #fafafa;
  color: #333;
}

/* contact-content */
.contact-section {
  padding: 60px 20px;
}

.contact-content {
  width: 100%;
  max-width: 900px;
  background: #fff;
  margin: auto;
  padding: 40px 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-radius: 10px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

/* --- SEND EMAIL ボタン --- */
.contact-button {
  display: inline-block;
  padding: 18px 50px;
  background-color: #ff7f00;  /* オレンジ色 */
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  border-radius: 12px; /* 角丸 */
  font-weight: bold;
  box-shadow: 0 5px 0 #e76e00, 0 5px 10px rgba(0,0,0,0.2); /* 立体感 */
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
  margin-top: 40px;
}

.contact-button:hover {
  background-color: #e76e00;
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #c46200, 0 8px 15px rgba(0,0,0,0.25);
}

/* --- SNSリンク --- */
.sns-links {
  margin-top: 30px;
  display: flex;
  gap: 25px;
  justify-content: center;
}

.sns-links a {
  color: #111;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.sns-links a:hover {
  color: #f0a500;
}
