/* Font Awesome アイコンのための基本的なスタイル */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* リセットCSS (必要に応じて追加) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '游明朝', 'Meiryo', sans-serif; /* 日本語フォントを優先 */
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    scroll-behavior: smooth;
    overflow-x: hidden; /* 横スクロールバーが出ないように */
}

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

ul {
    list-style: none;
}



header {
  background: #f57c00; /* メインオレンジ */
  color: white;
  padding: 2em;
  margin-bottom: 2em;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h1 {
  margin: 0;
  font-size: 2em;
}

section {
  padding: 2em;
  max-width: 800px;
  margin: auto;
  background: #ffffff;
  margin-bottom: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

h2 {
  color: #f57c00;
  margin-bottom: 0.5em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

table th {
  background-color: #ffe0b2; /* 薄いオレンジ */
  color: #e65100;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 0.75em;
  text-align: left;
}

ul {
  list-style: disc;
  padding-left: 1.5em;
}

.btn {
  display: inline-block;
  background: #f57c00;
  color: white;
  padding: 0.75em 1.5em;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1em;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e65100;
}

/* コンタクトフォーム */
.contact-form {
  width: 90%;
  max-width: 600px; /* 横幅を少し狭く */
  margin: 1em auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact-form label {
  font-weight: bold;
  color: #f57c00;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  background: #fff;
}

.contact-form textarea {
  height: 7em; /* 約5行分の高さに調整 */
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f57c00;
  box-shadow: 0 0 5px rgba(245, 124, 0, 0.3);
}

.contact-form button.btn {
  width: 120px; /* 小さめのボタン */
  font-size: 0.9em;
  padding: 0.5em 1em;
  align-self: flex-start;
}

/* コンタクトフォーム　スマホ対応 */
@media screen and (max-width: 600px) {
  .contact-form {
    width: 95%;
    padding: 0 1em;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1em;
  }

  .contact-form button.btn {
    width: 100px;
    font-size: 0.85em;
    padding: 0.4em 0.8em;
  }
}

/* コンタクトフォーム　電話 */
.contact-phone {
  font-size: 16px;
  margin: 10px 0 20px;
  color: #e67e22;
}

/* 代表あいさつ */
.greeting {
  background-color: #fff8f0;
  padding: 40px 15px;
  color: #5a3e1b;
}

.greeting h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #bb8258;
}

.subtitle {
  text-align: center;
  font-size: 17px;
  color: #666 !important; /* 落ち着いたグレー */
  margin-bottom: 30px;
  font-weight: normal;
}

.message-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.message-text h3 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #bb8258;
  border-left: 4px solid #e67e22;
  padding-left: 10px;
}

.signature {
  margin-top: 30px;
  font-weight: bold;
  text-align: right;
  color: #d35400;
  font-size: 1.1em;
}

.br-sp {
  display: none;
}

.fade-in {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.fade-in.left {
  transform: translateX(-50px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateX(0);
}

@media screen and (max-width: 768px) {
  .greeting h2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    color: #bb8258;
  }

  .subtitle {
    font-size: 20px !important;
    line-height: 1.3;
  }

  .message-text h3 {
    font-size: 16px;
    line-height: 1.3;
    border-left: 3px solid #ad6526;
    padding-left: 8px;
  }

  .br-sp {
    display: block;
    height: 0;
    line-height: 0;
    content: "";
  }

  .fade-in {
    transform: translateY(30px); /* 下からフェードイン */
  }

  .fade-in.left,
  .fade-in.right {
    transform: translateY(30px); /* 左右の指定を上書き */
  }

}


/* プライバシーポリシー */
.policy-text h2 {
  font-size: 1.6em;
  margin-bottom: 20px;
  color: #f77c3e;
}

.policy-text h3 {
  font-size: 1.2em;
  margin-top: 30px;
  margin-bottom: 10px;
  border-left: 4px solid #f77c3e;
  padding-left: 10px;
  color: #333;
}

.policy-text p {
  margin-bottom: 16px;
}

.policy-text ul {
  margin: 0 0 20px 20px;
  padding: 0;
  list-style-type: disc;
}

.policy-text ul li {
  margin-bottom: 8px;
}


/* 過去のお知らせ */
.news-item {
  border-bottom: 1px solid #ccc;
  padding: 10px 10px;
  background-color: #fff;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.news-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  color: #e67300;
  transition: background-color 0.3s;
}

.news-title:hover {
  background-color: #fff3e6;
}

.news-title .icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.news-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 10px;
  font-size: 0.95rem;
  color: #444;
}

.news-content.open {
  max-height: 500px;
  padding-top: 10px;
}

@media screen and (max-width: 600px) {
  .news-title {
    font-size: 0.95rem;
  }
  .news-content {
    font-size: 0.9rem;
  }
}

/* ユーチューブチャンネル準備中 */
.message-box {
  background-color: #fff;
  border: 2px solid #f08a24;
  border-radius: 10px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.message-box p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* フッター */
footer {
  text-align: center;
  padding: 20px 0;
  background: #333;
  color: #fff;
  font-size: 0.9em;
  margin-top: 50px;
}

.back-link {
  display: inline-block;
  background: #f77c3e;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.back-link:hover {
  background: #e8662f;
}


/* フッターリンク */
.footer-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #d94c00;
  text-decoration: underline;
}

/* ================================================= */
/* レスポンシブデザイン (モバイルファーストまたはデスクトップファースト) */
/* ================================================= */
@media (max-width: 1024px) {
    body {
        font-family: "YuMincho", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    }

@media (max-width: 768px) {
    body {
        font-family: "YuMincho", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    }

@media (max-width: 480px) {
    body {
        font-family: "YuMincho", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    }