@charset "utf-8";

/* ===================================
   mailform.css 代替スタイル
=================================== */
#mail_form dl {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #E8E8E8;
}
#mail_form dl:last-of-type { border-bottom: none; }

#mail_form dt {
  width: 200px;
  min-height: 52px;
  padding: 16px 16px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  background: #F0F8FB;
  border-left: 3px solid #0085B2;
  box-sizing: border-box;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
#mail_form dt i { display: none; }

#mail_form dd {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  margin: 0;
  background: #FFF;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* テキスト・メール・TEL入力 */
#mail_form dd input[type="text"],
#mail_form dd input[type="email"],
#mail_form dd input[type="tel"],
#mail_form dd textarea {
  padding: 10px 12px;
  border: 1.5px solid #CCC;
  border-radius: 5px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  background: #FAFAFA;
  transition: border-color 0.2s, box-shadow 0.2s;
  max-width: 100% !important;
}
#mail_form dd input[type="text"],
#mail_form dd input[type="email"],
#mail_form dd input[type="tel"] { width: 100%; }
#mail_form dd textarea { width: 100%; resize: vertical; }

/* 姓名・半角入力用 */
#mail_form dd input.input_half {
  width: calc(50% - 8px);
}

/* 郵便番号 */
#mail_form dd input.input_zip { width: 150px; }

/* フォーカス */
#mail_form dd input:focus,
#mail_form dd textarea:focus {
  border-color: #0085B2;
  outline: none;
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(0,133,178,0.13);
}

/* ラジオ・チェックボックス */
#mail_form dd ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  width: 100%;
}
#mail_form dd ul li { list-style: none; }
#mail_form dd label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  font-weight: normal;
}
#mail_form dd label input[type="radio"],
#mail_form dd label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0085B2;
  cursor: pointer;
  flex-shrink: 0;
}

/* 郵便番号検索リンク */
.zip_link {
  font-size: 13px;
  color: #0085B2;
  text-decoration: none;
  white-space: nowrap;
}
.zip_link:hover { text-decoration: underline; }

/* フォームフッター */
.form_notice {
  font-size: 13px;
  color: #777;
  text-align: center;
  margin: 20px 0 8px !important;
  padding: 0 !important;
}
.form_notice a { color: #0085B2; }

#mail_form p#form_submit {
  text-align: center;
  margin: 8px 0 0;
  padding: 0;
}
#form_submit_button {
  display: inline-block;
  background: #0085B2;
  color: #FFF;
  border: none;
  border-radius: 50px;
  padding: 17px 70px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s, transform 0.15s;
  font-family: inherit;
}
#form_submit_button:hover {
  background: #00698F;
  transform: translateY(-2px);
}

