@charset "utf-8";

/* ============================================================
   ページヘッダー（contact.cssと同構造・画像パスのみ変更）
============================================================ */
#page-header {
  width: 100%;
  height: 300px;
  background-image: url(../contact/img/topimg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-header__logo {
  position: absolute;
  top: 32px;
  left: 48px;
  z-index: 2;
}

.page-header__logo img {
  width: 120px;
  height: auto;
  display: block;
}

.page-header__inner {
  padding: 0 48px;
  margin-top: 120px;
}

.page-header__title {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 48px;
  color: #03407a;
  margin: 0 0 8px;
  line-height: 1.2;
}

.page-header__sub {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.page-header__sub-text {
  font-size: 22px;
  font-weight: 400;
  color: #333;
  line-height: 1;
}

.page-header__sub-line {
  display: block;
  width: 200px;
  height: 2px;
  background-color: #03407a;
  flex-shrink: 0;
}


/* ============================================================
   ラジオボタン
============================================================ */
.contact__radios {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 10px;
}

.contact__radios--inline {
  flex-direction: row;
  gap: 24px;
}

.contact__radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

.contact__radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #03407a;
  cursor: pointer;
  flex-shrink: 0;
}


/* ============================================================
   生年月日セレクト
============================================================ */
.contact__birthdate {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  flex-wrap: wrap;
}

.contact__select {
  height: 44px;
  padding: 0 10px;
  font-size: 15px;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background-color: #fff;
  border: 1px solid #c8d4e0;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.contact__select:focus {
  border-color: #03407a;
}

.contact__select:first-of-type {
  width: 90px;
}

.contact__select:nth-of-type(2),
.contact__select:nth-of-type(3) {
  width: 72px;
}

.contact__birthdate-sep {
  font-size: 15px;
  color: #333;
}


/* ============================================================
   SP対応（1024px以下）
============================================================ */
@media (max-width: 1024px) {

  #page-header {
    height: 160px;
  }

  .page-header__inner {
    padding: 0 20px;
    margin-top: 40px;
  }

  .page-header__title {
    font-size: 28px;
  }

  .page-header__sub-text {
    font-size: 16px;
  }

  .page-header__sub-line {
    width: 80px;
  }

  .page-header__logo {
    display: none;
  }

  .contact__radios {
    padding-top: 0;
  }

  .contact__radios--inline {
    flex-direction: row;
  }

  .contact__birthdate {
    padding-top: 0;
  }

} /* end @media 1024px */