/* CSS Document */

/**********************************************************
* CSS表記
**********************************************************/
:root {
  --black: #444444;
  --main-color: #526f84;
  --sub-red: #c8113d;
  --font-ja-sans: "Noto Sans JP", sans-serif;
  --font-ja-serif: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --font-en-sans: "Lato", sans-serif;
  --font-en-serif: "EB Garamond", serif;
  --width-header: min(100% - 20px, 1000px);
  --width-L: min(100% - 40px, 1000px);
  --width-M: min(100% - 40px, 800px);
  --width-S: min(100% - 40px, 720px);
}
body {
  color: var(--black); font-family: var(--font-ja-serif);
  -webkit-font-feature-settings: "palt";
  -moz-font-feature-settings: "palt";
  font-feature-settings: "palt"; 
}
main{font-size: 1rem; line-height: 2; overflow: clip;}
@media (width <= 768px) {
  main{font-size: 0.875rem;}
}
img {pointer-events: none;}

/* オープニング（Vivus）— 終了までスクロール不可 */
html:has(body.is-opening) {
  overflow: hidden;
}
body.is-opening {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}
.opening-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  pointer-events: none;
}
.opening-title-host {
  position: relative;
  width: clamp(180px, 42.96875vw, 330px);
  aspect-ratio: 330 / 365.55;
  will-change: transform;
}
.opening-title-host svg,
.mainTitle_inner svg {
  display: block;
  width: 100%;
  height: auto;
}
/* オープニング終了まで非表示（body.is-opening 解除後も JS で表示するまで維持） */
.opening-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.mainTitle_inner {
  width: clamp(180px, 42.96875vw, 330px);
  aspect-ratio: 330 / 365.55;
}

/******　PC、スマホ・タブレット オンリー仕様　******/
@media (width <= 768px) {.pc_only {display: none;}}
@media not all and (width <= 768px) {.sp_only {display: none;}}

/**********************************************************
* メイン
**********************************************************/

.header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: clamp(16px, 2.6042vw, 20px);
  width: var(--width-header);
  margin: 0 auto;
  line-height: 1;
  padding-top: 40px;
}
.header_logo {
  display: inline-block;
}
.header_logo img {
  width: clamp(240px, 36.458vw, 280px);
}
.header_txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(9px, 1.1719vw, 12px);
  font-family: var(--font-ja-sans);
  line-height: 1;
}
.header_txt .ad {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.header_txt .sponsored {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* 言語切替（Ja / En）— Lato。スラッシュは .en::before（システム系フォント） */
.header_lang {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin-top: clamp(4px, 0.8vw, 8px);
  font-family: var(--font-en-sans);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--main-color);
}
.header_lang a {
  position: relative;
  text-decoration: none;
  color: var(--black);
}
.header_lang a span {
  font-family: var(--font-en-sans);
  transition: opacity 0.2s ease;
}
.header_lang a.en::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  background-color: var(--main-color);
  opacity: 1;
  pointer-events: none;
  margin: 0 0.75em;
}
html[lang|="ja"] .header_lang a.ja {
  pointer-events: none;
  cursor: default;
}
html[lang|="ja"] .header_lang a.en span {
  opacity: 0.5;
}
html[lang|="en"] .header_lang a.en {
  pointer-events: none;
  cursor: default;
}
html[lang|="en"] .header_lang a.ja span {
  opacity: 0.5;
}
html[lang|="ja"] .header_lang a.en:hover span,
html[lang|="en"] .header_lang a.ja:hover span {
  opacity: 1;
}
.header_lang a:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}

