/* EarthNote - Clean CSS (organized / single file) */

/* ========================================================================== */
/* 01. Base / Tokens / Reset                                                  */
/* ========================================================================== */

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  --header-h: 80px;
  --crumb-h: 30px;

  --container-w: 1150px;
  --container-px: 40px;

  --space-2xs: clamp(4px, 0.8vw, 8px);
  --space-xs: clamp(8px, 1.5vw, 12px);
  --space-sm: clamp(12px, 2vw, 16px);
  --space-md: clamp(16px, 3vw, 24px);
  --space-lg: clamp(24px, 4vw, 40px);
  --space-xl: clamp(40px, 6vw, 72px);
  --space-2xl: clamp(56px, 8vw, 110px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (max-width: 767px) {
  :root {
    --header-h: 52px;
  }

  body {
    font-size: 14px;
  }
}

/* ========================================================================== */
/* 02. Typography                                                             */
/* ========================================================================== */

.font-marcellus {
  font-family: "Marcellus", serif;
}
.font-noto {
  font-family: "Noto Sans JP", sans-serif;
}
.font-montserrat {
  font-family: "Montserrat", sans-serif;
}

/* ========================================================================== */
/* 03. Layout / Utilities                                                     */
/* ========================================================================== */

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding-inline: var(--container-px);
}

.pc-only {
  display: block;
}
.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }
}

.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .sp-br {
    display: block;
  }
}

/* ========================================================================== */
/* 04. Header / Navigation                                                    */
/* ========================================================================== */

/* ------------------------------------------ */
/* Header base                                */
/* ------------------------------------------ */

.header {
  height: var(--header-h);
  min-height: var(--header-h);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
}

.header__inner {
  width: 100%;
  height: var(--header-h);
  max-width: none;
  margin: 0;
  padding: 0 25px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* logo link */
.header__logo a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;

  display: flex;
  flex-direction: column;
  justify-content: center;
}
.header__logo a:hover {
  opacity: 0.7;
}

/* lead/tagline（両方のclass対応） */
.header__logo-lead,
.header__tagline {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.2;
  margin-bottom: 5px;
}

.header__logo-img {
  width: 180px;
  height: auto;
  display: block;
}

/* ------------------------------------------ */
/* PC nav                                     */
/* ------------------------------------------ */

.header__nav {
  display: block;
}

.header__nav ul {
  display: flex;
  align-items: center;
  list-style: none;

  margin: 0;
  padding: 0;

  position: relative;
  top: -3px;
}

.header__nav li + li::before {
  content: "／";
  margin: 0 20px;
  color: #000;
}

.header__nav a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 13px;
  padding-top: 0;
  padding-bottom: 8px;
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 2px;
  background: #38b48b;

  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.header__nav a:hover::after {
  transform: scaleX(1);
}

/* ------------------------------------------ */
/* Hamburger button (base)                    */
/* ------------------------------------------ */

.header__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
  z-index: 1200;
}

.header__hamburger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.header__hamburger-line {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 24px;
  height: 2px;
  background: #111;

  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.header__hamburger-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;

  width: 24px;
  height: 2px;
  background: #111;

  transition:
    transform 0.25s ease,
    top 0.25s ease;
}

.header__hamburger.is-active .header__hamburger-line,
.header__hamburger[aria-expanded="true"] .header__hamburger-line {
  transform: translate(-50%, -50%) rotate(45deg);
}

.header__hamburger.is-active .header__hamburger-line::before,
.header__hamburger[aria-expanded="true"] .header__hamburger-line::before {
  top: 0;
  transform: rotate(-90deg);
}

/* ------------------------------------------ */
/* Header (SP)                                */
/* ------------------------------------------ */

@media (max-width: 767px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    height: var(--header-h);
  }

  .header__inner {
    padding: 0 16px;
    height: var(--header-h);
    align-items: center;
    position: relative;
  }

  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    position: fixed;
    top: 3px;
    right: 12px;

    transform: none;
    z-index: 2100;
  }

  .header__logo-img {
    width: 130px;
    height: auto;
  }

  .header__logo-lead,
  .header__tagline {
    font-size: 10px;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
  }

  .header__title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
}

/* ========================================================================== */
/* 05. SP Menu                                                                */
/* ========================================================================== */

.sp-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1100;
  overflow-y: auto;
  padding-top: var(--header-h);
}

