/* ===== リセット・ベース ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #1e2d3d;
  line-height: 1.8;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

/* ===== 共通レイアウト ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: #f0f5fa;
}

.section__eyebrow {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #1a5c8a;
  margin-bottom: 10px;
}

.section__eyebrow--left {
  text-align: left;
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #1e2d3d;
  padding-bottom: 0;
  margin-bottom: 0;
}

.section__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, #1a5c8a, #4a9fd4);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section__lead {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 48px;
  color: #6b7a8d;
  font-size: 0.95rem;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 16px 44px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  letter-spacing: 0.05em;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.btn--primary {
  background: linear-gradient(135deg, #1a5c8a 0%, #2980b9 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(26, 92, 138, 0.35);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 92, 138, 0.45);
}

.btn--full {
  display: block;
  width: 100%;
  text-align: center;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0);
  box-shadow: none;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.header.is-scrolled {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  gap: 16px;
}

.header__tel a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: color 0.35s;
}

.header.is-scrolled .header__tel a {
  color: #1a5c8a;
  text-shadow: none;
}

.header__tel-icon {
  font-size: 1rem;
}

.header__tel-num {
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.header__logo a {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 92px;
  width: auto;
  display: block;
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__nav ul {
  display: flex;
  gap: 24px;
}

.header__nav a {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: color 0.35s, text-shadow 0.35s;
}

.header.is-scrolled .header__nav a {
  color: #333;
  font-weight: normal;
  text-shadow: none;
}

.header__nav a:hover {
  opacity: 0.75;
}

.header.is-scrolled .header__nav a:hover {
  color: #1a5c8a;
  opacity: 1;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== ヒーロー ===== */
.hero {
  margin-top: 0;
  min-height: 520px;
  padding: 200px 0 80px;
  background: linear-gradient(rgba(255,255,255,0.35), rgba(255,255,255,0.35)),
              url('../images/header.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* ===== 浮かぶバルーン ===== */
.balloon-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.balloon {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.35),
    0 10px 40px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  will-change: transform;
}

.balloon__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: opacity 0.6s ease;
}

.balloon--lg {
  width: 320px;
  height: 320px;
  left: 4%;
  top: 50%;
  margin-top: -160px;
}

.balloon--md {
  width: 170px;
  height: 170px;
  right: 6%;
  top: 12%;
}

.balloon--sm {
  width: 120px;
  height: 120px;
  right: 14%;
  bottom: 10%;
}

/* ===== シャボン玉アニメーション ===== */
.bubble-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.25) 20%,
    rgba(180, 220, 255, 0.18) 45%,
    rgba(255, 180, 230, 0.12) 70%,
    rgba(200, 240, 255, 0.06) 100%
  );
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 4px 4px 12px rgba(255, 255, 255, 0.5),
    inset -2px -2px 8px rgba(100, 180, 255, 0.2),
    0 2px 12px rgba(100, 160, 255, 0.1);
  animation: bubbleFloat linear forwards;
  will-change: transform, opacity;
}

.bubble::before {
  content: '';
  position: absolute;
  top: 14%;
  left: 18%;
  width: 28%;
  height: 16%;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  transform: rotate(-35deg);
  filter: blur(1.5px);
}

.bubble::after {
  content: '';
  position: absolute;
  bottom: 22%;
  right: 22%;
  width: 10%;
  height: 10%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  filter: blur(1px);
}

@keyframes bubbleFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 0.75; }
  100% { transform: translateY(var(--rise)) translateX(var(--drift)); opacity: 0; }
}

.hero__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1a5c8a;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(255,255,255,0.6);
}

.hero__sub {
  font-size: 1.05rem;
  color: #2d3e50;
  margin-bottom: 40px;
  line-height: 1.9;
}

/* ===== 自然デコレーション ===== */
.deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.deco svg {
  width: 100%;
  height: 100%;
}

