/* ====================================
   グローバルスタイル
   ==================================== */

/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS変数定義 */
:root {
  /* カラー設定 */
  --text-dark: #000000;
  --text-light: #ffffff;
  --primary-color: #e60023;
  --secondary-color: #ffd600;
  --background-dark: #000000;
  --background-light: #ffffff;
  --background-gray: #fafafa;
  --background-accent: #fafafa;

  /* トラッキング設定 */
  --hero-track: 0.02em;
}

/* ベーススタイル */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "ヒラギノ角ゴ ProN W3", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
  overflow-x: hidden; /* 横スクロールを防ぐ */
  overscroll-behavior-x: contain; /* スクロールの振る舞いを制御 */
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.container {
  width: 1366px;
  margin: 0 auto;
  transform-origin: top left;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

/* 1366px以上の画面でも中央に配置 */
@media (min-width: 1367px) {
  .container {
    max-width: 1366px;
    margin: 0 auto;
  }
}

/* iPad Air 5th 縦向き (1180px) */
@media (max-width: 1180px) {
  body {
    overflow-y: auto;
  }
  .container {
    width: 1366px;
    transform: scale(0.863); /* 1180/1366 ≈ 0.863 */
  }
}

/* タブレット縦 (768〜1024px) 基準: 1366 */
@media (max-width: 1024px) {
  body {
    overflow-y: auto;
  }
  .container {
    width: 1366px;
    transform: scale(0.75); /* 1024/1366 ≈ 0.75 */
  }
}

/* Asus Zenbook Fold */
@media (max-width: 853px) {
  body {
    overflow-y: auto;
  }
  .container {
    width: 1366px;
    transform: scale(0.624); /* 853/1366 ≈ 0.624 */
  }
}

/* iPad Air 5th 横向き (820px) */
@media (max-width: 820px) {
  body {
    overflow-y: auto;
  }
  .container {
    width: 1366px;
    transform: scale(0.6); /* 820/1366 ≈ 0.60 */
  }
}

/* スマホ横〜大きめ (480〜768px) */
@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }
  .container {
    width: 1366px;
    transform: scale(0.56); /* 768/1366 ≈ 0.56 */
  }
}

@media (max-width: 480px) {
  .container {
    width: 480px;
    transform: scale(1);
  }
}

@media (max-width: 430px) {
  .container {
    width: 480px;
    transform: scale(0.896); /* 430/480 ≈ 0.895 */
  }
}

/* iPhone 13(390px)向け */
@media (max-width: 390px) {
  .container {
    width: 480px;
    transform: scale(0.812); /* 390/480 ≈ 0.812 */
  }
}

/* iPhone SE(375px)向け */
@media (max-width: 375px) {
  .container {
    width: 480px;
    transform: scale(0.781); /* 375/480 ≈ 0.781 */
  }
}

/* Pixel系やGalaxy(360px)向け */
@media (max-width: 360px) {
  .container {
    width: 480px;
    transform: scale(0.75); /* 360/480 = 0.75 */
  }
}

/* 旧iPhone SEなど(320px)向け */
@media (max-width: 320px) {
  .container {
    width: 480px;
    transform: scale(0.67); /* 320/480 ≈ 0.67 */
  }
}

.sp-only {
  display: none;
}
.pc-only {
  display: inline-block;
}

@media (max-width: 480px) {
  .sp-only {
    display: inline-block;
  }
  .pc-only {
    display: none;
  }
}

/* ====================================
   ヒーローセクション
   ==================================== */