@media (width <= 768px) {
  .header {
    position: relative;
    padding: 10px clamp(40px, 11vw, 52px) 0 0;
  }
  .header_lang {
    position: absolute;
    top: 16px;
    right: 0;
    flex-direction: column;
    align-items: center;
    width: clamp(24px, 6.666667vw, 34px);
    margin-top: 0;
  }
  .header_lang a.en {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .header_lang a.en::before {
    height: clamp(24px, 6.666667vw, 34px);
    margin: 0;
    transform: rotate(90deg);
    transform-origin: center center;
  }
}

/* ファーストビュー */
.fvSection {
  width: 100%;
}
.fv_mainVisual {
  margin-top: -60px;
}
.mainTitle {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  width: var(--width-L);
  margin: 0 auto;
}
.mainTitle img {
  width: clamp(180px, 42.96875vw, 330px);
}
.mainImage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 60px;
  width: 100%;
  margin-top: -86px;
}
.mainImage_text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 28px;
  width: var(--width-L);
  margin: 0 auto;
}
.mainImage_text p {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  font-family: var(--font-en-sans);
  font-weight: 900;
  letter-spacing: 0.5em;
  line-height: 1;
  color: var(--sub-red);
}
.mainImage_text p::before {
  content: "";
  display: inline-block;
  width: 8px;
  aspect-ratio: 0.571428;
  background-color: var(--sub-red);
}
.mainImage_text .subTitle {
  font-size: 2.25rem;
  font-family: var(--font-ja-serif);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.22222;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.mainImage_img {
  width: 100%;
}
.mainImage_img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 2;
  min-height: 280px;
}
.fv_leadTxt {
  width: var(--width-S);
  margin: 0 auto;
  margin-top: 70px;
  font-family: var(--font-ja-sans);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: justify;
}
@media (width <= 810px) {
  .mainImage {
    margin-top: 0;
  }
}
@media (width <= 768px) {
  .fv_mainVisual {
    margin-top: 40px;
  }
  .mainTitle {
    justify-content: center;
  }
  .mainImage {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 36px;
    margin-top: 40px;
  }
  .fv_leadTxt {
    margin-top: 27px;
  }
}

/* 登場人物プロフィール（2カラム／680px以下で縦積み） */
.profiles {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: var(--width-S);
  margin: 50px auto 0;
}
.profiles_item {
  flex: 1;
  min-width: 0;
}
.profiles_item:first-child {
  padding-right: 30px;
  border-right: 1px dotted var(--black);
}
.profiles_item:last-child {
  padding-left: 30px;
}
.profiles_head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.profiles_thumb {
  margin: 0;
  flex-shrink: 0;
}
.profiles_thumb img {
  width: 100px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}
.profiles_meta {
  min-width: 0;
}
.profiles_name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
}
.profiles_name span {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 800;
  margin-left: 4px;
}
.profiles_role {
  margin-top: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-family: var(--font-ja-sans);
}
.profiles_bio {
  margin-top: 20px;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.66667;
  letter-spacing: 0.05em;
  font-family: var(--font-ja-sans);
  text-align: justify;
}
@media (width <= 600px) {
  .profiles {
    flex-direction: column;
  }
  .profiles_item:first-child {
    padding-right: 0;
    border-right: none;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px dotted var(--black);
  }
  .profiles_item:last-child {
    padding-left: 0;
  }
}

/* インタビュー */
.interviewSection {
  display: flex;
  flex-direction: column;
  gap: 70px;
  width: var(--width-S);
  margin: clamp(70px, 19.4444vw, 120px) auto 0;
}
.interview_contents {
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--sub-red);
  gap: 30px;
  padding-top: 30px;
}
.interview_contents_title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.42857;
}
.interview_contents_text {
  font-weight: 400;
  text-align: justify;
}
.interview_contents_text span {
  font-weight: 700;
  font-family: var(--font-ja-sans);
  color: var(--main-color);
}
.interview_contents_img{
  width: 100%;
}
.interview_contents_img img {
  width: 100%;
  aspect-ratio: 1.7142857;
  object-fit: cover;
}
@media (width <= 768px) {
  .interview_contents_img img {
    aspect-ratio: 1.6;
  }
}
.interview_contents_inline_graphic{
  width: 100%;
  margin: 30px 0;
}
.interview_contents_inline_graphic img {
  width: 100%;
  aspect-ratio: 1.7142857;
  object-fit: cover;
}

/* スポンサー・ロゴ */
.sponsorLogo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--main-color);
  padding: 0 0 44px;
  margin-top: clamp(100px,15.625vw,120px);
}
.sponsorLogo a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: -42px;
}
.sponsorLogo a::before {
  content: "";
  display: inline-block;
  width: 120px;
  aspect-ratio: 0.740741;
  background: url("../img/forklift.png") no-repeat center center / contain;
}
.sponsorLogo a img {
  flex-shrink: 0;
  width: auto;
  height: 52px;
  margin-top: 80px;
}
@media (width <= 768px) {
  .sponsorLogo {
    padding: 0 0 36px;
  }
  .sponsorLogo a {
    flex-direction: column;
    gap: 20px;
  }
  .sponsorLogo a img {
    margin-top: 0;
  }
}
