@charset "utf-8";

/* ===================================
   レスポンシブ表示制御クラス
   PC: 1025px以上
   Tablet: 751px～1024px
   SP: 750px以下
=================================== */

/* PC表示用 (1025px以上で表示) */
.show-pc {
  display: block !important;
}

.show-pc-inline {
  display: inline !important;
}

.show-pc-inline-block {
  display: inline-block !important;
}

.show-pc-flex {
  display: flex !important;
}

.show-pc-inline-flex {
  display: inline-flex !important;
}

.show-pc-grid {
  display: grid !important;
}

.show-pc-table {
  display: table !important;
}

.show-pc-table-row {
  display: table-row !important;
}

.show-pc-table-cell {
  display: table-cell !important;
}

/* Tablet表示用 (751px～1024pxで表示) */
.show-tab,
.show-tab-inline,
.show-tab-inline-block,
.show-tab-flex,
.show-tab-inline-flex,
.show-tab-grid,
.show-tab-table,
.show-tab-table-row,
.show-tab-table-cell {
  display: none !important;
}

/* SP表示用 (750px以下で表示) */
.show-sp,
.show-sp-inline,
.show-sp-inline-block,
.show-sp-flex,
.show-sp-inline-flex,
.show-sp-grid,
.show-sp-table,
.show-sp-table-row,
.show-sp-table-cell {
  display: none !important;
}

/* 非表示クラス */
.hide-pc {
  display: none !important;
}

.hide-tab {
  display: block !important;
}

.hide-sp {
  display: block !important;
}

/* ===================================
   Tablet範囲 (751px～1024px)
=================================== */
@media (max-width: 1024px) {

  /* PC用を非表示 */
  .show-pc,
  .show-pc-inline,
  .show-pc-inline-block,
  .show-pc-flex,
  .show-pc-inline-flex,
  .show-pc-grid,
  .show-pc-table,
  .show-pc-table-row,
  .show-pc-table-cell {
    display: none !important;
  }

  /* Tablet用を表示 */
  .show-tab {
    display: block !important;
  }

  .show-tab-inline {
    display: inline !important;
  }

  .show-tab-inline-block {
    display: inline-block !important;
  }

  .show-tab-flex {
    display: flex !important;
  }

  .show-tab-inline-flex {
    display: inline-flex !important;
  }

  .show-tab-grid {
    display: grid !important;
  }

  .show-tab-table {
    display: table !important;
  }

  .show-tab-table-row {
    display: table-row !important;
  }

  .show-tab-table-cell {
    display: table-cell !important;
  }

  /* 非表示制御 */
  .hide-pc {
    display: initial !important;
  }

  .hide-tab {
    display: none !important;
  }
}

/* ===================================
   SP範囲 (750px以下)
=================================== */
@media (max-width: 750px) {

  /* Tablet用を非表示 */
  .show-tab,
  .show-tab-inline,
  .show-tab-inline-block,
  .show-tab-flex,
  .show-tab-inline-flex,
  .show-tab-grid,
  .show-tab-table,
  .show-tab-table-row,
  .show-tab-table-cell {
    display: none !important;
  }

  /* SP用を表示 */
  .show-sp {
    display: block !important;
  }

  .show-sp-inline {
    display: inline !important;
  }

  .show-sp-inline-block {
    display: inline-block !important;
  }

  .show-sp-flex {
    display: flex !important;
  }

  .show-sp-inline-flex {
    display: inline-flex !important;
  }

  .show-sp-grid {
    display: grid !important;
  }

  .show-sp-table {
    display: table !important;
  }

  .show-sp-table-row {
    display: table-row !important;
  }

  .show-sp-table-cell {
    display: table-cell !important;
  }

  /* 非表示制御 */
  .hide-sp {
    display: none !important;
  }
}

/* ===================================
    基本設定
=================================== */
html {
  font-size: 10px !important;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 750px) {
  html {
    font-size: 2.5641025641vw !important;
  }
}

