@charset "utf-8";

/* --------------------------------------------


下層ページ  共通


---------------------------------------------- */

/* --------------------------------------------
  ヘッダー(下層ページ用の上書き)
   -------------------------------------------- */
.header {
  border-bottom: 0;
}

/* --------------------------------------------
  グローバルナビゲーション
-------------------------------------------- */
.gnav {
  background-color: var(--c-white);
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.gnav-list {
  display: flex;
}

.gnav-item {
  position: relative;
  flex: 1;
  text-align: center;
}

.gnav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background-color: #e0e0e0;
}

.gnav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 16px 8px 12px;
  color: var(--c-blue);
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.gnav-link:hover {
  background-color: #f4f8fc;
}

.gnav-item.active .gnav-link::after,
.gnav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--c-blue);
}

.gnav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}

.gnav-icon img {
  height: 100%;
  object-fit: contain;
}

.gnav-text {
  font-size: 1.2rem;
  line-height: 1.2;
  white-space: nowrap;
}

/* --------------------------------------------
  パンくずリスト
-------------------------------------------- */
.breadcrumb-container {
  width: 94%;
  margin: 0 auto;
  padding: 12px 24px;
}

.breadcrumb {
  display: flex;
  gap: 12px;
  font-size: 1.2rem;
}

.breadcrumb li::after {
  content: ">";
  content: ">" / "";
  margin-left: 15px;
}

.breadcrumb li:last-child::after {
  content: none;
}

/* --------------------------------------------
  ページヘッダー(タイトル帯)
-------------------------------------------- */
.page-header-bg {
  padding: 10px 24px;
  background-image: url('../image/index/bk.svg');
  background-repeat: no-repeat;
  background-position: right 77%;
  background-size: cover;
}

.page-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 88%;
  margin: 0 auto;
}

.page-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--c-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.page-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.page-header-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: bold;
  line-height: 1.1;
}

.page-description {
  font-size: clamp(1rem, 1.5vw, 1.6rem);
  line-height: 1;
}

@media (max-width: 1220px) {
  .page-header-inner {
    width: 94%;
  }
}

/* --------------------------------------------
  本文
-------------------------------------------- */
.content-container {
  width: 88%;
  margin: 0 auto;
  padding-top: 40px;
}

.content-section {
  margin-bottom: 48px;
}

.section-title {
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid var(--c-blue);
  font-size: var(--fz-xl);
  font-weight: bold;
}

.section-body {
  margin-left: 16px;
}

@media (min-width: 1720px) {
  .content-container {
    width: 77%;
  }
}

@media (max-width: 1220px) {
  .content-container {
    width: 95%;
  }
}

/* --------------------------------------------
  リンク
-------------------------------------------- */
.breadcrumb a,
.text-link {
  color: var(--c-blue);
  text-decoration: underline dotted;
  text-underline-offset: 5px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.breadcrumb a:hover,
.text-link:hover {
  color: var(--c-deep-blue);
  opacity: 0.8;
}

.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.ext-link::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("../image/common/icon-link.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

/* --------------------------------------------
  枠
-------------------------------------------- */
.outline {
  border: 1px solid #d8d8d8;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------
  右端固定ボタン(お問い合わせ・ページ上部へ)
-------------------------------------------- */
.floating-side-menu {
  position: fixed;
  right: 0;
  bottom: 2%;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.floating-contact-btn,
.floating-pagetop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-radius: 6px 0 0 6px;
  background-color: var(--c-blue);
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
  color: var(--c-white);
  transition: background-color 0.2s ease;
}

.floating-contact-btn {
  padding-top: 16px;
  padding-bottom: 16px;
}

.floating-contact-btn:hover,
.floating-pagetop-btn:hover {
  background-color: var(--c-deep-blue);
}

.contact-btn__text,
.pagetop-btn__text {
  font-weight: bold;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
}

/* --------------------------------------------
  お問い合わせ情報(連絡先ブロック)
-------------------------------------------- */
.contact-box {
  margin-top: 48px;
}

.contact-org {
  margin-bottom: 4px;
}

.contact-dept {
  margin-bottom: 20px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 28px;
  background-color: var(--c-blue);
  color: var(--c-white);
  font-size: 1.4rem;
  font-weight: bold;
}

.contact-value {
  font-size: var(--fz-m);
}

/* --------------------------------------------
  動きを減らす設定のユーザー向け
-------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .gnav-link,
  .breadcrumb a,
  .text-link,
  .floating-contact-btn,
  .floating-pagetop-btn {
    transition: none;
  }
}

/* --------------------------------------------
  印刷時
-------------------------------------------- */
@media print {
  .floating-side-menu {
    display: none;
  }
}