/* ===================================
   ヒーローセクション
=================================== */
.saiyou_hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.hero_slider { position: absolute; inset: 0; }
.hero_slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.3s ease;
}
.hero_slide.active { opacity: 1; }
.hero_overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.75) 100%);
  z-index: 1;
}
.hero_content {
  position: absolute;
  bottom: 11%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: #FFF;
  width: 90%;
  max-width: 700px;
}
.hero_label {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  letter-spacing: .4em;
  color: rgba(255,255,255,.72);
  margin: 0 0 13px;
  display: block;
}
.hero_title {
  font-family: "ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","游明朝",YuMincho,"Sawarabi Mincho",serif;
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: normal;
  line-height: 1.45;
  letter-spacing: .08em;
  margin: 0 0 13px;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.hero_sub {
  font-size: 16px;
  letter-spacing: .1em;
  margin: 0 0 20px;
  opacity: .92;
}
.hero_tags {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 8px; margin: 0 0 28px;
}
.hero_tags span {
  background: rgba(0,133,178,.82);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  letter-spacing: .04em;
}
.hero_btn {
  display: inline-block;
  background: #0085B2; color: #FFF;
  text-decoration: none;
  padding: 14px 44px;
  border-radius: 50px;
  font-size: 16px; font-weight: bold;
  letter-spacing: .1em;
  border: 2px solid #0085B2;
  transition: all .3s;
}
.hero_btn:hover { background: transparent; color: #FFF; border-color: #FFF; text-decoration: none; }
.hero_btn i { margin-left: 8px; }
.hero_dots {
  position: absolute; bottom: 20px;
  left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; gap: 10px;
}
.hero_dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.38);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.hero_dots .dot.active { background: #FFF; transform: scale(1.35); }

/* ===================================
   共通セクション見出し
=================================== */
.section_head { text-align: center; padding: 54px 20px 34px; }
.section_label {
  font-family: 'Raleway', sans-serif;
  font-size: 11px; letter-spacing: .4em;
  color: #0085B2; display: block; margin: 0 0 6px;
}
.section_title {
  font-family: "ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","游明朝",YuMincho,"Sawarabi Mincho",serif;
  font-size: clamp(22px, 3.2vw, 33px);
  color: #003366; font-weight: normal;
  letter-spacing: .05em;
  margin: 0; padding: 0;
  display: block;
  border-bottom: none !important;
  background: none !important;
  border-radius: 0 !important;
  line-height: 1.4;
}
.section_title::after {
  content: ''; display: block;
  width: 42px; height: 3px;
  background: #0085B2;
  margin: 13px auto 0;
}
.section_desc {
  font-size: 15px; color: #555; line-height: 1.8;
  margin: 14px auto 0 !important; padding: 0 !important;
  max-width: 600px;
}

/* ===================================
   ハイライト帯
=================================== */
.highlight_section { background: #002855; padding: 0; }
.hl_inner { display: flex; max-width: 1100px; margin: 0 auto; }
.hl_card {
  flex: 1; text-align: center;
  padding: 36px 14px; color: #FFF;
  border-right: 1px solid rgba(255,255,255,.11);
  transition: background .3s;
}
.hl_card:last-child { border-right: none; }
.hl_card:hover { background: rgba(0,133,178,.22); }
.hl_icon { font-size: 25px; color: #4DB8D8; margin-bottom: 7px; }
.hl_label { font-size: 11px; letter-spacing: .2em; opacity: .62; margin-bottom: 7px; }
.hl_value { font-size: clamp(16px,1.9vw,23px); font-weight: bold; letter-spacing: .04em; margin-bottom: 4px; }
.hl_value span { font-size: 14px; font-weight: normal; }
.hl_note { font-size: 11px; opacity: .58; }

/* ===================================
   ギャラリー
=================================== */
.gallery_section { background: #F4F4F4; padding-bottom: 54px; }
.gallery_grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: auto auto;
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto; padding: 0 16px;
}
.gallery_item { position: relative; overflow: hidden; background: #111; line-height: 0; }
.gallery_item.large { grid-column: span 2; grid-row: span 2; }
.gallery_item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease, opacity .3s;
  opacity: .87; min-height: 175px;
}
.gallery_item.large img { min-height: 350px; }
.gallery_item:hover img { transform: scale(1.05); opacity: 1; }
.gallery_caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #FFF; font-size: 12px;
  padding: 26px 12px 9px;
  opacity: 0; transition: opacity .3s; line-height: 1.4;
}
.gallery_item:hover .gallery_caption { opacity: 1; }

/* ===================================
   魅力セクション（固定）
=================================== */
.appeal_section { background: #002855; padding-bottom: 56px; }
.appeal_section .section_title { color: #FFF; }
.appeal_section .section_label { color: #4DB8D8; }
.appeal_inner { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.appeal_grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.appeal_item { text-align: center; color: #FFF; }
.appeal_icon {
  width: 58px; height: 58px;
  background: rgba(255,255,255,.13);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 22px;
}
.appeal_item h3 {
  font-size: 14px; font-weight: bold; margin: 0 0 8px;
  color: #FFF; line-height: 1.4;
  font-family: "游ゴシック","Yu Gothic",YuGothic,sans-serif;
  /* h3 の既存スタイルをリセット */
  background: none !important; border-radius: 0 !important;
  padding: 0 !important; border: none !important;
}
.appeal_item h3::after { display: none !important; }
.appeal_item p {
  font-size: 13px; line-height: 1.7; opacity: .82;
  margin: 0 !important; padding: 0 !important;
  color: rgba(255,255,255,.82);
}

/* ===================================
   募集要項テーブル
=================================== */
.detail_section { background: #FFF; padding-bottom: 56px; }
.detail_inner { max-width: 940px; margin: 0 auto; padding: 0 20px; }
.detail_table { width: 100%; border-collapse: collapse; margin-bottom: 0; }
.detail_table tr { border-bottom: 1px solid #E8E8E8; }
.detail_table tr:last-child { border-bottom: none; }
.detail_table th {
  width: 190px; padding: 20px 16px;
  font-size: 14px; font-weight: bold; color: #0085B2;
  vertical-align: top; white-space: nowrap;
  background: #F0F8FB; border-right: 3px solid #0085B2;
}
.detail_table th i { margin-right: 6px; }
.detail_table td {
  padding: 20px 20px; font-size: 15px;
  line-height: 1.8; color: #333; vertical-align: top;
}
.highlight_text { color: #C94000; font-size: 20px; }
.note_text { font-size: 13px; color: #888; }
.check_list { padding: 0; margin: 0; }
.check_list li {
  padding: 3px 0 3px 24px; position: relative;
  list-style: none; font-size: 15px;
}
.check_list li::before {
  content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
  position: absolute; left: 0; color: #0085B2; font-size: 13px; top: 5px;
}

/* ===================================
   応募フォームセクション
=================================== */
.form_section { background: #E8EFF3; padding-bottom: 64px; }
.form_wrap { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.form_card {
  background: #FFF; border-radius: 10px;
  box-shadow: 0 4px 22px rgba(0,0,0,.09);
  padding: 42px 44px 44px;
}

/* ===================================
   レスポンシブ
=================================== */
@media screen and (max-width: 960px) {
  .hl_inner { flex-wrap: wrap; }
  .hl_card {
    flex: 1 1 50%;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .hl_card:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.12); }
  .hl_card:nth-child(even) { border-right: none; }

  .gallery_grid { grid-template-columns: repeat(2,1fr); }
  .gallery_item.large { grid-column: span 2; }

  .appeal_grid { grid-template-columns: repeat(2,1fr); gap: 24px; }

  .detail_table th { width: 140px; font-size: 13px; padding: 16px 12px; }
  .detail_table td { padding: 16px; }

  .form_card { padding: 32px 28px 36px; }
  #mail_form dt { width: 160px; }
}

@media screen and (max-width: 640px) {
  .saiyou_hero { min-height: 500px; }
  .hero_title { font-size: 28px; }
  .hero_sub { font-size: 14px; }
  .hero_btn { padding: 12px 30px; font-size: 14px; }
  .hero_tags span { font-size: 12px; padding: 5px 13px; }

  .hl_card { flex: 1 1 100%; border-right: none; padding: 20px 14px; }

  .section_head { padding: 36px 14px 22px; }

  .gallery_grid { grid-template-columns: 1fr 1fr; padding: 0 6px; }
  .gallery_item img, .gallery_item.large img { min-height: 120px; }

  .appeal_grid { grid-template-columns: 1fr; gap: 20px; }
  .appeal_item { display: flex; align-items: flex-start; text-align: left; gap: 14px; }
  .appeal_icon { flex-shrink: 0; margin: 0; }

  /* テーブルをブロック表示に */
  .detail_table, .detail_table tbody,
  .detail_table tr, .detail_table th, .detail_table td { display: block; width: 100%; box-sizing: border-box; }
  .detail_table tr { margin-bottom: 12px; border: 1px solid #E0E0E0; border-radius: 6px; overflow: hidden; }
  .detail_table th { white-space: normal; border-right: none; padding: 10px 14px; font-size: 13px; }
  .detail_table td { padding: 12px 14px; background: #F9F9F9; border-top: none; }

  /* フォーム */
  .form_card { padding: 22px 14px 26px; border-radius: 8px; }
  #mail_form dl { display: block; }
  #mail_form dt {
    width: 100%; min-height: auto;
    padding: 9px 14px; font-size: 13px;
    border-radius: 0;
  }
  #mail_form dd { width: 100%; padding: 10px 14px; }
  #mail_form dd input[type="text"],
  #mail_form dd input[type="email"],
  #mail_form dd input[type="tel"],
  #mail_form dd input.input_half { width: 100%; }
  #form_submit_button { padding: 14px 40px; font-size: 16px; }
}
