@charset "utf-8";

/* チラシベースのカラーパレット */
:root {
  /* チラシメインカラー */
  --event-blue: #4a90e2;      /* 大会式典（チラシの青ボタン） */
  --event-orange: #ff9500;    /* 交流会（チラシのオレンジ） */
  --event-pink: #e91e63;      /* 現地見学会（チラシのピンク） */
  
  /* チラシアクセントカラー */
  --flower-yellow: #ffd54f;   /* 花のイラスト */
  --leaf-green: #81c784;      /* 葉っぱのイラスト */
  --soft-purple: #ba68c8;     /* 花のアクセント */
  
  /* 背景・テキストカラー */
  --warm-bg: #fef7f0;         /* 温かい背景色 */
  --light-blue-bg: #e3f2fd;   /* 薄い青背景 */
  --light-orange-bg: #fff3e0; /* 薄いオレンジ背景 */
  --light-pink-bg: #fce4ec;   /* 薄いピンク背景 */
  --text-dark: #2c3e50;       /* 読みやすいテキスト */
}

/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "ヒラギノ角ゴ Pro W5", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: var(--warm-bg);
}

/* 基本レイアウト */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

header {
  margin: 0 auto;
  background-size: cover;
  background-position: center;
  width: 100%;
  text-align: center;
  position: relative;
  min-height: 200px;
}

header h1 {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

header h1 img {
  max-width: 100%;
  height: auto;
}

/* コンテンツエリア */
#content, #flow, #contact {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 20px;
}

#content {
  padding-top: 50px !important;
}

/* セクション構造 */
.section {
  margin-bottom: 2rem;
}

/* 挨拶文 */
.greeting {
  margin-bottom: 1.5rem;
  padding: 20px;
  background: linear-gradient(135deg, var(--light-blue-bg), var(--warm-bg));
  border-radius: 8px;
  border-left: 4px solid var(--event-blue);
}

.signature {
  text-align: right;
  margin-top: 1rem;
}

/* 見出しスタイル */
h2 {
  clear: both;
  margin-bottom: 15px;
  padding: 15px 20px;
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, var(--event-blue), var(--soft-purple));
  border-radius: 8px;
  word-wrap: break-word;
}

