
/* ============================================================
   SEIKYO CAMPUS — Global Styles
   ============================================================ */

:root {
  --c-primary:    #07416d;
  --c-hero-bg:    #2F855A;
  --c-cream:      #FFF3E0;
  --c-white:      #ffffff;
  --c-green:      #1a3a2a;
  --c-text:       #1a1a1a;
  --c-muted:      #666666;
  --c-border:     #e5dfcc;
  --c-card-bg:    #fbf8ec;
  --c-accent:     #d4a017;

  --f-display:    'futura-pt',  sans-serif;
  --f-heading:    'Oswald', sans-serif;
  --f-body-jp:    'Noto Sans JP', sans-serif;
  --f-body-en:    'DM Sans', sans-serif;
  --f-calendar:   'Shippori Mincho', serif;
  --f-date-sp:    'Cormorant', serif;

  --w-content:    1124px;
  --ticker-h:     36px;
  --menubar-h:    60px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--f-body-jp);
  color: var(--c-text);
  background: var(--c-cream);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  /* cursor: pointer; */
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   Menubar (sticky, appears on scroll)
   ============================================================ */

.menubar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--menubar-h);
  background: white;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.menubar.is-visible {
  transform: translateY(0);
}

.menubar__inner {
  max-width: 1124px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.menubar__logo {
  grid-column: 2;
  text-align: center;
}

.menubar__title {
  height: 26px;
  width: auto;
  filter: brightness(0);
}

.menubar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  grid-column: 3;
  justify-self: end;
}

.menubar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
}

.menubar.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menubar.is-open span:nth-child(2) {
  opacity: 0;
}

.menubar.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   Drawer
   ============================================================ */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
}

.drawer.is-open {
  visibility: visible;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}

.drawer.is-open .drawer__overlay {
  opacity: 1;
}

.drawer__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  background: var(--c-white);
  color: var(--c-text);
  padding: 24px max(24px, calc((100% - var(--w-content)) / 2 + 24px));
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.drawer.is-open .drawer__content {
  transform: translateY(0);
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.drawer__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.drawer__close {
  font-size: 20px;
  color: var(--c-primary);
  padding: 4px 8px;
}

.drawer__nav li {
  border-bottom: 1px solid var(--c-border);
}

.drawer__nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: black;
  transition: opacity 0.2s;
}

.drawer__nav a:hover {
  opacity: 0.7;
}

/* ============================================================
   Ticker
   ============================================================ */

.ticker {
  height: var(--ticker-h);
  background: #FFF3E0;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--c-primary);
  border-bottom: 1px solid var(--c-primary);
}

.ticker__track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}

.ticker__track span {
  font-family: var(--f-body-jp);
  font-size: 12px;
  color: var(--c-primary);
  padding: 0 48px;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero {
  position: relative;
  background: var(--c-hero-bg);
  display: flex;
  min-height: 700px;
  padding-bottom: 40px;
  z-index: 3;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 40px solid var(--c-hero-bg);
}

.hero-inner {
  max-width: var(--w-content);
  margin: 50px auto 30px;
  width: 100%;
  display: flex;
  padding: 0 24px;
}

.hero__pc-left {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  row-gap: 15px;
}

.hero__main-image {
 /* flex: 1 1 0; */
  /* min-height: 783px; */
  overflow: hidden;
  border-radius: 16px;
}

.hero__main-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.hero__main-image a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.hero__main-image a img {
  filter: brightness(0.8);
  transition: transform 0.4s ease;
}

.hero__main-image a:hover img {
  transform: scale(1.03);
}

.hero__thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__thumb a img {
  transition: transform 0.4s ease;
}

.hero__thumb a:hover img {
  transform: scale(1.05);
}

.hero__main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: var(--c-white);
}

.hero__main-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.hero__meta-tags {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--f-body-en);
}

.hero__meta-tags a {
  display: inline;
}
.hero__main-title {
  font-family: var(--f-body-jp);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-white);
}

.hero__thumbs {
  display: flex;
  height: 100px;
  column-gap: 5px;
}

