@charset "utf-8";
/* =========================================================
   全ページ共通：ヘッダー / ABOUT・CONTACTバナー / フッター
   - .gh = global header, .gb = global banner, .gf = global footer
   - 既存の style.css / custom.css より後に読み込む
   - ブレークポイント: 979px 以下でSPメニューに切り替え
   ========================================================= */

:root {
  --gl-navy: #000435;
  --gl-ink: #00021f;
  --gl-paper: #f5f3ee;
  --gl-gold: #c6a467;
  --gl-gold-d: #9a7a3c;
  --gl-en: "Josefin Sans", sans-serif;
  --gl-head: "Josefin Sans", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

/* =========================================================
   HEADER
   ========================================================= */
header.gh {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  padding: 0;
  color: #fff;
  background: transparent;
  transition: background-color .4s ease, box-shadow .4s ease;
}
header.gh.change-color {
  background: var(--gl-navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1);
}
header.gh *,
header.gh *::before,
header.gh *::after { box-sizing: border-box; }

.gh__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 88px;
  padding: 0 40px;
  transition: height .4s ease;
}
header.gh.change-color .gh__inner,
body.fixed-header-page header.gh .gh__inner { height: 72px; }

.gh__logo {
  margin: 0;
  padding-top: 5px; /* Josefin Sans は字面が上に寄るため補正 */
  font-family: var(--gl-en);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}
.gh__logo a { color: #fff; }
.gh__tag {
  margin: 0 0 0 22px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .32);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .78);
  white-space: nowrap;
}

