/*------------------------------------------
カスタムリセット
---------------------------------------------*/

* {
  font-family: var(--font-family-body);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-default);
}

html {
  scroll-behavior: smooth !important;
}

/*------------------------------------------

root定義

---------------------------------------------*/
:root {
  /*----------------------------------------------------------------------------------
    カラー設定
----------------------------------------------------------------------------------*/

  /* 元の --color-gray を修正 */
  --color-white: #ffffff;
  --color-black: #000000; /* 白色を追加 */
  --color-sub-black: #333333;
  --color-main: #f15e74;
  --color-pink-dark: #f15e74;
  --color-purple: #811158;
  --color-navy: #1c1a68;
  --color-light-pink: #faf1f6;

  /*----------------------------------------------------------------------------------
    フォント設定、文字サイズ、文字の太さ
----------------------------------------------------------------------------------*/
  --font-family-mincho: "Zen Old Mincho", serif;
  --font-family-body: "Noto Sans JP", sans-serif;
  --font-family-playfair: "Playfair Display", serif;
  --font-family-gantari: "Gantari", sans-serif;
  --font-family-ibm-plex-jp: "IBM Plex Sans JP", sans-serif;

  --font-size-fixed-xxs: 12px;
  --font-size-fixed-xs: 14px;
  --font-size-fixed-sm: 18px;
  --font-size-fixed-md: 20px;
  --font-size-fixed-lg: 24px;
  --font-size-fixed-xl: 40px;
  --font-size-fixed-2xl: 60px;

  --font-weight-medium: 500;
  --font-weight-semi-bold: 600;
  --font-weight-bold: 700;

  /*----------------------------------------------------------------------------------
    余白設定
----------------------------------------------------------------------------------*/
  --space-xs: 4px;
  --space-s: 8px;
  --space-sm: 16px;
  --space-m: 20px;
  --space-ml: 26px;
  --space-l: 40px;
  --space-xl: 60px;
  --space-xxl: 100px; /* サブページの大きなセクション間 */
  --space-xxxl: 200px; /* メインページの大きなセクション間 */

  /*----------------------------------------------------------------------------------
    角丸スタイル
----------------------------------------------------------------------------------*/
  --border-radius-sm: 4px;
  --border-radius-m: 7px;
  --border-radius-lg: 12px;
  --border-radius-xl: 50px;
  --border-radius-full: 50%;
  /*----------------------------------------------------------------------------------
テキストスタイル
----------------------------------------------------------------------------------*/
  --line-height-normal: normal;
  --line-height-default: 1.5;
  --line-height-relaxed: 2;
  --line-height-loose: 3;

  --letter-spacing-normal: normal;
  --letter-spacing-tight: 0.05em;
  --letter-spacing-default: 0.1em;
  --letter-spacing-relaxed: 0.2em;

  --text-align-justify: justify;
  --text-align-center: center;
  --text-align-right: right;
  --text-align-left: left;

  /*----------------------------------------------------------------------------------
ボックスシャドウ
----------------------------------------------------------------------------------*/
}

/*----------------------------------------------------------------------------------
メディアクエリ
----------------------------------------------------------------------------------*/
@media (max-width: 767px) {
  :root {
    --font-size-fixed-xl: 22px;
    --font-size-fixed-l: 24px;
    --font-size-fixed-2xl: 16px;
    --font-size-fixed-md: 20px; /* h3 */
    --font-size-fixed-lg: 20px;
    --space-xxxl: 100px;
  }
}
/*----------------------------------------------------------------------------------
見出し
----------------------------------------------------------------------------------*/

h2 {
  font-weight: var(--font-weight-bold);
  display: flex;
  line-height: var(--line-height-default);
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--color--blue);
}

h3 {
  font-family: var(--font-family-accent);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-fixed-md);
  color: var(--color-navy);
}

/*------------------------------------
  Scroll reveal (fade-in)
------------------------------------*/
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* optional delay helpers */
.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}
.delay-400 {
  transition-delay: 0.4s;
}
.delay-500 {
  transition-delay: 0.5s;
}

#works h3 {
  color: var(--color-sub-black);
}

#description h3 {
  color: var(--color-main);
  margin-bottom: 16px;
}

#policy h3 {
  color: var(--color-main);
  margin-bottom: 16px;
}

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

@media (max-width: 767px) {
  h1 {
    font-size: clamp(16px, 3.5vw, 26px);
    padding: 12px 8px;
    width: 95%;
  }
}

/*----------------------------------------------------------------------------------
    ボタン
----------------------------------------------------------------------------------*/

/* ボタンスタイル */
.btn {
  text-align: end;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 20px;
  background-color: white;
  border: 2px solid var(--color-main);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 260px;
  width: 100%;
  justify-content: center;
}