.hero__thumb {
  flex: 1 1 0;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.hero__thumb:last-child {
  border-right: none;
}

.hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero__thumb .tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
}

.hero__sidebar {
  width: 250px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  background: var(--c-primary);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  margin-left: 15px;
  border-radius: 16px;
}

.hero__calendar {
  margin-top: 70px;
  padding: 24px 20px 20px;
  color: var(--c-white);
  text-align: center;
}

.calendar__display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
}

.calendar__month {
  font-family: var(--f-calendar);
  font-size: 80px;
  line-height: 1.2;
  font-weight: 400;
  color: white;
  letter-spacing: 0.05em;
}

.calendar__day {
  font-family: var(--f-calendar);
  font-size: 120px;
  font-weight: 600;
  line-height: 0.85;
  color: var(--c-white);
  letter-spacing: -0.02em;
}

.calendar__info {
  /* padding-top: 45px;
  padding-bottom: 50px; */
  text-align: center;
  font-family: var(--f-body-en);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.9;
  color: white;
}

#calTime {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: 0.05em;
}

.hero__recommend {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.hero__recommend-heading {
  text-align: center;
  font-family: var(--f-body-jp);
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid white;
}

.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recommend-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.rec-arrow {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  flex-shrink: 0;
  padding-top: 1px;
}

.recommend-list a {
  font-family: var(--f-body-jp);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.recommend-list a:hover {
  color: var(--c-white);
}

.hero-title__pc {
  display: block;
  position: absolute;
  height: 60px;
  z-index: 999;
  width: auto;
  top: 25px;
  left: 0px;
  right: 0px;
  margin: auto;
}

.hero-title__sp {
  display: none;
}

.hero__date-circle {
  display: none;
}

.date-circle__date {
  font-family: var(--f-date-sp);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.2;
}

.date-circle__date span {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
}

.date-circle__time {
  font-family: var(--f-date-sp);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

/* ============================================================
   Tags
   ============================================================ */

.tag {
  display: inline-block;
  font-family: var(--f-body-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 10px;
  line-height: 1.4;
  align-self: flex-start;
}

.tag--outline-white {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--c-white);
}

.tag--outline-white-xs {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--c-white);
  font-size: 9px;
  padding: 2px 6px;
}

.tag--outline-navy {
  border: 1px solid var(--c-primary);
  color: var(--c-primary);
}

.tag--outline-navy-xs {
  border: 1px solid var(--c-primary);
  color: var(--c-primary);
  font-size: 9px;
  padding: 2px 6px;
}

.tag--border-muted {
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: 11px;
  font-family: var(--f-body-jp);
  font-weight: 400;
  padding: 3px 8px;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================================
   Section Common
   ============================================================ */

.section {
  padding: 64px 0;
}

.section--cream {
  background: var(--c-cream);
  position: relative;
  z-index: 2;
  padding-bottom: 40px;
}

.section--cream::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 40px solid var(--c-cream);
}

.section--cream:last-of-type::after {
  display: none;
}

.section-white-wrap {
  background: var(--c-white);
  position: relative;
  z-index: 1;
}

.section-white-wrap .section {
  background: var(--c-white);
}

.section__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 24px;
}

.section__heading {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 85px;
  color: var(--c-primary);
  letter-spacing: 0.05em;
  line-height: 1;
}

.section__subtitle {
  font-family: var(--f-body-jp);
  font-size: 20px;
  font-weight: 500;
  color: var(--c-primary);
  margin-left: 8px;
}

.section__divider {
  flex-basis: 100%;
  height: 1px;
  background: var(--c-primary);
  margin-top: 5px;
  min-width: unset;
}

/* ============================================================
   Article Common
   ============================================================ */

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.meta-text {
  font-family: var(--f-body-en);
  font-size: 11px;
  color: var(--c-primary);
}

.meta-text--sm {
  font-size: 10px;
}

.meta-text-white {
  font-family: var(--f-body-en);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.muted {
  color: var(--c-muted);
}

.article-title {
  font-family: var(--f-body-jp);
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
}

.article-title--lg {
  font-size: 20px;
}

.article-title--sm {
  font-size: 14px;
}

.article-title--xs {
  font-size: 13px;
  color: var(--c-primary);
}

.article-title-white {
  font-family: var(--f-body-jp);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: var(--c-white);
}

/* ============================================================
   Overlay Card
   ============================================================ */

.overlay-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.overlay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.overlay-card:hover img {
  transform: scale(1.03);
}

.overlay-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.overlay-card--full {
  width: 100%;
  height: 360px;
  margin-bottom: 24px;
}

/* ============================================================
   CAREER
   ============================================================ */

.career-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: stretch;
}

.article-item {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
}

.article-item__img {
  flex-shrink: 0;
  overflow: hidden;
  width: 100%;
}

.article-item__img--rect {
  height: 100px;
  width: 160px;
  border-radius: 4px;
}

.article-item__img--circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.article-item__img--sm.article-item__img--rect {
  width: 90px;
  height: 60px;
}

.article-item__img--sm.article-item__img--circle {
  width: 60px;
  height: 60px;
}

.article-item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ============================================================
   RELATIONSHIP
   ============================================================ */

.rel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rel-card {
  position:relative;
  background: var(--c-white);
  border-radius: 16px;
  padding: 20px 20px 20px 17px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--c-primary);
}


