@charset "utf-8";

/* ニュース一覧 三角・オーバーレイなし */
.lists a::before {
  display: none;
}

/* ニュース詳細 */
.news-detail__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #666;
}
.news-detail__cat {
  background: #005DAA;
  color: #fff;
  font-size: 12px;
  padding: 3px 12px;
}
.news-detail__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}
.news-detail__body {
  font-size: 16px;
  line-height: 2;
}
.news-detail__body p {
  margin-bottom: 1.5em;
}
.news-detail__body img {
  max-width: 100%;
  height: auto;
}

/* ヘッダーメニュー 均等幅 */
#hd .nav ul {
  display: flex;
  width: 100%;
}
#hd .nav ul > li {
  flex: 1;
  text-align: center;
}

#ftArchives {
  display: none;
}

#bloc7 {
  display: none;
}

/* トップページ バナーカード テキスト重ね */
.top-banner-card {
  position: relative;
}
.top-banner-card .c-card_image {
  height: 400px;
  overflow: hidden;
}
.top-banner-card .c-card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-banner-title {
  font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* グループ会社 カード画像の高さ統一 */
.page-group .c-card_image {
  height: 400px;
  overflow: hidden;
}
.page-group .c-card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#ft .inner-ft {
  padding: 40px 3%;
}

#ft .copyright {
  background: none;
}
#ft .copyright p {
  color: #fff;
}

/* c-titleTite 白文字＋薄い白シャドウ（全ページ統一） */
.c-titleTite_main,
.c-titleTite_sub {
  color: #fff !important;
  text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

/* メインビジュアル・見出し・固定ページ本文：明朝体 */
.c-title_main,
.c-title_sub,
.c-titleTite_main,
.c-titleTite_sub,
.c-catch_cover,
.c-catch,
#article h1,
#article h2,
#article h3,
#article .c-heading-1,
#philosophy p {
  font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif !important;
}

/* c-catch_cover 明朝体（確実に効かせる） */
.c-catch_cover,
.c-catch_cover span {
  font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif !important;
}

/* タイトル系すべて明朝体（ヘッダー・フッター除外） */
.company-largeLink .title,
.c-card_title,
.c-heading-1,
.c-heading-2,
.c-heading-3,
.c-heading-4,
.page-title,
.topics-post .title,
#article h1,
#article h2,
#article h3,
#article h4,
main h1,
main h2,
main h3,
main h4 {
  font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif !important;
}

/* =====================================================
   メインビジュアル（.mv 専用クラス）
   カーテンアニメーション（NEWS × TOPICS と同じ演出）
===================================================== */
.mv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.mv__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.mv__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mv__text {
  position: absolute;
  z-index: 1;
  bottom: 60px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.mv__line {
  position: relative;
  display: inline-block;
  font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.8;
  color: #fff;
  padding: 14px 24px;
  overflow: hidden;
  background: #005DAA;
}
/* 白帯が左から右に走り抜ける */
.mv__line::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0%;
  height: 100%;
  background: #fff;
  z-index: 1;
  animation: mvCurtain 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: var(--mv-delay, 0s);
}
/* テキストは白帯が通過した後に表示 */
.mv__line span {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: mvTextIn 0.01s linear forwards;
  animation-delay: calc(var(--mv-delay, 0s) + 0.4s);
  white-space: pre-line;
}

@keyframes mvCurtain {
  0%   { left: 0;    width: 0; }
  50%  { left: 0;    width: 100%; }
  100% { left: 100%; width: 0; }
}
@keyframes mvTextIn {
  to { opacity: 1; }
}

@media screen and (max-width: 767px) {
  .mv__text {
    bottom: 30px;
    right: 20px;
    gap: 6px;
  }
  .mv__line {
    font-size: 15px;
    padding: 10px 16px;
  }
}

/* ナビ ホバー下線を全幅に */
#hd .main-hd .nav ul li a.topLv {
  display: block;
}

/* ヘッダー・フッターはゴシック維持 */
#hd, #hd *,
#ft, #ft * {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif !important;
}

/* bloc5 全体を明朝体 */
#bloc5,
#bloc5 * {
  font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif !important;
}