/* 空・雲テーマ（サービスセクション） */
#services {
  background: linear-gradient(180deg,
    #c8e6f7 0%,
    #daeefa 25%,
    #edf6fc 55%,
    #f8fbff 80%,
    #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* 森林テーマ（対応車両セクション） */
#vehicle {
  background: linear-gradient(180deg,
    #e8f5e9 0%,
    #d4edda 30%,
    #e8f5e9 70%,
    #f0f9f1 100%);
  position: relative;
  overflow: hidden;
}

/* 虹・空テーマ（お問い合わせセクション） */
#contact {
  background: linear-gradient(180deg,
    #dbeafe 0%,
    #eff6ff 40%,
    #f8faff 100%);
  position: relative;
  overflow: hidden;
}

/* 事業者紹介 - 朝靄テーマ */
#about {
  background: linear-gradient(160deg,
    #e8edf4 0%,
    #edf2f7 40%,
    #f5f7fa 100%);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background:
    radial-gradient(ellipse 800px 180px at 30% 100%, rgba(160,200,160,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 600px 160px at 70% 100%, rgba(140,180,140,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* セクション間のウェーブ区切り */
#services::after,
#vehicle::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  clip-path: ellipse(55% 100% at 50% 100%);
  pointer-events: none;
}

/* ===== スクロール reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* デコレーション上にコンテンツを重ねる */
.section > .container {
  position: relative;
  z-index: 1;
}

/* ===== カード（サービス） ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.card {
  background: #fff;
  border-radius: 12px;
  border-top: 4px solid #1a5c8a;
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(26, 92, 138, 0.14);
}

.card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a5c8a;
}

.card__text {
  font-size: 0.875rem;
  color: #6b7a8d;
  line-height: 1.7;
}

/* ===== フィーチャーグリッド（対応車両） ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature-item {
  background: #fff;
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(26, 92, 138, 0.12);
}

.feature-item__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a5c8a;
  margin-bottom: 8px;
}

.feature-item__text {
  font-size: 0.85rem;
  color: #6b7a8d;
  line-height: 1.65;
}

/* ===== フロー ===== */
.flow-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.flow-left {
  min-width: 0;
}

.flow-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: block;
}

.section__title--left {
  text-align: left;
}

.section__title--left::after {
  margin: 16px 0 0;
}

.flow {
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
}

.flow__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 32px;
}

.flow__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #1a5c8a, #c5ddef);
}

.flow__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a5c8a, #2980b9);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(26, 92, 138, 0.35);
}

.flow__body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #1e2d3d;
  margin-top: 10px;
}

.flow__body p {
  font-size: 0.875rem;
  color: #6b7a8d;
}

/* ===== 事業者情報 ===== */
.about {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}

.about__photo {
  display: flex;
  justify-content: center;
}

.staff-photo-frame {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.9),
    0 0 0 12px rgba(26, 92, 138, 0.18),
    0 12px 40px rgba(26, 92, 138, 0.22);
}

.staff-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.staff-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about__desc p {
  color: #4a5568;
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.info-table th,
.info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.info-table tr:first-child th,
.info-table tr:first-child td {
  border-top: 1px solid #e2e8f0;
}

.info-table th {
  background: transparent;
  font-weight: 700;
  width: 130px;
  color: #1a5c8a;
}

.info-table td {
  color: #4a5568;
}

/* ===== お問い合わせ ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.contact-tel {
  background: linear-gradient(145deg, #1a5c8a, #2472a4);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(26, 92, 138, 0.3);
}

.contact-tel__label {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.contact-tel__num {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.contact-tel__hours {
  font-size: 0.82rem;
  opacity: 0.75;
}

/* ===== フォーム ===== */
.contact-form {
  background: #f8fafc;
  border-radius: 16px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #2d3e50;
}

.required {
  background: #e05252;
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #dde3ea;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: #1e2d3d;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a5c8a;
  box-shadow: 0 0 0 3px rgba(26, 92, 138, 0.1);
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  text-align: center;
  color: #1a5c8a;
  min-height: 1.4em;
}

/* ===== フッター ===== */
.footer {
  background: #0f2d45;
  color: #fff;
  text-align: center;
}

.footer__map {
  width: 100%;
  line-height: 0;
}

.footer__map iframe {
  display: block;
  width: 100%;
  height: 320px;
}

.footer__body {
  padding: 36px 20px;
}

.footer__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer__address {
  font-size: 0.87rem;
  opacity: 0.75;
  margin-bottom: 4px;
}

.footer__tel a {
  font-size: 1rem;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 14px;
  display: inline-block;
}

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 14px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .hero {
    padding: 160px 0 60px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .cards,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .flow-image {
    order: -1;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
  }

  .header__nav.is-open {
    display: block;
  }

  .header__nav ul {
    flex-direction: column;
    gap: 0;
  }

  .header__nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
  }

  .header__menu-btn {
    display: flex;
  }

  .header__tel-num {
    font-size: 0.85rem;
  }

  .balloon--lg {
    width: 130px;
    height: 130px;
    left: -20px;
    top: auto;
    margin-top: 0;
    bottom: 10%;
  }
  .balloon--md {
    width: 100px;
    height: 100px;
    right: -10px;
    top: 18%;
  }
  .balloon--sm { display: none; }
}