/* ===================================
    CSS変数（カスタムプロパティ）
=================================== */
:root {
  /* カラー */
  --color-main: #A50034;
  --color-accent: #722257;
  --color-hover: #C75660;
  --color-text: #444;
  --color-bg: #FAF8F8;

  /* フォント */
  --font-main: "Zen Kaku Gothic New", sans-serif;
  --font-en: "IBM Plex Sans", sans-serif;

  /* サイズ */
  --container-width: 980px;
  --container-padding: 7rem;

  /* 余白 */
  --spacing-xs: 0.8rem;
  --spacing-sm: 1.6rem;
  --spacing-md: 2.4rem;
  --spacing-lg: 3.2rem;
  --spacing-xl: 4.8rem;
  --spacing-xxl: 6.4rem;

  /* トランジション */
  --transition-fast: 0.2s ease;
  --transition-base: 0.4s ease;
  --transition-slow: 0.5s ease;
}

/* ===================================
    body設定
=================================== */
body {
  font-family: var(--font-main);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.07rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  width: 100%;
  overflow-x: hidden;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
}

.font-en {
  font-family: var(--font-en);
}

@media screen and (max-width: 750px) {
  body {
    font-size: 1.4rem;
    line-height: 1.65;
    letter-spacing: 0.07rem;
  }
}

/* ===================================
    ユーティリティクラス
=================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-strong {
  font-family: var(--font-strong);
}

/* ===================================
    レイアウト
=================================== */
.page__container {
  display: grid;
  grid-template-columns: 32.5rem 1fr;
}

@media screen and (max-width: 1200px) {
  .page__container {
    display: block;
  }
}

/* ===================================
    ヘッダー
=================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--color-main);
  z-index: 998;
}

.header__inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  padding: 3.2rem;
}

.header__logo {
  display: block;
  transition: var(--transition-base);
}

.header__logo img {
  display: block;
  max-width: 24.3rem;
}

.header__logo:hover {
  opacity: 0.5;
}

.header__text {
  margin-top: 1.2rem;
  text-align: center;
  color: #FFF;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.17rem;
}

.header__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.header__listIn a {
  padding: 1.5rem;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #FFF;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.085rem;
  transition: var(--transition-base);
}

.header__listIn.active a,
.header__listIn a:hover {
  background: #B72E45;
}

.header__listIn.active a {
  font-weight: 700;
}

.header__listIn a svg path {
  transition: var(--transition-base);
}

.header__listIn.active a svg path,
.header__listIn a:hover svg path {
  stroke: #fff;
}

.header__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.header__bottom-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #FFF;
  font-size: 1.3rem;
  line-height: 0;
  font-weight: 500;
  transition: var(--transition-base);
}

.header__bottom-link svg path {
  transition: var(--transition-base);
}

.header__bottom-link:hover svg path {
  stroke: #fff;
}

.header__copy {
  color: #FFF;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
}

.header__btn {
  max-width: 210px;
  color: #FFF;
  font-size: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 100px;
  border: 1px solid #FFF;
  padding-left: 2.2rem;
  transition: var(--transition-base);
}

.header__btn-icon {
  display: inline-flex;
  margin: -0.05rem -0.1rem -0.1rem 0;
  padding: 1.2rem 1.5rem;
  border-radius: 3rem;
  border: 1px solid #FFF;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header__btn:hover {
  background: #B72E45;
}

.header__btn:hover .header__btn-icon svg {
  animation: slideOutInUpRight 0.6s forwards;
}

.hamburger,
.header-overlay {
  display: none;
}

@media screen and (max-width: 1180px) {
  .header__inner {
    padding: 3.2rem 2.2rem;
  }

  .header__listIn a {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 1200px) {
  .header {
    position: fixed;
    top: 0;
    right: 0;
    left: inherit;
    transform: translateX(100%) !important;
    visibility: hidden;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
    width: 39rem;
  }

  .header.active {
    transform: translateX(0) !important;
    visibility: visible;
    opacity: 1;
  }

  .header__logo {
    max-width: 20rem;
  }

  .header__text {
    max-width: 20rem;
  }

  .hamburger {
    position: fixed;
    top: 3rem;
    right: 2rem;
    z-index: 999;
    width: 5.2rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-main);
    border-radius: 5rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s ease, background 0.4s ease;
  }

  .hamburger__icon {
    width: 2rem;
    height: 2rem;
  }

  .hamburger__line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .hamburger.active {
    background: #fff;
  }

  .hamburger.active .hamburger__line {
    stroke: var(--color-main);
  }

  .hamburger.active .hamburger__line--01 {
    transform: translate(-3px, 5px) rotate(45deg);
  }

  .hamburger.active .hamburger__line--02 {
    opacity: 0;
  }

  .hamburger.active .hamburger__line--03 {
    transform: translate(-3px, -2px) rotate(-45deg);
  }

  .hamburger.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .header-overlay {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .header-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

@media screen and (max-width: 750px) {
  .header {
    width: 100%;
    height: 100%;
    overflow-y: auto;
  }

  .header__inner {
    min-height: 68rem;
  }

  .header__list {
    gap: 0.4rem;
  }

  .header__listIn a {
    padding: 1.6rem;
    font-size: 1.7rem;
    gap: 1.2rem;
  }

  .header__listIn.active a {
    font-weight: 500;
    background: transparent;
  }

  .header__listIn svg {
    width: 2.2rem;
    height: 2.2rem;
  }

  .header__listIn.active a svg path,
  .header__listIn a:hover svg path {
    stroke: #C75660;
  }

  .header__btn {
    margin: 0 auto;
    width: 19rem;
    max-width: 100%;
  }

  .header__btn-icon svg {
    width: 2rem;
    height: 2rem;
  }

  .header__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem 1.6rem;
  }

  .header__bottom-link svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .header__copy {
    font-size: 1rem;
  }
}

/* ===================================
    フッター
=================================== */
.footer {
  display: none;
}

