/* フィリピン留学の理由・セブとバギオの比較ページ */
.philippines-hero .guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.guide-links a {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 13px 19px;
  border: 1px solid #b6d6e3;
  border-radius: 6px;
  background: #ffffffb5;
  color: #123e53;
  font-size: 0.9rem;
  font-weight: 700;
}
.guide-links a:hover {
  background: white;
  border-color: #2187ac;
}
.guide-heading {
  max-width: 820px;
  margin-bottom: 32px;
}
.guide-heading p {
  color: #526979;
  line-height: 1.9;
  margin: 18px 0 0;
}
.study-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.study-reason {
  padding: 30px 28px;
  border-top: 3px solid #0785ae;
  background: #f2f8fb;
  border-radius: 0 0 8px 8px;
}
.study-reason__number,
.area-summary > span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #087fa6;
}
.study-reason h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.6;
  margin: 17px 0;
}
.study-reason p,
.area-summary p {
  font-size: 0.95rem;
  line-height: 1.95;
  margin: 0;
  color: #405d6b;
}
.guide-note {
  font-size: 0.85rem;
  line-height: 1.85;
  color: #5c707d;
  margin: 23px 0 12px;
}
.guide-text-link {
  display: inline-block;
  color: #067ba6;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.area-summaries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}
.area-summary {
  padding: 27px 30px;
  border: 1px solid #d6e5ec;
  background: white;
  border-radius: 8px;
}
.area-summary h3 {
  font-size: 1.35rem;
  margin: 12px 0 15px;
  line-height: 1.6;
}
.area-comparison {
  border: 1px solid #c9dde6;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.area-comparison table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.93rem;
  line-height: 1.9;
}
.area-comparison caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.area-comparison th,
.area-comparison td {
  text-align: left;
  vertical-align: top;
  padding: 22px 24px;
  border-bottom: 1px solid #d7e4eb;
  overflow-wrap: anywhere;
}
.area-comparison thead th {
  background: #123e53;
  color: white;
  font-size: 1rem;
}
.area-comparison th:first-child {
  width: 23%;
}
.area-comparison tbody th {
  background: #f0f7fa;
  color: #244d61;
}
.area-comparison td {
  color: #405d6b;
  border-left: 1px solid #d7e4eb;
}
.area-comparison tr:last-child > * {
  border-bottom: 0;
}
.guide-consultation {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: #edf7fb;
  border-radius: 12px;
}
.guide-consultation h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.6;
  margin: 16px 0;
}
.guide-consultation p {
  color: #405d6b;
  line-height: 1.9;
  margin: 0;
}
.guide-consultation__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.guide-sources {
  margin-top: 30px;
  font-size: 0.82rem;
  color: #5c707d;
  line-height: 1.9;
}
.guide-sources summary {
  cursor: pointer;
  width: fit-content;
  font-weight: 700;
}
.guide-sources a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .study-reasons {
    gap: 14px;
  }
  .study-reason {
    padding: 23px 18px;
  }
  .guide-consultation {
    align-items: flex-start;
    flex-direction: column;
  }
  .guide-consultation__links {
    align-items: flex-start;
  }
  .area-comparison th,
  .area-comparison td {
    padding: 18px;
  }
}
@media (max-width: 600px) {
  .philippines-hero h1 {
    font-size: clamp(1.65rem, 6vw, 2rem);
    line-height: 1.65;
  }
  .philippines-hero p {
    font-size: 0.92rem;
  }
  .guide-links {
    flex-direction: column;
  }
  .guide-links a {
    font-size: 0.84rem;
  }
  .study-reasons,
  .area-summaries {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .study-reason {
    padding: 25px;
  }
  .area-summary {
    padding: 25px;
  }
  .area-comparison table {
    font-size: 0.81rem;
    line-height: 1.85;
  }
  .area-comparison thead th {
    font-size: 0.88rem;
  }
  .area-comparison th:first-child {
    width: 25%;
  }
  .area-comparison th,
  .area-comparison td {
    padding: 15px 10px;
  }
  .guide-consultation {
    padding: 28px 24px;
  }
  .guide-consultation p br,
  .guide-heading p br {
    display: none;
  }
}
