/* AI Web Coding Standard v1.0 — PC基準・クラス単位のレスポンシブ定義 */

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

#ghibli {
  margin: 0;
  color: #111;
  background: #fff;
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15p;
}

.container {
  width: calc(100% - 80px);
  max-width: 1400px;
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .container {
    width: calc(100% - 40px);
  }
}

.hero {
  background: #0c0908;
  color: #fff;
  padding-block: 37px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 486px;
}

@media screen and (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    gap: 20px;
  }
}

.hero-intro {
  width: 500px;
  padding: 40px;
  flex-shrink: 0;
  padding-right: 0;
}

@media screen and (max-width: 1400px) {
  .hero-intro {
    width: 39%;
    padding: 20px 0;
  }
}

@media screen and (max-width: 1024px) {
  .hero-intro {
    width: 100%;
    /* max-width: 720px; */
    order: 2;
  }
}

.hero-title {
  margin: 0 0 50px;
  font-size: clamp(30px, 2.1vw, 35px);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-title-small {
  font-size: clamp(14px, 1.5vw, 15px);
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .hero-title {
    font-size: 25px;
    margin-bottom: 24px;
  }
}

.hero-rule {
  display: block;
  width: 66px;
  height: 1px;
  background: url("../images/hero-rule.svg") center / 100% 100% no-repeat;
  margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
  .hero-rule {
    margin-bottom: 24px;
  }
}

.hero-description {
  font-size: 15px;
  line-height: 2.2;
}

.hero-visual {
  width: 856.876px;
  max-width: 100%;
  min-width: 0;
  /* padding: 30px; */
  /* border-block: 1px dashed #ffffff6b; */
  border-radius: 10px;
}

@media screen and (max-width: 767px) {
  .hero-visual {
    padding: 0px 0;
    order: 1;
  }
}

.hero-art {
  display: flex;
  align-items: center;
  gap: 3.76%;
}

.hero-title-box {
  width: 20.65%;
  aspect-ratio: 164.561 / 378.25;
  background: #0c0908;
  overflow: hidden;
}

.hero-copy-stack {
  width: 12.07%;
  aspect-ratio: 96.196 / 370.5;
  position: relative;
  flex-shrink: 0;
}

.hero-copy-box {
  width: 100%;
  aspect-ratio: 95.332 / 208.333;
  background: #0c0908;
  overflow: hidden;
}

.hero-character-box {
  position: absolute;
  bottom: 0;
  width: 100%;
  aspect-ratio: 96.196 / 191.878;
  background: #0c0908;
  overflow: hidden;
}

.hero-figure {
  width: 59.23%;
  margin: 0;
}

.hero-artwork-box {
  aspect-ratio: 473 / 391;
  background: #0c0908;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.hero-artwork-image {
  object-fit: cover;
}

.hero-credit {
  margin-top: 10px;
  text-align: right;
  font-size: clamp(6px, 0.73vw, 14px);
  white-space: nowrap;
}

.image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .image {
    max-width: 450px;
    height: 100%;
    margin-inline: auto;
  }
}

.icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.anchor-nav {
  padding: 82px 0 80px;
  background: #f9f6f0;
}

@media screen and (max-width: 767px) {
  .anchor-nav {
    padding-block: 32px;
  }
}

.anchor-list {
  display: flex;
  gap: 24px;
}

@media screen and (max-width: 1024px) {
  .anchor-list {
    flex-direction: column;
    gap: 12px;
  }
}

.anchor-link {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  gap: 20px;
  padding: 16px;
  border-radius: 4px;
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: 0.3s;
}

.anchor-link:hover {
  opacity: 0.6;
}

@media screen and (max-width: 1400px) {
  .anchor-link {
    gap: 12px;
    padding: 12px;
  }
}

.anchor-image-box {
  flex-shrink: 0;
  width: 98px;
  aspect-ratio: 98 / 97;
  overflow: hidden;
  background: #f2f2f2;
}

@media screen and (max-width: 1400px) {
  .anchor-image-box {
    width: 64px;
  }
}

.anchor-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.anchor-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (max-width: 1400px) {
  .anchor-title {
    font-size: 15px;
  }
}

@media screen and (max-width: 450px) {
  .anchor-title {
    font-size: 14px;
  }
}

.anchor-description {
  font-size: 13px;
  line-height: 1.5;
}

.anchor-arrow {
  width: 28px;
  aspect-ratio: 1;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: auto;
}

.section {
  padding-block: 120px;
  scroll-margin-top: 24px;
}

@media screen and (max-width: 1024px) {
  .section {
    padding-block: 80px;
  }
}

@media screen and (max-width: 767px) {
  .section {
    padding-block: 56px;
  }
}