.rel-card > a {
  display: flex;
  flex-direction: column;
  gap: 10px;                  /* .rel-card と合わせる */
  color: inherit;             /* テキスト色を継承 */
  text-decoration: none;      /* 下線を消す */
  min-height: 100%;           /* 余白が潰れないよう保険 */
}

.rel-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}


.rel-card__title {
  font-family: var(--f-body-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
}

.rel-card__sub {
  font-family: var(--f-body-jp);
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.5;
}

.rel-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rel-card__reactions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.reaction-btn {
  font-family: var(--f-body-jp);
  font-size: 11px;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
  padding: 5px 10px;
  border-radius: 20px;
  /* transition: background 0.2s, color 0.2s, border-color 0.2s; */
  display: flex;
  align-items: center;
  gap: 4px;
}

/* .reaction-btn:hover {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
} */

/* .reaction-btn.is-active {
  background: #e8607a;
  color: var(--c-white);
  border-color: #f472b6;
  cursor: not-allowed;
} */

/* .reaction-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
} */

.reaction-btn span {
  font-weight: 700;
}

/* ============================================================
   USER'S VOICE
   ============================================================ */

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.voice-card {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
}

.voice-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
  .voice-card--right img{
     object-position: right;
}
    

.voice-card:hover img {
  transform: scale(1.04);
}

.voice-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--c-white);
  border-radius: 0 0 16px 16px;
}

.voice-card__overlay p {
  font-family: var(--f-body-jp);
  font-size: 13px;
  line-height: 1.5;
}

/* ============================================================
   LEARNING
   ============================================================ */

.learning-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  font-family: var(--f-body-jp);
  font-size: 12px;
  padding: 7px 16px;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  color: var(--c-muted);
  background: var(--c-white);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover,
.filter-btn--active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
}

.learning-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.learning-featured {
  height: 400px;
  width: 600px;
  object-fit: cover;
}

.learning-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================================
   Recommendation Layout (NEW TOPICS / RECOMMEND)
   ============================================================ */

.rec-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.rec-large {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 57%;
}

.rec-large__img {
  width: 100%;
  aspect-ratio: 644 / 534;
  overflow: hidden;
  border-radius: 16px;
}

.rec-large__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.rec-large:hover .rec-large__img img {
  transform: scale(1.03);
}