/* 店舗 アイコンリンク（写真の下、均等3分割・中央揃え） */
.shop-icons {
  display: flex !important;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
  position: relative;
  z-index: 2;
}
.page-company-office #table tr th .shop-icons a.shop-icon-link,
.shop-icon-link {
  display: block !important;
  width: 50px !important;
  height: 50px !important;
  padding: 0 !important;
  padding-right: 0 !important;
  position: relative !important;
  z-index: 3;
  transition: opacity 0.2s;
  cursor: pointer;
  text-decoration: none !important;
  border-radius: 6px;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.shop-icon-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-icon-link:hover {
  opacity: 0.7;
}
.page-company-office #table tr th .shop-icon-link::after,
.shop-icon-link::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* =====================================================
   お問い合わせフォーム（recruit/entry/ と統一）
===================================================== */

/* ページ背景 */
.page-inquiry {
  background: #fff !important;
}
.page-inquiry .l-container.padding {
  padding-bottom: 80px !important;
}

/* フォームカード */
.page-inquiry .c-form {
  background: #fff;
  box-shadow: 0 0 16px rgba(65,60,60,.08);
  padding: 60px 150px;
  margin-top: 40px;
  max-width: 1280px;
}

/* ステップ */
.inq-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 48px 0 0;
  font-size: 15px;
  letter-spacing: 0.1em;
}
.inq-step {
  padding: 8px 28px;
  border: 1px solid #ccc;
  color: #999;
}
.inq-step.is-current {
  background: #005DAA;
  border-color: #005DAA;
  color: #fff;
}
.inq-step-arrow::after {
  content: "▶";
  color: #ccc;
  font-size: 11px;
}

/* 必須ラベル */
.inq-required {
  display: inline-block;
  font-size: 14px;
  color: #005DAA;
  letter-spacing: 0.06em;
  margin-left: 8px;
  vertical-align: middle;
}

/* フォームテーブル */
.page-inquiry .c-form_table {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: 16px !important;
}
.page-inquiry .c-form_table > div {
  display: flex;
  justify-content: space-between;
}
.page-inquiry .c-form_table > div + div {
  margin-top: 40px;
}
.page-inquiry .c-form_table dt {
  width: 28%;
  padding: 10px 0 0 0 !important;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.page-inquiry .c-form_table dd {
  width: 72% !important;
  border: none !important;
}
.page-inquiry .c-form_table dd input,
.page-inquiry .c-form_table dd textarea {
  width: 100%;
  font-size: 18px;
  letter-spacing: 0.06em;
  border: 1px solid #ccc;
  padding: 10px 15px;
  background: #fff;
  box-sizing: border-box;
  height: 48px;
}
.page-inquiry .c-form_table dd input::placeholder,
.page-inquiry .c-form_table dd textarea::placeholder {
  color: #B3B3B3;
}
.page-inquiry .c-form_table dd textarea {
  resize: vertical;
  height: 160px;
}

/* 確認リード文 */
.inq-confirm-lead {
  text-align: center;
  margin-bottom: 32px;
  font-size: 16px;
}

/* ボタン */
.page-inquiry .c-form_btn {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 0 !important;
}
.inq-btn {
  display: inline-block;
  width: 320px;
  max-width: 100%;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: #005DAA;
  border: none;
  letter-spacing: 0.06em;
  padding: 26px;
  position: relative;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s;
}
.inq-btn::after {
  position: absolute;
  content: "›";
  font-size: 26px;
  line-height: 1;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
}
.inq-btn:hover {
  opacity: 0.7;
}
.inq-btn-outline {
  background: #999;
}
.inq-btn-outline::after {
  content: "‹";
  left: 28px;
  right: auto;
}
.inq-btn-outline:hover {
  opacity: 0.7;
}
.inq-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.inq-confirm-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.inq-thanks {
  text-align: center;
  padding: 80px 0;
  font-size: 16px;
  line-height: 2;
}
.inq-thanks .c-form_btn {
  justify-content: center;
  display: flex;
  margin-top: 40px;
}

@media screen and (max-width:767px) {
  .page-inquiry .c-form {
    padding: 40px 20px;
    margin-top: 20px;
  }
  .inq-steps {
    font-size: 13px;
    gap: 8px;
  }
  .inq-step {
    padding: 6px 16px;
  }
  .page-inquiry .c-form_table > div {
    display: block;
  }
  .page-inquiry .c-form_table > div + div {
    margin-top: 30px;
  }
  .page-inquiry .c-form_table dt {
    width: 100%;
    padding: 0 !important;
    font-size: 16px;
  }
  .page-inquiry .c-form_table dd {
    width: 100% !important;
    margin-top: 10px;
  }
  .page-inquiry .c-form_table dd input,
  .page-inquiry .c-form_table dd textarea {
    font-size: 16px;
  }
  .inq-btn {
    width: 100%;
    font-size: 16px;
    padding: 20px;
  }
  .inq-confirm-btns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

/* ===== プライバシーポリシー ===== */
.privacy-content {
  line-height: 2;
}
#article .privacy-content p {
  margin-bottom: 1.2em;
}
#article .privacy-content h2 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #005DAA;
  background: #f5f5f5;
  border-left: 5px solid #005DAA;
  padding: 0.5em 0.9em;
  margin: 2.2em 0 0.9em;
  line-height: 1.6;
}
#article .privacy-content ul,
#article .privacy-content ol {
  margin: 0 0 1.4em 1.6em;
}
#article .privacy-content ul { list-style: disc; }
#article .privacy-content ol { list-style: decimal; }
#article .privacy-content ul ul { list-style: circle; margin: 0.4em 0 0.4em 1.4em; }
#article .privacy-content li {
  margin-bottom: 0.4em;
}
