/* ===== Hero / MV ===== */
.hero {
  position: relative;
  height: auto;
  min-height: 0;
  max-height: none;
  background-color: #f5ead0;
  background-image: url('top/images/back-sp.jpg');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.hero::after {
  content: none;
}

.hero h1 {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

.hero-scroll {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  letter-spacing: 0.2em;
  font-family: var(--subtitle-font);
  color: var(--color-white);
  animation: scroll-bounce-sp 2s ease-in-out infinite;
}

.hero > img {
  position: absolute;
  display: block;
  left: 50%;
  top: calc(var(--header-height-sp) - 14px);
  z-index: 4;
  width: 100%;
  height: auto;
  max-width: none;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero > img:nth-of-type(2) {
  left: auto;
  top: calc(var(--header-height-sp) + 36px);
  right: clamp(8px, 3vw, 18px);
  z-index: 8;
  width: clamp(104px, 32vw, 144px);
  transform: none;
}

.hero > img:first-of-type {
  position: relative;
  left: auto;
  top: auto;
  margin-top: calc(var(--header-height-sp) + 8px);
  transform: none;
}

.hero-pc {
  display: none;
}

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

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

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

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

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

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-text-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll {
    animation: none;
  }
}

@media (max-width: 374px) {
  .hero {
    min-height: 0;
  }

  .hero > img {
    top: calc(var(--header-height-sp) - 14px);
    left: 50%;
    width: 100%;
    height: auto;
  }
}

/* PCは背景・コピー・説明を同じ比率のキャンバス上で拡縮する。 */
@media (min-width: 1024px) {
  .hero {
    height: auto;
    min-height: 0;
    padding-top: var(--header-height-sp);
    background-image: none;
  }

  .hero h1 {
    position: absolute;
  }

  .hero > img,
  .hero > img:nth-of-type(2) {
    display: none;
  }

  .hero-pc {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 5;
    background: url('top/images/main-visual-pc.png?v=20260823') center / 100% 100% no-repeat;
  }

  .hero-pc > div:first-child {
    position: absolute;
    inset: 0;
    z-index: 3;
  }

  .hero-pc > div:first-child img {
    position: absolute;
    left: 3%;
    height: auto;
    opacity: 0;
  }

  .hero-pc > div:first-child img:first-child {
    top: 4%;
    width: 36%;
    height: 36%;
    object-fit: contain;
    object-position: left bottom;
    animation: hero-copy-in 0.9s ease 0.15s forwards;
  }

  .hero-pc > div:first-child img:nth-child(2) {
    top: 44%;
    width: 35%;
    animation: hero-text-in 0.9s ease 0.45s forwards;
  }

  .hero-pc > div:nth-child(2) {
    display: none;
  }

  .hero-pc > img {
    position: absolute;
    top: 1.5%;
    right: 1%;
    z-index: 8;
    width: 12%;
    height: auto;
    pointer-events: none;
  }

  .hero-scroll {
    right: auto;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bounce 2s ease-in-out infinite;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding-top: var(--header-height-pc);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pc > div:first-child img:first-child,
  .hero-pc > div:first-child img:nth-child(2) {
    opacity: 1;
    animation: none;
  }
}

/* ===== 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;
  }
}

/* ===== 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;
  }
}
