﻿/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
  /* Colors */
  --c-main: #152238; /* Dark Navy: Trust, Dignity */
  --c-main-light: #2c426b;
  --c-accent: #c5b089; /* Gold: Premium, Warmth */
  --c-accent-light: #d4b576;
  --c-accent-dark: #b08d48;

  --c-text: #333333;
  --c-text-light: #777777;

  --c-bg: #ffffff;
  --c-bg-sub: #f9f9f7; /* Warm Off-White */
  --c-bg-dark: #111a2b; /* Dark Footer BG */

  --c-border: #e2e2e2;
  --c-white: #ffffff;
  --c-error: #cc0000;

  /* Typography */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-heading: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;

  /* Spacing (Rem based on 16px) */
  --sp-xs: 0.5rem; /* 8px */
  --sp-sm: 1rem; /* 16px */
  --sp-md: 2rem; /* 32px */
  --sp-lg: 4rem; /* 64px */
  --sp-xl: 6rem; /* 96px */
  --sp-xxl: 8rem; /* 128px */

  /* Layout */
  --container-width: 1200px;
  --container-width-sm: 800px;
  --header-height: 80px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(21, 34, 56, 0.08);
  --shadow-lg: 0 16px 40px rgba(21, 34, 56, 0.12);

  /* Animations */
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --duration-base: 0.3s;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

.anchor {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

body {
  font-family: var(--font-base);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: 2; /* Generous line height for readability */
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--c-main);
  line-height: 1.5;
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color var(--duration-base) var(--ease-out),
    opacity var(--duration-base) var(--ease-out);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* ==========================================================================
   Page Specific: Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--c-white);
  margin-top: 0;
  background-color: var(--c-main); /* Fallback */
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Darken via opacity or overlay */
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(21, 34, 56, 0.9) 0%,
    rgba(21, 34, 56, 0.4) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--header-height);
  width: 100%;
}

.hero__lead {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--c-accent);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.hero__title {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--c-white);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4rem;
  }
}

.hero__desc {
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero__actions {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    align-items: stretch;
  }

  .hero__img {
    object-position: center center;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(21, 34, 56, 0.68) 0%,
      rgba(21, 34, 56, 0.52) 32%,
      rgba(21, 34, 56, 0.82) 100%
    );
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100svh;
    max-width: 34rem;
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 2rem;
  }

  .hero__lead {
    order: 2;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.7;
    letter-spacing: 0.04em;
    background: rgba(21, 34, 56, 0.28);
  }

  .hero__title {
    order: 1;
    font-size: clamp(2.35rem, 8.8vw, 3rem);
    line-height: 1.28;
    margin-bottom: 1.25rem;
    max-width: 8.5em;
  }

  .hero__desc {
    order: 3;
    max-width: 19em;
    margin-bottom: 1.75rem;
    font-size: 1rem;
    line-height: 1.9;
  }

  .hero__actions {
    order: 4;
    gap: 0.75rem;
    padding-bottom: 1rem;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--sm {
  max-width: var(--container-width-sm);
}

.section {
  padding: var(--sp-lg) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--sp-xl) 0;
  }
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--sp-md);
}

.grid--2 {
  grid-template-columns: 1fr;
}
.grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid--items-center {
  align-items: center;
}
.grid--items-start {
  align-items: start;
}

/* Spacing Utilities */
.u-mt-0 {
  margin-top: 0 !important;
}
.u-mt-sm {
  margin-top: var(--sp-sm) !important;
}
.u-mt-md {
  margin-top: var(--sp-md) !important;
}
.u-mt-lg {
  margin-top: var(--sp-lg) !important;
}
.u-mt-xl {
  margin-top: var(--sp-xl) !important;
}

.u-mb-sm {
  margin-bottom: var(--sp-sm) !important;
}
.u-mb-md {
  margin-bottom: var(--sp-md) !important;
}
.u-mb-lg {
  margin-bottom: var(--sp-lg) !important;
}
.u-mb-xl {
  margin-bottom: var(--sp-xl) !important;
}

.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-white {
  color: var(--c-white);
}
.bg-light {
  background-color: var(--c-bg-sub);
}

.u-hidden-pc {
  display: block;
}
.u-hidden-sp {
  display: none;
}