.section-warm {
  background: #f9f6f0;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

@media screen and (max-width: 767px) {
  .section-content {
    gap: 32px;
  }
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

@media screen and (max-width: 1024px) {
  .feature-row {
    flex-direction: column;
    gap: 32px;
  }
}

.feature-copy {
  width: calc(50% - 3px);
  min-width: 0;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media screen and (max-width: 1024px) {
  .feature-copy {
    width: 100%;
    flex: auto;
  }
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

@media screen and (max-width: 767px) {
  .section-badge {
    font-size: 11px;
    gap: 8px;
  }
}

.badge-number {
  color: #c82a29;
  font-weight: 700;
}

.badge-rule {
  width: 24px;
  height: 1px;
  flex-shrink: 0;
  background: #c82a29;
}

.section-title {
  font-size: clamp(22px, 1.875vw, 36px);
  line-height: 1.5;
  margin: 0;
  font-weight: 700;
}

@media screen and (max-width: 450px) {
  .section-title br {
    display: none;
  }
}

.title-rule {
  width: 120px;
  height: 2px;
  background: #c82a29;
}

.body-copy {
  font-size: 15px;
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.body-paragraph {
  padding-bottom: 32px;
}

.body-text {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media screen and (max-width: 767px) {
  .body-text {
    font-size: 14px;
    line-height: 1.7;
  }
}

.body-text-s {
  font-size: 13px;
}

.feature-panel {
  width: 50%;
  min-width: 0;
  flex: none;
  padding: 20px;
  background: #f9f6f0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 16px;
  line-height: 2;
}

@media screen and (max-width: 1024px) {
  .feature-panel {
    width: 100%;
    flex: auto;
  }
}

@media screen and (max-width: 767px) {
  .feature-panel {
    padding: 20px;
  }
}

.inamori-panel {
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
}

@media screen and (max-width: 767px) {
  .inamori-panel {
    gap: 16px;
  }
}

.portrait-column {
  width: 219px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.portrait-caption {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .portrait-caption {
    font-size: 11px;
  }
}

.portrait-box {
  aspect-ratio: 219 / 292;
  overflow: hidden;
  background: #f2f2f2;
}

.shikishi-column {
  width: 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.shikishi-box {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f2f2f2;
}

.shikishi-one {
  object-fit: cover;
}

.shikishi-two {
  object-fit: cover;
}

.exhibit-list {
  display: flex;
  gap: 30px;
}

@media screen and (max-width: 1024px) {
  .exhibit-list {
    flex-direction: column;
  }
}

.exhibit-card {
  flex: 1;
  min-width: 0;
  background: #f9f6f0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-title {
  font-size: 16px;
  line-height: 2;
  margin: 0;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .panel-title {
    font-size: 15px;
  }
}

.exhibit-body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

@media screen and (max-width: 767px) {
  .exhibit-body {
    flex-direction: column;
  }
}

.exhibit-image-box {
  width: 219px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  /* background: #f2f2f2; */
  flex-shrink: 0;
}

@media screen and (max-width: 1400px) {
  .exhibit-image-box {
    width: 34%;
  }
}

@media screen and (max-width: 767px) {
  .exhibit-image-box {
    width: 100%;
    aspect-ratio: unset;
  }
}

.mu-image {
  object-fit: cover;
}

.teacup-image {
  object-fit: cover;
}

.small-text {
  font-size: 14px;
  line-height: 2;
  margin: 0;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 30px;
}

@media screen and (max-width: 767px) {
  .button-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

.button {
  min-height: 60px;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #df0522;
  border-radius: 4px;
  background: #df0522;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: 0.3s;
}

.button:hover {
  opacity: 0.6;
}

@media screen and (max-width: 767px) {
  .button {
    font-size: 15px;
    padding: 16px;
  }
}

.button-outline {
  background: #fff;
  color: #df0522;
  transition: 0.3s;
}

.button-outline:hover {
  opacity: 0.65;
}

.lighting-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px
}

.lighting-note {
  background: #fff;
  /* border-left: 2px solid #c82a29; */
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-white {
  background: #fff;
  align-self: stretch;
  width: 100%;
}

.lighting-images {
  display: flex;
  gap: 24px;
}

@media screen and (max-width: 767px) {
  .lighting-images {
    gap: 12px;
  }
}

.lighting-placeholder {
  width: calc(50% - 12px);
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #484848;
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.lighting-placeholder.alt {
  aspect-ratio: 1/0.7;
}

@media screen and (max-width: 767px) {
  .lighting-placeholder {
    width: calc(50% - 6px);
    font-size: 11px;
  }
}

.lighting-image-box {
  width: calc(50% - 12px);
  aspect-ratio: 1/0.8;
  overflow: hidden;
  background: #0069df;
  display: flex;
  align-items: center;
}

.lighting-image-box.alt {
  aspect-ratio: 1/0.7;
}

@media screen and (max-width: 767px) {
  .lighting-image-box {
    width: calc(50% - 6px);
  }
}

.lighting-image {
  object-fit: cover;
}

.character-list {
  display: flex;
  gap: 32px;
}

@media screen and (max-width: 767px) {
  .character-list {
    gap: 16px;
  }
}

.character-box {
  width: calc(50% - 16px);
  aspect-ratio: 332.5 / 241;
  overflow: hidden;
  background: #000;
}

@media screen and (max-width: 767px) {
  .character-box {
    width: calc(50% - 8px);
  }
}

.sagi-image {
  height: 137.97%;
  transform: translateY(-5.49%);
}

.display-panel {
  background: #fbf9f6;
}

.display-image-box {
  aspect-ratio: 593 / 395.382;
  overflow: hidden;
  /* background: #f2f2f2; */
}

@media screen and (max-width: 767px) {
  .display-image-box {
    aspect-ratio: unset;
  }
}

/* スタジオジブリからのメッセージ（Figma 82:10） */
.ghibli-message {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
  padding: 20px;
  border-left: 2px solid #c82a29;
  background-color: #fbf9f6;
}

@media screen and (max-width: 767px) {
  .ghibli-message {
    flex-direction: column;
    align-items: stretch;
    margin-top: 32px;
  }
}

.ghibli-message-photo {
  flex-shrink: 0;
  width: 284.343px;
  aspect-ratio: 284.343 / 284;
  overflow: hidden;
  background-color: #484848;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .ghibli-message-photo {
    width: 100%;
    max-width: 284.343px;
    align-self: center;
  }
}

.ghibli-message-placeholder {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.ghibli-message-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ghibli-message-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 20px;
}

.ghibli-message-title {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  overflow-wrap: anywhere;
}

.ghibli-message-text {
  margin: 0;
  color: #000;
  font-size: 14px;
  line-height: 2;
  overflow-wrap: anywhere;
}

/* Figma 87:36 — 04 message */
.message-section {
  background-color: #f9f5f0;
}

.message-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 30px;
  background-color: #fff;
}

@media screen and (max-width: 767px) {
  .message-card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }
}

.message-person {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 284.343px;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .message-person {
    width: 100%;
    max-width: 284.343px;
    align-self: center;
  }
}

.message-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 284.343 / 284;
  overflow: hidden;
  background-color: #484848;
}

.message-placeholder {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.message-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-person-name {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.message-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 32px;
}

.message-text {
  margin: 0;
  color: #000;
  font-size: 15px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.details-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.center-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.details-title {
  margin: 0;
  font-size: clamp(22px, 1.875vw, 28px);
  line-height: 1.5;
  text-align: center;
}

.center-rule {
  width: 60px;
  height: 2px;
  background: #c82a29;
}

.details-table {
  margin: 0;
  border: 1px solid #eae6df;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.details-row {
  display: flex;
  border-bottom: 1px solid #eae6df;
}

.details-label {
  width: 185px;
  flex-shrink: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 20px;
}

@media screen and (max-width: 767px) {
  .details-label {
    width: 96px;
    padding: 16px 8px;
    font-size: 12px;
  }
}

.details-value {
  margin: 0;
  min-width: 0;
  padding: 18px 24px;
  align-self: center;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media screen and (max-width: 767px) {
  .details-value {
    font-size: 12px;
    padding: 16px 12px;
  }
}

.text-link {
  color: #111;
  text-underline-offset: 3px;
  transition: 0.3s;
}

.text-link:hover {
  opacity: 0.6;
}

.contact {
  padding-block: 100px;
  background: #111;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .contact {
    padding-block: 56px;
  }
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.contact-title {
  font-size: 24px;
  margin: 0;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .contact-title {
    font-size: 20px;
  }
}

.contact-rule {
  width: 40px;
  height: 2px;
  background: #c82a29;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 1024px;
}

@media screen and (max-width: 1024px) {
  .contact-links {
    flex-direction: column;
  }
}

.lighting-button {
  width: 325px;
  max-width: 100%;
  transition: 0.3s;
}

.lighting-button:hover {
  opacity: 0.60;
}

@media screen and (max-width: 767px) {
  .lighting-button {
    width: 100%;
  }
}

.contact-button {
  flex: 1;
  padding: 32px 28px;
  transition: 0.3s;
}

.contact-button:hover {
  opacity: 0.6;
}

@media screen and (max-width: 767px) {
  .contact-button {
    padding: 24px 14px;
  }
}

.text-link_wrapper {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
  .text-link_wrapper {
    flex-direction: column;
  }
}