.gh__nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.gh__list {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.gh__list a {
  position: relative;
  display: block;
  padding: 12px 0;
  font-family: var(--gl-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  color: #fff;
  white-space: nowrap;
}
.gh__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--gl-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.gh__list a:hover::after { transform: scaleX(1); }

.gh__cta {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 26px;
  background: var(--gl-gold);
  border-radius: 3px;
  font-family: var(--gl-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gl-ink) !important;
  white-space: nowrap;
  transition: background-color .25s ease;
}
.gh__cta:hover { background: #fff; }

.gh__toggle,
.gh__drawer { display: none; }

@media screen and (max-width: 1239px) {
  .gh__tag { display: none; }
  .gh__inner { padding: 0 28px; }
  .gh__nav { gap: 24px; }
  .gh__list { gap: 22px; }
  .gh__list a { font-size: 13px; letter-spacing: .04em; }
  .gh__cta { padding: 0 18px; font-size: 13px; }
}

/* ---------- SPメニュー（〜979px） ---------- */
@media screen and (max-width: 979px) {
  .gh__inner,
  header.gh.change-color .gh__inner,
  body.fixed-header-page header.gh .gh__inner {
    height: 64px;
    padding: 0 12px 0 20px;
  }
  .gh__logo { font-size: 26px; }
  .gh__nav { display: none; }

  .gh__toggle {
    -webkit-appearance: none;
            appearance: none;
    display: block;
    position: relative;
    width: 48px;
    height: 48px;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
  }
  .gh__toggle span {
    position: absolute;
    left: 10px;
    width: 28px;
    height: 2px;
    background: #fff;
    transition: transform .35s ease;
  }
  .gh__toggle span:nth-child(1) { top: 19px; }
  .gh__toggle span:nth-child(2) { top: 28px; }
  header.gh.is-open .gh__toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  header.gh.is-open .gh__toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

  .gh__drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    padding: 92px 28px 48px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background:
      radial-gradient(520px 360px at 100% 0%, rgba(60, 84, 200, .34), transparent 70%),
      var(--gl-ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
  }
  header.gh.is-open .gh__drawer { opacity: 1; visibility: visible; }

  .gh__drawer-list { margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .gh__drawer-list li { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .gh__drawer-list a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 4px;
    font-family: var(--gl-head);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    color: #fff;
  }
  .gh__drawer-list a span {
    font-family: var(--gl-en);
    font-size: 11px;
    letter-spacing: .26em;
    line-height: 1;
    color: var(--gl-gold);
  }
  .gh__drawer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding: 20px 22px 20px 26px;
    background: var(--gl-gold);
    border-radius: 3px;
    font-family: var(--gl-head);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--gl-ink) !important;
  }
  .gh__drawer-cta i {
    position: relative;
    width: 22px;
    height: 1px;
    background: currentColor;
  }
  .gh__drawer-cta i::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
  }
  html.gh-lock,
  html.gh-lock body { overflow: hidden; }
}

/* =========================================================
   ABOUT / CONTACT バナー
   ========================================================= */
.gb {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.gb *,
.gb *::before,
.gb *::after { box-sizing: border-box; }

.gb__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 360px;
  padding: 64px clamp(28px, 5.4vw, 88px) 60px;
  overflow: hidden;
}
.gb__panel--about { background: var(--gl-paper); color: var(--gl-navy) !important; }
.gb__panel--contact { background: var(--gl-navy); color: #fff !important; }

/* 背景の大きな英字 */
.gb__mark {
  position: absolute;
  z-index: -1;
  top: 22px;
  right: 20px;
  font-family: var(--gl-en);
  font-size: clamp(72px, 9.6vw, 150px);
  font-weight: 400; /* 400のみ読み込み。太字指定だと擬似ボールドで輪郭が二重になる */
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 4, 53, .2);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.gb__panel--contact .gb__mark { -webkit-text-stroke-color: rgba(255, 255, 255, .26); }
.gb__panel:hover .gb__mark { transform: translateX(-28px); }

.gb__body { display: block; }
.gb__en {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--gl-en);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .28em;
  color: var(--gl-gold-d);
}
.gb__en::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.gb__panel--contact .gb__en { color: var(--gl-gold); }
.gb__ja {
  display: block;
  margin-top: 20px;
  font-family: var(--gl-head);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .06em;
}
.gb__text {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  opacity: .76;
}

.gb__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.gb__arrow i {
  position: relative;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform .3s ease;
}
.gb__arrow i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.gb__panel:hover .gb__arrow i { transform: translateX(4px); }
.gb__panel--about:hover .gb__arrow {
  background: var(--gl-navy);
  border-color: var(--gl-navy);
  color: #fff;
}
.gb__panel--contact:hover .gb__arrow {
  background: var(--gl-gold);
  border-color: var(--gl-gold);
  color: var(--gl-ink);
}

@media screen and (max-width: 979px) {
  .gb__panel { min-height: 280px; padding: 48px 28px 44px; }
  .gb__arrow { width: 56px; height: 56px; }
  .gb__ja { font-size: 20px; letter-spacing: .04em; }
}
@media screen and (max-width: 699px) {
  .gb { grid-template-columns: 1fr; }
  .gb__panel { min-height: 256px; padding: 44px 20px 36px; }
  .gb__mark { top: 12px; right: 12px; font-size: 19vw; }
  .gb__ja { margin-top: 16px; font-size: 22px; }
  .gb__text { font-size: 13px; }
  .gb__arrow { width: 52px; height: 52px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer.gf {
  padding: 0;
  background: var(--gl-ink);
  color: rgba(255, 255, 255, .7);
}
footer.gf *,
footer.gf *::before,
footer.gf *::after { box-sizing: border-box; }
footer.gf ul { margin: 0; padding: 0; }

.gf__inner {
  display: flex;
  justify-content: space-between;
  gap: 56px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 76px 32px 60px;
}
.gf__logo {
  font-family: var(--gl-en);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}
.gf__logo a { color: #fff; }
.gf__tag {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .1em;
  color: #fff;
}
.gf__addr {
  margin-top: 18px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.9;
}

.gf__nav {
  display: flex;
  gap: 72px;
}
.gf__head {
  margin-bottom: 20px;
  font-family: var(--gl-en);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .28em;
  color: var(--gl-gold);
}
.gf__col li + li { margin-top: 12px; }
.gf__col a {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  transition: color .2s ease;
}
.gf__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.gf__copy {
  padding: 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  font-family: var(--gl-en);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .5);
}

@media screen and (max-width: 979px) {
  .gf__inner { flex-direction: column; gap: 44px; padding: 60px 28px 48px; }
  .gf__nav { gap: 56px; }
}
@media screen and (max-width: 599px) {
  .gf__inner { padding: 52px 20px 40px; }
  .gf__logo { font-size: 32px; }
  .gf__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }
  .gf__col:first-child { grid-row: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  header.gh, .gh__inner, .gh__drawer,
  .gb__mark, .gb__arrow, .gb__arrow i { transition: none; }
}

/* =========================================================
   下層ページ：タイトル帯（#under_mv）とパンくず
   - マークアップは各テンプレート共通
     <div id="under_mv"><h1 id="under_mv_h2">タイトル<small>サブ</small></h1></div>
     <ul class="breadcrumb__list">…</ul>
   - 既存CSSは3つのメディアクエリに同じ指定があるため、IDを重ねて上書き
   ========================================================= */
div#under_mv {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: auto;
  min-height: 340px;
  padding: 156px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(820px 420px at 86% 30%, rgba(60, 84, 200, .34), transparent 70%),
    linear-gradient(180deg, var(--gl-navy) 0%, var(--gl-ink) 100%);
}
div#under_mv::before {
  /* うっすらとしたグリッド（トップのヒーローと同じ表現） */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}
div#under_mv::after {
  /* 背景の輪郭文字 */
  content: "GLORY JP";
  position: absolute;
  z-index: -1;
  right: 24px;
  bottom: -.2em;
  font-family: var(--gl-en);
  font-size: clamp(72px, 12vw, 176px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .13);
  pointer-events: none;
}
div#under_mv h1#under_mv_h2 {
  position: static;
  box-sizing: border-box;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: left;
  font-family: var(--gl-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
  color: #fff;
}
div#under_mv h1#under_mv_h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--gl-gold);
}
div#under_mv h1#under_mv_h2 small {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .78);
}