.hero-section {
  color: var(--text-light);
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.hero-visual--main {
  width: 1366px;
  height: 768px;
  margin: 0 auto -1px;
  background: url(images/main-visual__large.jpg) center / cover no-repeat;
  @media screen and (max-width: 480px) {
    background: url(images/main-visual__small.jpg) center / cover no-repeat;
  }
  background-size: 1366px 768px;
  padding: 65px 0; /* 上下の余白はここで付与 */
}

@media (max-width: 480px) {
  .hero-visual--main {
    width: 480px;
    height: 870px;
    background-size: 480px 870px;
    padding: 160px 0 0;
  }
}

.hero-visual--main > * {
  z-index: 1;
}

.hero-title {
  transform: none;
}

.hero-section__sub-catchphrase {
  margin-top: -15px;
}

.hero-section__main-catchphrase {
  margin-top: -60px;
}

.hero-title .hero-section__sub-catchphrase__text,
.hero-title .hero-section__main-catchphrase__text,
.hero-title .hero-section__main-benefit__text {
  display: inline-block;
  transform: skewX(-4deg) rotate(-2.8deg);
  transform-origin: center;
  text-shadow: var(--background-dark) 2px 2px 5px;
  width: 98%;
}

@media (max-width: 480px) {
  .hero-section__line-1,
  .hero-section__line-2,
  .hero-section__line-3 {
    transform: skewX(-4deg) rotate(-1.1deg);
  }
}

/* 下段: question 以降は別の背景に */
.hero-visual--sub {
  width: 1366px;
  height: 910px;
  margin: 0 auto;
  background: url(images/sub-visual__large.jpg) center / cover no-repeat;
  @media screen and (max-width: 480px) {
    background: url(images/sub-visual__small.jpg) center / cover no-repeat;
  }
  background-size: 1366px 910px;
  padding: 30px 0 40px;
  position: relative;
}

@media (max-width: 480px) {
  .hero-visual--sub {
    width: 480px;
    height: 605px;
    background-size: 480px 605px;
  }
}

.hero-section__sub-catchphrase__label {
  height: 175px;
  background-image: url(images/sub-catchphrase__line.png);
  @media screen and (max-width: 480px) {
    background-image: url(images/sub-catchphrase__small__line.png);
  }
  background-size: 1366px 175px;
  background-repeat: no-repeat;
}

.hero-section__sub-catchphrase__text {
  font-size: 27.5px;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 2px;
  margin-top: 70px;
}

@media (max-width: 480px) {
  .hero-section__sub-catchphrase__label {
    width: 480px;
    background-size: 480px;
  }

  .hero-section__sub-catchphrase__text {
    font-size: 19.5px;
    margin-top: 22px;
    line-height: 1.3;
  }
}

.hero-section__main-catchphrase__text {
  font-size: 57px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 20px;
  font-feature-settings: "palt";
  letter-spacing: 3px;
}

.hero-section__line-1 {
  font-size: 32px;
  display: block;
  margin-top: 40px;
}

.hero-section__line-2 {
  letter-spacing: var(--line2-letter-spacing, var(--hero-track, 0.02em));
  font-kerning: normal;
  font-feature-settings: "palt";
  display: block;
  margin-top: 0px;
}

.hero-section__line-3 {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
  font-feature-settings: "palt";
}

@media (max-width: 480px) {
  .hero-section__main-catchphrase__text {
    margin-top: -38px;
    font-size: 30px;
    line-height: 1.1;
  }
  .hero-section__line-1 {
    font-size: 26px;
  }
  .hero-section__line-2 {
    margin-top: 10px;
    font-size: 48px;
  }
  .hero-section__line-3 {
    margin-top: 15px;
    font-size: 26.5px;
  }
}

.hero-section__main-catchphrase__text em {
  font-style: normal;
}

.hero-section__main-catchphrase__text > span > em:first-of-type {
  color: var(--secondary-color);
}

.hero-section__num-six {
  font-family: "Bebas Neue Pro", "Bebas Neue", sans-serif;
  font-size: 68px;
  display: inline-block;
  transform: scaleX(1.08);
  letter-spacing: 0.02em;
}

.hero-l2__sai {
  margin-right: 0.11em;
}

.hero-l2__tan {
  margin-right: 0.13em;
}

.hero-l2__six {
  margin-left: 0.08em;
  margin-right: 0.11em;
  transform: scaleX(1.3);
  font-size: 68px;
}

.hero-l2__ka {
  margin-right: 0.01em;
}

.hero-l2__getsu {
}

.hero-l2__de {
  display: inline-block;
  margin: 0 0.01em;
  line-height: 1;
  font-size: 45px;
  transform: translateY(var(--gallery-baseline-shift, 2px));
}

.hero-l2__akoga {
  margin-left: 0.08em;
}

.hero-l2__re {
  margin-left: 0.08em;
}

.hero-l2__no {
  margin-left: 0.08em;
  display: inline-block;
  transform: translateY(var(--gallery-baseline-shift, 1px));
}

.hero-section__freelance em {
  margin-left: 0.08em;
  display: inline-block;
  transform: translateY(var(--gallery-baseline-shift, 1px));
}

.hero-l2__ni {
  margin-left: 0.08em;
  display: inline-block;
  transform: translateY(var(--gallery-baseline-shift, 1px));
}

@media (max-width: 480px) {
  .hero-l2__six {
    font-size: 56px;
  }
  .hero-l2__de {
    font-size: 40px;
  }
}

.hero-section__freelance {
  position: relative;
  display: inline-block;
  color: var(--primary-color);
}

.hero-section__freelance em {
  color: currentColor;
  font-kerning: normal;
  font-feature-settings: "palt";
  letter-spacing: var(--hero-track, 0.02em);
}

.hero-section__underline {
  position: absolute;
  left: -5px;
  right: 0;
  height: 0.7em;
  bottom: -0.09em;
  background: url("images/hero-section__underline.png") no-repeat left bottom;
  background-size: 100% 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-title .hero-section__freelance .hero-section__underline {
  transform: skewX(6deg) rotate(3deg);
  transform-origin: left bottom;
}

.hero-section__sub-benefit__container {
  margin: -10px 10px -10px 10px;
}

.hero-section__main-benefit {
  position: relative;
  display: inline-block;
  font-size: 25px;
  margin: 30px auto 20px auto;
  transform-origin: center;
}

.hero-section__main-benefit::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 45%;
  transform: translateY(-50%);
  transform-origin: center;
  left: -40px;
  right: -40px;
  height: 100px;
  background: url(images/main-benefit__label.png) center / 100% 100% no-repeat;
}

@media (max-width: 480px) {
  .hero-section__main-benefit {
    width: 480px;
  }
  .hero-section__main-benefit::before {
    width: 480px;
    left: -20px;
    right: -20px;
  }
}

.hero-section__main-benefit__text {
  z-index: 1;
  display: inline-block;
  padding: 10px 22px;
  white-space: nowrap;
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
}

@media (max-width: 480px) {
  .hero-section__main-benefit__text {
    font-size: 20px;
  }
}

.hero-section__question__text {
  font-size: 45px;
  font-weight: 600;
  margin-top: 60px;
  font-feature-settings: "palt";
  letter-spacing: 5px;
  line-height: 1.2;
}

.hero-section__next-message {
  font-feature-settings: "palt";
  letter-spacing: 3px;
}

.hero-section__next-message__text {
  font-size: 40px;
  font-weight: 300;
  margin-top: 520px;
  font-feature-settings: "palt";
  letter-spacing: 2px;
  text-shadow: var(--background-dark) 2px 2px 8px;
}

@media (max-width: 480px) {
  .hero-section__question__text {
    margin-top: 10px;
    font-size: 28px;
  }
  .hero-section__next-message__text {
    margin-top: 385px;
    font-size: 25px;
    line-height: 1.2;
  }
}

/* 会社の人間関係に疲れ、「フリーランスで自由に働けたら・・・」と思う */
.hero-section__opinion__text-1 {
  position: absolute;
  z-index: 2;
  top: 220px;
  left: 160px;
  font-feature-settings: "palt";
  letter-spacing: 1.5px;
}

/* やりがいのない仕事に「このまま一生続くのかな」と不安になる */
.hero-section__opinion__text-2 {
  z-index: 2;
  position: absolute;
  top: 490px;
  left: 110px;
  font-feature-settings: "palt";
  letter-spacing: 1.5px;
}

/* 自分には才能なんてないから、クリエイターになれる自信がない */
.hero-section__opinion__text-3 {
  z-index: 2;
  position: absolute;
  top: 300px;
  right: 580px;
  font-feature-settings: "palt";
  letter-spacing: 1.5px;
}

/* 憧れだったファッションや美容の世界に踏み出してみたい */
.hero-section__opinion__text-4 {
  z-index: 2;
  position: absolute;
  bottom: 250px;
  left: 430px;
  font-feature-settings: "palt";
  letter-spacing: 1.5px;
}

/* 本当はクリエイティブな仕事に興味があるけど、自分にできるか不安 */
.hero-section__opinion__text-5 {
  z-index: 2;
  position: absolute;
  bottom: 390px;
  right: 220px;
  font-feature-settings: "palt";
  letter-spacing: 1.5px;
}

/* 今の仕事を辞めず、まずは副業からでもクリエイターになれないか */
.hero-section__opinion__text-6 {
  z-index: 2;
  position: absolute;
  bottom: 220px;
  right: 350px;
  font-feature-settings: "palt";
  letter-spacing: 1.5px;
}

.hero-section__sub-visual__image-1 {
  position: absolute;
  top: 280px;
  left: 280px;
  width: 298px;
  height: auto;
}

.hero-section__sub-visual__image-2 {
  position: absolute;
  top: 200px;
  right: 380px;
  width: 266px;
  height: auto;
}

@media (max-width: 480px) {
  /* 会社の人間関係に疲れ、「フリーランスで自由に働けたら・・・」と思う */
  .hero-section__opinion__text-1 {
    top: 245px;
    left: -80px;
  }
  /* やりがいのない仕事に「このまま一生続くのかな」と不安になる */
  .hero-section__opinion__text-2 {
    top: 390px;
    left: 10px;
  }
  /* 自分には才能なんてないから、クリエイターになれる自信がない */
  .hero-section__opinion__text-3 {
    top: 160px;
    right: 160px;
  }
  /* 憧れだったファッションや美容の世界に踏み出してみたい */
  .hero-section__opinion__text-4 {
    bottom: 110px;
    left: 260px;
  }
  /* 本当はクリエイティブな仕事に興味があるけど、自分にできるか不安 */
  .hero-section__opinion__text-5 {
    bottom: 245px;
    right: 5px;
  }
  /* 今の仕事を辞めず、まずは副業からでもクリエイターになれないか */
  .hero-section__opinion__text-6 {
    bottom: 185px;
    right: 165px;
  }
  .hero-section__sub-visual__image-1 {
    top: 110px;
    left: 30px;
    width: 160px;
  }
  .hero-section__sub-visual__image-2 {
    top: 150px;
    right: 50px;
    width: 160px;
  }
}

/* 意見テキストのバッジ背景 */
.hero-section__opinion__text-1__text,
.hero-section__opinion__text-4__text,
.hero-section__opinion__text-5__text,
.hero-section__opinion__text-2__text,
.hero-section__opinion__text-3__text,
.hero-section__opinion__text-6__text {
  display: inline-block;
  color: var(--text-light);
  font-size: 20px;
  line-height: 1.4;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  font-feature-settings: "palt";
  line-height: 1.3;
  letter-spacing: 0.1em;
}

@media (max-width: 480px) {
  .hero-section__opinion__text-1__text,
  .hero-section__opinion__text-4__text,
  .hero-section__opinion__text-5__text,
  .hero-section__opinion__text-2__text,
  .hero-section__opinion__text-3__text,
  .hero-section__opinion__text-6__text {
    font-size: 15px;
    min-width: 120px;
    min-height: 60px;
    background-size: 120px auto; /* スマホ表示時は小さく */
  }
}

.hero-section__opinion__text-1__text,
.hero-section__opinion__text-4__text,
.hero-section__opinion__text-5__text {
  background-image: url("images/opinian__background__black.png");
  background-size: 350px 200px;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-section__opinion__text-2__text,
.hero-section__opinion__text-3__text,
.hero-section__opinion__text-6__text {
  background-image: url("images/opinian__background__gray.png");
  background-size: 350px 200px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 480px) {
  .hero-section__opinion__text-1__text,
  .hero-section__opinion__text-4__text,
  .hero-section__opinion__text-5__text,
  .hero-section__opinion__text-2__text,
  .hero-section__opinion__text-3__text,
  .hero-section__opinion__text-6__text {
    background-size: 250px 110px;
    min-width: 180px;
    min-height: 90px;
  }
}

.hero-section__opinion__text-1 {
  width: 360px;
}

.hero-section__opinion__text-1__text,
.hero-section__opinion__text-4__text,
.hero-section__opinion__text-5__text {
  position: relative;
  padding: 40px 32px;
}

.hero-section__opinion__text-2__text,
.hero-section__opinion__text-3__text,
.hero-section__opinion__text-6__text {
  position: relative;
  padding: 45px 32px 35px 32px;
}

@media (max-width: 480px) {
  .hero-section__opinion__text-1__text,
  .hero-section__opinion__text-4__text,
  .hero-section__opinion__text-5__text {
    position: relative;
    padding: 21px 18px 14px;
  }

  .hero-section__opinion__text-2__text,
  .hero-section__opinion__text-3__text,
  .hero-section__opinion__text-6__text {
    position: relative;
    padding: 25px 0 18px 10px;
  }
}

/* ====================================
   ベネフィットセクション
   ==================================== */
.benefit-section__title__message__text {
  font-size: 45px;
  text-align: center;
  font-feature-settings: "palt";
  letter-spacing: var(--benefit-letter-spacing, 3px);
  font-kerning: normal;
}

.benefit-title__shift {
  /* display: inline-block; */
  transform: translateY(var(--benefit-baseline-shift, 3px));
}

.benefit-section__title__message__text em {
  font-size: 50px;
  background: linear-gradient(transparent 80%, var(--secondary-color) 0);
  line-height: 1.05;
  font-feature-settings: "palt";
  letter-spacing: var(--benefit-em-letter-spacing, 2.6px);
  font-style: normal;
  position: relative;
  display: inline-block;
}

.benefit-section__title__message__text em::before {
  content: "";
  position: absolute;
  left: -50px;
  top: -70px;
  width: 110px;
  height: 85px;
  background: url("images/title-thunder-effect__upper-left.svg") no-repeat
    center/contain;
}

@media (max-width: 480px) {
  .benefit-section__title__message__text {
    margin-top: 30px;
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: 0.1em;
  }
  .benefit-section__title__message__text em {
    font-size: 35px;
  }
  .benefit-section__title__message__text em::before {
    width: 80px;
    height: 60px;
    left: -40px;
    top: -50px;
  }
}

.benefit-section__step {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin: 10px auto 20px;
}

.benefit-section__step__number {
  position: relative;
  display: inline-block;
  font-size: 0;
  left: 25px;
}

.benefit-section__step__number::before {
  content: "STEP";
  position: absolute;
  left: -15%;
  top: 50%;
  transform: translate(-45%, -50%);
  font-family: "bebas neue", sans-serif;
  font-size: 30px;
  letter-spacing: 0.08em;
  z-index: 1;
}

.benefit-section__step__number em {
  font-family: "Bebas Neue", sans-serif;
  font-size: 82.67px;
  font-style: normal;
  transform: skewX(-4deg);
  font-weight: 600;
  display: block;
  line-height: 1;
  color: var(--primary-color);
  font-feature-settings: "palt";
  letter-spacing: 3px;
}

.benefit-section__step__container-1 em {
  letter-spacing: 2px;
}

.benefit-section__step__content {
  width: 250px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-section__step__content img {
  display: block;
  width: 180px;
}

.benefit-section__step__content p {
  font-size: 25px;
  font-feature-settings: "palt";
  letter-spacing: 1px;
  line-height: 1.3;
  margin-top: 12px;
  font-feature-settings: "palt";
  letter-spacing: 1.6px;
}

.benefit-section__step__container-2 .benefit-section__step__content p {
  margin: 12px -3px 0;
}

.benefit-section__step__container-3 .benefit-section__step__content p {
  margin: 12px -16px 0;
}

@media (max-width: 480px) {
  .benefit-section__step {
    gap: 10px;
  }
  .benefit-section__step__number {
    left: 20px;
    top: 15px;
  }
  .benefit-section__step__number::before {
    left: -9%;
    font-size: 20px;
  }
  .benefit-section__step__number em {
    width: 100px;
    font-size: 50px;
    letter-spacing: 2px;
  }
  .benefit-section__step__content {
    width: 120px;
    margin-left: 10px;
    margin-top: 10px;
  }
  .benefit-section__step__content img {
    width: 90px;
  }
  .benefit-section__step__content p {
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 1.2;
  }

  .benefit-section__step__container-1 em {
    letter-spacing: 1px;
  }
}

/* ====================================
   ギャラリーセクション
   ==================================== */
.gallery-section__title__container h2 {
  background-color: var(--background-dark);
  color: var(--text-light);
  font-size: 45px;
  text-align: center;
  padding: 20px 28px;
  font-feature-settings: "palt";
  letter-spacing: 2.3px;
  line-height: 1.3;
}

.gallery-section__title__message {
  color: var(--primary-color);
  text-align: center;
  font-size: 50px;
  font-style: normal;
  font-feature-settings: "palt";
  letter-spacing: 4px;
}

.gallery-title__shift {
  /* display: inline-block;
  transform: translateY(var(--gallery-baseline-shift, 2px)); */
}

@media (max-width: 480px) {
  .gallery-section__title__container h2 {
    font-size: 30px;
    line-height: 1.1;
  }
  .gallery-section__title__message {
    font-size: 28px;
    padding: 10px 0;
    letter-spacing: 0.07em;
  }
  .gallery-title__shift {
    font-size: 24px;
  }
}

.gallery-section__cards {
  display: grid;
  grid-template-columns: repeat(2, 465px);
  gap: 10px;
  justify-content: center;
  background-image: url("images/gallery__background.jpg");
  background-size: 1366px auto;
  background-position: top center;
  background-repeat: repeat-y;
  padding-top: 40px;
  padding-bottom: 45px;
}

@media (max-width: 480px) {
  .gallery-section__cards {
    grid-template-columns: 1fr;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.gallery-section__card {
  position: relative;
  background-image: url("images/gallery__card__background__gray.jpg");
  background-repeat: repeat-y;
  background-size: 465px;
  border: var(--background-dark) 4px solid;
  padding: 25px 16px 20px;
  color: var(--text-dark);
  width: 465px;
  height: 480px;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .gallery-section__card {
    width: 450px;
  }
}

.gallery-section__cards > .gallery-section__card:nth-child(1),
.gallery-section__cards > .gallery-section__card:nth-child(4) {
  background: url("images/gallery__card__background__white.jpg") center/cover
    no-repeat;
}

.gallery-section__card__image img {
  display: block;
  width: 90%;
  margin: 0 auto;
}

.gallery-section__card__title {
  font-size: 25px;
  color: var(--text-light);
  background: var(--background-dark);
  text-align: center;
  font-weight: 700;
  font-feature-settings: "palt";
  letter-spacing: 1.2px;
  padding: 12px 10px;
  display: block;
  margin: 25px -16px 0 -16px;
}

.gallery-section__card__title .accent {
  color: var(--primary-color);
}

.gallery-section__card--offline .gallery-section__card__title {
  font-size: 24.3px;
}

@media (max-width: 480px) {
  .gallery-section__card--offline .gallery-section__card__title,
  .gallery-section__card--after-follow .gallery-section__card__title {
    font-size: 22px;
  }
}

.gallery-section__card__text {
  font-size: 22px;
  margin-top: 15px;
  text-align: center;
  font-feature-settings: "palt";
  letter-spacing: 1.5px;
}

@media (max-width: 480px) {
  .gallery-section__card__text {
    font-weight: 600;
    margin-top: 21px;
  }
}

.gallery-section__card > p {
  display: none;
  margin-top: 12px;
  font-size: 18px;
  font-feature-settings: "palt";
  letter-spacing: 1.3px;
}

.gallery-section__card__more,
.gallery-section__card__close {
  font-size: 18px;
  text-align: center;
  padding: 10px 0 0;
  cursor: pointer;
  z-index: 2;
}

.gallery-section__card__more:hover,
.gallery-section__card__close:hover {
  opacity: 50%;
}

.gallery-section__card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.gallery-section__card__more img {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.gallery-section__card__close {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  gap: 6px;
}

.gallery-section__card--open > p {
  display: block;
  max-width: 86%;
  margin-left: auto;
  margin-right: auto;
}

.gallery-section__card--open .gallery-section__card__close {
  display: inline-flex;
}

.gallery-section__card--open .gallery-section__card__more {
  display: none;
}

.gallery-section__card--open {
  height: auto;
  padding-bottom: 80px;
}

/* ====================================
   動画セクション
   ==================================== */
.video-section {
  background-color: var(--background-gray, #f5f5f5);
  width: 100%;
  padding-bottom: 80px;
}

.video-section__video-title__text {
  font-size: 45px;
  font-weight: 600;
  padding: 60px 0 40px 0;
  text-align: center;
  font-feature-settings: "palt";
  letter-spacing: 3px;
}

.video-section__video {
  display: block;
  margin: 0 auto;
  width: 827px;
  height: 466px;
}

@media (max-width: 480px) {
  .video-section {
    padding-bottom: 30px;
  }
  .video-section__video-title__text {
    font-size: 28px;
    padding: 20px 0 10px 0;
    letter-spacing: 2px;
  }
  .video-section__video {
    width: 440px;
    height: 260px;
  }
}

/* ====================================
   ピッタリセクション
   ==================================== */
.pittari-section {
  background-image: url(images/pittari__background.jpg);
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 77px 0 105px 0;
  text-align: center;
}

.pittari-section__title__text {
  font-size: 45px;
  font-weight: 600;
  padding-bottom: 30px;
  font-feature-settings: "palt";
  letter-spacing: 3px;
  line-height: 1.2;
}

.pittari-section__title__message > br {
  display: none;
}

@media (max-width: 480px) {
  .pittari-section {
    padding: 30px 0;
  }
  .pittari-section__title__text {
    width: 320px;
    font-size: 30px;
    padding-bottom: 10px;
    margin: 0 auto;
    /* letter-spacing: 2px; */
    /* line-height: 1.1; */
  }
  .pittari-section__title__message > br {
    display: block;
  }
}

.pittari-section__contents__text {
  width: min(830.05px, 90%);
  margin: 0 auto;
  text-align: left;
  font-size: 25px;
  font-weight: 500;
  font-feature-settings: "palt";
  letter-spacing: 1.9px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  padding: 35px 35px 35px 26px;
}

.pittari-section__contents__text li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  column-gap: 5px;
}

.pittari-section__contents__text li::before {
  content: "";
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: url("images/pittari__checkbox.svg") no-repeat center/contain;
  margin-top: 8.5px;
}

.pittari-section__contents__text li + li {
  margin-top: 8.5px;
}

@media (max-width: 480px) {
  .pittari-section__contents__text {
    padding: 15px 10px;
    font-size: 20px;
  }

  .pittari-section__contents__text li {
    column-gap: 2px;
  }

  .pittari-section__contents__text li::before {
    margin-top: 4px;
  }

  .pittari-section__contents__text li + li {
    margin-top: 2px;
  }
}

/* ====================================
   講師セクション
   ==================================== */
.creator-section {
  height: 820px;
}

.creator-section--gradient {
  background: linear-gradient(
    to bottom,
    var(--creator-grad-start, #ffffff) 0%,
    var(--creator-grad-end, #e6e6e6) 100%
  );
}

.creator-section__title {
  background-color: var(--background-dark);
}

.creator-section__title__message {
  color: var(--text-light);
  font-size: 45px;
  font-weight: 600;
  padding: 10px 0;
  text-align: center;
  font-feature-settings: "palt";
  letter-spacing: 3px;
}

@media (max-width: 480px) {
  .creator-section {
    height: 490px;
  }
  .creator-section__title__message {
    font-size: 30px;
    padding: 5px 0;
  }
}

.creator-section__subtitle__message {
  text-align: center;
  margin: 0 auto;
}

.creator-section__subtitle__message__text {
  font-size: 40px;
  margin: 40px auto 25px auto;
  text-align: center;
  font-feature-settings: "palt";
  letter-spacing: 2px;
  display: inline-block; /* 幅を文字に合わせる */
  position: relative; /* 疑似要素の基準 */
  z-index: 0; /* テキストを前面レイヤーに */
}

.creator-section__subtitle__message__text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0; /* 端から端まで */
  height: 9px; /* 太さ約4px */
  background: var(--secondary-color); /* 黄色 */
  bottom: 0.2em; /* 文字とかかるように、少し内側へ */
  z-index: -1; /* 下線を背面に */
}

@media (max-width: 480px) {
  .creator-section__subtitle__message__text::after {
    display: none;
  }
  .creator-section__subtitle__message__text__first-line::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0; /* 端から端まで */
    height: 9px; /* 太さ約4px */
    background: var(--secondary-color); /* 黄色 */
    bottom: 1.5em; /* 文字とかかるように、少し内側へ */
    z-index: -1; /* 下線を背面に */
  }
  .creator-section__subtitle__message__text__second-line::after {
    content: "";
    position: absolute;
    left: 55px;
    right: 55px; /* 端から端まで */
    height: 9px; /* 太さ約4px */
    background: var(--secondary-color); /* 黄色 */
    bottom: 0.2em; /* 文字とかかるように、少し内側へ */
    z-index: -1; /* 下線を背面に */
    display: block;
  }
}

/* 稲妻マークのベース位置（対象文字をアンカーに） */
.subtitle__mark-left,
.subtitle__mark-right {
  position: relative;
  display: inline-block;
}

.subtitle__mark-left::after {
  content: "";
  position: absolute;
  left: -70px; /* 斜め左下に配置 */
  bottom: -45px;
  width: 100px;
  height: 100px;
  background: url("images/title-thunder-effect__left.svg") no-repeat
    center/contain;
  pointer-events: none;
}

.subtitle__mark-right::after {
  content: "";
  position: absolute;
  right: -70px; /* 斜め右上に配置 */
  top: -45px;
  width: 100px;
  height: 100px;
  background: url("images/title-thunder-effect__right.svg");
}

@media (max-width: 480px) {
  .creator-section__subtitle__message {
    width: 290px;
  }
  .creator-section__subtitle__message__text {
    font-size: 24px;
    margin: 20px auto 15px auto;
    line-height: 1.4;
  }
  .subtitle__mark-left::after {
    bottom: -50px;
    left: -70px;
    width: 80px;
    background-repeat: no-repeat;
  }
  .subtitle__mark-right::after {
    top: -60px;
    right: -130px;
    width: 80px;
    background-repeat: no-repeat;
  }
}

/* 講師カード内のステッカー画像を個別に位置調整できるようにする */
.creator-section__creator {
  position: relative;
}

.creator-section__creator__sticker-image {
  position: relative;
  display: inline-block;
}

.creator-section__creator__sticker-image img {
  position: relative;
}

.creator-section__creator__sticker-image.sticker__ayane {
  top: 0px;
  left: 200px;
}

.creator-section__creator__sticker-image.sticker__ayane img {
  width: 260px;
}

.creator-section__creator__sticker-image.sticker__masayoshi {
  top: -268px;
  left: 535px;
}

.creator-section__creator__sticker-image.sticker__masayoshi img {
  width: 260px;
}

.creator-section__creator__sticker-image.sticker__haruka {
  top: -266px;
  left: 705px;
}

.creator-section__creator__sticker-image.sticker__haruka img {
  width: 260px;
}

.creator-section__creator__sticker-image.sticker__yuta {
  top: -802px;
  left: 870px;
}

.creator-section__creator__sticker-image.sticker__yuta img {
  width: 260px;
}

.creator-section__creator__sticker-image.sticker__yusuke {
  top: -800px;
  left: 375px;
}

.creator-section__creator__sticker-image.sticker__yusuke img {
  width: 260px;
}

@media (max-width: 480px) {
  .creator-section__creator__sticker-image.sticker__ayane {
    top: 7px;
    left: 35px;
  }
  .creator-section__creator__sticker-image.sticker__ayane img {
    width: 140px;
  }
  .creator-section__creator__sticker-image.sticker__masayoshi {
    top: -140px;
    left: 167px;
  }
  .creator-section__creator__sticker-image.sticker__masayoshi img {
    width: 140px;
  }
  .creator-section__creator__sticker-image.sticker__haruka {
    top: -135.5px;
    left: 249px;
  }
  .creator-section__creator__sticker-image.sticker__haruka img {
    width: 140px;
  }
  .creator-section__creator__sticker-image.sticker__yuta {
    top: -434.5px;
    left: 300px;
  }
  .creator-section__creator__sticker-image.sticker__yuta img {
    width: 140px;
  }
  .creator-section__creator__sticker-image.sticker__yusuke {
    top: -430px;
    left: 110px;
  }
  .creator-section__creator__sticker-image.sticker__yusuke img {
    width: 140px;
  }
}

.creator-section__creator__name {
  position: absolute;
  left: 50%;
  bottom: 2px; /* 画像の下に少し被せる */
  transform: translateX(-50%);
  background-color: var(--background-dark);
  color: var(--text-light);
  font-size: 21px;
  text-align: center;
  padding: 8px 10px;
  width: max-content; /* 内容に合わせて幅を狭く */
  font-feature-settings: "palt";
  letter-spacing: 1.5px;
}

@media (max-width: 480px) {
  .creator-section__creator__name {
    font-size: 11.5px;
    padding: 6px 4px;
    line-height: 1.2;
  }
}

.creator-section__creator__name p {
  margin: 0;
  line-height: 1.25;
}

/* ====================================
   代表セクション
   ==================================== */
.president-section {
  background-image: url("images/president__background.jpg");
}

.president-section__title {
  background-color: var(--background-dark);
}

.president-section__title__message {
  color: var(--text-light);
  font-size: 45px;
  font-weight: 600;
  padding: 10px 0;
  text-align: center;
  font-feature-settings: "palt";
  letter-spacing: 3px;
}

@media (max-width: 480px) {
  .president-section__title__message {
    font-size: 30px;
    padding: 5px 0;
  }
}

.president-section__body {
  display: flex;
  align-items: flex-start;
  flex-direction: row-reverse;
  gap: 23px;
  padding-left: 255px;
  padding-right: 255px;
  padding-bottom: 50px; /* CTA手前は背景側で余白を確保 */
  background-image: url(images/president__background.jpg);
}

@media (max-width: 480px) {
  .president-section__body {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .president-section__body {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }
}

.president-section__message {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.president-section__message__text {
  margin: 0;
  text-align: left;
  font-size: 18px;
  font-feature-settings: "palt";
  letter-spacing: 2px;
  overflow: hidden; /* 折りたたみ用 */
  transition: max-height 0.3s ease;
  width: 100%;
  line-height: 1.75;
  margin-top: 65px;
}

@media (max-width: 480px) {
  .president-section__message__text {
    margin-top: 0;
    padding: 0 40px;
    line-height: 1.45;
  }
}

/* 閉じている時は本文の高さをコンパクトに */
.president-section:not(.president-section--open)
  .president-section__message__text {
  max-height: 370px; /* 折りたたみの最大高さを小さく */
}

/* ボタンと本文の重なりは親の下パディングで解消（absoluteでも効く） */
.president-section:not(.president-section--open) .president-section__message {
  padding-bottom: 50px;
}

.president-section__mainimage img {
  display: block;
  height: auto;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
  margin: 70px 0 25px 0;
}

@media (max-width: 480px) {
  .president-section__mainimage img {
    margin: 20px auto;
    width: 50%;
  }
}

.president-section__message__more,
.president-section__message__close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 16px;
}

.president-section__message__more:hover,
.president-section__message__close:hover {
  opacity: 50%;
}

.president-section__message__close {
  display: none;
  padding-top: 15px;
}

.president-section--open .president-section__message__close {
  display: inline-flex;
}

.president-section--open .president-section__message__more {
  display: none;
}

/* 続きを読むは折りたたみ時、メッセージ領域の下端中央に固定 */
.president-section__message__more {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

/* ====================================
   CTAボタン
   ==================================== */

.cta {
  width: 1366px;
  margin: 0 auto;
  /* padding-bottom: 10px; */
}

@media (max-width: 480px) {
  .cta {
    width: 480px;
    padding-bottom: 10px;
  }
}

.cta__banzai__text {
  text-align: center;
  font-size: 34.21px;
  font-weight: bold;
  font-feature-settings: "palt";
  letter-spacing: 2px;
  margin-top: 25px;
}

.cta__banzai__text::before,
.cta__banzai__text::after {
  content: "";
  display: inline-block;
  width: 30px; /* 線の長さ */
  height: 4px; /* 線の太さ */
  background: currentColor;
  border-radius: 5px;
  vertical-align: middle;
}

.cta__banzai__text::before {
  transform: rotate(70deg);
  margin-right: -2.5px;
  margin-bottom: 6px;
}

.cta__banzai__text::after {
  transform: rotate(-70deg);
  margin-left: -5px;
  margin-bottom: 6px;
}

.cta__button {
  display: block;
  width: 735px;
  height: 98px;
  margin: 0 auto 40px;
  background-color: var(--primary-color);
}

.cta__button:hover {
  opacity: 0.6;
  transition: 0.3s;
}

.cta__button__link {
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 48.87px;
  text-align: center;
  font-feature-settings: "palt";
  letter-spacing: 4px;
}

.cta__button__link::after {
  content: "▶";
  font-size: 22px;
}

@media (max-width: 480px) {
  .cta__banzai__text {
    font-size: 24px;
  }
  .cta__banzai__text::before,
  .cta__banzai__text::after {
    width: 20px;
    height: 3px;
  }
  .cta__button {
    width: 440px;
    height: 80px;
    margin: 0 auto 20px;
  }
  .cta__button__link {
    font-size: 36px;
    gap: 6px;
    letter-spacing: 0.05em;
  }
  .cta__button__link::after {
    font-size: 18px;
  }
}

/* ====================================
   汎用スタイル
   ==================================== */
.section--gradient {
  /* 角度・色はカスタムプロパティで調整してください */
  /* 例) <section class="section--gradient" style="--grad-angle:180deg; --grad-start:#fff5cc; --grad-end:#ffe680;"> */
  background: linear-gradient(
    var(--grad-angle, 180deg),
    var(--grad-start, #ffffff) 0%,
    var(--grad-end, #f5f5f5) 100%
  );
}

/* 既存の背景画像の上にグラデーションを重ねたい場合 */
.section--gradient-overlay {
  position: relative;
}

.section--gradient-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    var(--grad-angle, 180deg),
    var(--grad-start, rgba(255, 255, 255, 0)) 0%,
    var(--grad-end, rgba(0, 0, 0, 0.08)) 100%
  );
  z-index: 0;
}