@media (min-width: 768px) {
  .u-hidden-pc {
    display: none;
  }
  .u-hidden-sp {
    display: block;
  }
}

/* ==========================================================================
   Typography Components
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.section-header__sub {
  display: block;
  font-family: var(--font-base);
  color: var(--c-accent);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--sp-xs);
}

.section-header__title {
  font-size: 2rem;
  position: relative;
  padding-bottom: 1rem;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-header__title {
    font-size: 2.75rem;
  }
}

.section-header__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background-color: var(--c-accent);
}
/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  border: 1px solid transparent;
  text-align: center;
  word-break: keep-all; /* Prevent weird breaks in buttons */
}

/* Variant: Primary (Gold) */
.btn--primary {
  background-color: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn--primary:hover {
  background-color: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* Variant: Secondary (Outline Main) */
.btn--secondary {
  background-color: #fff;
  border-color: var(--c-main);
  color: var(--c-main);
}

.btn--secondary:hover {
  background-color: var(--c-main);
  color: var(--c-white);
}

/* Variant: White (for dark bg) */
.btn--white {
  background-color: var(--c-white);
  color: var(--c-main);
  box-shadow: var(--shadow-sm);
}

.btn--white:hover {
  background-color: #f0f0f0;
}

/* Sizes */
.btn--lg {
  padding: 1.25rem 3.5rem;
  font-size: 1.125rem;
  min-width: 280px;
}

.btn--sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}
/* ==========================================================================
   Page Specific: movies
   ========================================================================== */
.moviesWrap {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.moviesWrap-head__sub {
  display: block;
  font-family: var(--font-base);
  color: var(--c-accent);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--sp-xs);
}
.moviesWrap-head__title {
  font-size: 2.75rem;
  position: relative;
  padding-bottom: 1rem;
  display: inline-block;
}
.moviesWrap-head__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background-color: var(--c-accent);
}
.moviesWrap-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.5rem;
  align-items: stretch;
  margin-top: var(--sp-lg);
}
.moviesWrap-content__detail {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  padding: 0;
}
.moviesWrap-content__detail .detail_link {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
}
.moviesWrap-content__detail .detail_link .ph {
  height: auto;
  aspect-ratio: 16 / 9;
  box-shadow: 0 0 0.12rem rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.moviesWrap-content__detail .detail_link .ph img {
  transition: transform var(--duration-base) var(--ease-out);
  max-width: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 100%;
}
.moviesWrap-content__detail:hover .detail_link .ph img {
  transform: scale(1.04);
}
.moviesWrap-content__detail .detail_link .txt_box {
  margin-top: 0.25rem;
  color: #262626;
  text-align: left;
}
.moviesWrap-content__detail .detail_link .txt_box .title {
  font-size: 1.125rem;
  padding: 0.8rem 0;
  letter-spacing: 0.05em;
  text-align: center;
  font-weight: 700;
  transition: color var(--duration-base) var(--ease-out);
}
.moviesWrap-content__detail:hover .detail_link .txt_box .title {
  color: var(--c-main-light);
}
.moviesWrap-content__detail .detail_link .txt_box .text {
  font-size: 0.95rem;
  letter-spacing: 0.05rem;
  line-height: 1.71;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.moviesWrap-content__detail .movie-actions {
  margin-top: auto;
  padding-top: 0.9rem;
}

.moviesWrap-content__detail .movie-actions .price {
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-main);
  letter-spacing: 0.01em;
}

.moviesWrap-content__detail .movie-actions .price .price-note {
  margin-left: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-light);
}

.moviesWrap-content__detail .movie-actions__buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.moviesWrap-content__detail .movie-btn {
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.moviesWrap-content__detail .movie-btn--cart {
  background-color: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}

.moviesWrap-content__detail .movie-btn--cart:hover {
  background-color: var(--c-accent-light);
  border-color: var(--c-accent-light);
}

@media (max-width: 900px) {
  .moviesWrap-content {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Top Flow
   ========================================================================== */
#top-flow {
  background-color: #f3f3f3;
}

.top-flow-step {
  position: relative;
  background: var(--c-white);
  padding: 3rem 2rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--c-border);
  transition: transform 0.3s ease;
  height: 100%;
}

.top-flow-step:hover {
  transform: translateY(-5px);
}

.top-flow-step__num {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(197, 160, 89, 0.4);
  z-index: 2;
}

.top-flow-step__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--c-main);
  font-weight: bold;
}