body.is-menu-open .sp-menu {
  display: block;
}

body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open .header {
  z-index: 2000;
}

body.is-menu-open .header__hamburger {
  z-index: 2100;
}

@media (max-width: 767px) {
  .sp-menu__inner {
    padding: 20px 18px 28px;
  }

  /* ul reset */
  .sp-menu__primary,
  .sp-menu__secondary {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sp-menu__primary {
    margin-top: 10px;
  }

  .sp-menu__secondary {
    margin-top: 35px;
    margin-bottom: 20px;
  }

  .sp-menu__item,
  .sp-menu__subitem {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .sp-menu__link,
  .sp-menu__sublink {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #111;
    text-decoration: none;
  }

  .sp-menu__link {
    padding: 18px 2px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
  }

  .sp-menu__sublink {
    padding: 10px 2px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
  }

  .sp-menu__link:hover,
  .sp-menu__sublink:hover {
    opacity: 0.85;
  }

  .sp-menu__link:focus-visible,
  .sp-menu__sublink:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }

  .sp-menu__link:active,
  .sp-menu__sublink:active {
    opacity: 0.7;
  }

  .sp-menu__icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../images/slash_s.svg") no-repeat;
    background-size: contain;
    flex: 0 0 16px;
    opacity: 0.9;
  }

  .sp-menu__companyicon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../images/company_icon.svg") no-repeat;
    background-size: contain;
    flex: 0 0 16px;
    opacity: 0.9;
  }

  .sp-menu__divider {
    margin: 18px 0;
    border: 0;
    border-top: 1px solid #bbb;
  }
}

@media (min-width: 768px) {
  .sp-menu {
    display: none !important;
  }
}

/* ========================================================================== */
/* 06. Components                                                             */
/* ========================================================================== */

/* ------------------------------------------ */
/* Section Heading Icon (slash.svg)           */
/* ------------------------------------------ */

.section-heading__icon {
  display: inline-block;
  width: 85px;
  height: 70px;
  background: url("../images/slash.svg") no-repeat;
  background-size: contain;
  margin-right: 0.8em;
}

@media (max-width: 767px) {
  .section-heading__icon {
    width: 46px;
    height: 38px;
    margin-right: 0.5em;
  }
}

/* ------------------------------------------ */
/* MV                                         */
/* ------------------------------------------ */

.mv {
  position: relative;
  height: 70vh;
  min-height: 680px;
  padding-top: 0;
  padding-bottom: 0;
  background: url("../images/mv.png") no-repeat center 10% / cover;
  margin-bottom: 110px;
}

.mv .container {
  height: 100%;
  position: relative;
}

.mv__content {
  position: absolute;
  top: 55%;
  left: 2%;
  transform: translateY(-50%);
}

.mv__lead {
  margin-bottom: 30px;
  width: clamp(500px, 40vw, 700px);
  height: auto;
  display: block;
}

.mv__sub {
  font-size: 16px;
  margin-top: 0;
}

.mv__sub::before {
  content: "";
  display: inline-block;
  width: 33px;
  height: 13px;
  background: #fff;
  margin-right: 12px;
}

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}
.fade-in.is-show {
  transform: translateY(0px);
  opacity: 1;
}
.fade-in--first {
  transition-delay: 0.2s;
}
.fade-in--second {
  transition-delay: 0.4s;
}

@media (max-width: 767px) {
  .mv__lead {
    width: clamp(280px, 78vw, 360px);
  }

  .mv__sub {
    font-size: 14px;
  }

  .mv__sub::before {
    width: 22px;
    height: 9px;
    margin-right: 8px;
  }
}

/* ------------------------------------------ */
/* Articles Layout (shared)                   */
/* ------------------------------------------ */

.articles {
  display: flex;
  gap: 40px;
}

.articles__main {
  flex: 1.3;
}

.articles__sub {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.articles--reverse {
  flex-direction: row-reverse;
}

/* ------------------------------------------ */
/* Goals                                      */
/* ------------------------------------------ */

.goals {
  position: relative;
  padding: 90px 0;
}

.goals__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.goals__info {
  flex: 0 0 214px;
}

.goals__title {
  margin: 0;
  width: 214px;
}

.goals__title img {
  width: 100%;
  height: auto;
  display: block;
}

.goals__sub {
  margin: 0;
  font-weight: 700;
}

.goals__panel {
  position: relative;
  flex: 1;
  padding-inline: 60px;
  overflow: visible;
  min-width: 0;
}

.goals__panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: -30px;
  bottom: -30px;
  width: 60px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.15), transparent);
  pointer-events: none;
}