#youtube .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 20px;
  background-color: white;
  border: 2px solid var(--color-main);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 460px;
  width: 100%;
  justify-content: center;
}

#youtube .btn {
  text-align: center;
}

#club .btn.works {
  text-align: left;
}

#club .btn.works .btn-link {
  max-width: 340px;
  background-color: var(--color-light-pink);
  border: 2px solid var(--color-main);
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#club .btn.works .btn-text {
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

#club .btn.works .btn-text::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url("../images/line.svg") no-repeat center / contain;
  margin-right: 12px;
}

#master .btn.works .btn-link {
  max-width: 340px;
  background-color: var(--color-light-pink);
  border: 2px solid var(--color-main);
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#master .btn.works .btn-text {
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

#master .btn.works {
  text-align: left;
}

#master .btn.works .btn-text::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url("../images/line.svg") no-repeat center / contain;
  margin-right: 12px;
}

#college .btn.works .btn-link {
  max-width: 340px;
  background-color: var(--color-light-pink);
  border: 2px solid var(--color-main);
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#college .btn.works .btn-text {
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

#college .btn.works {
  text-align: left;
}

#college .btn.works .btn-text::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url("../images/line.svg") no-repeat center / contain;
  margin-right: 12px;
}

#service .btn.works .btn-link {
  max-width: 340px;
  background-color: var(--color-light-pink);
  border: 2px solid var(--color-main);
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#service .btn.works .btn-text {
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

#service .btn.works {
  text-align: left;
}

#service .btn.works .btn-text::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url("../images/line.svg") no-repeat center / contain;
  margin-right: 12px;
}

#seminar .btn {
  text-align: left;
}

.btn-text {
  color: var(--color-main);
  text-align: left;
}

.btn-icon {
  width: 30px;
  height: 30px;
  background-color: var(--color-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon img {
  width: 40px;
  height: 40px;
}

.btn-link:hover {
  background-color: var(--color-light-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(129, 17, 88, 0.2);
}

@media (max-width: 767px) {
  .btn-link {
    padding: 8px 24px;
    gap: 12px;
    max-width: 260px;
  }

  .btn-text {
    font-size: 15px;
  }

  .btn-icon {
    width: 36px;
    height: 36px;
  }

  .btn-icon img {
    width: 18px;
    height: 18px;
  }

  #mission .btn {
    text-align: center;
  }

  #mission .btn-link {
    padding: 12px 24px;
    gap: 12px;
    max-width: 260px;
  }

  #youtube .btn-link {
    max-width: 320px;
  }

  #works .btn.works .btn-link {
    max-width: 320px;
  }
}

/*----------------------------------------------------------------------------------
    テキストデザイン
----------------------------------------------------------------------------------*/

.margin-bottom-24 {
  margin-bottom: 24px;
}

.margin-bottom-40 {
  margin-bottom: 40px;
}

.margin-bottom-100 {
  margin-bottom: 100px;
}

.bold {
  font-weight: var(--font-weight-medium);
}

/*----------------------------------------------------------------------------------
    コンテンツレイアウト
----------------------------------------------------------------------------------*/
.wide_1120 {
  max-width: 1120px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.reverse {
  flex-direction: row-reverse;
}

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

/*----------------------------------------------------------------------------------
    レスポンシブbr
----------------------------------------------------------------------------------*/

.br-sp {
  display: block;
}

.br-pc {
  display: none;
}

@media screen and (min-width: 768px) {
  .br-sp {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .br-pc {
    display: block;
  }
}

/*----------------------------------------------------------------------------------
    ボックスシャドウ
----------------------------------------------------------------------------------*/
.shadow {
  box-shadow: 0 5px 0 var(--color-gray);
}
/*----------------------------------------------------------------------------------

共通装飾

----------------------------------------------------------------------------------*/
/* TOPページh2タイトル */
.title-en {
  display: inline-block;
  font-size: 30px;
  font-weight: 600;
  background: linear-gradient(90deg, #f15e74 0%, #f8a5b2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-family-gantari, sans-serif);
}

#youtube .title-en {
  display: inline-block;
  font-size: 30px;
  font-weight: 600;
  background: linear-gradient(90deg, #f15e74 0%, #f8a5b2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-family-gantari, sans-serif);
  margin-bottom: 30px;
}

.title-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.title-main {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-sub-black);
  margin: 0;
  line-height: 1.3;
}

.title-sub {
  font-size: var(--font-size-fixed-sm);
}

.title-line {
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  margin-right: 8px;
}

.text-container {
  padding: 30px 0px 30px 60px;
  position: relative;
}

@media (max-width: 767px) {
  .title-main {
    font-size: 20px;
  }

  .title-en {
    font-size: 20px;
  }
}

.recaptcha-notice{font-size: 12px;}
.grecaptcha-badge { visibility: hidden; }