/* ---------- パンくず ---------- */
ul.breadcrumb__list {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 15px max(32px, calc(50% - 548px));
  overflow-x: auto;
  white-space: nowrap;
  text-align: left;
  font-size: 12px;
  line-height: 1.6;
  background: var(--gl-paper);
  scrollbar-width: none;
}
ul.breadcrumb__list::-webkit-scrollbar { display: none; }
ul.breadcrumb__list li,
ul.breadcrumb__list li:first-child,
ul.breadcrumb__list li:nth-child(2) {
  display: inline;
  padding: 0;
  font-weight: 700;
  letter-spacing: .04em;
  color: #6b6f82;
}
ul.breadcrumb__list li:first-child { font-family: var(--gl-en); letter-spacing: .1em; }
ul.breadcrumb__list li:nth-child(2) { font-family: inherit; }
ul.breadcrumb__list a { color: var(--gl-navy); }
ul.breadcrumb__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
ul.breadcrumb__list li:nth-child(n+2)::before {
  /* 区切りの矢印（既存の「#」を置き換え） */
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 14px 2px 10px;
  padding: 0;
  border-top: 1px solid var(--gl-gold-d);
  border-right: 1px solid var(--gl-gold-d);
  transform: rotate(45deg);
}
/* タイトル帯のないページ（記事詳細など）は固定ヘッダーの高さぶん下げる */
body.fixed-header-page ul.breadcrumb__list { padding-top: 87px; }

@media screen and (max-width: 979px) {
  div#under_mv { min-height: 250px; padding: 116px 0 46px; }
  div#under_mv h1#under_mv_h2 { padding: 0 28px; }
  div#under_mv h1#under_mv_h2::before { margin-bottom: 20px; }
  ul.breadcrumb__list { padding: 13px 28px; }
  body.fixed-header-page ul.breadcrumb__list { padding-top: 77px; }
}
@media screen and (max-width: 599px) {
  div#under_mv { min-height: 210px; padding: 104px 0 38px; }
  div#under_mv::after { right: 12px; font-size: 21vw; }
  div#under_mv h1#under_mv_h2 { padding: 0 20px; font-size: 22px; letter-spacing: .04em; }
  div#under_mv h1#under_mv_h2::before { width: 36px; margin-bottom: 16px; }
  div#under_mv h1#under_mv_h2 small { font-size: 12px; margin-top: 8px; }
  ul.breadcrumb__list { padding: 12px 20px; font-size: 11px; }
  body.fixed-header-page ul.breadcrumb__list { padding-top: 76px; }
}

/* =========================================================
   コラム一覧（/magazine/・カテゴリー一覧）：スマートフォン表示
   - 画像を左、日付・カテゴリー・タイトルを右に並べる
   - 既存CSS（custom.css）はスマホで縦積み（画像→本文）のため、ここで上書き
   ========================================================= */
@media screen and (max-width: 599px) {
  .blog-archive .blog-list { margin-bottom: 40px; }
  .blog-archive .blog-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
  }
  .blog-archive .blog-item:hover { transform: none; }
  .blog-archive .blog-item .blog-link {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
  .blog-archive .blog-item .blog-image {
    flex: 0 0 38%;
    width: auto;
    border-radius: 4px;
  }
  .blog-archive .blog-item .blog-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
  }
  .blog-archive .blog-item .blog-content {
    flex: 1;
    min-width: 0;
  }
  .blog-archive .blog-item .blog-meta {
    gap: 8px;
    margin-bottom: 6px;
  }
  .blog-archive .blog-item .blog-date { font-size: 12px; }
  .blog-archive .blog-item .blog-category {
    padding: 2px 8px;
    font-size: 10px;
  }
  .content_in .blog-archive .blog-item h2.blog-title,
  .blog-archive .content_in .blog-item h2.blog-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: .02em;
  }
  /* 抜粋文は横並びでは入りきらないため非表示 */
  .blog-archive .blog-item .blog-excerpt { display: none; }
}