.goals__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100px;
  grid-template-rows: repeat(2, auto);
  gap: 20px 24px;
  width: max-content;
}

.goals__scroll {
  scroll-behavior: smooth;
  scrollbar-width: none;

  overflow-x: auto;
  overflow-y: hidden;

  max-width: 100%;
  width: 100%;
  min-width: 0;
}

.goals__scroll::-webkit-scrollbar {
  display: none;
}

.goals__icon {
  width: 120px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.goals__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;

  border-radius: 50%;
  border: none;
  background: #000;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}

.goals__arrow--prev {
  left: 8px;
}

.goals__arrow--next {
  right: 8px;
}

.goals__arrow:hover {
  opacity: 1;
}

@media (max-width: 767px) {
  .goals__inner {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .goals__info {
    flex: none;
    width: 100%;
  }

  .goals__title {
    width: 140px; /* 17Goalsを小さく */
  }

  .goals__sub {
    font-size: 13px;
    margin-top: 6px;
  }

  .goals__panel {
    padding-inline: 0;
  }

  .goals__panel::before {
    display: none; /* 左グラデ消す */
  }
}

/* ------------------------------------------ */
/* Common Button（3つをまとめ）               */
/* ------------------------------------------ */

:is(.trends__btn, .interview__btn, .familiar__btn) {
  margin-top: 60px;
  margin-bottom: 110px;
  text-align: right;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;

  width: 100%;
  height: 56px;
  padding: 0 112px 0 24px;

  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;

  transition:
    height 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

:is(.trends__btn, .interview__btn, .familiar__btn)::after {
  content: "›";
  position: absolute;
  top: 9px;
  right: 0;

  width: 88px;
  height: calc(100% - 18px);
  border-left: 1px solid #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  line-height: 1;
}

:is(.trends__btn, .interview__btn, .familiar__btn):hover {
  height: 64px;
  background: #111;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

/* ------------------------------------------ */
/* Background group                           */
/* ------------------------------------------ */

.bg-group {
  position: relative;
  overflow: hidden;
}

.bg-group > section {
  position: relative;
  z-index: 1;
}

.bg-group::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: 50% 0;
}

.bg-group--a::before {
  background-image: url("../images/bg-diagonal-a.png");
  left: -50%;
}

.bg-group--b::before {
  background-image: url("../images/bg-diagonal-b.png");
  left: -100%;
}

@media (max-width: 767px) {
  .bg-group {
    overflow: hidden;
  }

  .bg-group::before {
    background-size: 140% auto;
    background-position: 50% 0;
    left: 0;
  }

  .bg-group--a::before,
  .bg-group--b::before {
    left: 0;
  }
}

/* ------------------------------------------ */
/* Coming soon                                */
/* ------------------------------------------ */

.coming {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0;
}

.coming__item {
  position: relative;
  height: 580px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.coming__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-size: cover;
  background-position: center;

  transform: scale(1);
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.coming__text {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 32px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}

.coming__text h3 {
  font-size: 52px;
  line-height: 1.05;
  margin-bottom: 0;
  font-family: "Marcellus", serif;
  font-weight: 400;
}

.coming__text p {
  font-size: 14px;
  line-height: 1.4;
  font-family: "Noto Sans JP", sans-serif;
}

.coming__item:hover::before {
  filter: brightness(1.15);
  transform: scale(1.12);
}

.is-coming::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 2;
}

.coming__soon {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  font-family: "Marcellus", serif;
  font-size: 32px;
  line-height: 1.1;
}

.coming__soon .line {
  margin-top: -10px;
  font-size: 32px;
}

.is-coming:hover::before {
  transform: none;
  filter: none;
}

.coming__item--sdgs::before {
  background-image: url("../images/sea-turtle.jpg");
}
.coming__item--numbers::before {
  background-image: url("../images/time-is-up.jpg");
}
.coming__item--circulation::before {
  background-image: url("../images/forest-road.jpg");
}

@media (max-width: 767px) {
  .coming {
    grid-template-columns: 1fr;
  }

  .coming__item {
    height: 360px;
  }

  .coming__text h3 {
    font-size: 34px;
  }

  .coming__soon {
    font-size: 24px;
  }
}

/* ------------------------------------------ */
/* About                                      */
/* ------------------------------------------ */

.about {
  position: relative;
  min-height: auto;
}

.about::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);

  width: 100%;
  max-width: 1000px;
  height: 100%;

  background: url("../images/thumbnail-earthnote-default.png") no-repeat center
    top / contain;

  z-index: 0;
  pointer-events: none;
}

.about__inner {
  position: relative;
  z-index: 1;

  width: min(720px, 90%);
  margin: 0 auto;
  padding-top: 160px;
  text-align: center;
}

.about__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

.about__line {
  display: block;
  width: 28px;
  height: 2px;
  margin: 16px auto 0;
  background: #111;
}

.about__text {
  margin: 32px 0 0;
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #111;
}

@media (max-width: 767px) {
  .about__title {
    font-size: 18px;
  }

  .about__text {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* ------------------------------------------ */
/* Marquee                                    */
/* ------------------------------------------ */

.marquee {
  overflow: hidden;
  padding: 0;
  background: #fff;
  filter: saturate(0);
}

.marquee__inner {
  width: 100%;
}

.marquee__track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marquee 300s linear infinite;
  margin: 0;
  padding: 0;
  white-space: nowrap;

  font-family: "Marcellus", serif;
  font-size: 160px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;

  color: rgba(0, 10, 20, 0.09);
  opacity: 0.4;

  text-shadow: none;
  transform: translateZ(0);
}

.marquee__track span {
  display: inline-block;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .marquee__track {
    font-size: 56px;
    gap: 32px;
  }
}

/* ------------------------------------------ */
/* Movie                                      */
/* ------------------------------------------ */

.movie {
  width: 100vw; /* 画面幅 */
  height: 420px;
  overflow: hidden;
  background: #000;

  /* containerの中に居ても画面幅まで広げる */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.movie__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* object-position: 横 縦; */
  display: block;
}

/* ========================================================================== */
/* 07. Footer                                                                 */
/* ========================================================================== */

.footer {
  padding: 45px 35px;
  background: #fff;
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  align-items: flex-start;
  gap: 120px;
}

.footer__brand {
  font-family: "Noto Sans JP", sans-serif;
  flex: 0 0 auto;
  top: -10px;
}

.footer__label {
  font-size: 10px;
  font-weight: 500;
  margin: 0 0 8px;
}

.footer__brand img {
  width: 180px;
  height: auto;
  display: block;
}

.footer__nav-wrap {
  margin-left: auto;
  width: clamp(520px, 58vw, 760px);
  padding-left: 40px;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(48px, 6vw, 140px);
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-main,
.footer__nav-sub {
  justify-self: center;
  width: 100%;
  max-width: 360px;
  position: relative;
  padding-top: 40px;
}

.footer__nav-main::before,
.footer__nav-sub::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
}

.footer__nav a {
  text-decoration: none;
  color: #000;
  font-size: 14px;

  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__nav a:hover {
  opacity: 0.6;
}

.footer__nav li + li {
  margin-top: 14px;
}

.footer__nav a.is-external {
  position: relative;
  padding-right: 22px;
}

.footer__nav a.is-external::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 12px;
  height: 12px;
  border: 1px solid #000;
}

.footer__nav a.is-external::before {
  content: "";
  position: absolute;
  right: 2px;
  top: calc(50% - 6px);

  width: 6px;
  height: 6px;

  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: translate(2px, -2px);
}

.footer__nav-main a::after {
  content: "›";
  font-size: 20px;
  line-height: 1;
  margin-left: 14px;
  transform: translateY(1px);
}

.footer__copy {
  margin: 56px 0 0;
  text-align: center;
  font-size: 12px;
  color: #000;
  opacity: 0.55;
}

@media (max-width: 767px) {
  .footer {
    padding: 32px 16px 24px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer__brand img {
    width: 130px;
  }

  .footer__nav-wrap {
    margin-left: 0;
    width: 100%;
    padding-left: 0;
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    font-size: 13px;
    line-height: 1.6;
  }

  .footer__nav a {
    padding: 6px 0;
    font-size: 13px;
  }

  .footer__nav-main,
  .footer__nav-sub {
    max-width: none;
    padding-top: 24px;
  }

  .footer__nav-main::before,
  .footer__nav-sub::before {
    top: 0;
  }

  .footer__copy {
    margin-top: 20px;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: #777;
  }
}

/* ========================================================================== */
/* 08. Breadcrumb                                                             */
/* ========================================================================== */

.breadcrumb {
  margin-top: var(--header-h);
  height: var(--crumb-h);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.breadcrumb .container {
  margin-left: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.breadcrumb__list {
  transform: translateX(56px);
  display: flex;
  align-items: center;
  height: 100%;
  gap: 10px;

  margin: 0;
  padding: 0;
  list-style: none;

  font-size: 9px;
  line-height: 1;
  color: #666;
}

.breadcrumb__item,
.breadcrumb__item a {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: ">";
  margin: 0 8px;
  color: #000;
  opacity: 0.7;

  display: inline-flex;
  align-items: center;
  height: 100%;
}

.breadcrumb a {
  color: #000;
  text-decoration: none;
}

.breadcrumb a:visited {
  color: #000;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .breadcrumb {
    display: none;
  }
}

/* ========================================================================== */
/* 09. To Top Button                                                          */
/* ========================================================================== */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: 92px;
  height: 92px;

  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;

  background: url("../images/to-top.png") no-repeat center / contain;
  font-size: 0;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.to-top.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-4px);
}

body.is-menu-open .to-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

/* ========================================================================== */
/* 10. Pagination                                                             */
/* ========================================================================== */

.pagination {
  margin-top: 80px;
  margin-bottom: 50px;
}

.pagination__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination__item,
.pagination__item a {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 36px;
  height: 36px;

  font-size: 14px;
  color: #000;
  text-decoration: none;

  border: 1px solid #ddd;
  background: #fff;
}

.pagination__info {
  border: none;
  font-size: 13px;
  color: #666;
  margin-right: 12px;
}

.pagination__item.is-current a {
  background: #000;
  color: #fff;
  border-color: #000;
}

.pagination__next a {
  font-size: 16px;
}

.pagination__item a:hover {
  background: #f2f2f2;
}

/* ========================================================================== */
/* 11. Article common（既存selector維持）                                      */
/* ========================================================================== */

.article__header .article__title {
  font-size: 37px;
  line-height: 1.5;
  font-weight: 700;
  margin-top: var(--space-xl);
}

@media (max-width: 767px) {
  .article__header .article__title {
    font-size: 26px;
    margin-top: var(--space-lg);
  }
}

/* ========================================================================== */
/* 12. Pages (page-*)                                                         */
/* ========================================================================== */

/* ------------------------------------------ */
/* Page: Index                                */
/* ------------------------------------------ */

.page-index .header {
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.page-index .header:hover,
.page-index .header:focus-within {
  background: rgba(243, 245, 246, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* images */
.page-index
  :is(
    .trends__article-image,
    .interview__article-image,
    .familiar__article-image
  ) {
  width: 100%;
  height: auto;
  display: block;
}

/* links */
.page-index :is(.trends__list a, .interview__list a, .familiar__list a) {
  display: block;
  color: #000;
  text-decoration: none;
  transition: opacity 0.25s ease;
}
.page-index
  :is(
    .trends__list a:visited,
    .interview__list a:visited,
    .familiar__list a:visited
  ) {
  color: #000;
}
.page-index
  :is(
    .trends__list a:hover,
    .interview__list a:hover,
    .familiar__list a:hover
  ) {
  opacity: 0.7;
}

/* Index section headings */
.page-index :is(.trends__head, .interview__head, .familiar__head) {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.page-index
  :is(.trends__heading-en, .interview__heading-en, .familiar__heading-en) {
  font-size: 75px;
  font-weight: 400;
  margin: 0;
}

.page-index :is(.trends__slash, .interview__slash, .familiar__slash) {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: #000;
  transform-origin: center;
  transform: rotate(-45deg);
  margin-left: 45px;
  margin-right: 5px;
  position: relative;
  top: 4px;
}

.page-index
  :is(.trends__heading-ja, .interview__heading-ja, .familiar__heading-ja) {
  font-weight: 700;
  position: relative;
  top: 6px;
}

.page-index :is(.trends__lead, .interview__lead, .familiar__lead) {
  font-size: 17px;
  margin-bottom: 50px;
}

/* Index articles common */
.page-index :is(.trends__article-body, .interview__article-body) {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.page-index :is(.trends__article-meta, .interview__article-meta) {
  flex: 0 0 50%;
}

.page-index :is(.trends__article-text, .interview__article-text) {
  flex: 1;
}

.page-index :is(.trends__article-title, .interview__article-title) {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.page-index
  :is(
    .trends__article-date,
    .interview__article-date,
    .familiar__article-date
  ) {
  display: block;
  font-size: 14px;
  color: #666;
}

.page-index :is(.trends__article-desc, .interview__article-desc) {
  line-height: 1.7;
  font-size: 15px;
  color: #333;
}

.page-index
  :is(
    .trends__article-title--sm,
    .interview__article-title--sm,
    .familiar__article-title
  ) {
  font-size: 16px;
}

/* Interview label（Index only） */
.page-index .interview__article-item {
  position: relative;
}

.page-index .interview__article-label {
  position: absolute;
  top: 12px;
  right: 12px;

  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  line-height: 1;
}

/* Familiar list layout（Index） */
.page-index .familiar__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1250px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .page-index .familiar__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Index (SP) */
@media (max-width: 767px) {
  .page-index .header {
    top: 0;
    position: fixed;
    background: #f3f5f6;
    height: var(--header-h);
    box-shadow: none;
  }

  .page-index .header:hover,
  .page-index .header:focus-within {
    background: #fff;
    box-shadow: none;
  }

  .page-index
    :is(.trends__heading-en, .interview__heading-en, .familiar__heading-en) {
    font-size: 46px;
  }

  .page-index :is(.trends__lead, .interview__lead, .familiar__lead) {
    font-size: 15px;
  }

  .page-index
    :is(
      .trends__heading-ja,
      .interview__heading-ja,
      .familiar__heading-ja,
      .trends__slash,
      .interview__slash,
      .familiar__slash
    ) {
    display: none !important;
  }

  .page-index :is(.trends__list.articles, .interview__list.articles) {
    flex-direction: column;
    gap: 24px;
  }

  .page-index :is(.articles__main, .articles__sub) {
    width: 100%;
  }

  .page-index .articles__sub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-index :is(.trends__article-body, .interview__article-body) {
    display: block;
    margin-top: 12px;
  }

  .page-index
    .articles__sub
    :is(.trends__article-image, .interview__article-image) {
    height: 110px;
    object-fit: cover;
  }

  .page-index
    .articles__main
    :is(.trends__article-meta, .interview__article-meta) {
    flex: none;
    width: 100%;
  }

  .page-index
    .articles__main
    :is(.trends__article-text, .interview__article-text) {
    width: 100%;
    margin-top: 10px;
  }

  .page-index :is(.trends__article-title, .interview__article-title) {
    font-size: 17px;
    line-height: 1.55;
  }

  .page-index
    :is(
      .trends__article-date,
      .interview__article-date,
      .familiar__article-date
    ) {
    font-size: 12px;
  }

  .page-index :is(.trends__article-desc, .interview__article-desc) {
    font-size: 13px;
    line-height: 1.75;
  }

  .page-index
    :is(
      .trends__article-title--sm,
      .interview__article-title--sm,
      .familiar__article-title
    ) {
    font-size: 14px;
    line-height: 1.55;
  }
}

/* ------------------------------------------ */
/* page-archive                               */
/* ------------------------------------------ */

.page-archive .header,
.page-trends-article .header {
  background: #f3f5f6;
}

.page-archive {
  --interview-gap: var(--space-lg);
}

.page-archive .interview__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-top: 60px;
  margin-bottom: 100px;
}

.page-archive .interview__title {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  left: -15px;
}

.page-archive .section-heading__icon {
  margin: 0;
}

.page-archive .interview__heading-ja {
  font-size: 30px;
  margin: auto;
}

.page-archive .interview__lead {
  max-width: 1000px;
  font-size: 15px;
  line-height: 1.7;
}

.page-archive .interview__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--interview-gap);
}

@media (max-width: 767px) {
  .page-archive .interview__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-archive .interview__head {
    margin-top: 40px;
    margin-bottom: 70px;
  }

  .page-archive .interview__heading-ja {
    font-size: 22px;
  }

  .page-archive .interview__lead {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-archive .interview__list {
    grid-template-columns: 1fr;
  }
}

.page-archive .interview__list a {
  display: block;
  color: #000;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.page-archive .interview__list a:hover {
  opacity: 0.7;
}

/* single definition */
.page-archive .interview__article-item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #111;
  text-decoration: none;
}

.page-archive .interview__article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-archive .interview__article-title {
  margin: 12px 0 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.page-archive .interview__article-date {
  display: block;
  font-size: 12px;
  color: #999;
}

.page-archive .footer,
.page-trends-article .footer {
  background-color: #f3f5f6;
}

/* ------------------------------------------ */
/* Page: Trends Article (個別記事用レイアウトpage-articleにした方がいい？)                   */
/* ------------------------------------------ */

.page-trends-article {
  background: #fff;
  color: #111;

  --page-x: var(--space-lg);
  --page-y: var(--space-lg);
  --page-bottom: var(--space-2xl);

  --section-gap: var(--space-xl);
  --block-gap: var(--space-md);
}

.page-trends-article .article__section + .article__section {
  margin-top: var(--section-gap);
}

.page-trends-article .layout {
  max-width: var(--container-w);
  margin: 0 auto;
  padding-inline: var(--container-px);

  padding-block: var(--page-y);
  padding-bottom: var(--space-2xl);

  padding-top: 0;
  margin-top: 0;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-xl);
  align-items: start;
}

.page-trends-article .article {
  padding-top: var(--space-lg);
}

.page-trends-article .article__title {
  font-size: 30px;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 700;
}

.page-trends-article .article__meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 24px;
}

.page-trends-article .article__hero {
  width: 100%;
  margin-bottom: 40px;
}

.page-trends-article .article__sublead {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  flex-wrap: nowrap;
  margin: 40px auto;
}

.page-trends-article .article__sublead .article__meta {
  margin: 0;
  min-width: 0;
}

/* copy button */
.page-trends-article .article__copy-button {
  margin-left: auto;
  flex: 0 0 auto;
  width: auto;
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
}

.page-trends-article .article__copy-button img {
  display: block;
  width: auto;
  height: 35px;
}

.page-trends-article .article__lead {
  font-size: 16px;
  line-height: 2;
  margin-top: 0;
  margin-bottom: 40px;
}

* ========================================================================== */
/* Article TOC (SP only)                                                      */
/* ========================================================================== */

/* PCでは非表示、SPだけ表示（既にあるならどっちかに統一でOK） */
.article-toc {
  display: none;
}

@media (max-width: 767px) {
  .article-toc {
    display: block;
    margin: 34px 0 46px;
  }

  .article-toc__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
  }

  /* タイトル下のグリーンライン（理想スクショ寄せ） */
  .article-toc__title::after {
    content: "";
    display: block;
    height: 3px;
    background: #0b8f6a;
    margin-top: 14px;
  }

  .article-toc__list {
    margin: 16px 0 0;
    padding-left: 22px; /* 1. の位置を揃える */
  }

  .article-toc__list li {
    margin: 10px 0;
    line-height: 1.5;
  }

  /* 番号（1. / 1.1）の色・太さ */
  .article-toc__list li::marker {
    color: #111;
    font-weight: 800;
  }

  /* リンク（青＋下線） */
  .article-toc__list a {
    color: #2f80d6;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
  }

  .article-toc__list a:visited {
    color: #2f80d6;
  }

  /* 下層（1.1 / 1.2 ...） */
  .article-toc__list ol {
    margin: 10px 0 0;
    padding-left: 22px;
  }

  .article-toc__list ol li {
    margin: 8px 0;
  }

  .article-toc__list ol li::marker {
    color: #666;
    font-weight: 700;
  }

  .article-toc__list ol ol {
    opacity: 0.55;
  }

  .article-toc__list a:focus-visible {
    outline: 2px solid #0b8f6a;
    outline-offset: 3px;
    border-radius: 4px;
  }

  .article-toc__more {
    margin: 18px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: transparent;
    border: none;
    color: #111;
    font-weight: 700;
    cursor: pointer;
  }

  .article-toc__more-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0b8f6a;
    position: relative;
    flex: 0 0 26px;
  }

  .article-toc__more-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    top: 7px;
  }
}

.page-trends-article .article__heading {
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  background: #f3f3f3;
  border-top: 3px solid #0b8f6a;
  font-size: 28px;
  font-weight: 700;
}

.page-trends-article .article__subheading {
  margin: 30px 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;

  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 12px;
  align-items: start;
}

.page-trends-article .article__subheading-prefix {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.page-trends-article .article__marker {
  width: 50px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.page-trends-article .article__subheading-num {
  line-height: 1;
}

.page-trends-article .article__subheading-text {
  min-width: 0;
}

.page-trends-article .article__text {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 18px;
}

.page-trends-article .article__image {
  width: 100%;
  margin: 24px 0;
}

.page-trends-article .u-accent {
  color: #0a9671;
  font-weight: bold;
}

.page-trends-article .u-highlight {
  background: #ffff97;
  padding: 2px 4px;
  font-weight: bold;
}

.page-trends-article .article__captionlink {
  display: inline-flex;
  flex-direction: column;
  row-gap: 5px;
  text-decoration: none;
  color: #3399cc;
}

.page-trends-article .article__captionlink:visited {
  color: #3399cc;
  text-decoration: none;
}

.page-trends-article .callout {
  margin-top: 32px;
  padding: 22px;
  border: 3px solid #cfeee3;
  border-radius: 14px;
  background: #f7fffc;
}

.page-trends-article .callout__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-trends-article .callout__icon {
  width: 30px;
  height: auto;
}

.page-trends-article .callout__title {
  font-weight: 700;
  color: #0b8f6a;
}

.page-trends-article .callout__body {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.9;
}

.page-trends-article .callout__urlwrap {
  display: inline-flex;
  align-items: center;
  column-gap: 5px;
  color: #3399cc;
  text-decoration: none;
}

.page-trends-article .callout__urlwrap:visited {
  color: #3399cc;
  text-decoration: none;
}

.page-trends-article .callout__linkicon {
  width: 20px;
  height: auto;
}

.page-trends-article .comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 14px;
}

.page-trends-article .comparison-table th,
.page-trends-article .comparison-table td {
  border: 1px solid #ddd;
  padding: 14px;
  line-height: 1.7;
}

.page-trends-article .comparison-table thead th {
  background: #f7f7f7;
  text-align: center;
}

/* share */
.page-trends-article .share {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 2px solid #e8e8e8;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;

  clear: both;
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-trends-article .share__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;

  list-style: none;
  margin: 0;
  padding: 0;
}

.page-trends-article .share__item {
  flex: 0 0 auto;
  display: inline-flex;
}

.page-trends-article .share__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.page-trends-article .share__link:hover {
  opacity: 0.7;
}

.page-trends-article .share__item img {
  display: block;
  height: 30px;
  width: auto;
}

.page-trends-article .share .article__copy-button {
  margin-left: auto;
}

.page-trends-article .share .article__copy-button img {
  height: 35px;
  display: block;
  width: auto;
  max-width: 280px;
}

/* sidebar */
.page-trends-article .sidebar {
  position: sticky;
  top: 24px;
}

.page-trends-article .sidebar__top {
  position: relative;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.25);
}

.page-trends-article .sidebar__img {
  width: 100%;
  height: auto;
  display: block;
}

.page-trends-article .sidebar__top span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-weight: 700;
}