h3 {
  background: linear-gradient(135deg, var(--event-blue), #6bb6ff);
  color: white;
  padding: 12px 20px;
  margin: 1rem 0;
  font-size: 1.1rem;
  word-wrap: break-word;
  border-radius: 6px;
}

h4 {
  font-size: 1rem;
  margin: 15px 0 10px 0;
  color: var(--text-dark);
  border-bottom: 2px solid var(--event-blue);
  padding-bottom: 5px;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ユーティリティクラス */
.att {
  color: #F00;
  font-weight: bold;
}

.caution {
  color: #F00;
  font-weight: bold;
  text-align: center;
}

.center {
  text-align: center;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

/* コンパクトな情報表示 */
.compact-info {
  background: var(--light-blue-bg);
  padding: 15px 20px;
  border-radius: 6px;
  margin: 15px 0;
}

.compact-info h4 {
  margin: 0 0 10px 0;
  border: none;
  color: var(--event-blue);
  font-size: 1rem;
}

.compact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.info-item {
  display: flex;
  flex-direction: column;
  background: white;
  padding: 15px 18px;
  border-radius: 6px;
  border-left: 4px solid var(--event-blue);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 8px;
}

.info-item.full-width {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.info-label {
  font-weight: bold;
  font-size: 0.9rem;
  color: var(--event-blue);
  margin-bottom: 8px;
}

.info-value {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* スケジュール表示の改善 */
.schedule-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.schedule-day {
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
}

.schedule-day h4 {
  margin: 0 0 15px 0;
  border: none;
  color: white;
  font-size: 1.1rem;
}

.schedule-day.event-blue-bg {
  background: linear-gradient(135deg, var(--event-blue), #6bb6ff);
}

.schedule-day.event-pink-bg {
  background: linear-gradient(135deg, var(--event-pink), #f48fb1);
}

/* 旅行契約セクションの強調 */
.travel-contract {
  border: 2px solid var(--leaf-green);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(135deg, #f1f8e9, white);
  position: relative;
}

.travel-contract-header {
  position: relative;
}

.contract-notice {
  background: var(--leaf-green);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 10px;
}

.contract-notice i {
  font-size: 1.1rem;
}

/* セクション別カラーリング */
#taikai .compact-info-grid .info-item {
  border-left-color: var(--event-blue);
}

#taikai .info-label {
  color: var(--event-blue);
}

#kouryu h3 {
  background: linear-gradient(135deg, var(--event-orange), #ffb74d);
}

#kouryu .compact-info-grid .info-item {
  border-left-color: var(--event-orange);
}

#kouryu .info-label {
  color: var(--event-orange);
}

#kengaku h3 {
  background: linear-gradient(135deg, var(--event-pink), #f48fb1);
}

#kengaku .compact-info-grid .info-item {
  border-left-color: var(--event-pink);
}

#kengaku .info-label {
  color: var(--event-pink);
}

/* ボタンスタイル */
.apply-button {
  text-align: center;
  margin: 40px 0;
}

a.btn_gb {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  width: 80%;
  max-width: 400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 30px;
  background: linear-gradient(135deg, #dc143c, #ff6b6b);
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

a.btn_gb:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

/* リストスタイル */
.list li {
  list-style: none;
  margin-bottom: 0.5em;
  word-wrap: break-word;
}

.list li:before {
  content: "※";
  margin-right: 0.3em;
}

.decimal li {
  list-style: decimal;
  list-style-position: outside;
  margin-left: 1.5em;
  margin-bottom: 0.5em;
}

.disc li {
  list-style: disc;
  margin-left: 1.5em;
  margin-bottom: 0.5em;
}

/* その他のスタイル */
.organizer-list {
  list-style: none;
  padding-left: 0;
}

.organizer-list li {
  margin-bottom: 6px;
  padding-left: 1em;
  position: relative;
}

.organizer-list li:before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--event-blue);
  font-weight: bold;
}

.time-list {
  list-style: none;
  padding-left: 0;
}

.time-list li {
  margin-bottom: 6px;
  padding-left: 1em;
  line-height: 1.5;
  position: relative;
}

.time-list li:before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--flower-yellow);
}

.note {
  font-size: 0.85rem;
  color: #666;
  font-weight: normal;
}

