/* CSSリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* ベース設定 */
  body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #f5f5f5;
    background: linear-gradient(120deg, #2c3e50, #34495e);
    min-height: 100vh;
  }
  .twitter-follow-button {
    display: inline-block !important;
  }
  
  /* コンテナ */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* ヘッダー */
  header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background-color: rgba(34, 34, 34, 0.8);
    backdrop-filter: blur(6px);
  }
  header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
  }
  header h1 {
    font-size: 1.8rem;
    color: #ffd700;
    font-weight: 700;
  }
  header nav ul {
    list-style-type: none;
    display: flex;
    gap: 1rem;
  }
  header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
    transition: background-color 0.3s, opacity 0.3s;
    border-radius: 4px;
  }
  header nav a:hover {
    background-color: #ffd700;
    color: #333;
  }

  /* メニューのリセット */
  .nav-menu {
    display: flex;
    gap: 1rem;
  }
  .nav-menu ul {
    list-style-type: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
  }
  .nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
    transition: background-color 0.3s, opacity 0.3s;
    border-radius: 4px;
  }
  .nav-menu a:hover {
    background-color: #ffd700;
    color: #333;
  }

  /* ハンバーガーメニュー用のスタイル */
  .menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index:1000;
    margin: 0;
    align-self: center;
  }

  /* ヒーローセクション */
  .hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: url('https://via.placeholder.com/1920x1080/000/fff?text=Taijiquan') no-repeat center/cover; */
    background: url('cc/mountains.jpg') no-repeat center/cover;
    background-size: contain;
    background-attachment: fixed; /* Optional: For a parallax effect */
  }
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  .hero-content {
    position: relative;
    text-align: center;
    max-width: 80%;
    padding: 2rem;
  }
  .hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease forwards;
  }
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInDown 1.5s ease forwards;
  }
  
  /* ボタン */
  .btn-primary {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 8px;
    background-color: #ffd700;
    color: #333;
    padding: 0.8rem 1.6rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s, box-shadow 0.3s;
    animation: fadeInDown 2s ease forwards;
  }
  .btn-primary:hover {
    background-color: #ffba00;
    box-shadow: 0 0 10px rgba(255, 218, 0, 0.5);
  }
  
  /* アニメーション */
  @keyframes fadeInDown {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* カード風のセクション */
  .glass-card {
    margin: 3rem auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  /* aboutセクション */
  .about {
    margin: 3rem auto;
  }
  .about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffd700;
  }
  .about h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
  }
  .about h3 a {
    text-decoration: none; /* ハイパーリンクの下線を消す */
    color: inherit; /* h3 の色を継承する */
  }
  .about p {
    text-align: center !important;
    line-height: 1.8;
    margin-bottom: 1rem;
    margin-left: 12%;
    margin-right: 12%;
  }
  #idioms {
    text-align: center;
    display: block;
    width: 100%;
    margin: 1rem auto;
  }
  #idioms-title {
    font-size: 1.2rem;
  }
  
  /* Twitter埋め込み */
  .about blockquote.twitter-tweet {
    margin: 2rem auto;
    display: inline-block;
  }
  .social-embed {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
  }
  .social-embed a.twitter-timeline {
    height: 100%;
    display: block;
  }

  /* 先生紹介セクション */
  .instructor {
    margin: 3rem auto;
  }
  .instructor h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffd700;
  }
  .instructor h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
  }
  .instructor h3 a {
    text-decoration: none; /* ハイパーリンクの下線を消す */
    color: inherit; /* h3 の色を継承する */
  }
  .instructor p {
    text-align: left !important;
    line-height: 1.8;
    margin-bottom: 1rem;
    margin-left: 12%;
    margin-right: 12%;
  }
  
  /* contactセクション */
  .contact {
    margin: 3rem auto;
    text-align: center;
  }
  .contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffd700;
  }
  .contact p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #f5f5f5;
  }
  #contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
  }
  .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  #contact-form label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ffd700;
  }
  #contact-form input,
  #contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
  }
  #contact-form textarea {
    resize: vertical;
  }
  #contact-form button {
    width: 40%;
    padding: 1rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    background-color: #ffd700;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    text-align: center;
    margin: 0 auto;
    display: block;
  }
  #contact-form button:hover {
    background-color: #ffba00;
    box-shadow: 0 0 10px rgba(255, 218, 0, 0.5);
  }
  
  /* レッスンセクション */
  .lesson {
    margin: 3rem auto;
    text-align: center;
  }
  .lesson h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffd700;
  }
  .lesson-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem 0;
    justify-content: center;
    align-items: center;
  }
  .card {
    flex: 1;
    width: 90%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: auto;
  }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  }
  .lesson-info.card:nth-child(odd) {
    justify-self: start;
  }
  .lesson-info.card:nth-child(even) {
    justify-self: end;
  }

  /* 先生紹介カード用 */
  .instructor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  .instructor-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-areas:
      "name"
      "body"
      "btn";
    grid-row-gap: 1rem;
    text-align: center; /* デフォルトで中央揃え */
  }
  .instructor-name {
    grid-area: name;
    margin: 0;
    font-size: 1.4rem;
    color: #ffd700;
  }
  .instructor-body {
    grid-area: body;
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 1rem;
    text-align: left; /* 説明文は左寄せ */
  }
  .image-wrapper {
    width: 200px;
    max-width: 100%;
  }
  .image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .instructor-desc {
    margin: 0;
  }
  .instructor-btn {
    grid-area: btn;
    justify-self: center;
  }

  /* — 講師詳細ページ — */
  .instructor-detail-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .instructor-detail-content .instructor-name {
    grid-area: name;
    margin: 0;
    font-size: 1.4rem;
    color: #ffd700;
  }
  .instructor-detail-content .image-wrapper {
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
  }
  .instructor-detail-content .image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .instructor-detail-content p {
    text-align: left; /*本文の左寄せ指定 */
    line-height: 1.8;
    max-width: 800px;
    width: 100%;
    margin: 0;
  }
  .instructor-detail .btn-primary {
    display: inline-block;
    margin: 0 auto;
    padding: 0.8rem 2rem;
  }

  /* レッスン内容（箇条書き）のスタイル */
  .lesson-info ul {
    list-style-position: inside;
    padding-left: 0;
    text-align: center;
    display: inline-block;
  }
  .lesson-info li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
  }

  button:disabled {
    background-color: #aaa !important;
    cursor: not-allowed;
  }
  
  /* フッター */
  footer {
    background-color: rgba(34, 34, 34, 0.8);
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
  }
  footer p {
    color: #fff;
    font-size: 0.9rem;
  }

  /* 改修工事のお知らせエリア */
  .notice {
    background-color: #fff3cd;
    border-left: 5px solid #ffcc00;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #856404;
    text-align: center;
  }
  .notice a {
    color: #d39e00;
    font-weight: bold;
    text-decoration: underline;
  }
  .notice a:hover {
    color: #ffcc00;
  }
  


  /* 体験会 */
  #trial-info {
    background-color: #fffae6;
    border: 2px solid #ffd700;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem auto;
    width: 70%;
    min-width: 200px;
  }
  #trial-info h2 {
    color: #d48806;
  }
  #trial-info p,
  #trial-info .note {
    color: #333;
  }

  .campaign-form {
    max-width: 480px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }
  .campaign-form .form-group {
    margin-bottom: 1.5rem;
  }
  .campaign-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
  }
  .campaign-form input[type="text"],
  .campaign-form input[type="email"],
  .campaign-form input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: #fafafa;
  }
  .campaign-form input:focus {
    outline: none;
    border-color: #d48806;
    box-shadow: 0 0 0 3px rgba(212, 136, 6, 0.2);
  }
  .campaign-form .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
  .campaign-form .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #333;
  }
  .campaign-form .checkbox-group input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #d48806;
  }
  .campaign-form button.btn-primary {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .campaign-dates {
    list-style: none;
    padding-left: 0;
  }
  
  /* レスポンシブ対応 */
  @media (max-width: 850px) {
    .about p {
      margin-left: 0;
      margin-right: 0;
    }
    header .container {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
    }
    header h1 {
      font-size: 1.5rem;
      white-space: nowrap;
    }
    .menu-toggle {
      display: block;
    }
    .nav-menu {
      display: none;
      flex-direction: column;
      background-color: rgba(34, 34, 34, 0.9);
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      padding: 1rem 0;
      z-index: 998;
    }
    .nav-menu.show {
      display: flex;
    }
    .nav-menu ul {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    .nav-menu a {
      width: 100%;
      text-align: center;
      padding: 0.5rem 1rem;
    }
    .hero {
      background-size: auto 100%;
      background-position: center center;
      background-attachment: scroll;
    }
    .btn-primary {
    width: 80%;
    }
    .twitter-follow-button {
      display: block !important;
      text-align: center;
      margin: 10px auto;
    }
    .instructor-card {
      grid-template-columns: 1fr;
      grid-template-areas:
        "name"
        "body"
        "btn";
    }
    .instructor-body {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
      justify-items: center;
      text-align: center;
    }
    .instructor-desc {
      margin-top: 0;
    }
  }
  @media (max-width: 650px) {
    .lesson-details {
      flex-direction: column;
      align-items: center;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    .lesson-info.card {
      width: 100%;
      max-width: none;
    }    
  }
  @media (max-width: 520px) {
    .hero-content h2 {
      font-size: 2.5rem;
      margin-bottom: 0.8rem;
    }
  }