.top-flow-step__desc {
  font-size: 0.95rem;
  color: var(--c-text-light);
  text-align: left;
  line-height: 1.7;
}

@media (max-width: 640px) {
  #top-flow .btn {
    width: 100%;
    min-width: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    white-space: normal;
  }
}

/* ==========================================================================
   Top Option
   ========================================================================== */
.option-card {
  max-width: var(--container-width-sm);
  margin: 0 auto;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .option-card {
    padding: 3rem 4rem;
  }
}

.option-card__badge {
  display: inline-block;
  background: var(--c-main);
  color: var(--c-white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.option-card__title {
  font-size: 1.5rem;
  color: var(--c-main);
  margin-bottom: 1rem;
}

.option-card__desc {
  font-size: 0.95rem;
  color: var(--c-text-light);
  line-height: 1.8;
}

.option-card__divider {
  border-top: 1px solid var(--c-border);
  margin: 1.75rem 0;
}

.option-card__price-label {
  font-size: 0.85rem;
  color: var(--c-text-light);
  margin-bottom: 0.5rem;
}

.option-card__price-value {
  font-size: 1.5rem;
  color: var(--c-main);
  font-family: var(--font-heading);
}

.option-card__price-value strong {
  font-size: 2rem;
  margin: 0 0.15em;
}

.option-card__price-tax {
  font-size: 0.9rem;
  color: var(--c-text-light);
}

.option-card__price-note {
  font-size: 0.9rem;
  color: var(--c-text-light);
  margin-top: 0.35rem;
}

.option-card__caution {
  font-size: 0.8rem;
  color: var(--c-text-light);
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  #top-option .btn {
    width: 100%;
    min-width: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    white-space: normal;
    word-break: break-all;
  }
}

/* ==========================================================================
   Top Reason
   ========================================================================== */
.reason-story {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.reason-story__item {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  background: var(--c-white);
  margin-bottom: var(--sp-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .reason-story__item {
    grid-template-columns: 1fr 1fr;
    margin-bottom: var(--sp-md);
  }

  .reason-story__item:nth-child(even) .reason-story__img-wrapper {
    order: 2;
  }
  .reason-story__item:nth-child(even) .reason-story__content {
    order: 1;
  }
}

.reason-story__img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66%;
  overflow: hidden;
}

.reason-story__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.reason-story__content {
  padding: 2.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .reason-story__content {
    padding: 4rem;
  }
}

.reason-story__num {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--c-accent);
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 2rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .reason-story__num {
    font-size: 6rem;
    top: 2rem;
    right: 3rem;
  }
}

.reason-story__title {
  font-size: 1.5rem;
  color: var(--c-main);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .reason-story__title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
}

.reason-story__desc {
  font-size: 1rem;
  color: var(--c-text-light);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Top Voice
   ========================================================================== */
#top-voice {
  position: relative;
  background-color: #f3f3f3;
}

.top-voice-sliderWrap {
  position: relative;
}

.top-voice-swiper {
  height: auto;
  margin-top: var(--sp-lg);
  padding-bottom: 3.5rem !important;
}

.top-voice-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  height: 100%;
}

.top-voice-card__header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.top-voice-card__thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 72px;
}

.top-voice-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-voice-card__meta {
  min-width: 0;
}

.top-voice-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  line-height: 1.5;
}

.top-voice-card__name {
  font-size: 0.9rem;
  color: var(--c-text-light);
}

.top-voice-card__text {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--c-text);
  line-height: 1.8;
  flex: 1;
}

.top-voice-card__cat {
  margin-top: 0.9rem;
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background-color: #f7f2e6;
  color: var(--c-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#top-voice .top-voice-prev,
#top-voice .top-voice-next {
  position: absolute;
  top: 60%;
  z-index: 10;
  width: 42px;
  height: 60px;
  margin-top: 0;
  cursor: pointer;
  background-color: #707070b8;
  color: #fff;
  transform: translateY(-50%);
}

#top-voice .top-voice-prev {
  left: 0;
  border-radius: 0 50px 50px 0;
}