.notice {
  background: linear-gradient(135deg, #fff3e0, #ffecb3);
  border-left: 4px solid var(--event-orange);
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.price {
  font-weight: bold;
  color: var(--event-pink);
}

/* お問い合わせセクション */
#contact {
  padding-top: 50px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.company-logo {
  flex: 0 0 300px;
  text-align: center;
}

.company-logo img {
  max-width: 100%;
  height: auto;
}

.company-details {
  flex: 1;
  min-width: 300px;
}

.company-details h3 {
  background: none;
  color: var(--text-dark);
  padding: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.desk-name {
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--event-blue);
}

.contact-details p {
  margin-bottom: 8px;
}

.contact-notes {
  margin: 20px 0;
}

.manager-info {
  border: 1px solid var(--event-blue);
  padding: 15px;
  margin: 20px 0;
  border-radius: 6px;
  background: var(--light-blue-bg);
}

.privacy-info h4 {
  font-size: 1.1rem;
  margin: 20px 0 10px 0;
  color: var(--text-dark);
  border-bottom: 2px solid var(--event-blue);
  padding-bottom: 5px;
}

.legal-info {
  text-align: center;
  margin: 30px 0;
}

.legal-info p {
  margin-bottom: 10px;
}

#footer {
  clear: both;
  margin: 30px 0;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: var(--event-blue);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links img {
  max-height: 40px;
  width: auto;
}

/* ======================== */
/* タブレット対応 (768px以下) */
/* ======================== */
@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  #content, #flow, #contact {
    padding: 0 15px 15px;
  }
  
  #content {
    padding-top: 40px !important;
  }
  
  header {
    min-height: 180px;
  }
  
  h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    padding: 12px 15px;
  }
  
  h3 {
    font-size: 1rem;
    padding: 10px 15px;
  }
  
  .compact-info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .schedule-compact {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .info-item {
    padding: 12px 15px;
    margin-bottom: 6px;
  }
  
  a.btn_gb {
    width: 90%;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
  }
  
  .contact-info {
    flex-direction: column;
  }
  
  .company-logo {
    flex: none;
    order: -1;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* ======================== */
/* スマートフォン対応 (480px以下) */
/* ======================== */
@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
    line-height: 1.5;
  }
  
  #content, #flow, #contact {
    padding: 0 10px 10px;
  }
  
  #content {
    padding-top: 30px !important;
  }
  
  header {
    min-height: 150px;
  }
  
  h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding: 10px 12px;
  }
  
  h3 {
    font-size: 0.95rem;
    padding: 8px 12px;
    margin: 0.8rem 0;
  }
  
  .greeting {
    padding: 15px;
  }
  
  .compact-info {
    padding: 12px 15px;
  }
  
  .compact-info-grid {
    gap: 12px;
    margin: 15px 0;
  }
  
  .info-item {
    padding: 10px 12px;
    margin-bottom: 5px;
  }
  
  .info-label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  
  .info-value {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  a.btn_gb {
    width: 95%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
  
  .contact-details p {
    margin-bottom: 6px;
    font-size: 0.9rem;
  }
  
  .manager-info {
    padding: 12px;
    font-size: 0.9rem;
  }
  
  .list li {
    margin-bottom: 0.3em;
    line-height: 1.4;
  }
  
  .decimal li, .disc li {
    margin-left: 1.2em;
  }
  
  .time-list li {
    margin-bottom: 4px;
  }
  
  .organizer-list li {
    margin-bottom: 4px;
  }
  
  .travel-contract {
    padding: 15px;
  }
  
  .contract-notice {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ヘッダーメニュー */
.header-nav {
  background: linear-gradient(135deg, var(--event-blue), var(--soft-purple));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 15px 12px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin: 2px;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

/* ハンバーガーメニューボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--event-blue), var(--soft-purple));
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1002;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hamburger:hover {
  background: linear-gradient(135deg, #5ba3f5, #d081d8);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ハンバーガーメニューアクティブ時のアニメーション */
.hamburger.active {
  background: linear-gradient(135deg, #5ba3f5, #d081d8);
  transform: translateY(-50%) rotate(180deg);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ヘッダーナビゲーション */
.header-nav {
  background: linear-gradient(135deg, var(--event-blue), var(--soft-purple));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
  min-height: 60px; /* 最小高さを確保 */
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  width: 100%;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 15px 12px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin: 2px;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

/* ======================== */
/* タブレット対応 (768px以下) */
/* ======================== */
@media screen and (max-width: 768px) {
  .nav-container {
    padding: 0 15px;
    min-height: 50px;
  }
  
  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--event-blue), var(--soft-purple));
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    width: 100%;
    justify-content: flex-start;
  }
  
  .nav-menu.active {
    max-height: 450px;
  }
  
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .nav-menu a {
    padding: 16px 20px;
    font-size: 1rem;
    margin: 0;
    border-radius: 0;
    width: 100%;
  }
  
  .nav-menu a:hover {
    background: rgba(255,255,255,0.15);
    transform: none;
    padding-left: 25px;
  }
  
  .hamburger {
    display: flex;
  }
}

/* ======================== */
/* スマートフォン対応 (480px以下) */
/* ======================== */
@media screen and (max-width: 480px) {
  .nav-container {
    padding: 0 10px;
    min-height: 45px;
  }
  
  .hamburger {
    right: 15px;
    width: 45px;
    height: 45px;
  }
  
  .hamburger span {
    width: 22px;
    height: 2px;
    margin: 2px 0;
  }
  
  .nav-menu a {
    padding: 14px 15px;
    font-size: 0.95rem;
  }
  
  .nav-menu a:hover {
    padding-left: 20px;
  }
}

/* 極小画面対応 (320px以下) */
@media screen and (max-width: 320px) {
  .hamburger {
    right: 10px;
    width: 40px;
    height: 40px;
  }
  
  .hamburger span {
    width: 20px;
    height: 2px;
  }
  
  .nav-menu a {
    padding: 12px 12px;
    font-size: 0.9rem;
  }
}

