/* ==========================================================================
   ユニバーサル ツーリズム セミナー LP
   ========================================================================== */

:root {
  --color-green: #3b8d3e;
  --color-brown: #8d693b;
  --color-cream: #fcefd2;
  --color-divider: #eedcb1;
  --color-dark: #251e1c;
  --color-text: #000;
  --content-width: 1366px;
  --container-width: 1000px;
  --font-family: 'Noto Sans JP', sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

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

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

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 183px;
}

section[id] {
  scroll-margin-top: 100px;
}

/* ---------- Button ---------- */
.btn {
  display: inline-block;
  width: 430px;
  max-width: 100%;
  padding: 18px 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 22px;
  line-height: 35px;
  text-align: center;
  color: #fff;
}

.btn--green {
  background: var(--color-green);
  transition: background 0.2s ease;
}

.btn--green:hover,
.btn--green:focus-visible {
  background: linear-gradient(to top, #3b8d3e 0%, #51d654 74.519%);
}

.btn--brown {
  background: var(--color-brown);
  width: 306px;
  font-size: 20px;
  padding: 9px 0;
  transition: background 0.2s ease;
}

.btn--brown:hover,
.btn--brown:focus-visible {
  background: linear-gradient(to bottom, #8d693b 0%, #60482a 100%);
}

/* ---------- Phrase ---------- */
/* 文節単位のまとまり。改行が語の途中で起きず、phrase同士の境目でのみ折り返す */
.phrase {
  display: inline-block;
}

/* ---------- Section heading ---------- */
.section-heading {
  margin: 0 0 56px;
  text-align: center;
}

.section-heading__title {
  display: block;
  font-weight: 700;
  font-size: 32px;
}

.section-heading__line {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 8px;
}

.section-heading__line::before,
.section-heading__line::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 8px;
}

.section-heading__line::before {
  background: var(--color-green);
}

.section-heading__line::after {
  background: var(--color-brown);
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  background: var(--color-cream);
}

.header__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 46px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.header__logo {
  font-weight: 900;
  font-size: 28px;
  color: var(--color-green);
  white-space: nowrap;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.header__nav-link {
  display: inline-block;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--color-text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.header__nav-link--current {
  font-weight: 500;
  color: var(--color-green);
  border-bottom-color: var(--color-green);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: #fff;
  padding-top: 118px;
}

.hero__eyebrow {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}

.hero__title {
  margin: 2px 0 0;
  font-weight: 900;
  font-size: 62px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-green);
  text-align: center;
  word-break: keep-all; /* 語の途中ではなくスペース位置で折り返す */
}

.hero__subtitle {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 46px;
  color: var(--color-brown);
  text-align: center;
}

.hero__divider {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: 3px;
  margin: 34px auto 26px;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  margin: 0 auto;
  gap: 24px;
}

.hero__meta-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__meta-item--venue {
  align-items: flex-start;
}

.hero__meta-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero__meta-text {
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
}

.hero__meta-text-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__meta-sub {
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
}

.hero__badge-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.hero__badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 20px;
}

.hero__badge-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__badge-label {
  position: relative;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
}

.hero__badge-label--online {
  left: -3px;
}

.hero__badge-capacity {
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
}

.hero__row {
  display: flex;
  align-items: flex-start;
  gap: 55px;
  margin-top: 60px;
  padding-bottom: 89px;
}

.hero__text {
  flex: 1 1 611px;
  min-width: 0;
}

.hero__paragraph {
  font-weight: 500;
  font-size: 18px;
  line-height: 35px;
  letter-spacing: -0.3px;
}

.hero__paragraph + .hero__paragraph {
  margin-top: 35px;
}

.hero__photo {
  flex: 0 0 334px;
  width: 334px;
  height: 250px;
  object-fit: cover;
}

/* ==========================================================================
   Programs
   ========================================================================== */

.programs {
  background: #fff;
  padding-bottom: 140px;
}

.programs__banner {
  position: relative;
  width: 800px;
  max-width: 100%;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.programs__banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.programs__banner-text {
  position: relative;
  padding: 17px 40px;
  font-weight: 700;
  font-size: 26px;
  line-height: 35px;
  color: #fff;
  text-align: center;
}

.programs__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 61px;
}

.program-card {
  position: relative;
  background: var(--color-cream);
  border: 3px solid var(--color-dark);
  box-shadow: 4px 4px 0 0 var(--color-dark);
  padding: 16px 8px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.program-card__mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 39px;
  height: 39px;
}

.program-card__icon {
  height: 90px;
  width: auto;
  object-fit: contain;
  margin-top: 16px;
}

.program-card__title {
  margin: 14px 0 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
}

.program-card__desc {
  margin-top: 7px;
  font-weight: 500;
  font-size: 17px;
  line-height: 29px;
}

/* ==========================================================================
   Documents / Entry / Contact (shared band sections)
   ========================================================================== */

.documents,
.contact {
  background: var(--color-cream);
  padding: 131px 0 120px;
  text-align: center;
}

.entry {
  background: #fff;
  padding: 131px 0 120px;
  text-align: center;
}

.documents__text {
  font-weight: 500;
  font-size: 18px;
  line-height: 35px;
  margin-bottom: 36px;
}

.documents__text--list-intro {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.entry__text {
  font-weight: 500;
  font-size: 18px;
  line-height: 35px;
  margin-bottom: 36px;
}

.contact .section-heading {
  margin-bottom: 72px;
}

.contact__note {
  margin-top: 44px;
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  color: #555;
}

/* ---------- Entry box ---------- */
.entry__box {
  max-width: 810px;
  margin: 0 auto;
  background: #fff;
  border: 8px solid var(--color-green);
  padding: 42px 40px 45px;
}

.entry__option {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

.entry__option-title {
  font-weight: 700;
  font-size: 26px;
  line-height: 34px;
  color: var(--color-green);
}

.entry__option-capacity {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
}

.entry__divider {
  width: 100%;
  max-width: 645px;
  height: 3px;
  margin: 20px auto;
}

.entry__note {
  margin-top: 2px;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
}

.entry__box .btn {
  margin-top: 27px;
}

.entry__deadline {
  margin-top: 27px;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
}

/* ==========================================================================
   Download（資料ダウンロードページ）
   ========================================================================== */

.download {
  background: var(--color-cream);
  margin-top: 118px;
  padding: 131px 0 120px;
  text-align: center;
}

.download .documents__text {
  margin-bottom: 56px;
}

.download__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.download__item--featured {
  margin-bottom: 10px;
}

.download__link {
  display: inline-block;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #1155cc;
  text-decoration: underline;
}

.download__link:hover,
.download__link:focus-visible {
  color: var(--color-green);
}

.download__link--featured {
  font-weight: 700;
  font-size: 20px;
  color: #1155cc;
}

.download__link--featured:hover,
.download__link--featured:focus-visible {
  color: var(--color-brown);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #fff;
  margin-top: 120px;
  border-top: 1px solid var(--color-green);
  padding: 68px 0 97px;
  text-align: center;
}

.footer__title {
  font-weight: 700;
  font-size: 16px;
}

.footer__subtitle {
  margin-top: 4px;
  font-weight: 400;
  font-size: 13px;
  color: #555;
}

.footer__organizer {
  margin-top: 22px;
  font-weight: 400;
  font-size: 13px;
  color: #555;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---------- タブレットサイズ：2カラム構成を縦積みに切り替え ---------- */
@media (max-width: 1341px) {
  .hero__row {
    flex-direction: column;
    gap: 32px;
  }

  .hero__text {
    flex-basis: auto;
  }

  .hero__photo {
    width: 100%;
    flex-basis: auto;
    height: auto;
    aspect-ratio: 334 / 250;
  }

  .programs__list {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ---------- 768px以下をスマホレイアウト ---------- */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header__inner {
    padding: 16px 20px;
    height: auto;
    justify-content: center;
    text-align: center;
  }

  /* 狭い画面ではロゴを改行可能にする（語の途中ではなくスペース位置で折り返す） */
  .header__logo {
    white-space: normal;
    word-break: keep-all;
  }

  .header__nav-list {
    gap: 16px 24px;
    justify-content: center;
  }

  .hero {
    padding-top: 48px;
  }

  .hero__eyebrow {
    font-size: 16px;
  }

  .hero__title {
    font-size: 34px;
    letter-spacing: -0.02em;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
  }

  .hero__row {
    margin-top: 40px;
    padding-bottom: 56px;
  }

  .hero__paragraph br {
    display: none;
  }

  .programs {
    padding-bottom: 72px;
  }

  .programs__banner-text {
    font-size: 18px;
    padding: 14px 20px;
  }

  .programs__list {
    max-width: 320px;
  }

  .documents,
  .entry,
  .contact,
  .download {
    padding: 56px 0;
  }

  .download {
    margin-top: 48px;
  }

  .download .documents__text {
    margin-bottom: 32px;
  }

  .download__link--featured {
    font-size: 18px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading__title {
    font-size: 24px;
  }

  .contact .section-heading {
    margin-bottom: 32px;
  }

  .entry__box {
    padding: 28px 20px 32px;
  }

  .entry__option {
    flex-direction: column;
    gap: 4px;
  }

  .entry__option-title {
    font-size: 20px;
  }

  .btn {
    width: 100%;
  }

  .btn--brown {
    width: 100%;
  }

  .footer {
    margin-top: 56px;
    padding: 40px 0 56px;
  }
}