@media screen and (max-width: 750px) {
  .footer {
    display: block;
    padding: 1rem;
    background: var(--color-main);
    color: #FFF;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
  }
}

/* ===================================
    ホースアニメーションのスタイル
=================================== */
[data-hose^="hose"] {
  position: relative;
  min-height: 100vh;
}

.hose__svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

[data-hose^="hose"] .section__inner {
  position: relative;
  z-index: 1;
}

.hose__svg path {
  position: absolute;
  top: 0;
  left: 0;
}

/* ===================================
    section（共通）
=================================== */
.section__container {
  position: relative;
  padding: 0 7rem;
  background: url(../images/common/bgMain.webp) center/cover no-repeat;
  z-index: 2;
}

.section__container[data-container="entry"] {
  position: relative;
  padding: 0;
  margin-bottom: 0 !important;
  background: #fff;
}

.section__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14rem;
}

.section__inner[data-inner="980]"] {
  max-width: 980px;
}

.section__inner[data-inner="1040"] {
  max-width: 1040px;
}

.section__inner[data-inner="840"] {
  max-width: 840px;
}

.section__title {
  position: relative;
  color: var(--color-main);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section__title[data-title="about"]::after {
  content: "";
  position: absolute;
  top: -0.2rem;
  left: -3rem;
  width: 2.2rem;
  height: 2.2rem;
  background: url(../images/top/iconAbout.svg) no-repeat center / contain;
}

.section__title[data-title="work"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: -3rem;
  width: 2.2rem;
  height: 2.2rem;
  background: url(../images/top/iconWork.svg) no-repeat center / contain;
}

.section__title[data-title="people"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: -3rem;
  width: 2.2rem;
  height: 2.2rem;
  background: url(../images/top/iconPeople.svg) no-repeat center / contain;
}

.section__title[data-title="recruit"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: -3rem;
  width: 2.2rem;
  height: 2.2rem;
  background: url(../images/top/iconRecruit.svg) no-repeat center / contain;
}

.section__title .en {
  font-size: 2.2rem;
  font-weight: 600;
}

.section__title .ja {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2rem;
}

.section__texts {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.48;
}

@media screen and (max-width: 1024px) {
  .section__container {
    padding: 0 4rem;
  }
}

@media screen and (max-width: 750px) {
  .section__container {
    padding: 0 3rem;
    background: url(../images/common/bgMainSp.webp) center/cover no-repeat;
  }

  .section__container[data-container="entry-white"],
  .section__container[data-container="entry-bg-img"] {
    padding: 3rem 2rem;
  }

  .section__container[data-container="entry-bg-img"] {
    background: #FDFDFD;
  }

  .section__title {
    gap: 1.6rem;
  }

  .section__title .en {
    font-size: 1.8rem;
    padding-left: 3.2rem;
  }

  .section__title .ja {
    font-size: 3.2rem;
    line-height: 1.48;
    letter-spacing: 0.16rem;
  }

  .section__title[data-title="about"]::after,
  .section__title[data-title="work"]::after,
  .section__title[data-title="people"]::after,
  .section__title[data-title="recruit"]::after {
    top: 0.3rem;
    left: 0.2rem;
  }

  .section__texts {
    margin-top: 1.6rem;
  }

  .section__inner {
    gap: 12rem;
  }
}

/* ===================================
    entry（共通）
=================================== */
.entry {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.entry__card {
  padding: 0 0 0 3.4rem;
  max-width: 50rem;
  width: 100%;
  aspect-ratio: 25 / 13;
  position: relative;
  transition: var(--transition-base);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.entry__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/top/bgEntry.svg) no-repeat center /contain;
  z-index: -1;
  transition: var(--transition-base);
}

.entry__card::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  border-radius: 20px;
  background: rgba(250, 248, 248, 0.70);
  transition: var(--transition-base);
}