#top-voice .top-voice-next {
  right: 0;
  border-radius: 50px 0 0 50px;
}

#top-voice .top-voice-prev::after,
#top-voice .top-voice-next::after {
  font-size: 16px;
  font-weight: 700;
}

#top-voice .swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

#top-voice .top-voice-pagination .swiper-pagination-bullet {
  background-color: #b7b7b7;
  opacity: 1;
}

#top-voice .top-voice-pagination .swiper-pagination-bullet-active {
  background-color: var(--c-main);
}

/* ==========================================================================
   Top Voice
   ========================================================================== */
#top-faq .faq-list {
  max-width: 100%;
}
#top-faq .faq-item {
  margin-bottom: 0.625rem;
}
#top-faq .faq-item:last-of-type {
  margin-bottom: 0;
}
#top-faq .faq-item__question {
  font-weight: bold;
  padding: 1rem 1.875rem 1rem 1rem;
  border-bottom: solid 2px var(--c-main-light);
  cursor: pointer;
  position: relative;
}
#top-faq .faq-item__question:before {
  content: "Q";
  color: var(--c-accent);
  display: inline-block;
  margin-right: 0.5em;
  font-size: 1.2em;
}
#top-faq .faq-item__question:after {
  display: block;
  content: "";
  position: absolute;
  right: 1rem;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 0.5em;
  height: 0.5em;
  border-right: solid 2px var(--c-accent);
  border-bottom: solid 2px var(--c-accent);
  transform: rotate(45deg);
  transition: all ease 1s;
}
#top-faq .faq-item__question.open:after {
  transform: rotate(-135deg);
}
#top-faq .faq-item__answer {
  font-size: 0.875rem;
  line-height: 2;
  background-color: #152238;
  color: #fff;
  height: 0;
  overflow: hidden;
  opacity: 0;
  clip-path: polygon(0 0, 0 0, 0 0);
  transition:
    height 0.3s ease,
    opacity 0.3s ease,
    clip-path 1s 0.2s ease;
}
#top-faq .faq-item__answer.open {
  opacity: 1;
  clip-path: polygon(0 0, 200% 0, 0 200%);
}
#top-faq .faq-item__answer-inner {
  padding: 1rem;
}

/* ==========================================================================
   Top About
   ========================================================================== */
#top-about {
  position: relative;
  overflow: hidden;
  background-color: #fcfcfa;
}

#top-about .top-about {
  display: grid;
  gap: 3rem;
}

#top-about::after {
  content: "ABOUT";
  position: absolute;
  top: 5rem;
  right: -2rem;
  color: rgba(21, 34, 56, 0.04);
  font-family: var(--font-heading);
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  pointer-events: none;
}

#top-about .top-about-block {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

#top-about .top-about-block__side {
  display: grid;
  gap: 0.75rem;
}

#top-about .top-about-block__label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--c-accent-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#top-about .top-about-block__label::before {
  content: "";
  width: 0.75rem;
  height: 2px;
  background-color: var(--c-accent);
}

#top-about .top-about-block__heading {
  display: inline-block;
  width: fit-content;
  padding-left: 0.375rem;
  box-shadow: inset 8px 0 0 rgba(197, 160, 89, 0.8);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

#top-about .top-about-block__content {
  display: grid;
  gap: 1.5rem;
}

#top-about .top-about-block__title {
  position: relative;
  padding-bottom: 1.5rem;
  font-size: 1.5rem;
  line-height: 1.8;
}

#top-about .top-about-block__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 5rem;
  height: 1px;
  background-color: rgba(21, 34, 56, 0.4);
}

#top-about .top-about-block__body {
  display: grid;
  gap: 1.25rem;
}

#top-about .top-about-block__body p {
  color: var(--c-text);
}

#top-about .top-about-block__body strong {
  color: var(--c-main);
  font-weight: 700;
}

@media (min-width: 768px) {
  #top-about {
    padding-top: calc(var(--sp-xl) + 1rem);
  }

  #top-about .top-about {
    gap: 4rem;
  }

  #top-about .top-about-block {
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }

  #top-about .top-about-block__side {
    justify-items: start;
  }

  #top-about .top-about-block__heading {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    min-height: 13rem;
    padding-left: 0;
    padding-top: 0.375rem;
    box-shadow: inset -8px 0 0 rgba(197, 160, 89, 0.8);
  }

  #top-about .top-about-block__title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   Top News
   ========================================================================== */
