/* 未来のきっぷ：整理版スタイルシート */

:root {
  --color-blue: #0072ce;
  --color-mintblue: #089cdf;
  --color-deep-blue: #00509a;
  --color-gray: #1e1e1e;
  --color-white: #fff;
  --color-ink: #1e1e1e;
  --color-pink: #fc4fae;
  --content-width: 1000px;
  --text-width: 760px;
  --side-space: clamp(20px, 4vw, 48px);
  --section-space: clamp(40px, 5vw, 100px);
  --radius-card: 12px;
  --shadow-card: 0 10px 30px rgb(0 67 120 / 12%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  background: var(--color-white);
  overflow-x: hidden;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

/* ページ表示時の白いベール */

body::before {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: var(--color-white);
  content: "";
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  animation: page-opening 2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes page-opening {
  0%,
  12% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.english,
.flow-card span {
  font-family: "Poppins", sans-serif;
}

.pblue {
  color: var(--color-blue);
}

.pwhite {
  color: var(--color-white);
}

.pgray {
  color: var(--color-gray);
}

.ppink {
  color: var(--color-pink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.body-txt {
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.03em;
  text-align: center;
}

@media (max-width: 767px) {
  .body-txt {
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.02em;
  }

  :root {
    --side-space: 40px;
    --section-space: 20px;
  }
}

@media (max-width: 479px) {
  :root {
    --side-space: 20px;
    --section-space: 20px;
  }
}

.container {
  width: min(100% - (var(--side-space) * 2), var(--content-width));
  margin-inline: auto;
}

.container-text {
  max-width: var(--text-width);
}

.sp-only {
  display: none;
}

.sp-404-only {
  display: none;
}

.sp-380-only {
  display: none;
}

.pc-only {
  display: block;
}

@media (max-width: 767px) {
  .sp-only {
    display: block;
  }

  .pc-only {
    display: none;
  }
}

@media (max-width: 404px) {
  .sp-404-only {
    display: block;
  }
}

@media (max-width: 383px) {
  .sp-380-only {
    display: block;
  }
}

.font-w500 {
  font-weight: 500;
}

.font-w600 {
  font-weight: 600;
}

.strongb {
  font-size: 1.1em;
  font-weight: 600;
}

.m-t20 {
  margin-top: 20px;
}

.m-t30 {
  margin-top: 30px;
}

.m-t40 {
  margin-top: 40px;
}

/* 背景文字色 */

.mintblue {
  color: var(--color-white);
  background-color: var(--color-mintblue);
}

.white {
  color: var(--color-white);
}

/* ヘッダー */

.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  color: var(--color-white);
  border-bottom: 4px solid white;
  background-color: var(--color-blue);
  overflow: hidden;
}

.site-header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.site-header img {
  width: 90px;
}

p.site-header_name.english {
  font-size: clamp(2em, 6vw, 3.8em);
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1;
  padding: 12px;
}

.site-logo_name {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 767px) {
  p.site-header_name {
    display: none;
  }

  .site-header {
    border-bottom: 3px solid white;
    padding-block: 14px;
  }

  .site-header_inner {
    justify-content: center;
  }

  .site-header img {
    width: 100px;
  }
}

@media (max-width: 430px) {
  .site-header img {
    width: 70px;
  }
}

/* ヘッダーロゴ */

.site-header_logo {
  animation: header-logo-fade 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
  -webkit-tap-highlight-color: transparent;
}

/* PLAN INTERNATIONAL */

.site-header_name {
  animation: header-name-enter 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* ロゴのフェード */

@keyframes header-logo-fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* テキストロゴが右から入る */

@keyframes header-name-enter {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ヘッダーend */

/* section */

.section-mt {
  position: relative;
  min-height: 480px;
  padding-block: var(--section-space);
  overflow: hidden;
}

.section-mt-paper {
  background-color: #f7f3e9;
  background-image: radial-gradient(rgb(105 90 60 / 8%) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
}

/* FV：PC・タブレット */

.fv {
  position: relative;
  min-height: clamp(700px, 55vw, 800px);
  overflow: hidden;
  color: var(--color-white);
  background-color: var(--color-blue);
  background-image: url("../img/pc/pcfv1920.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1920px auto;
}

@media (max-width: 1439px) {
  .fv {
    background-image: url("../img/pc/pcfv.webp");
    background-size: min(100%, 1440px) auto;
  }
}

/* タイトル */

.fv h1 {
  animation: fv-fade-up 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* 「女の子の可能性を広げる」 */

.fv_lead {
  animation: fv-fade-up 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

/* 下部の説明文 */

.fv_description {
  animation: fv-fade-up 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.6s both;
}

@keyframes fv-fade-up {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FV内の配置基準 */

.fv>.container {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: min(100% - (var(--side-space) * 2), var(--content-width));
}

.fv_title-block {
  position: absolute;
  top: 14%;
  left: 0;
  width: 60%;
  text-align: left;
}

.fv_description {
  position: absolute;
  bottom: 38%;
  left: 0;
  width: 60%;
  text-align: left;
}

.fv_description p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.fv h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.2;
}

.fv .kuten {
  font-size: 0.65em;
}

.fv_lead {
  margin-bottom: 0;
  font-size: clamp(17px, 2.1vw, 26px);
  font-weight: 500;
}

.fv_lead span {
  font-size: 1.2em;
  font-weight: 600;
}

/* FV：スマートフォン */

@media (max-width: 767px) {
  .fv {
    min-height: auto;
    aspect-ratio: 375 / 800;
    background-image: url("../img/sp/spfv.webp");
    background-position: center top;
    background-size: 100% auto;
  }

  /* SP：タイトルは上部中央 */

  .fv_title-block {
    top: 5%;
    left: 0;
    width: 100%;
    text-align: center;
  }

  /* SP：説明文は下部中央 */

  .fv_description {
    bottom: 27%;
    left: 0;
    width: 100%;
    text-align: center;
  }

  .fv h1 {
    margin-bottom: 16px;
    font-size: clamp(32px, 10vw, 63px);
  }

  .fv_lead {
    font-size: clamp(18px, 3.1vw, 23px);
  }

  .fv_description p {
    font-size: clamp(13px, 3.7vw, 17px);
    line-height: 1.8;
  }
}

/* 追加：大きめスマホ〜767pxだけ調整 */

@media (min-width: 470px) and (max-width: 767px) {
  .fv {
    aspect-ratio: auto;
    height: clamp(950px, 184vw, 1180px);
    background-size: cover;
    background-position: center top;
  }

  .fv_lead {
    font-size: 24px;
  }

  .fv_title-block {
    top: 5%;
  }

  .fv_description {
    bottom: 233px;
  }
}

.section-title {
  margin-bottom: clamp(32px, 4vw, 56px);
  color: var(--color-blue);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.5;
  text-align: center;
}

.section-title-white {
  color: var(--color-white);
}

.section-title-white .title-line__center {
  background-color: var(--color-blue);
  border-color: var(--color-white);
}

.section-title-white .title-line__center::after {
  background-color: var(--color-white);
}

.section-mt-blue .section-title {
  color: var(--color-white);
}

/* スクロールアニメーション */

/* 表示前 */

.js-reveal {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 767px) {
  .js-reveal {
    transform: translateY(40px);
  }
}

/* 画面に入った後 */

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 表示の時間差 */

.reveal-delay-1 {
  transition-delay: 0.25s;
}

.reveal-delay-2 {
  transition-delay: 0.25s;
}

.reveal-delay-3 {
  transition-delay: 0.2s;
}

@media (max-width: 767px) {
  .reveal-delay-1 {
    transition-delay: 0.1s;
  }

  .reveal-delay-2 {
    transition-delay: 0.15s;
  }

  .reveal-delay-3 {
    transition-delay: 0.1s;
  }
}

/* イントロ */

.intro {
  position: relative;
  padding-top: 0;
  background-color: var(--color-white);
  overflow: visible;
}

/* 白い山：PC */

.intro::before {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: calc(100% - 110px);
  left: 50%;
  width: 120%;
  height: 210px;
  background-color: var(--color-white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.intro>.container {
  position: relative;
  z-index: 2;
}

.em {
  font-size: 1.2em;
}

.mt-p {
  margin-bottom: 80px;
}

/* 切符 */

.intro_ticket {
  position: absolute;
  z-index: 3;
  top: -210px;
  left: 50%;
  width: clamp(200px, 22vw, 280px);
  transform: translateX(-50%);
  line-height: 0;
  pointer-events: none;
}

.intro_ticket img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

/* 本体：表示前 */

.intro_ticket-main {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(-30px);
  transform-origin: center;
}

/* 影：表示前 */

.intro_ticket-shadow {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  transform: scale(0.8);
  transform-origin: center bottom;
}

/* 本体と影の共通アニメーション設定 */

.intro_ticket.is-visible .intro_ticket-main,
.intro_ticket.is-visible .intro_ticket-shadow {
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

.intro_ticket.is-visible .intro_ticket-main {
  animation-name: intro-ticket-land;
}

.intro_ticket.is-visible .intro_ticket-shadow {
  animation-name: intro-ticket-shadow;
}

/* 切符：少し上から、ふわっと現れて着地 */

@keyframes intro-ticket-land {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }

  80% {
    opacity: 1;
    transform: translateY(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 影：切符に合わせて徐々に濃くする */

@keyframes intro-ticket-shadow {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 見出しの下線：共通 */

.section-title__inner {
  display: inline-block;
  max-width: 100%;
}

.title-line {
  --line-color: var(--color-blue);
  --center-bg: var(--color-white);
  --center-dot: var(--color-blue);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 12px;
  margin-top: clamp(12px, 2vw, 20px);
}

/* 白い見出し用 */

.section-title-white .title-line {
  --line-color: var(--color-white);
  --center-bg: var(--color-white);
  --center-dot: var(--color-blue);
}

/* 横線 */

.title-line::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 5px;
  background-color: var(--line-color);
  transform: translateY(-50%);
}

/* 左右・中央の丸の共通設定 */

.title-line__dot,
.title-line__center {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  border-radius: 50%;
}

/* 左右の丸 */

.title-line__dot {
  width: 14px;
  height: 14px;
  background-color: var(--line-color);
}

/* 中央の二重丸 */

.title-line__center {
  width: 22px;
  height: 22px;
  background-color: var(--center-bg);
  border: 2px solid var(--line-color);
}

/* 中央の小さい丸 */

.title-line__center::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: var(--center-dot);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* 写真が流れるエリア */

.photo-route {
  position: relative;
  overflow: hidden;
  margin-block: 60px;
}

/* 背景の路線 */

.photo-route__line {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  display: block;
  width: auto;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}

/* PC：横幅いっぱい、高さ12px */

@media (min-width: 768px) {
  .photo-route__line {
    width: 100%;
    max-width: none;
    height: 12px;
    object-fit: fill;
  }
}

.photo-route__viewport {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.photo-route__track {
  display: flex;
  width: max-content;
  animation: photo-route-scroll 40s linear infinite;
  
}

/*
 * 同じ写真のグループを2組並べる。
 * グループ末尾にも写真間と同じ余白を確保。
 */

.photo-route__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding-right: clamp(20px, 3vw, 40px);
}

.photo-card {
  flex-shrink: 0;
  width: clamp(250px, 28vw, 340px);
  margin: 0;
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes photo-route-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* 画面幅による位置調整 */

@media (max-width: 1200px) {
  .intro::before {
    bottom: calc(100% - 77px);
  }
}

@media (max-width: 1024px) {
  .intro::before {
    bottom: calc(100% - 60px);
  }

  .intro_main {
    position: relative;
    top: -30px;
  }
}

/* スマートフォン */

@media (max-width: 767px) {
  /* 白い山：元の形と位置を維持 */

  .title-line::before {
    height: 4px;
  }

  .title-line__dot {
    width: 10px;
    height: 10px;
  }

  .title-line__center {
    width: 20px;
    height: 20px;
  }

  .title-line__center::after {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 395px) {
  .intro::before,
  .intro_ticket {
    translate: 0 20px;
  }
}

/* 5step */

.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.step5 {
  position: relative;
  z-index: auto;
  padding-top: 160px;
  padding-bottom: var(--section-space);
  background-color: #f7f3e9;
  background-image: url("../img/pc/parper.jpg");
  background-repeat: repeat;
  background-position: center top;
  background-size: min(100%, 1440px) auto;
  overflow: visible;
}

.step5_inner {
  position: relative;
  z-index: 3;
}

.step5_title {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: clamp(240px, 32vw, 360px);
  margin: 0;
  transform: translate(-50%, -50%);
}

.step5_title img {
  display: block;
  width: 100%;
  height: auto;
}

.step5_visual {
  position: relative;
  z-index: 3;
  width: 80%;
  margin: -10% auto;
  pointer-events: none;
}

/* タイトル */

.step5-title-delay {
  transition-delay: 0.5s;
}

/* 路線・カード */

.step5-visual-delay {
  transition-delay: 0.6s;
}

.step5_base-wrap {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
}

.step5_base {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width:960px) {
  .step5 {
    padding-top: 120px;
  }
}

@media (max-width: 767px) {
  .step5 {
    padding-top: 60px;
    background-image: url("../img/sp/parper.jpg");
    background-size: 768px auto;
  }

  .step5_visual {
    width: 80%;
    margin-top: -50px;
  }

  .step5_title {
    width: min(80%, 330px);
  }
}

@media (max-width: 479px) {
  .step5_visual {
    width: 100%;
    margin-top: -50px;
  }
}

.step5_girl-wrap {
  position: absolute;
  z-index: 4;
  left: 48%;
  bottom: 41px;
  width: clamp(180px, 25vw, 280px);
  transform: translateX(-50%);
}
@media (max-width: 1660px) {
  .step5_girl-wrap {
    bottom: 60px;
  }
}
@media (max-width: 1440px) {
  .step5_girl-wrap {
    bottom: 73px;
  }
}
@media (max-width: 1240px) {
  .step5_girl-wrap {
    bottom: 84px;
  }
}

@media (max-width: 1037px) {
  .step5_girl-wrap {
    bottom: 9%;
  }
}

.step5_girl {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .step5_girl-wrap {
    z-index: 4;
    left: 72%;
    bottom: 18%;
    width: 48%;
    transform: translateX(-50%);
  }
}

/* 女の子：表示前 */

[data-reveal-girl] .step5_girl {
  opacity: 0;
  transform: translateY(45px) scale(0.96);
  transform-origin: center bottom;
}

/* 画面内に入った後 */

[data-reveal-girl].is-visible .step5_girl {
  animation: step5-girl-enter 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

@keyframes step5-girl-enter {
  0% {
    opacity: 0;
    transform: translateY(45px) scale(0.96) rotate(0deg);
  }

  55% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }

  65% {
    transform: translateY(0) scale(1) rotate(-2deg);
  }

  74% {
    transform: translateY(0) scale(1) rotate(2deg);
  }

  82% {
    transform: translateY(0) scale(1) rotate(-1deg);
  }

  90% {
    transform: translateY(0) scale(1) rotate(0.6deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* 5step end */

@media (max-width: 1025px) {
  .photo-route {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .intro_ticket {
    top: -210px;
    width: 210px;
  }

  .intro::before {
    top: auto;
    bottom: calc(100% - 20px);
    width: 150%;
    height: 170px;
  }

  .photo-route {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .photo-route__line {
    width: 767px;
    max-width: none;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .mt-b {
    margin-bottom: 0;
  }

  .mt-p {
    padding-top: 30px;
    margin-bottom: 60px;
  }
}

@media (max-width: 580px) {
  .intro_ticket {
    top: -210px;
    width: 200px;
  }
}

@media (max-width: 430px) {
  .intro_ticket {
    top: -210px;
    width: 190px;
  }
}

@media (max-width: 376px) {
  .photo-route {
    margin-top: 0;
  }
}

@media (min-width: 1120px) {
  .intro {
    padding-top: 40px;
  }
}

/* イントロend */

/* 女の子だから */

.because {
  --step5-overlap: 75px;
  position: relative;
  z-index: 2;
  margin-top: calc(var(--step5-overlap) * -1);
  background-color: #9cd7ff;
}

.because_intro {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--section-space) + var(--step5-overlap) - 50px);
  padding-bottom: var(--section-space);
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-blue);
  background-image: url("../img/pc/bluegirls1920.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1920px auto;
}

/* 背景画像の上に置く青い幕 */

.because_intro::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: #434b82;
  content: "";
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 内容を青い幕より上にする */

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

/* 画面に入った後、青い幕を消す */

.because_intro.is-visible::before {
  opacity: 0;
}

@media (max-width: 1439px) {
  .because {
    --step5-overlap: 79px;
  }
}
@media (max-width: 1026px) {
  .because {
    --step5-overlap: 78px;
  }
}
@media (max-width: 820px) {
  .because {
    --step5-overlap: 65px;
  }
}

@media (max-width: 767px) {
  .because {
    --step5-overlap: 62px;
  }
}

@media (max-width: 654px) {
  .because {
    --step5-overlap: 55px;
  }
}

@media (max-width: 520px) {
  .because {
    --step5-overlap: 46px;
  }
}
@media (max-width: 460px) {
  .because {
    --step5-overlap: 62px;
  }
}
@media (max-width: 425px) {
  .because {
    --step5-overlap: 58px;
  }
}

@media (max-width: 376px) {
  .because {
    --step5-overlap: 54px;
  }
}

.because_subtitle {
  width: min(80%, 320px);
  margin: 0 auto 20px;
  padding: 0;
  background: none;
  border: 0;
  display: block;
  transform-origin: center bottom;
  animation: because-subtitle-sway 5s ease-in-out infinite;
}

@keyframes because-subtitle-sway {
  0%,
  100% {
    transform: translateX(-6px);
  }

  50% {
    transform: translateX(6px);
  }
}

@media (max-width: 767px) {
  .because_subtitle {
    width: min(80%, 260px);
    margin-top: 20px;
    margin-bottom: 16px;
  }
}

.because_subtitle img {
  display: block;
  width: 100%;
  height: auto;
}

.because_data {
  position: relative;
  z-index: 2;
  padding-block: var(--section-space);
  overflow: visible;
  background-color: #9cd7ff;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 6px 6px;
}

.because_data>.container {
  position: relative;
  z-index: 2;
}

.because_data-lead {
  margin-bottom: clamp(24px, 4vw, 48px);
  text-align: center;
}

/* 路線 */

.because_route {
  position: absolute;
  z-index: 1;
  left: calc(50% - 720px);
  bottom: -110px;
  width: 620px;
  pointer-events: none;
}

@media (max-width: 767px) {
  .because_route {
    left: -250px;
    bottom: -80px;
    width: 430px;
  }
}

@media (max-width: 390px) {
  .because_route {
    left: -270px;
  }
}

.because_route img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

/* タブレット・小さめPC */

@media (max-width: 1439px) {
  .because_intro {
    background-image: url("../img/pc/blugirls1440.webp");
    background-size: min(100%, 1440px) auto;
  }
}

@media (max-width: 767px) {
  .because_intro {
    background-image: url("../img/sp/sp-bg.webp");
    background-size: auto 280%;
    background-position: center 58%;
    padding-top: 50px;
    padding-bottom: 30px;
  }
}

@media (max-width: 520px) {
  .because_intro {
    background-size: auto 170%;
    background-position: center 47%;
  }
}

@media (max-width: 479px) {
  .because_intro {
    padding-top: 56px;
  }
}

@media (max-width: 425px) {
  .because_intro {
    padding-top: 56px;
    background-size: auto 150%;
    background-position: center 40%;
  }
}

.daia-wrap {
  display: flow-root;
}

.daia {
  display: block;
  width: 14px;
  height: 14px;
  margin: clamp(24px, 4vw, 48px) auto;
  background-color: var(--color-white);
  transform: rotate(45deg);
}

@media (max-width: 767px) {
  .daia {
    width: 10px;
    height: 10px;
  }
}

.message p {
  font-size: 1.3em;
}

@media (max-width: 767px) {
  .message p {
    font-size: 1.2em;
  }
}

.because-delay-1 {
  transition-delay: 0.15s;
}

.because-delay-2 {
  transition-delay: 0.3s;
}

.because-delay-3 {
  transition-delay: 0.45s;
}

.because-delay-4 {
  transition-delay: 0.6s;
}

/* 女の子の現実カルーセル */

.because_carousel-area {
  position: relative;
  width: min(100%, 760px);
  margin-inline: auto;
}

@media (max-width: 767px) {
  .because_carousel-area {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 476px) {
  .because_carousel-area {
    width: 100%;
  }
}

.because_carousel-area>.swiper-pagination {
  position: static;
  width: 100%;
  margin-top: 16px;
  text-align: center;
  transform: none;
}

.because_carousel {
  width: min(100% - 100px, 680px);
  margin-inline: auto;
  padding-bottom: 40px;
}

.because_slide {
  text-align: center;
}

.because_slide-text {
  margin: 24px 0 24px;
  color: var(--color-gray);
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 500;
  line-height: 1.8;
}

.because_slide-picture {
  display: block;
}

.because_slide-image {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
  transform-origin: center;
}

.because_carousel .swiper-slide-active .because_slide-image {
  animation: because-image-enter 0.7s ease-out both;
}

@keyframes because-image-enter {
  0% {
    opacity: 0.6;
    filter: brightness(0.6);
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    filter: brightness(1);
    transform: scale(1);
  }
}

.because_slide-source {
  width: fit-content;
  margin: 18px 0 0 auto;
  padding: 0;
  color: var(--color-blue);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  list-style: none;
  background-color: #9cd7ff;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 6px 6px;
}

.because_slide-source a {
  overflow-wrap: anywhere;
}

.because_carousel-prev,
.because_carousel-next {
  position: absolute;
  z-index: 10;
  top: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  background-color: var(--color-blue);
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: .8;
  display: grid;
  place-items: center;
}

.because_carousel-prev {
  left: 0;
}

.because_carousel-next {
  right: 0;
}

/* 三角形の共通設定 */

.because_carousel-prev::before,
.because_carousel-next::before {
  width: 0;
  height: 0;
  margin: 0;
  content: "";
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* 左向き三角 */

.because_carousel-prev::before {
  transform: translateX(-1px);
  border-right: 11px solid var(--color-white);
}

/* 右向き三角 */

.because_carousel-next::before {
  transform: translateX(1px);
  border-left: 11px solid var(--color-white);
}

@media (max-width: 767px) {
  .because_carousel {
    width: calc(100% - 48px);
  }

  .because_slide-text {
    margin: 16px 0;
    font-size: 14px;
  }

  .because_carousel-prev,
  .because_carousel-next {
    width: 28px;
    height: 28px;
  }

  .because_carousel-prev {
    left: -5px;
  }

  .because_carousel-next {
    right: -5px;
  }
}

/* カルーセル：表示前 */

.because_carousel-area {
  opacity: 0;
  transform: scale(0.88);
  transform-origin: center;
}

/* 画面内に入った後 */

.because_data.is-visible .because_carousel-area {
  animation: because-carousel-enter 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes because-carousel-enter {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 路線：表示前 */

.because_route {
  opacity: 0;
  clip-path: inset(0 100% 100% 0);
  transform: translate(-25px, -20px);
  transform-origin: left top;
}

/* カルーセルの後に路線を表示 */

.because_data.is-visible .because_route {
  animation: because-route-enter 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

@keyframes because-route-enter {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 100% 0);
    transform: translate(-25px, -20px);
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
    transform: translate(0, 0);
  }
}

/* 女の子の現実カルーセルend */

/* 女の子だからend */

/* 活動内容 */

.activities {
  position: relative;
  z-index: 2;
  margin-top: 130px;
  padding-bottom: 80px;
  isolation: isolate;
  overflow: visible;
}

.activities_inner {
  position: relative;
  z-index: 2;
}

/* タイトル・説明文 */

.activities_heading {
  margin-bottom: 40px;
}

.activities_lead {
  text-align: center;
}

/* 活動カード */

.activities_visual {
  position: relative;
}

.activities_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 28px;
  width: min(100%, 720px);
  margin: 50px auto 0;
}

.activity-card {
  --activity-start-y: 60px;
  display: block;
  opacity: 0;
  transform: translateY(60px) scale(0.96);
}

.activity-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* 画面に入ったカード */

.activity-card.is-visible {
  opacity: 1;
  animation: activity-card-enter 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes activity-card-enter {
  0% {
    transform: translateY(var(--activity-start-y)) scale(0.96);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* PCのみ、移動と一緒にフェードイン */

@media (min-width: 768px) {
  .activity-card.is-visible {
    animation-name: activity-card-enter-pc;
  }
}

@keyframes activity-card-enter-pc {
  0% {
    opacity: 0;
    transform: translateY(var(--activity-start-y)) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 路線 */

.activities_route {
  position: absolute;
  z-index: 1;
  bottom: -200px;
  left: calc(50% + 490px);
  display: block;
  width: 430px;
  opacity: 0;
  clip-path: inset(0 0 100% 100%);
  transform: translateX(-50%) translate(30px, -30px);
  transform-origin: right top;
  pointer-events: none;
}

.activities_route img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

/* PC：右上から路線を伸ばす */

.activities_route.is-visible {
  animation: activities-route-pc 1.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes activities-route-pc {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 100%);
    transform: translateX(-50%) translate(30px, -30px);
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
    transform: translateX(-50%) translate(0, 0);
  }
}

/* 詳細ボタン */

.activities_button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(60px);
  transform-origin: center;
}

.activities_button-wrap.is-visible {
  animation: activities-button-enter 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.activities_button {
  display: block;
  width: min(100%, 300px);
  margin: 0;
  padding: 0;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.activities_button img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes activities-button-enter {
  0% {
    opacity: 0;
    transform: translateY(60px) rotate(0deg);
  }

  /* 下から表示 */

  50% {
    opacity: 1;
    transform: translateY(20px) rotate(0deg);
  }

  /* カタ */

  58% {
    transform: translateY(20px) rotate(-2deg);
  }

  64% {
    transform: translateY(20px) rotate(2deg);
  }

  /* カタ */

  70% {
    transform: translateY(20px) rotate(-1.7deg);
  }

  76% {
    transform: translateY(20px) rotate(1.7deg);
  }

  /* カタ */

  82% {
    transform: translateY(20px) rotate(-1.2deg);
  }

  88% {
    transform: translateY(20px) rotate(1.2deg);
  }

  /* 小さく収束 */

  94% {
    transform: translateY(20px) rotate(-0.5deg);
  }

  100% {
    opacity: 1;
    transform: translateY(20px) rotate(0deg);
  }
}

/* ボタンホバー */

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .activities_button:hover {
    transform: translateY(-6px) scale(1.02);
    filter: drop-shadow(0 10px 10px rgb(0 64 130 / 20%));
  }

  .activities_button:hover img {
    animation: card-flash 0.45s ease-out;
  }
}

/* スマートフォン */

@media (max-width: 767px) {
  .activities {
    margin-top: 100px;
    padding-bottom: 70px;
  }

  .activities_heading {
    margin-bottom: 28px;
  }

  .activities_grid {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(100%, 340px);
    margin-top: 70px;
  }

  .activity-card {
    --activity-start-y: 90px;
  }

  /* SPの縦路線 */

  .activities_route {
    right: auto;
    bottom: 100px;
    left: 50%;
    width: 9px;
    clip-path: inset(0 0 100% 0);
    transform: translateX(-50%);
    transform-origin: center top;
  }

  .activities_route.is-visible {
    animation: activities-route-sp 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .activities_button-wrap {
    margin-top: 34px;
  }
}

@media (max-width: 479px) {
  .activities_grid {
    margin-top: 80px;
  }
}

@keyframes activities-route-sp {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateX(-50%);
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
    transform: translateX(-50%);
  }
}

@media (max-width: 376px) {
  .activities_route {
    bottom: 100px;
  }

  .activities_route.is-visible {
    animation-name: activities-route-sp-small;
  }
}

@keyframes activities-route-sp-small {
  0% {
    opacity: 0;
    clip-path: inset(15px 0 100% 0);
    transform: translateX(-50%);
  }

  100% {
    opacity: 1;
    clip-path: inset(15px 0 0 0);
    transform: translateX(-50%);
  }
}

/* 活動内容 end */

/* 未来を変えた女の子たち */

.girls-story {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 90px 0 70px;
  overflow: visible;
  background: linear-gradient(180deg, #3fa9f5 0%, #5cbbff 30%, #fff 100%);
  border-top: 4px solid #212121;
}

/* 白い幕 */

.girls-story::after {
  position: absolute;
  z-index: 10;
  inset: -4px 0 0;
  visibility: visible;
  opacity: 0.8;
  background-color: #fdffdd;
  content: "";
  pointer-events: none;
  will-change: opacity;
  transition: opacity 3.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 3.5s;
}

/* セクションが画面中央付近へ来たあと */

.girls-story.is-bright-visible::after {
  visibility: hidden;
  opacity: 0;
}

/* 内容 */

.girls-story_inner {
  position: relative;
  z-index: 3;
}

/* タイトル */

.girls-story_title {
  position: relative;
  z-index: 3;
  top: -93px;
  width: min(100%, 380px);
  margin: 0 auto 50px;
}

/* 未来を変えた女の子たち：看板の明滅 */

.girls-story_title img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center;
  animation: girls-story-sign-glow 4s ease-in-out infinite;
  will-change: filter, opacity;
}

@keyframes girls-story-sign-glow {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1) drop-shadow(0 0 0 rgb(255 255 255 / 0%));
  }

  50% {
    opacity: 0.88;
    filter: brightness(1.15) drop-shadow(0 0 12px rgb(255 255 255 / 75%));
  }
}

/* 雲 */

.girls-story_cloud {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
}

/* 中央左の雲 */

.girls-story_cloud-back {
  z-index: 2;
  top: 25px;
  left: calc(50% - 200px);
  width: 230px;
  opacity: 0.8;
  transform: translateX(-50%);
  animation: cloud-back-move 9s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes cloud-back-move {
  0%,
  100% {
    opacity: 0.8;
    transform: translateX(-50%);
  }

  25% {
    opacity: 0.68;
    transform: translateX(calc(-50% + 18px));
  }

  75% {
    opacity: 0.9;
    transform: translateX(calc(-50% - 18px));
  }
}

/* 左端の雲 */

.girls-story_cloud-3 {
  z-index: 2;
  top: 90px;
  left: calc(50% - 520px);
  width: 190px;
  opacity: 0.9;
  transform: translateX(-50%);
  animation: cloud-left-move 8s ease-in-out -3s infinite;
  will-change: translate, opacity;
}

@keyframes cloud-left-move {
  0%,
  100% {
    opacity: 0.9;
    translate: 0 0;
  }

  25% {
    opacity: 0.84;
    translate: 12px 0;
  }

  75% {
    opacity: 0.94;
    translate: -20px 0;
  }
}

/* 右側の雲 */

.girls-story_cloud-front {
  z-index: 4;
  top: 110px;
  left: calc(50% + 250px);
  width: 280px;
  opacity: 0.6;
  transform: translateX(-50%);
  animation: cloud-front-move 11s ease-in-out infinite;
  will-change: translate, opacity;
}

@keyframes cloud-front-move {
  0%,
  100% {
    opacity: 0.6;
    translate: 0 0;
  }

  25% {
    opacity: 0.48;
    translate: -14px 0;
  }

  75% {
    opacity: 0.8;
    translate: 14px 0;
  }
}

/* 鳥 */

.girls-story_bird1,
.girls-story_bird2 {
  position: absolute;
  z-index: 3;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  transform-origin: center;
  will-change: transform;
}

/* 左側の鳥 */

.girls-story_bird1 {
  top: 190px;
  left: calc(50% - 380px);
  width: 64px;
  transform-origin: center;
  animation: bird-left-float 3s ease-in-out infinite;
}

@keyframes bird-left-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(-1deg);
  }

  50% {
    transform: translate(3px, -6px) rotate(3deg);
  }
}

/* 右側の鳥 */

.girls-story_bird2 {
  top: 250px;
  left: calc(50% + 290px);
  width: 44px;
  animation: bird-right-float 1.8s ease-in-out -0.8s infinite;
}

@keyframes bird-right-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(1deg);
  }

  50% {
    transform: translate(-3px, -3px) rotate(-3deg);
  }
}

/* カルーセル */

/* 矢印を含む外側 */

.girls-story_carousel-area {
  position: relative;
  z-index: 3;
  width: min(100%, 760px);
  margin: -30px auto 0;
}

/* スライドを表示する内側 */

.girls-story_carousel {
  width: min(calc(100% - 100px), 660px);
  margin-inline: auto;
  padding-bottom: 0;
}

.girls-story_carousel img {
  display: block;
  width: 100%;
  height: auto;
}

/* ページネーション */

.girls-story_pagination {
  position: static !important;
  margin-top: 24px;
  transform: none;
}

/* カルーセルの矢印 */

.girls-story_prev,
.girls-story_next {
  position: absolute;
  z-index: 10;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  opacity: 0.8;
  background-color: var(--color-blue);
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.girls-story_prev {
  left: 0;
}

.girls-story_next {
  right: 0;
}

/* 丸の中の三角形 */

.girls-story_prev::before,
.girls-story_next::before {
  width: 0;
  height: 0;
  content: "";
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.girls-story_prev::before {
  border-right: 9px solid var(--color-white);
  transform: translateX(-1px);
}

.girls-story_next::before {
  border-left: 9px solid var(--color-white);
  transform: translateX(1px);
}

/* スライド切り替えアニメーション */

.girls-story_carousel .swiper-slide-active img {
  animation: girls-story-change 0.7s ease-out;
}

@keyframes girls-story-change {
  0% {
    opacity: 0.6;
    filter: brightness(1.02);
    transform: scale(1.2);
  }

  55% {
    opacity: 0.8;
    filter: brightness(1.15);
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    filter: brightness(1);
    transform: scale(1);
  }
}

/* カルーセルボタン共通 */

.because_carousel-prev,
.because_carousel-next,
.girls-story_prev,
.girls-story_next {
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

/* PCホバー */

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .because_carousel-prev:hover,
  .because_carousel-next:hover,
  .girls-story_prev:hover,
  .girls-story_next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    filter: brightness(1.12) drop-shadow(0 5px 7px rgb(0 70 140 / 30%));
  }
}

/* 押した瞬間 */

.because_carousel-prev:active,
.because_carousel-next:active,
.girls-story_prev:active,
.girls-story_next:active {
  transform: translateY(-50%) scale(0.94);
  filter: brightness(0.95);
}

/* キーボード操作 */

.because_carousel-prev:focus-visible,
.because_carousel-next:focus-visible,
.girls-story_prev:focus-visible,
.girls-story_next:focus-visible {
  outline: 3px solid var(--color-pink, #ec268f);
  outline-offset: 3px;
}

/* スマートフォン */

@media (max-width: 820px) {
.girls-story_bird1 {
    top: 15%;
    left: calc(50% - 358px);
    width: 50px;
  }
}

@media (max-width: 767px) {
  .girls-story {
    padding: 70px 0 40px;
  }

  /* 白い幕 */

  .girls-story::after {
    transition: opacity 3.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 3.5s;
  }

  /* タイトル */

  .girls-story_title {
    top: -73px;
    width: min(82%, 330px);
    margin-bottom: 35px;
  }

  /* 中央左の雲 */

  .girls-story_cloud-back {
    top: 23px;
    left: calc(50% - 130px);
    width: 180px;
  }

  /* 左端の雲を非表示 */

  .girls-story_cloud-3 {
    display: none;
  }

  /* 右側の雲 */

  .girls-story_cloud-front {
    top: 100px;
    left: calc(50% + 80px);
    width: 220px;
    transform: none;
  }

  /* 左側の鳥 */

  .girls-story_bird1 {
    top: 15%;
    left: calc(50% - 39vw);
    width: 50px;
  }

  /* 右側の鳥 */

  .girls-story_bird2 {
    top: 22%;
    left: calc(50% + 32vw);
    width: 38px;
  }

  /* カルーセル */

  .girls-story_carousel-area {
    width: 100%;
    margin-top: -50px;
  }

  .girls-story_carousel {
    width: min(calc(100% - 40px), 360px);
  }

  .girls-story_prev,
  .girls-story_next {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 630px) {
  /* 左側の鳥 */

  .girls-story_bird1 {
    top: 17%;
    left: calc(50% - 40vw);
  }
/* 右側の鳥 */

  .girls-story_bird2 {
    top: 23%;
    
  }
  
}
@media (max-width: 430px) {
  /* 右側の雲 */

  .girls-story_cloud-front {
    top: 86px;
  }
}

/* 未来を変えた女の子たち end */

/* PLANについて */

.about-plan {
  --top-curve-height: clamp(160px, 18vw, 260px);
  --bottom-curve-height: clamp(55px, 6vw, 95px);
  position: relative;
  z-index: 3;
  margin-top: var(--top-curve-height);
  padding: 80px 0 60px;
  color: var(--color-white);
  background: linear-gradient(180deg, #0072ce 0%, #1684d3 35%, #63ade0 68%, #e9f6ff 100%);
  isolation: isolate;
  overflow: visible;
}

@media (max-width: 1200px) {
  .about-plan {
    padding: 120px 0 60px;
  }
}

/* 上下のカーブ */

.about-plan_curve {
  position: absolute;
  z-index: 0;
  left: 50%;
  display: block;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.about-plan_curve-top {
  bottom: calc(100% - 1px);
  height: var(--top-curve-height);
}

.about-plan_curve-bottom {
  top: calc(100% - 1px);
  height: var(--bottom-curve-height);
}

.about-plan_curve img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

/* PLAN INTERNATIONAL・PLANロゴ */

.about-plan_brand {
  position: absolute;
  z-index: 2;
  top: clamp(-190px, calc(-19px - 11.9vw), -110px);
  left: 50%;
  width: min(80%, 760px);
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

/* 1. PLAN INTERNATIONAL */

.about-plan_word {
  display: block;
  width: 100%;
}

.about-plan_word img {
  display: block;
  width: 100%;
  height: auto;
}

/* 2. PLANロゴ */

.about-plan_logo {
  display: block;
  width: 110px;
  height: auto;
  margin: 16px auto 0;
}

/* p テキスト */

.eisuu {
  font-size: 1.1em;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

/* 木・看板 */

.about-plan_tree,
.about-plan_sign-wrap {
  position: absolute;
  z-index: 2;
  display: block;
  height: auto;
  pointer-events: none;
}

/* 左側の木 */

.about-plan_tree {
  top: calc(var(--top-curve-height) * -1 - 6%);
  left: calc(50% - 430px);
  width: 150px;
}

/* 右側の看板 */

.about-plan_sign-wrap {
  top: calc(var(--top-curve-height) * -1 - 5%);
  left: calc(50% + 340px);
  width: 140px;
}

/* 看板画像：点滅 */

.about-plan_sign {
  display: block;
  width: 100%;
  height: auto;
  animation: about-plan-sign-blink 4s ease-in-out infinite;
  will-change: opacity, filter;
}

@keyframes about-plan-sign-blink {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }

  50% {
    opacity: 0.75;
    filter: brightness(1.15);
  }
}

/* 小さめPC */

@media (max-width: 1439px) {
  .about-plan_tree {
    top: calc(var(--top-curve-height) * -1 - 8%);
    left: calc(50% - 370px);
  }

  .about-plan_sign-wrap {
    top: calc(var(--top-curve-height) * -1 - 7%);
    left: calc(50% + 270px);
  }
}

/* タブレット付近 */

@media (max-width: 840px) {
  .about-plan_tree {
    top: -220px;
    left: calc(50% - 370px);
    width: 140px;
  }

  .about-plan_sign-wrap {
    top: -200px;
    left: calc(50% + 270px);
    width: 130px;
  }
}

/* メインコンテンツ */

.about-plan_inner {
  position: relative;
  z-index: 3;
}

.about-plan_content {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

/* 3. タイトル */

.about-plan_heading {
  width: min(100%, 760px);
  margin: 0 auto;
  color: var(--color-white);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.7;
  text-align: center;
}

.about-plan_heading .section-title__inner {
  display: inline-block;
  max-width: 100%;
}

.about-plan_line {
  width: 100%;
  margin-top: 24px;
  color: var(--color-white);
  text-align: center;
  --line-color: var(--color-white);
  --center-bg: var(--color-blue);
  --center-dot: var(--color-white);
}

/* 4. 説明文 */

.about-plan_text {
  width: min(100%, 600px);
  margin: 36px auto 0;
  color: var(--color-white);
  text-align: center;
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.03em;
}

/* 5〜7. 3枚のカード */

.about-plan_cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 760px);
  margin: 55px auto 0;
}

.about-plan_card,
.about-plan_card img {
  display: block;
  width: 100%;
  height: auto;
}

/* 8. 詳細リンク */

.about-plan_link {
  display: block;
  width: min(100%, 520px);
  margin: 65px auto 0;
  padding: 0;
  line-height: 0;
  text-decoration: none;
  transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), translate 1.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s ease, filter 0.3s ease;
}

.about-plan_link img {
  display: block;
  width: 100%;
  height: auto;
}

/* ホバー */

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .about-plan_link:hover {
    transform: translateY(-6px) scale(1.02);
    filter: drop-shadow(0 10px 10px rgb(0 64 130 / 20%));
  }

  .about-plan_link:hover img {
    animation: card-flash 0.45s ease-out;
  }
}

/* 9. 次のセクションへ続く路線 */

.about-plan_route {
  position: absolute;
  z-index: 4;
  top: calc(100% + var(--bottom-curve-height) - 1px);
  bottom: auto;
  left: 50%;
  width: 12px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.about-plan_route img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

/* スクロールアニメーション：表示前 */

/* 1. PLAN INTERNATIONAL */

[data-about-word] {
  opacity: 0;
  transform: translateY(-45px);
  transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1), transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. PLANロゴ */

[data-about-logo] {
  opacity: 0;
  transform: translateY(20px) scale(0.82);
  transform-origin: center;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 3・4. タイトル、説明文 */

[data-about-heading],
[data-about-text] {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 5〜7. カード */

[data-about-card] {
  opacity: 0;
  transform: translateY(65px) scale(0.96);
  transition: opacity 1.35s cubic-bezier(0.22, 1, 0.36, 1), transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 8. 詳細リンク */

[data-about-link] {
  opacity: 0;
  translate: 0 70px;
}

/* 9. 路線 */

[data-about-route] {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.4s ease, clip-path 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center top;
}

/* スクロールアニメーション：表示後 */

[data-about-word].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-about-logo].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-about-heading].is-visible,
[data-about-text].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-about-card].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-about-link].is-visible {
  opacity: 1;
  translate: 0 0;
}

[data-about-route].is-visible {
  opacity: 1;
  clip-path: inset(0);
}

/* スマートフォン */

@media (max-width: 767px) {
  .about-plan {
    --top-curve-height: clamp(115px, 24vw, 145px);
    --bottom-curve-height: clamp(45px, 10vw, 65px);
    --about-side-up: clamp(45px, 8vw, 65px);
    --about-side-position: clamp(165px, calc(-36px + 53.6vw), 375px);
    --about-side-width: clamp(90px, calc(61px + 7.7vw), 120px);
    min-height: 0;
    padding: 0 0 40px;
  }

  /* 木・看板 */

  .about-plan_tree,
  .about-plan_sign-wrap {
    top: calc(var(--top-curve-height) * -1 - var(--about-side-up));
    width: var(--about-side-width);
  }

  .about-plan_tree {
    left: calc(50% - var(--about-side-position));
  }

  .about-plan_sign-wrap {
    top: calc(var(--top-curve-height) * -1 - var(--about-side-up) - 8px);
    left: calc(50% + var(--about-side-position));
    transform: translateX(-100%);
  }

  /* PLAN INTERNATIONAL・ロゴ */

  .about-plan_brand {
    top: clamp(-100px, calc(-41px - 7.7vw), -70px);
    width: clamp(340px, calc(149px + 51vw), 540px);
  }

  .about-plan_logo {
    width: 70px;
    margin-top: 10px;
  }

  /* 内容 */

  .about-plan_content {
    width: 100%;
    padding-top: clamp(65px, 12vw, 80px);
  }

  .about-plan_line {
    margin-top: 20px;
  }

  .about-plan_text {
    width: min(100%, 760px);
    margin-top: 24px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.02em;
  }

  /* カード */

  .about-plan_cards {
    grid-template-columns: 1fr;
    gap: 8px;
    width: min(100%, 240px);
    margin-top: 35px;
  }

  [data-about-card] {
    transform: translateY(85px) scale(0.96);
  }

  [data-about-card].is-visible {
    transform: translateY(0) scale(1);
  }

  /* 詳細リンク */

  .about-plan_link {
    width: min(100%, 370px);
    margin-top: 55px;
  }

  [data-about-link] {
    translate: 0 85px;
  }

  [data-about-link].is-visible {
    translate: 0 0;
  }

  /* 路線 */

  .about-plan_route {
    width: 9px;
  }
}

/* about plan end */

/* ACTION */

.action {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
  isolation: isolate;
  overflow: visible;
}

.action_inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(140px, 12vw, 190px);
}

/* タイトル・説明文 */

.action_heading {
  width: min(100%, 760px);
  margin: 0 auto;
  color: var(--color-blue);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.7;
  text-align: center;
}

.action_heading .section-title__inner {
  display: inline-block;
  max-width: 100%;
}

.action_line {
  width: 100%;
  margin-top: 20px;
}

.action_text {
  width: min(100%, 760px);
  margin: 36px auto 0;
  text-align: center;
}

.sp-505-only {
  display: none;
}

@media (max-width: 505px) {
  .sp-505-only {
    display: block;
  }
}

/* つり革 */

.action_straps {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.action_strap {
  position: absolute;
  display: block;
  width: 560px;
  max-width: none;
  height: auto;
  opacity: 1;
  transform-origin: 50% 0;
  will-change: rotate;
}

.action_strap-1 {
  top: -120px;
  left: calc(50% - 700px);
  width: clamp(510px, 37vw, 560px);
  transform: rotate(7deg);
  animation: strap-sway-1 4.5s ease-in-out infinite;
}

.action_strap-2 {
  top: 200px;
  left: calc(50% + 200px);
  width: clamp(580px, 42vw, 630px);
  animation: strap-sway-2 5.3s ease-in-out -2s infinite;
}

.action_strap-3 {
  top: 920px;
  left: calc(50% - 400px);
  width: clamp(360px, 24vw, 380px);
  animation: strap-sway-3 4.1s ease-in-out -1.2s infinite;
}

/*
 * SP用の3つ目は、外側で位置を固定し、
 * 内側の画像だけを回転させる
 */

.action_strap-3-sp-wrap {
  display: none;
}

.action_strap-3-sp {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  transform-origin: 0% 0%;
  animation: action-strap-3-sp-arc 4.5s ease-in-out -1.2s infinite;
  will-change: transform;
}

@keyframes strap-sway-1 {
  0%,
  100% {
    rotate: -2deg;
  }

  50% {
    rotate: 2deg;
  }
}

@keyframes strap-sway-2 {
  0%,
  100% {
    rotate: 2deg;
  }

  50% {
    rotate: -2deg;
  }
}

@keyframes strap-sway-3 {
  0%,
  100% {
    rotate: -1.5deg;
  }

  50% {
    rotate: 1.5deg;
  }
}

/* SP用3つ目：左上の先端を支点にして揺れる */

@keyframes action-strap-3-sp-arc {
  0%,
  100% {
    transform: rotate(-5deg);
  }

  50% {
    transform: rotate(5deg);
  }
}

/* SP用背景路線 */

.action_route {
  position: absolute;
  z-index: 1;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.action_route-sp {
  display: none;
}

/* 3枚のカード */

.action_cards {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
  width: min(100%, 760px);
  margin: 55px auto 0;
}

.action_card {
  position: relative;
  z-index: 2;
  display: block;
  line-height: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.action_card img {
  display: block;
  width: 100%;
  height: auto;
}

.action_support-row {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  overflow: visible;
}

.action_card-support {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  margin-inline: auto;
}

.action_card-support>picture {
  display: block;
}

/* PC：青いカード両脇の路線 */

.action_support-route {
  position: absolute;
  z-index: 1;
  top: 55%;
  max-width: none;
  height: 12px;
  pointer-events: none;
}

.action_support-route-left {
  right: 102%;
  transform: translateY(-50%);
}

.action_support-route-right {
  left: 102%;
  transform: translateY(-50%) scaleX(-1);
}

/* カードホバー */

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .action_card:hover {
    z-index: 3;
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 12px 12px rgb(0 64 130 / 20%));
  }

  .action_card:hover img {
    animation: card-flash 0.45s ease-out;
  }
}

/* 女の子 */

.action_visual {
  position: relative;
  z-index: 3;
  width: min(100%, 760px);
  margin: -100px auto 0;
  padding-bottom: 0;
  text-align: center;
}

.action_girls {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 740px);
  margin-inline: auto;
}

.action_girls img {
  display: block;
  width: 100%;
  height: auto;
}
.action_visual,
.action_girls,
.action_girls img {
  pointer-events: none;
}

/*
 * 光はactionには置かない。
 * FAQ側の.faq_transition-lightで表示する。
 */

/* ACTION：表示前 */

/* カード・路線 */

[data-action-card],
[data-action-side-route],
[data-action-sp-route] {
  visibility: hidden;
}

/* カード */

[data-action-card] {
  opacity: 0;
}

/* 女の子：表示前 */

[data-action-girls] {
  visibility: hidden;
  opacity: 0;
  transform: translateY(70px);
  transform-origin: center bottom;
  will-change: opacity, transform;
}

/* カードアニメーション */

[data-action-card].is-visible {
  visibility: visible;
  animation: action-card-enter var(--action-card-duration, 1.7s) linear both;
}

@keyframes action-card-enter {
  0% {
    visibility: visible;
    opacity: 0;
    translate: var(--action-start-x) var(--action-start-y);
    rotate: var(--action-start-rotate);
    animation-timing-function: cubic-bezier(0.22, 0.75, 0.32, 1);
  }

  72% {
    visibility: visible;
    opacity: 1;
    translate: var(--action-over-x) var(--action-over-y);
    rotate: var(--action-over-rotate);
    animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
  }

  100% {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
    rotate: 0deg;
  }
}

/* 知る：左斜め上から */

[data-action-card="know"] {
  --action-start-x: -120px;
  --action-start-y: -90px;
  --action-start-rotate: -8deg;
  --action-over-x: 7px;
  --action-over-y: 4px;
  --action-over-rotate: 0.7deg;
  --action-card-duration: 1.7s;
}

/* つながる：右斜め上から */

[data-action-card="connect"] {
  --action-start-x: 120px;
  --action-start-y: -90px;
  --action-start-rotate: 8deg;
  --action-over-x: -7px;
  --action-over-y: 4px;
  --action-over-rotate: -0.7deg;
  --action-card-duration: 1.7s;
}

/* 支える：左斜め上から */

[data-action-card="support"] {
  --action-start-x: -150px;
  --action-start-y: -105px;
  --action-start-rotate: -9deg;
  --action-over-x: 9px;
  --action-over-y: 5px;
  --action-over-rotate: 0.8deg;
  --action-card-duration: 2s;
}

/* PC：左右の路線アニメーション */

@media (min-width: 768px) {
  [data-action-side-route] {
    visibility: hidden;
    opacity: 1;
  }

  [data-action-side-route].is-visible {
    visibility: visible;
  }

  .action_support-route-left.is-visible {
    transform: translateY(-50%);
    animation: action-route-left-to-center 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .action_support-route-right.is-visible {
    transform: translateY(-50%) scaleX(-1);
    animation: action-route-right-to-center 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes action-route-left-to-center {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0);
  }
}

/*
 * 右側はscaleX(-1)で画像を反転しているため、
 * 左と同じ切り抜き方向で画面右側から表示される。
 */

@keyframes action-route-right-to-center {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0);
  }
}

/* SP：縦路線アニメーション */

[data-action-sp-route].is-visible {
  visibility: visible;
  animation: action-route-sp-enter 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes action-route-sp-enter {
  0% {
    visibility: visible;
    clip-path: inset(0 0 100% 0);
  }

  100% {
    visibility: visible;
    clip-path: inset(0);
  }
}

/* 女の子アニメーション */

[data-action-girls].is-visible {
  visibility: visible;
  animation: action-girls-enter 1.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes action-girls-enter {
  0% {
    visibility: visible;
    opacity: 0;
    transform: translateY(70px);
  }

  55% {
    opacity: 0.8;
  }

  100% {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

/* ACTION：スマートフォン */

@media (max-width: 767px) {
  .action_inner {
    padding-top: clamp(100px, 25vw, 140px);
  }

  .action_text {
    width: min(100%, 760px);
    margin: 24px auto 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.02em;
  }

  /* つり革 */

  .action_strap {
    max-width: none;
    height: auto;
    opacity: 1;
  }

  .action_strap-1 {
    top: 100px;
    right: auto;
    left: -60px;
    width: clamp(230px, 70vw, 320px);
  }

  .action_strap-2 {
    top: 420px;
    right: -120px;
    left: auto;
    width: clamp(260px, 78vw, 350px);
  }

  .action_strap-3-pc {
    display: none;
  }

  .action_strap-3-sp-wrap {
    position: absolute;
    z-index: 0;
    top: 100%;
    left: 25%;
    display: block;
    width: clamp(230px, 70vw, 320px);
    max-width: none;
    transform: translate(-100%, -75%) rotate(5deg);
    pointer-events: none;
  }

  /* SP背景路線 */

  .action_route-sp {
    position: absolute;
    z-index: -1;
    top: 0;
    left: calc(50% - clamp(260px, calc(203px + 15.3vw), 320px));
    display: block;
    width: clamp(340px, 110vw, 520px);
    max-width: none;
    height: auto;
    transform: translate(-50%, -78%);
    pointer-events: none;
  }

  .action_support-route {
    display: none;
  }

  /* カード */

  .action_cards {
    grid-template-columns: 1fr;
    gap: 22px;
    width: min(100%, 500px);
    margin-top: 42px;
  }

  .action_card-know {
    width: 80%;
    margin-right: auto;
    margin-left: 0;
  }

  .action_card-connect {
    width: 80%;
    margin-right: 0;
    margin-left: auto;
  }

  .action_support-row {
    grid-column: auto;
    width: 100%;
  }

  .action_card-support {
    grid-column: auto;
    width: 100%;
  }

  /* SP：カード移動距離 */

  [data-action-card="know"] {
    --action-start-x: -72px;
    --action-start-y: -60px;
    --action-start-rotate: -6deg;
    --action-over-x: 5px;
    --action-over-y: 3px;
    --action-over-rotate: 0.5deg;
    --action-card-duration: 1.6s;
  }

  [data-action-card="connect"] {
    --action-start-x: 72px;
    --action-start-y: -60px;
    --action-start-rotate: 6deg;
    --action-over-x: -5px;
    --action-over-y: 3px;
    --action-over-rotate: -0.5deg;
    --action-card-duration: 1.6s;
  }

  [data-action-card="support"] {
    --action-start-x: -90px;
    --action-start-y: -68px;
    --action-start-rotate: -7deg;
    --action-over-x: 6px;
    --action-over-y: 4px;
    --action-over-rotate: 0.6deg;
    --action-card-duration: 1.8s;
  }

  /* 女の子 */

  .action_visual {
    width: 100%;
    margin-top: clamp(-70px, -5vw, -50px);
  }

  .action_girls {
    width: min(100%, 740px);
  }

  /*
   * SPの女の子はPC用とは別の名前にして、
   * キーフレームの上書きを防ぐ
   */

  [data-action-girls] {
    transform: translateY(50px);
  }

  [data-action-girls].is-visible {
    visibility: visible;
    animation: action-girls-enter-sp 1.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes action-girls-enter-sp {
    0% {
      visibility: visible;
      opacity: 0;
      transform: translateY(50px);
    }

    55% {
      opacity: 0.8;
    }

    100% {
      visibility: visible;
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 600px) {
  .action_strap-3-sp-wrap {
    top: 100%;
    left: 45%;
  }
}

/* FAQ */

.faq {
  position: relative;
  z-index: 3;
  min-height: 0;
  padding: clamp(80px, 8vw, 140px) 0 0;
  isolation: isolate;
  overflow: visible;
}

/* 背景 */

.faq_bg {
  position: absolute;
  z-index: 0;
  inset: -2px 0 0;
  display: block;
  pointer-events: none;
}

.faq_bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}

/* スマートフォン */

/* スマホ：FAQの高さを内容に合わせる */

@media (max-width: 767px) {
  .faq_bg {
    inset: -1px 0 0;
  }

}

/* actionから続く光 */

.faq_transition-light {
  position: absolute;
  z-index: 1;
  top: -105px;
  left: calc(50% + clamp(160px, 22vw, 280px));
  width: min(35%, 200px);
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50%) scale(0.85);
  transform-origin: center;
  pointer-events: none;
}

.faq_transition-light img {
  display: block;
  width: 100%;
  height: auto;
}

/*
 * 表示開始
 * 1.8秒かけて光が現れ、
 * そのまま明滅へつなげる
 */

.faq_transition-light.is-visible {
  visibility: visible;
  animation: faq-light-enter 1.8s ease-out both, faq-light-glow 4s ease-in-out 1.8s infinite;
}

/* 最初にふわっと現れる */

@keyframes faq-light-enter {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.85);
  }

  100% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }
}

/* 表示後のぼんやりした明滅 */

@keyframes faq-light-glow {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 0.95;
    transform: translateX(-50%) scale(1.04);
  }
}

/* FAQの内容 */

.faq_inner {
  position: relative;
  z-index: 3;
}

/* スマートフォン */

/* ノート */

.faq_note {
  width: min(100%, 760px);
  margin-inline: auto;
}

.faq_note-top {
  position: relative;
  aspect-ratio: 1000 / 340;
  background: url("../img/pc/faq-note-top_pc.webp") center top / 100% auto no-repeat;
}

.faq_heading {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  width: min(65%, 260px);
  margin: 0 auto;
  line-height: 0;
}

.faq_heading picture,
.faq_heading img {
  display: block;
  width: 100%;
  height: auto;
}

.faq_note-body {
  padding: 20px 100px 40px 96px;
  background: url("../img/pc/faq-note-line_pc.webp") center top / 100% auto repeat-y;
}

.faq_note-bottom {
  aspect-ratio: 1000 / 210;
  background: url("../img/pc/faq-note-bottom_pc.webp") center bottom / 100% auto no-repeat;
}

/* FAQリスト */

.faq_list {
  display: grid;
  gap: 17px;
}

.faq_item {
  border: 0;
}

.faq_question {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 12px 0 8px;
  color: var(--color-blue);
  font-size: clamp(20px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq_question::-webkit-details-marker {
  display: none;
}

.faq_question::marker {
  content: "";
}

.faq_question-mark {
  align-self: start;
  font-family: "Poppins", sans-serif;
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1.5;
  margin-top: -0.15em;
}

.faq_question-text {
  min-width: 0;
}

/* 開閉ボタン */

.faq_toggle {
  position: relative;
  display: block;
  justify-self: end;
  width: 26px;
  height: 26px;
  min-width: 26px;
  background-color: var(--color-pink);
  border-radius: 50%;
  box-sizing: border-box;
}

.faq_toggle::before,
.faq_toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 3px;
  background-color: var(--color-white);
  content: "";
}

.faq_toggle::before {
  transform: translate(-50%, -50%);
}

.faq_toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s ease;
}

.faq_item[open] .faq_toggle::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

/* 回答 */

.faq_answer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  padding: 10px 48px 18px 0;
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

.faq_answer-mark {
  color: var(--color-pink);
  font-family: "Poppins", sans-serif;
  font-size: 1.8em;
  font-weight: 700;
  line-height: 1.3;
  transform: translateY(-4px);
}

.faq_answer p {
  margin: 0;
}

/* FAQ「詳しく見る」リンク */

.faq_more {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-left: 0.6em;
  color: var(--color-pink);
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.faq_more-arrow {
  display: block;
  width: 0;
  height: 0;
  border-top: 0.38em solid transparent;
  border-bottom: 0.38em solid transparent;
  border-left: 0.6em solid currentColor;
}

.faq_more:visited {
  color: var(--color-pink);
}

@media (hover: hover) and (pointer: fine) {
  .faq_more:hover {
    color: #fca7d1;
    transform: translateX(3px);
  }
}

.faq_more:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 看板 */

.faq_sign {
  position: relative;
  z-index: 2;
  width: min(100%, 626px);
  margin: 10px auto;
  line-height: 0;
}

.faq_sign picture,
.faq_sign img {
  display: block;
  width: 100%;
  height: auto;
}

/* 切符 */

.faq_ticket {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: -35px;
  width: 220px;
  line-height: 0;
  pointer-events: none;
}

.faq_ticket-main,
.faq_ticket-shadow {
  display: block;
  width: 100%;
  height: auto;
}

.faq_ticket-shadow {
  position: absolute;
  z-index: 1;
  inset: 0;
  transform-origin: center;
}

.faq_ticket-main {
  position: relative;
  z-index: 2;
  transform-origin: center;
}

/* FAQ：表示前 */

[data-faq-note],
[data-faq-sign],
[data-faq-ticket] {
  visibility: hidden;
}

/* ノート */

[data-faq-note].is-visible {
  visibility: visible;
  animation: faq-note-enter 1.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faq-note-enter {
  0% {
    visibility: visible;
    opacity: 0;
    translate: 0 100px;
  }

  100% {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
  }
}

/* 看板 */

[data-faq-sign].is-visible {
  visibility: visible;
  animation: faq-sign-enter 2.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faq-sign-enter {
  0% {
    visibility: visible;
    opacity: 0;
    translate: 0 40px;
  }

  100% {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
  }
}

/* 切符 */

[data-faq-ticket].is-visible {
  visibility: visible;
}

[data-faq-ticket].is-visible .faq_ticket-main {
  animation: faq-ticket-main-enter 3.2s cubic-bezier(0.22, 1, 0.36, 1) both, faq-ticket-main-fade 3.2s ease-out both;
}

[data-faq-ticket].is-visible .faq_ticket-shadow {
  animation: faq-ticket-shadow-enter 3.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faq-ticket-main-enter {
  0% {
    translate: 50px -25px;
    rotate: 3deg;
  }

  86% {
    translate: -1px 0;
    rotate: -0.15deg;
  }

  100% {
    translate: 0 0;
    rotate: 0deg;
  }
}

@keyframes faq-ticket-main-fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes faq-ticket-shadow-enter {
  0% {
    opacity: 0;
    scale: 0.85;
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}

/* 視覚的に隠す */

/* FAQ：スマートフォン */

@media (max-width: 1084px) {
  .faq_ticket {
    left: calc(50% + 270px);
    bottom: -55px;
    right: auto;
  }
}

@media (max-width: 904px) {
  .faq_ticket {
    right: -80px;
    bottom: -40px;
    left: auto;
  }
}

@media (max-width: 767px) {
  .faq {
    padding: 60px 0 0;
  }

  .faq_transition-light {
    top: -70px;
    left: calc(50% + clamp(100px, 30vw, 150px));
    width: 140px;
  }

  .faq_note-top {
    aspect-ratio: 350 / 160;
    background-image: url("../img/sp/faq-note-top_sp.webp");
  }

  .faq_note-body {
    padding: 49px 60px 30px 110px;
    background-image: url("../img/sp/faq-note-line_sp.webp");
    background-size: 100% auto;
  }

  .faq_note-bottom {
    aspect-ratio: 350 / 90;
    background-image: url("../img/sp/faq-note-bottom_sp.webp");
  }

  .faq_heading {
    bottom: 18px;
    width: min(40%, 220px);
  }

  .faq_list {
    gap: 3px;
  }

  .faq_question {
    gap: 20px;
    padding: 6px 0;
    font-size: 18px;
    line-height: 1.5;
  }

  .faq_question-mark {
    font-size: 1.3em;
  }

  .faq_toggle {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }

  .faq_toggle::before,
  .faq_toggle::after {
    width: 12px;
    height: 3px;
  }

  .faq_answer {
    gap: 23px;
    padding: 1px 12px 16px 0;
    font-size: 14px;
    line-height: 1.8;
  }

  .faq_sign {
    width: min(88%, 420px);
    margin-top: 20px;
  }

  .faq_ticket {
    right: -30px;
    bottom: -66px;
    width: 190px;
  }

  @keyframes faq-note-enter {
    0% {
      visibility: visible;
      opacity: 0;
      translate: 0 70px;
    }

    100% {
      visibility: visible;
      opacity: 1;
      translate: 0 0;
    }
  }
}

@media (max-width:540px) {
  .faq_ticket {
    right: -58px;
    bottom: -73px;
    width: 190px;
  }
}

@media (max-width: 426px) {
  .faq_ticket {
    right: -55px;
    bottom: -66px;
    width: 180px;
  }
}

@media (max-width: 704px) {
  .faq_note-body {
    padding: 49px 60px 30px 103px;
  }

  .faq_list {
    gap: 0;
  }

  .faq_answer {
    gap: 20px;
    padding: 3px 34px 16px 0;
  }
}

@media (max-width: 680px) {
  .faq_note-body {
    padding: 37px 30px 30px 43px;
  }

  .faq_question {
    gap: 16px;
    padding: 7px 0;
  }
}

@media (max-width: 560px) {
  .faq_note-body {
    padding: 33px 24px 0 36px;
  }

  .faq_question {
    gap: 16px;
    padding: 0 0 10px;
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .faq_note-body {
    padding: 28px 24px 0 36px;
  }

  .faq_answer {
    padding: 0 22px 27px 0;
  }
}

@media (max-width: 430px) {
  .faq_question {
    gap: 8px;
    padding: 0 0 26px;
  }
}

@media (max-width: 376px) {
  .faq_note-body {
    padding: 20px 24px 0 36px;
  }

  .faq_question {
    gap: 8px;
    padding: 0 0 20px;
  }
}

/* ACTION・FAQ end */

/* フッターナビ */

.footer_nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer_nav-list li {
  margin: 0;
  padding: 0;
}

.footer_nav-list a {
  position: relative;
  display: inline-block;
  padding-left: 15px;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

/* リスト先頭の三角 */

.footer_nav-list a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--color-white);
  content: "";
  transform: translateY(-50%);
}

/* フッターリンクのホバー */

.footer a {
  transition: filter 0.4s ease, opacity 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer a:hover {
    filter: brightness(1.2) drop-shadow(0 0 7px rgba(255, 255, 255, 0.75));
  }
}

/* キーボード操作 */

.footer a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 5px;
  border-radius: 2px;
  filter: brightness(1.2) drop-shadow(0 0 7px rgba(255, 255, 255, 0.75));
}

/* コピーライト */

.footer_copyright {
  margin: 22px 0 0;
  color: var(--color-white);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

@media (max-width: 767px) {
  .footer_nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin-inline: auto;
    gap: 2px;
  }

  .footer_nav-list a {
    padding-left: 14px;
    font-size: 13px;
  }

  .footer_nav-list a::before {
    border-top-width: 4px;
    border-bottom-width: 4px;
    border-left-width: 7px;
  }

  .footer_copyright {
    margin-top: 24px;
    font-size: 9px;
  }
}

/* フッター */

.footer {
  position: relative;
  z-index: 2;
  padding: 24px var(--side-space) 12px;
  overflow: visible;
  color: var(--color-white);
  background-color: var(--color-blue);
}

/* SVGを表示する窓 */

.footer_route {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 12px;
  overflow: hidden;
  transform: translateY(-50%);
  pointer-events: none;
}

/* SVG本体 */

.footer_route img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  max-width: none;
  height: 12px;
  transform: translate(-50%, -50%);
}

.footer_nav,
.footer_copyright {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .footer_route {
    height: 9px;
  }

  .footer_route img {
    height: 9px;
  }
}

/* animation keyframes */

@keyframes card-flash {
  0% {
    filter: brightness(1);
  }

  40% {
    filter: brightness(1.15);
  }

  100% {
    filter: brightness(1);
  }
}

/* ページトップへ戻るボタン */

.scroll-top {
  position: fixed;
  z-index: 20;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: block;
  width: 70px;
  margin: 0;
  padding: 0;
  visibility: hidden;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: pointer;
  /*
   * 表示前は画面の下に隠す
   * opacityは使わない
   */
  transform: translateY(calc(100% + 40px));
  pointer-events: none;
}

.scroll-top img {
  display: block;
  width: 100%;
  height: auto;
}

/* step5まで来たとき */

.scroll-top.is-visible {
  visibility: visible;
  pointer-events: auto;
  animation: scroll-top-pop 2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 下から定位置まで、にょこっと表示 */

@keyframes scroll-top-pop {
  0% {
    transform: translateY(calc(100% + 40px));
  }

  100% {
    transform: translateY(0);
  }
}

/* ホバー */

@media (hover: hover) and (pointer: fine) {
  .scroll-top:hover img {
    transform: scale(1.06);
    filter: brightness(1.12) drop-shadow(0 0 10px rgba(255, 255, 190, 0.8));
  }
}

/* キーボード操作 */

.scroll-top:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 5px;
  border-radius: 50%;
}

.scroll-top:focus-visible img {
  transform: scale(1.06);
  filter: brightness(1.12) drop-shadow(0 0 10px rgba(255, 255, 190, 0.8));
}

/* クリックしたときにふわっと消える */

.scroll-top.is-visible.is-hiding {
  pointer-events: none;
  animation: scroll-top-hide 0.45s ease-out both;
}

@keyframes scroll-top-hide {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* スマートフォン */

@media (max-width: 767px) {
  .scroll-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 56px;
  }
}

/* キーボード操作：画面幅・マウスの有無に関係なく表示 */

.activities_button:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 5px;
}

.about-plan_link:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 5px;
}

.action_card:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 5px;
}

.scroll-top img {
  transition: transform 0.35s ease, filter 0.35s ease;
  transform-origin: center;
}

/* 動きを減らす設定：装飾を静止し、配置用のtransformは維持する */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  body::before,
  .girls-story::after {
    display: none;
  }

  .js-reveal,
  .because_carousel-area,
  .because_route,
  .activity-card,
  .activities_route,
  .activities_button-wrap,
  [data-about-word],
  [data-about-logo],
  [data-about-heading],
  [data-about-text],
  [data-about-card],
  [data-about-link],
  [data-about-route],
  [data-action-card],
  [data-action-side-route],
  [data-action-sp-route],
  [data-action-girls],
  [data-faq-note],
  [data-faq-sign],
  [data-faq-ticket],
  .faq_transition-light {
    opacity: 1 !important;
    visibility: visible !important;
    clip-path: none !important;
    animation: none !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
  }

  .js-reveal,
  .because_carousel-area,
  .because_route,
  .activity-card,
  [data-about-word],
  [data-about-logo],
  [data-about-heading],
  [data-about-text],
  [data-about-card],
  [data-about-link],
  [data-action-card],
  [data-action-girls] {
    transform: none !important;
  }

  .activities_route {
    transform: translateX(-50%) !important;
  }

  .activities_button-wrap {
    transform: translateY(20px) !important;
  }

  [data-about-route] {
    transform: translate(-50%, -50%) !important;
  }

  .action_support-route-left {
    transform: translateY(-50%) !important;
  }

  .action_support-route-right {
    transform: translateY(-50%) scaleX(-1) !important;
  }

  .faq_transition-light {
    transform: translateX(-50%) !important;
    opacity: 0.75 !important;
  }

  .intro_ticket-main,
  .intro_ticket-shadow,
  [data-reveal-girl] .step5_girl {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .photo-route__track,
  .because_subtitle,
  .girls-story_title img,
  .girls-story_cloud,
  .girls-story_bird1,
  .girls-story_bird2,
  .girls-story_carousel .swiper-slide-active img,
  .because_carousel .swiper-slide-active .because_slide-image,
  .about-plan_tree,
  .about-plan_sign,
  .action_strap,
  .action_strap-3-sp,
  .faq_ticket-main,
  .faq_ticket-shadow {
    animation: none !important;
  }

  .faq_ticket-main,
  .faq_ticket-shadow {
    opacity: 1 !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
  }

  .scroll-top.is-visible {
    transform: translateY(0);
    animation: none;
  }
}

@media (max-width: 376px) and (prefers-reduced-motion: reduce) {
  .activities_route {
    clip-path: inset(15px 0 0 0) !important;
  }
}