.entry__card:hover::before {
  transform: scale(1.05);
}

.entry__card:hover::after {
  transform: scale(1.05);
}

.entry__card-title {
  color: #FAF8F8;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.16rem;
}

.entry__card-text {
  margin-top: 2rem;
  color: #FAF8F8;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2.4;
}

.entry__card .common__btn {
  position: absolute;
  width: fit-content;
  bottom: 2rem;
  right: 2rem;
}

/* ホバー時のアニメーション */
.entry__card:hover .common__btn .common__btn-icon {
  background: #FAF8F8;
}

.entry__card:hover .common__btn[data-btn="entry"] .common__btn-icon svg {
  animation: slideOutInUpRight 0.6s forwards;
}

.entry__card:hover .common__btn .common__btn-icon svg path {
  stroke: var(--color-main);
}

.scroll-top {
  position: absolute;
  bottom: 5.5rem;
  right: 4rem;
  color: var(--color-main);
  font-size: 1.2rem;
  font-weight: 600;
  writing-mode: sideways-lr;
  border-right: 1px solid var(--color-main);
  padding: 2.5rem 0.5rem 0 0;
  transition: var(--transition-base);
}

.scroll-top:hover {
  opacity: 0.5;
}

.bg-entry {
  padding: 4rem;
  position: relative;
  width: 100%;
  clip-path: inset(0);
}