.page-trends-article .sidebar__divider {
  border: none;
  border-top: 2px solid #222;
  margin: 28px 0 22px;
}

.page-trends-article .sidebar__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  position: relative;
}

.page-trends-article .sidebar__lead-en {
  font-size: 36px;
  font-weight: 400;
  margin: 0;
}

.page-trends-article .sidebar__slash {
  font-size: 14px;
  font-weight: 700;
}

.page-trends-article .sidebar__lead-ja {
  font-size: 14px;
  font-weight: 700;
}

.page-trends-article .sidebar__title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #0b8f6a;
}

.page-trends-article .pickup {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-trends-article .pickup__link {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.page-trends-article .pickup__thumb {
  width: 120px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.page-trends-article .pickup__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

.page-trends-article .pickup__link:hover {
  opacity: 0.75;
}

@media (max-width: 767px) {
  .page-trends-article .layout {
    grid-template-columns: 1fr;
  }

  .page-trends-article .article__title {
    font-size: 24px;
  }

  .page-trends-article .article__heading {
    font-size: 22px;
  }

  .page-trends-article .article__subheading {
    font-size: 18px;
  }

  .page-trends-article :is(.article__text, .article__lead) {
    font-size: 14px;
  }

  .page-trends-article .sidebar {
    position: static;
  }
}
