/* ===== Hero / MV ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: url('top/images/main-img.jpg');
  background-size: cover;
  background-position: right center;
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
  max-width: var(--max-width);
  margin: 0 0 0 40px;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-family: var(--title-font);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: var(--base-weight3);
  line-height: 1.7;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  white-space: nowrap;
  animation: hero-fadein 0.9s ease-out 0.3s both;
}

.hero-subtitle {
  font-family: var(--title-font);
  font-size: 22px;
  line-height: 1.8;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: hero-fadein 0.9s ease-out 0.7s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: hero-fadein 0.9s ease-out 1.0s both;
}

.hero-btn {
  padding: 18px 40px;
  font-family: var(--title-font);
  font-size: 16px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(214, 21, 24, 0.3);
}

.hero-cta-divider {
  display: block;
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.5);
}

.hero-cta p {
  font-family: var(--title-font);
  font-size: 18px;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-family: var(--subtitle-font);
  color: var(--color-white);
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero-scroll span:first-child {
  display: block;
}

.hero-scroll span:last-child {
  display: block;
  font-size: 14px;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes hero-fadein {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .hero-subtitle,
  .hero-cta {
    animation: none;
  }
}

@media (max-width: 1023px) {
  .hero {
    height: 80vh;
    background-image: url('top/images/main-img-sp.jpg');
    background-position: center bottom;
  }

  .hero::before {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.12) 100%);
  }

  .hero-inner {
    padding: 0 24px;
    margin: 0;
    align-items: flex-start;
    padding-top: calc(var(--header-height-sp) + 40px);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 24px;
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 32px;
    white-space: normal;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-cta-divider {
    display: none;
  }

  .hero-btn {
    padding: 7px 18px;
    font-size: 12px;
    box-shadow: none;
  }

  .hero-cta p {
    font-size: 15px;
  }

  .hero-scroll {
    bottom: 12px;
  }
}

@media (max-width: 767px) {
  .hero {
    background-position: bottom center;
  }
}

/* ===== Name Change Notice ===== */
.section-name-notice {
  position: relative;
  background-color: var(--color-bg);
  overflow: hidden;
}

.section-name-notice::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('common/images/back01.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.section-name-notice > .container {
  position: relative;
  z-index: 1;
}

.name-notice-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  border: 1px solid rgba(161, 123, 64, 0.45);
  background-color: rgba(255, 252, 245, 0.9);
  text-align: center;
}

.name-notice-box h2 {
  margin-bottom: 28px;
}

.name-notice-box p:not(.section-en) {
  max-width: 760px;
  margin: 0 auto 18px;
  font-family: var(--title-font);
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

.name-notice-box .name-notice-change {
  margin: 28px auto;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.8;
  text-align: center;
}

.name-notice-box p.name-notice-sign {
  margin-top: 30px;
  margin-bottom: 0;
  text-align: right;
}

@media (min-width: 768px) {
  .name-notice-box {
    padding: 56px 64px;
  }

  .name-notice-box p:not(.section-en) {
    font-size: 16px;
  }
}

/* ===== Banner ===== */
.section-banner {
  padding-top: 0;
}

.section-banner > .container {
  width: 95%;
  max-width: none;
  padding: 0;
}

.section-banner ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.section-banner a {
  display: block;
}

.section-banner img {
  width: 100%;
  display: block;
}

.banner-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.78);
  z-index: 1000;
}

.banner-modal:target {
  display: flex;
}

.banner-modal a {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

.banner-modal img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: min(94vw, 1200px);
  max-height: 88vh;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: contain;
}

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

/* ===== About ===== */
.section-about {
  position: relative;
  background-color: var(--color-bg);
  overflow: hidden;
}

.section-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('top/images/aboutback.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.section-about > .container {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-images {
  order: -1;
}

.about-text h2 {
  margin-bottom: 32px;
}

@media (max-width: 1023px) {
  .about-text h2 {
    font-size: 24px;
    line-height: 1.65;
    letter-spacing: 0.03em;
  }
}

.about-text p:not(.section-en) {
  font-family: var(--title-font);
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 40px;
}

.about-img-1 {
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1023px) {
  .about-images {
    margin-bottom: 16px;
  }

  .about-img-1 {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .about-images {
    order: 0;
  }

  .about-img-1 {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

}

/* ===== Commitment ===== */
.section-commitment {
  background-color: var(--color-main);
  color: var(--color-white);
}

.section-commitment .section-en {
  margin-bottom: 16px;
}

.commitment-title {
  margin-bottom: 60px;
}

.commitment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.commitment-card {
  position: relative;
  border-top: 1px solid rgba(161, 123, 64, 0.5);
  padding: 40px 0;
}

.commitment-card:last-child {
  border-bottom: 1px solid rgba(161, 123, 64, 0.5);
}

.commitment-number {
  font-family: var(--title-font);
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
  text-align: center;
}

.commitment-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 24px;
  border: 1px solid rgba(161, 123, 64, 0.6);
}

.commitment-card h3 {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: var(--base-weight3);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 16px;
  color: var(--color-white);
}

.commitment-card p {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 1024px) {
  .commitment-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
  }

  .commitment-card {
    border-top: none;
    border-bottom: none;
    border-left: 1px solid rgba(161, 123, 64, 0.5);
    padding: 0 24px;
  }

  .commitment-card:last-child {
    border-bottom: none;
    border-right: 1px solid rgba(161, 123, 64, 0.5);
  }

  .commitment-card h3 {
    font-size: 24px;
  }
}

/* ===== Scene ===== */
.section-scene {
  position: relative;
  background-color: var(--color-bg);
  overflow: hidden;
}

.section-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('top/images/aboutback.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.section-scene > .container {
  position: relative;
  z-index: 1;
}

.section-scene h2 {
  margin-bottom: 48px;
}

.section-scene img {
  width: 100%;
  height: auto;
  margin-bottom: 48px;
}

.scene-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.scene-text p {
  font-family: var(--title-font);
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 32px;
}

/* ===== News ===== */
.section-news {
  position: relative;
  background-color: var(--color-bg-news);
  overflow: hidden;
}

.section-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('common/images/back02.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.section-news > .container {
  position: relative;
  z-index: 1;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.news-list {
  list-style: none;
}

.news-list li {
  border-top: 0.5px solid rgba(161, 123, 64, 0.3);
}

.news-list li:last-child {
  border-bottom: 0.5px solid rgba(161, 123, 64, 0.3);
}

.news-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 2px;
  padding: 20px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.news-list a:hover {
  opacity: 0.65;
}

.news-list time {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--base-font);
  font-size: 13px;
  color: var(--color-sub);
  letter-spacing: 0.1em;
}

.news-list p {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--base-font);
  font-size: 15px;
  font-weight: var(--base-weight2);
  color: var(--color-base);
}

.news-list span {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--color-sub);
}

.news-grid > .btn {
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .news-list time {
    font-size: 14px;
  }

  .news-list p {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: 400px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 60px;
    align-items: start;
  }

  .news-list {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .news-grid > .btn {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 40px;
  }

  .news-list a {
    grid-template-columns: 100px 1fr auto;
    grid-template-rows: auto;
  }

  .news-list time {
    grid-column: 1;
    grid-row: 1;
  }

  .news-list p {
    grid-column: 2;
    grid-row: 1;
  }

  .news-list span {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }
}