.bg-entry::after {
  content: "";
  position: fixed;
  bottom: 0;
  right: 0;
  width: calc(100% - 32.5rem);
  height: 38.5rem;
  background-image: url(../images/common/bgEntry01.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

@media screen and (max-width: 1440px) {
  .entry {
    font-size: 0.694444vw !important;
  }

  .entry__card {
    max-width: 49em;
    width: 100%;
    aspect-ratio: 25 / 13;
  }

  .entry__card-title {
    color: #FAF8F8;
    font-size: 3em;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: 0.16em;
  }

  .entry__card-text {
    margin-top: 1.6em;
    color: #FAF8F8;
    font-size: 1.4em;
    font-weight: 500;
    line-height: 2.4;
  }

  .entry__card .common__btn {
    gap: 1.6em;
    bottom: 2em;
    right: 1.5em;
  }

  .entry__card .common__btn .common__btn-text {
    font-size: 1.5em;
  }

  .entry__card .common__btn-icon {
    padding: 0.4em 1em;
    border-radius: 3em;
    width: 3.6em;
  }

  .entry__card .common__btn-icon svg {
    width: 1.6em;
    height: 1.6em;
  }
}

@media screen and (max-width: 1200px) {
  .entry__card {
    max-width: 49em;
    padding-left: 2.5em;
  }

  .entry__card .common__btn {
    bottom: 2.1em;
    right: 1em;
  }

  .bg-entry::after {
    width: 100%;
    height: 38.5rem;
  }
}

@media screen and (max-width: 750px) {
  .entry__card {
    padding: 3.2rem 0 3.4rem 2.4rem;
    aspect-ratio: 175 / 138;
    max-width: 100%;
    width: 100%;
    justify-content: start;
  }

  .entry__card::after {
    background: url(../images/top/bgEntrySp.svg) no-repeat center /contain;
  }

  .entry__card:hover::after {
    transform: none;
  }

  .entry__card-title {
    font-size: 2.4rem;
    line-height: 1.48;
    letter-spacing: 0.12rem;
  }

  .entry__card-text {
    margin-top: 1.6rem;
    font-size: 1.5rem;
    line-height: 1.6;
  }

  .entry__card .common__btn {
    bottom: 2rem;
    right: 1.6rem;
    gap: 1.4rem;
  }

  .entry__card .common__btn .common__btn-text {
    font-size: 1.5rem;
  }

  .entry__card .common__btn-icon {
    padding: 0.4rem 1rem;
    border-radius: 3rem;
    width: 3.6rem;
  }

  .entry__card .common__btn-icon svg {
    width: 1.6rem;
    height: 1.6rem;
  }

  .scroll-top {
    display: none;
  }

  .bg-entry {
    padding: 3rem 2rem;
  }

  .bg-entry::after {
    bottom: 3rem;
    height: 33.6rem;
    background-image: url(../images/common/bgEntry01Sp.webp);
  }
}

/* ===================================
    ボタン（共通）
=================================== */
.common__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  transition: var(--transition-base);
}

.common__btn-text {
  width: fit-content;
  color: var(--color-main);
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition-base);
}

