@charset "UTF-8";

/* ===============================
   Base
================================ */
body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.8;
}

/* ===============================
   共通コンテナ幅
================================ */
.hero-section,
.hero-section2,
section {
  max-width: 900px;
  margin: 40px auto;
  box-sizing: border-box;
}

/* ===============================
   Section（白背景）
================================ */
section {
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
  color: #2196f3;
  margin-top: 0;
}

p {
  margin: 0.8em 0;
}

/* ===============================
   HERO（青い部分）
   ★ 他の section と完全に同じ幅
================================ */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 30px;                 /* section と同じ */
  background: linear-gradient(to right, #00AEEF, #00BCD4);
  color: #fff;

  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
}

/* タイトル下線 */
.section-title {
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 260px;
  height: 2px;
  background: #fff;
  margin-top: 20px;
}

/* ===============================
   Buttons
================================ */
.button-group {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.btn {
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  border: 3px solid #fff;
  transition: 0.2s;
}

.apply-btn {
  background: #ff7f32;
  color: #fff;
}

.detail-btn {
  background: #007bff;
  color: #fff;
}

.btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* ===============================
   GeoRouterの特徴（公式寄せ）
================================ */
.icon-container {
  display: flex;
  justify-content: space-around;   /* 自然な間隔 */
  align-items: flex-start;
  margin-top: 30px;
}

.icon-item {
  text-align: center;
  max-width: 180px;
}

.icon-item img {
  width: 90px;
  height: auto;
}

.icon-item p {
  margin-top: 8px;
}

/* ===============================
   Table（代理店制度の内容）
================================ */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th,
td {
  padding: 14px 16px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background: #2196f3;
  color: #fff;
  width: 30%;
}

/* ===============================
   Recommend（お問い合わせ）
================================ */
.recommend-section {
  text-align: center;
}

.contact-prompt h1 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* ===============================
   hero-section2（こんな方におすすめ）
================================ */
.hero-section2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding: 30px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* チェックマーク */
.hero-section2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-section2 li {
  position: relative;
  padding-left: 28px;
  line-height: 1.9;
}

.hero-section2 li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #4caf50;
  font-weight: bold;
}

.recommend-image img {
  max-width: 280px;
  width: 100%;
  height: auto;
}

/* ===============================
   Footer
================================ */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

footer a {
  color: #ff9800;
  text-decoration: none;
}

/* ===============================
   Mobile（iPhone）
================================ */
@media (max-width: 768px) {

  .hero-section,
  .hero-section2,
  section {
    margin: 20px 16px;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .hero-image {
    margin-top: 20px;
    text-align: center;
  }

  .hero-image img {
    max-width: 260px;
    margin: 0 auto;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .icon-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hero-section2 {
    flex-direction: column;
    text-align: center;
  }
}
