/* ===============================
   全体
=============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 15px 40px;
}

.section {
  margin-bottom: 40px;
}

h1 { font-size: 1.8rem; margin-bottom: 20px; }
h2 { font-size: 1.4rem; margin-bottom: 10px; }
h3 { font-size: 1.1rem; margin: 15px 0 5px; }

/* ===============================
   トップページ：スライドショー
=============================== */
.page-home .hero {
  position: relative;
}

.center-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.4;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  z-index: 10;
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider .slide {
  display: none;
  position: relative;
}

.hero-slider .slide.active {
  display: block;
}

.hero-slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 30px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size:medium;
}

/* ===============================
   共通 UI：component-row / column / card
=============================== */
/* 横並び : 自動で1〜3列に変化
=============================== */
.component-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* 縦並び */
.component-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 50px auto;
  max-width: 700px;
  padding: 0 20px;
}

/* カード全体の見た目を整える（任意） */
.component-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.component-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

.component-card img {
  width: 100%;
  aspect-ratio: 4 / 3;   /* ← 画像比率を統一 */
  object-fit: cover;     /* ← 綺麗に切り抜く */
  border-radius: 10px;   /* ← 高級感 */
}


/* ===============================
   会社概要
=============================== */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.about-photo img {
  width: 550px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-info {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.about-info dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.about-info dt,
.about-info dd {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
}

.about-info dt {
  background: #e3f2fd;
  font-weight: bold;
  color: #1565c0;
}

.about-info dd {
  background: #fff;
  color: #333;
}

.about-info dl dt:last-of-type,
.about-info dl dd:last-of-type {
  border-bottom: none;
}

/* ===============================
   旅行関連
=============================== */
/* ★ ヒーロー */
.travel-hero {
  width: 100%;
  height: 450px;
  background: url('../gallery/hero.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.travel-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ★ セクション共通 */
.travel-section {
  padding: 40px 20px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.section-desc {
  margin-bottom: 20px;
  color: #444;
  line-height: 1.7;
}

/* ★ 背景色 */
.section-fit {background: #f5f9ff;}
.section-group {background: #eef7ff;}
.section-experience {background: #f9f9f9;}
.section-activity {background: #f0f7ff;}

/* ===============================
事業内容
=============================== */

/* カードの色味を水色×淡金に変更 */
.page-services .component-card {
  border: 1.5px solid #c8d9f0; /* 淡い青金 */
  background: #ffffff;
  padding: 24px 26px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: 0.25s ease;
}

.page-services .component-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* タイトル（青）＋淡金ライン */
.page-services .component-card h2 {
  color: #1565c0;
  font-weight: 600;
  border-bottom: 2px solid #bfa76f; /* 淡ゴールド */
  padding-bottom: 6px;
  margin-bottom: 14px;
}

/* 小見出し（青） */
.page-services .component-card h3 {
  color: #1565c0;
  margin-top: 18px;
  margin-bottom: 8px;
}

/* リストのマーカーを淡ゴールドに */
.page-services .component-card ul li::marker {
  color: #bfa76f;
}

/* セクション背景（既存の旅行ページと統一） */
.page-services .section-fit { background: #f5f9ff; }
.page-services .section-group { background: #eef7ff; }
.page-services .section-activity { background: #f0f7ff; }

/* ページタイトル */
.page-services h1 {
  text-align: center;
  font-size: 2.2rem;
  margin: 40px 0 25px;
  color: #1565c0;
}

/* 代表者のメッセージ */
.page-message {
  margin-left: 20px;
  margin-right: 20px;
}
/* ===============================
   Contact フォーム
=============================== */
.page-contact .section {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.contact-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 700;
  color: #0d47a1;
}

.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: #e3f2fd;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  font-weight: 600;
  color: #0d47a1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #90caf9;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
}

.contact-form button {
  background: #1e88e5;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.2s;
}

.contact-form button:hover { background: #1565c0;}

/* ===============================
   フッター
=============================== */
.site-footer {
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  color: #555;
  background: #f5f9ff;
  border-top: 1px solid #d0e3ff;
}

/* ===============================
   スマホ版（768px 以下）
=============================== */
@media (max-width: 768px) {
  
  /*スライドショー*/
  .center-copy {
    position: absolute;
    top: 45%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    line-height: 1.0;
    max-width: 90%;
    text-align: center;
    color: #fff;
  }

  .hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }

  .hero-slider img {
    width: 100%; 
    height: auto;
    object-fit: cover;
    display: block;
  }
  .slide-caption {
    bottom: 5px;
    padding: 6px 10px;
    font-size:x-small;
  }
  
  .contact-form {
    padding: 20px;
    max-width: 100%;
  }
}

/* ===============================
   PC（769px 以上）
=============================== */
@media (min-width: 769px) {
  .smartphone-nav-menu-toggle {
    display: none !important;
  }

  /* PC版だけ component-card の画像を切らない */
  .component-card img {
    height: 260px;
    object-fit: contain;
    background-color: #fff;
  }
}