.common__btn-icon {
  padding: 0.5rem 1rem;
  border-radius: 3rem;
  border: 1px solid var(--color-main);
  background: var(--color-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 3.6rem;
  transition: var(--transition-base);
}

.common__btn-icon svg {
  position: relative;
  width: 1.6rem;
  height: 1.6rem;
}

.common__btn-icon svg path {
  transition: .6s;
}

.common__btn[data-color="accent"] .common__btn-text {
  color: var(--color-accent);
}

.common__btn[data-color="accent"] .common__btn-icon {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* ホバー時のアニメーション */
.common__btn:hover .common__btn-icon {
  background: #FAF8F8;
}

.common__btn:hover .common__btn-icon svg {
  animation: slideOutIn 0.6s forwards;
}

.common__btn[data-btn="up-right"]:hover .common__btn-icon svg {
  animation: slideOutInUpRight 0.6s forwards;
}

.common__btn[data-btn="about-mv"]:hover .common__btn-icon svg {
  animation: DownOutIn 0.6s forwards;
}

.common__btn:hover .common__btn-icon svg path {
  stroke: var(--color-main);
}

.common__btn[data-color="accent"]:hover .common__btn-icon svg path {
  stroke: var(--color-accent);
}

/* 右に消えて左から戻ってくるアニメーション */
@keyframes slideOutIn {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  40% {
    transform: translateX(150%);
    opacity: 0;
  }

  60% {
    transform: translateX(-150%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutInUpRight {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }

  40% {
    transform: translateY(-150%) translateX(150%);
    opacity: 0;
  }

  60% {
    transform: translateY(150%) translateX(-150%);
    opacity: 0;
  }

  100% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }
}

@keyframes DownOutIn {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  40% {
    transform: translateY(150%);
    opacity: 0;
  }

  60% {
    transform: translateY(-150%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media screen and (max-width:750px) {
  .common__btn-icon {
    padding: 0.4rem 1rem;
  }
}

/* ===================================
    ページタイトル（共通）
=================================== */
.page__head {
  position: relative;
  padding: 7rem;
  background: #FAF8F8;
}

.page__head-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.page__title {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  color: var(--color-main);
}

.page__title .en {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.11rem;
}

.page__title .ja {
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: -2rem;
  right: 2rem;
  color: var(--color-main);
  font-size: 1.2rem;
  font-weight: 600;
  writing-mode: sideways-lr;
  border-right: 1px solid var(--color-main);
  padding: 0 0.5rem 3.5rem 0;
  transition: var(--transition-base);
  z-index: 3;
}

@media screen and (max-width: 750px) {
  .page__head {
    padding: 3rem;
  }

  .page__title {
    gap: 0.8rem;
  }

  .page__title .en {
    font-size: 1.8rem;
    letter-spacing: 0.09rem;
  }

  .page__title .ja {
    font-size: 3.2rem;
    line-height: 1.48;
    letter-spacing: 0.16rem;
  }

  .scroll-indicator {
    display: none;
  }
}

/* ===================================
    外部リンク確認モーダル
=================================== */
.external-link-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  background: #FFF;
  border: 2px solid var(--color-main);
  border-radius: 2.4rem;
  padding: 4rem 3.2rem 3.2rem;
  max-width: 70rem;
  width: calc(100% - 4rem);
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}

.external-link-modal.open {
  display: flex;
  animation: modalScaleIn 0.3s ease forwards;
}

@keyframes modalScaleIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.external-link-modal__icon {
  width: 6.4rem;
  height: 6.4rem;
  margin: 0 auto;
  background: #FDE8E8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.external-link-modal__icon::before {
  content: "!";
  color: var(--color-main);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.external-link-modal__title {
  color: var(--color-main);
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.external-link-modal__url {
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.8;
  word-break: break-all;
}

.external-link-modal__url-label {
  display: block;
  margin-bottom: 0.8rem;
}

.external-link-modal__buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.external-link-modal__btn {
  min-width: 14rem;
  border-radius: 6rem;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid var(--color-main);
}

.external-link-modal__btn--cancel {
  background: #FFF;
  color: var(--color-main);
  padding: 0.8rem 3.2rem;
}

.external-link-modal__btn--cancel:hover {
  background: var(--color-main);
  color: #FFF;
}

.external-link-modal__btn--confirm {
  background: #FAF8F8;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.9rem 0.8rem 4.4rem;
  gap: 2.5rem;
}

.external-link-modal__btn--confirm:hover {
  background: var(--color-main);
}

.external-link-modal__btn--confirm:hover .common__btn-text {
  color: #fff;
}

.external-link-modal__btn--confirm .common__btn-icon {
  width: 3.4rem;
  padding: 0.6rem 1rem;
}

.external-link-modal__btn--confirm svg {
  width: 1.6rem;
  height: 1.6rem;
}


.external-link-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.external-link-modal-overlay.open {
  display: block;
  animation: overlayFadeIn 0.3s ease forwards;
}

.external-link-modal__img {
  display: block;
  max-width: 250px;
  margin: 1rem auto 0;
}

@keyframes overlayFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 750px) {
  .external-link-modal {
    padding: 3.2rem 2.4rem 2.4rem;
    border-radius: 1.6rem;
    width: calc(100% - 3rem);
  }

  .external-link-modal__icon {
    width: 5rem;
    height: 5rem;
  }

  .external-link-modal__icon::before {
    font-size: 2.8rem;
  }

  .external-link-modal__title {
    font-size: 2rem;
  }

  .external-link-modal__url {
    font-size: 1.3rem;
  }

  .external-link-modal__buttons {
    flex-direction: column;
    gap: 1.2rem;
  }

  .external-link-modal__btn {
    width: 18rem;
    min-width: auto;
    font-size: 1.5rem;
    margin: 0 auto;
  }

  .external-link-modal__btn--cancel {
    padding: 0.9rem 3.2rem;
  }

  .external-link-modal__img {
    max-width: 100%;
    width: 20rem;
  }

}