.rec-large__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rec-large__title {
  font-family: var(--f-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
  text-transform: capitalize;
}

.rec-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rec-ovals {
  display: flex;
  gap: 14px;
}

.rec-oval {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rec-oval__img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

.rec-oval__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.rec-oval:hover .rec-oval__img img {
  transform: scale(1.05);
}

.rec-oval__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 8px;
}

.rec-oval__title {
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
  text-transform: capitalize;
}

.rec-wide {
  position: relative;
  width: 100%;
  aspect-ratio: 466 / 278;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}

.rec-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.rec-wide:hover img {
  transform: scale(1.03);
}

.rec-wide__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--c-white);
}

.rec-wide__title {
  font-family: var(--f-body-jp);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-white);
}

/* ============================================================
   SEIKYO SHIMBUN Banner
   ============================================================ */

.seikyo-shimbun-wrap {
  padding-top: 66px;
  padding-bottom: 48px;
}

.seikyo-shimbun {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.seikyo-shimbun img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--c-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}
.footer__dark{
  background: black;
}

.footer__inner {
  max-width: var(--w-content);
  padding: 0 70px;
  margin: 0 auto;
}

.footer__brand {
  margin-bottom: 36px;
}

.footer__brand img {
  width: 80%;
  object-fit: contain;
}