#top-news {
  background-color: var(--c-white);
}

#top-news .top-news__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

#top-news .top-news__heading {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

#top-news .top-news__heading-en {
  color: var(--c-main);
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
}

#top-news .top-news__heading-ja {
  position: relative;
  margin: 0;
  padding-left: 0.875rem;
  color: var(--c-text);
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

#top-news .top-news__heading-ja::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 1.1em;
  background-color: rgba(21, 34, 56, 0.24);
  transform: translateY(-50%);
}

#top-news .top-news__list {
  display: grid;
  gap: 1.5rem;
}

#top-news .top-news-card {
  min-width: 0;
}

#top-news .top-news-card__link {
  display: grid;
  gap: 1rem;
}

#top-news .top-news-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f5f4f0;
}

#top-news .top-news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-base) var(--ease-out);
}

#top-news .top-news-card__thumb-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #c98d84;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #f0c3be;
  background-color: #fffdfb;
}

#top-news .top-news-card__content {
  display: grid;
  gap: 0.5rem;
}

#top-news .top-news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-text-light);
  font-size: 0.875rem;
  line-height: 1.5;
}

#top-news .top-news-card__cat::before {
  content: "|";
  margin-right: 0.5rem;
  color: rgba(21, 34, 56, 0.35);
}

#top-news .top-news-card__title {
  color: var(--c-main);
  font-size: 1.125rem;
  line-height: 1.7;
  transition: color var(--duration-base) var(--ease-out);
}

#top-news .top-news-card__link:hover .top-news-card__thumb img {
  transform: scale(1.04);
}

#top-news .top-news-card__link:hover .top-news-card__title {
  color: var(--c-accent-dark);
}

#top-news .top-news__footer {
  margin-top: 2rem;
  text-align: right;
}

#top-news .top-news__more {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--c-main);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1;
  transition:
    color var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

#top-news .top-news__more::after {
  content: "";
  width: 5.5rem;
  height: 1px;
  background-color: rgba(21, 34, 56, 0.35);
  transform-origin: left center;
  transition: background-color var(--duration-base) var(--ease-out);
}

#top-news .top-news__more:hover {
  color: var(--c-accent-dark);
  transform: translateX(0.25rem);
}

#top-news .top-news__more:hover::after {
  background-color: var(--c-accent-dark);
  animation: top-news-more-line 0.7s var(--ease-out);
}

#top-news .top-news__more--desktop {
  display: none;
}

@media (min-width: 768px) {
  #top-news .top-news__head {
    margin-bottom: 2.5rem;
  }

  #top-news .top-news__heading-en {
    font-size: 3rem;
  }

  #top-news .top-news__heading-ja {
    font-size: 1.125rem;
  }

  #top-news .top-news__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
  }

  #top-news .top-news-card__title {
    font-size: 1.25rem;
  }

  #top-news .top-news__footer {
    display: none;
  }

  #top-news .top-news__more--desktop {
    display: inline-flex;
  }
  #top-voice .top-voice-prev,
  #top-voice .top-voice-next {
    width: 48px;
  }
}

@keyframes top-news-more-line {
  0% {
    transform: scaleX(0.35) translateX(0);
    opacity: 0.45;
  }
  55% {
    transform: scaleX(1.12) translateX(0.4rem);
    opacity: 1;
  }
  100% {
    transform: scaleX(1) translateX(0);
    opacity: 1;
  }
}

/* ==========================================================================
   記事本文モジュール（コラム・ニュース共通／parts-news-single.php）
   ========================================================================== */
.totop-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 0;
  background-color: var(--c-main);
  color: var(--c-white);
  border: none;
  cursor: pointer;
}

.layout_margin.s {
  height: 2.5rem;
}

.layout_margin.m {
  height: 5rem;
}

.layout_margin.l {
  height: 9.375rem;
}

@media (max-width: 640px) {
  .layout_margin.s {
    height: 1.25rem;
  }

  .layout_margin.m {
    height: 2.5rem;
  }

  .layout_margin.l {
    height: 3.75rem;
  }
}