.footer__nav {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-label {
  font-family: var(--f-body-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.footer__nav-col a {
  font-family: var(--f-body-jp);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer__nav-col a:hover {
  color: var(--c-white);
}

.ext {
  font-size: 10px;
}

.footer__social {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.footer__social-link:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.footer__social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__legal a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer__copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

/* ============================================================
   Article Page Styles  (art- prefix)
   ============================================================ */

/* --- Hero --- */
.art-hero {
  display: flex;
  /* min-height: 590px; */
  background: var(--c-white);
}

.art-hero__image {
  width:100%;
  flex: unset;
  overflow: hidden;
}

.art-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.art-hero__image--portrait{
  width: 50%;
  aspect-ratio: 393/590;
  flex: unset;
}
.art-hero__image--landscape{
  width: 50%;

  flex: unset;
}
.art-hero__image--portrait img{
  object-fit: cover;
}

.art-hero__info {
  flex: 1 1 50%;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  background: var(--c-white);
}

.art-hero__category {
  font-family: var(--f-body-jp);
  font-size: 13px;
  color: var(--c-muted);
}

.art-hero__title {
  font-family: var(--f-body-jp);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--c-text);
}

.art-hero__lead {
  font-family: var(--f-body-jp);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #333;
}

.art-hero__date {
  font-family: var(--f-body-en);
  font-size: 12px;
  color: #888;
  display: block;
}

/* --- Article content column --- */
.art-content {
  background: var(--c-white);
  padding: 80px 0;
}

.art-content__inner {
  max-width: 706px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
}

/* --- Vol button --- */
.art-vol-btn {
  display: inline-block;
  border: 1px solid var(--c-text);
  border-radius: 24px;
  padding: 18px 40px;
  font-family: var(--f-body-jp);
  font-size: 14px;
  color: var(--c-text);
  transition: background 0.2s, color 0.2s;
}

.art-vol-btn:hover {
  background: var(--c-text);
  color: var(--c-white);
}

/* --- Section heading --- */
.art-section-heading {
  text-align: center;
  width: 100%;
}

.art-section-heading__title {
  font-family: var(--f-body-jp);
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
  color: var(--c-text);
}

.art-section-heading__sub {
  font-family: var(--f-body-jp);
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: var(--c-text);
}

/* --- Full-width image --- */
.art-img {
  width: 100%;
  
  overflow: hidden;
}

.art-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-img figcaption{
  padding-top: 8px;
}


/* --- Body text --- */
.art-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.art-text__heading {
  font-family: var(--f-body-jp);
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
  text-align: center;
  color: var(--c-text);
}

.art-text__body {
  font-family: var(--f-body-jp);
  font-size: 14px;
  font-weight: 400;
  line-height: 2.5;
  color: var(--c-text);
  letter-spacing: 0.06em;
}

.art-text__body a {
  color: #1a6fc4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.art-text__body a:hover {
  opacity: 0.7;
}

/* ============================================================
   Photo Gallery — Splide ベース
   ============================================================ */

.art-gallery {
  width: 100%;
}

/* ---------- 写真・キャプション ---------- */
.art-gallery__photo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.art-gallery__photo-img {
  width: 100%;
  overflow: hidden;
}

.art-gallery__photo--portrait .art-gallery__photo-img {
  aspect-ratio: 338 / 473;
}

.art-gallery__photo--landscape .art-gallery__photo-img {
  aspect-ratio: 558 / 372;
}

.art-gallery__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.art-gallery__caption {
  font-family: var(--f-body-jp);
  font-size: 11px;
  color: var(--c-muted);
  line-height: 1.7;
  padding: 0 4px;
}

/* ---------- Splide 矢印 (共通) ---------- */
/* ---------- 矢印ボタン共通 ---------- */
.art-gallery .splide__arrow {
  position: absolute;
  top: auto;
  bottom: -44px;            /* ページネーションと同じ行 */
  transform: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;       /* 丸ボタン */
  background: var(--c-text);
  border: none;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-gallery .splide__arrow svg {
  fill: var(--c-white);
  width: 14px;
  height: 14px;
}

.art-gallery .splide__arrow--prev {
  left: 0;                  /* ギャラリー左端 */
  
}
.art-gallery .splide__arrow--prev svg{
  transform: scaleX(-1);
}

.art-gallery .splide__arrow--next {
  right: 0;                 /* ギャラリー右端 */
  left: auto;
}

.art-gallery .splide__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ---------- ページネーション（矢印と同じ行・中央）---------- */
.art-gallery .splide__pagination {
  position: absolute;
  bottom: -38px;            /* 矢印ボタンの中央に揃える */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.art-gallery .splide__pagination__page {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-border);
  border: none;
  padding: 0;
  margin: 0;
  opacity: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.art-gallery .splide__pagination__page.is-active {
  background: var(--c-text);
  transform: scale(1.3);
}

/* ---------- PC: 矢印・ページネーションを非表示 ---------- */
@media (min-width: 900px) {
  .art-gallery .splide__arrows,
  .art-gallery .splide__pagination {
    display: none !important;
  }
}

/* ---------- SP: ナビゲーション分の余白 ---------- */
@media (max-width: 899px) {
  .art-gallery {
    padding-bottom: 0;
  }

  /* SP では portrait / landscape 両方を 4:3 に統一 */
  .art-gallery__photo--portrait .art-gallery__photo-img,
  .art-gallery__photo--landscape .art-gallery__photo-img {
    aspect-ratio: 4 / 3;
  }
}

/* --- Tags --- */
.art-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.art-tag, .art-tags > a {
  display: inline-block;
  border: 1px solid var(--c-text);
  border-radius: 5px;
  padding: 5px 12px;
  font-family: var(--f-body-jp);
  font-size: 12px;
  color: var(--c-text);
  transition: background 0.2s, color 0.2s;
}

.art-tag:hover ,.art-tags > a:hover{
  background: var(--c-text);
  color: var(--c-white);
}

/* --- Reaction bar --- */
.art-reactions-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 24px 56px;
  background: var(--c-white);
}

.art-reactions-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  padding: 8px;
}

.art-reaction-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fffaed;
  border: 1px solid rgba(0, 85, 187, 0.1);
  border-radius: 100px;
  padding: 10px 16px;
  font-family: var(--f-body-jp);
  font-size: 11px;
  color: #4a4a5a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.art-reaction-btn:hover:not(:disabled) {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}

.art-reaction-btn.is-active {
  background: var(--c-primary);
  color: var(--c-white);
  background: var(--c-primary);
  /* cursor: not-allowed; */
}

.art-reaction-btn:disabled {
  opacity: 0.65;
  /* cursor: not-allowed; */
}

.art-reaction-btn.is-active:hover {
  /* background: #d64a69;
  border-color: #f472b6; */
}

.art-reaction-btn__icon {
  font-size: 16px;
  line-height: 1;
}

.art-reaction-btn__count {
  font-weight: 800;
  font-size: 12px;
  font-family: var(--f-body-en);
}

/* --- RECOMMEND section --- */
.art-recommend {
  background: var(--c-white);
  padding: 80px 0 100px;
}

.art-recommend__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 24px;
}

.art-recommend__inner .rec-row{
  margin-bottom: 48px;
}

.art-recommend__heading {
  margin-bottom: 40px;
}

.art-recommend__title {
  font-family: var(--f-display);
  font-size: 96px;
  line-height: 0.9;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.art-recommend__title__jp{
  font-size: 70px;
  line-height: 1.2;
}

.art-recommend__rule {
  height: 2px;
  background: var(--c-text);
  margin-top: 2px;
}

.art-recommend__rule-short {
  width: 180px;
  height: 3px;
  background: var(--c-text);
}

/* --- SEIKYO SHIMBUN box (article page) --- */
.art-shimbun-wrap {
  background: var(--c-white);
  padding: 0 24px 80px;
}

.art-shimbun {
  max-width: var(--w-content);
  margin: 0 auto;
  border: 2px solid var(--c-text);
  border-radius: 32px;
  overflow: hidden;
}

.art-shimbun img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ============================================================
   Responsive — SP (max-width: 899px)
   ============================================================ */

@media (max-width: 899px) {

  /* Recommendation layout */
  .rec-row {
    flex-direction: column;
  }
  .rec-row__reverse{
    flex-direction: column-reverse;
  }

  .rec-large {
    flex: 0 0 auto;
  }

  .rec-ovals {
    flex-direction: column;
  }

  .rec-oval__title {
    font-size: 12px;
  }

  .rec-large__title {
    font-size: 20px;
  }

  /* Hero SP layout */
  .hero {
    display: block;
    position: relative;
    min-height: unset;
    padding-top: 5px;
    padding-bottom: 10px;
    background: var(--c-hero-bg);
    margin-bottom: 30px;
  }

  .hero-inner {
    display: block;
    padding: 0;
    max-width: unset;
    width: 90%;
    margin-top: 30px;
  }

  .hero-title__pc {
    display: none;
  }

  .hero-title__sp {
    display: block;
    z-index: 999;
    height: 65px;
    width: auto;
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    margin: auto;
  }

  .hero__date-circle {
    display: flex;
    position: absolute;
    top: 55px;
    right: 22px;
    z-index: 2;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--c-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero__pc-left {
    display: flex;
    width: 100%;
  }

  .hero__sidebar {
    display: none;
  }

  .hero__main-image {
    /* min-height: unset; */
  }

  .hero__thumbs {
    flex-wrap: wrap;
    height: auto;
    gap: 10px;
  }

  .hero__thumb {
    flex: 1 1 30%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 116px;
  }

  /* Ticker */
  .ticker__track span {
    font-size: 11px;
    padding: 0 32px;
  }

  /* Menubar */
  .menubar__title {
    height: 20px;
  }

  /* Sections */
  .section {
    padding: 40px 0 20px 0;
  }

  .section__heading {
    flex-direction: column;
    align-items: center;
  }

  .section__title {
    font-size: 11cqi;
  }

  .section__subtitle {
    font-size: 16px;
  }

  .section__divider {
    width: 100%;
    flex-basis: auto;
  }

  .section__inner {
    padding: 0 16px;
  }

  .section-white-wrap {
    padding-top: 20px;
  }

  /* NEW TOPICS */
  .nt-grid {
    grid-template-columns: 1fr;
  }

  .rec-ovals {
    flex-direction: row;
  }

  /* CAREER */
  .overlay-card--full {
    height: 220px;
    margin-bottom: 16px;
  }

  .article-item__img--rect {
    width: 90px;
    height: 80px;
  }

  .article-item__img--circle {
    width: 90px;
    height: 80px;
    border-radius: 50%;
  }

  .career-list {
    flex-direction: column;
  }

  .career-list > .article-item {
    flex-direction: row;
  }

  /* RELATIONSHIP */
  .rel-grid {
    grid-template-columns: 1fr;
  }

  /* USER'S VOICE */
  .voice-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .voice-card {
    aspect-ratio: 1 / 1;
  }
  


  /* LEARNING */
  .learning-content {
    grid-template-columns: 1fr;
  }

  .learning-featured {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: unset;
  }

  /* SEIKYO SHIMBUN */
  .seikyo-shimbun-wrap {
    padding: 32px 16px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 24px;
  }

  .footer__nav {
    gap: 24px 36px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
  }

  .footer__legal {
    gap: 8px 14px;
  }

  /* ---- Article Page SP ---- */
  .art-hero {
    flex-direction: column;
    min-height: unset;
  }

  .art-hero__image {
    width: 100%;
    flex: unset;
  }

  .art-hero__image--landscape, .art-hero__image--portrait {
    width: 100%;
  
  }
  .art-hero__info {
    padding: 32px 20px;
    gap: 14px;
    flex: unset;
  }

  .art-hero__title {
    font-size: 26px;
    letter-spacing: 0.05em;
  }

  .art-content {
    padding: 48px 0;
  }

  .art-content__inner {
    padding: 0 16px;
  }

  .art-section-heading__title {
    font-size: 14px;
  }

  .art-recommend {
    padding: 48px 0 64px;
  }

  .art-recommend__title, .art-recommend__title__jp {
    font-size: 48px;
  }

  .art-shimbun-wrap {
    padding: 0 16px 48px;
  }

  .art-shimbun {
    border-radius: 20px;
  }
}
/* ============================================================
   Stretch Link — カード全体クリック対応
   ============================================================

   使い方:
   1. カード親要素（.rel-card, .article-item 等）に position:relative を付与
   2. タイトルの <a> に .stretch-link を付与
   3. タグ・reactionボタン等には z-index:2 を付与して前面に出す

   ============================================================ */

/* --- 対象カード親要素に position:relative を付与 --- */
.rel-card,
.article-item,
.rec-large,
.rec-oval,
.rec-wide {
  position: relative;
}

/* --- ストレッチリンク本体 --- */
.stretch-link {
  color: inherit;
  text-decoration: none;
}

/* ::after で親要素全体を覆う透明クリック領域を生成 */
.stretch-link::after {
  content: '';
  position: absolute;
  inset: 0;   /* top:0 right:0 bottom:0 left:0 の短縮 */
  z-index: 1;
}

/* ホバー時のカーソル（親要素どこでも pointer になる） */
.rel-card:hover,
.article-item:hover,
.rec-large:hover,
.rec-oval:hover,
.rec-wide:hover {
  cursor: pointer;
}

/* ============================================================
   Tag Link — #タグ・カテゴリータグのリンク
   ============================================================ */

/* stretch-link の z-index:1 より前面に出す */
.tag-link {
  position: relative;
  z-index: 2;
  color: var(--c-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.tag-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* rel-card 内の tag--border-muted に tag-link を重ねる場合 */
/* <a> 要素に .tag と .tag--border-muted と .tag-link を同時に付与するためスタイル調整 */
a.tag.tag-link {
  display: inline-block; /* tagと同じ */
  cursor: pointer;
}

/* rec-wide などオーバーレイ上（白文字）のタグリンク */
.tag-link--white {
  color: rgba(255, 255, 255, 0.85);
}

.tag-link--white:hover {
  color: #ffffff;
  opacity: 1;
}

/* ============================================================
   Reaction Button — stretch-link より前面に出す
   ============================================================ */

.reaction-btn {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

/* ============================================================
   rel-card — <a> を廃止したことによるレイアウト補正
   ============================================================

   元の .rel-card > a { display:block } に相当するラッパーを
   .rel-card__inner で代替。既存CSSに .rel-card > a のスタイルが
   あれば .rel-card__inner にも同じスタイルを適用する。

   ============================================================ */

.rel-card__inner {
  display: block;
  height: 100%;
  padding: inherit; /* 既存の .rel-card のpadding設定を引き継ぐ */
}





