@charset "UTF-8";
/* デフォルト */
/* レスポンシブ設定 */
@media screen and (min-width: 321px) {
  .ssp {
    display: none;
  }
}
@media screen and (min-width: 541px) {
  .sp {
    display: none;
  }
}
@media screen and (max-width: 540px) {
  .pc {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .tb {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .nb {
    display: none;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 共通デザイン */
body {
  font-family: "heisei-kaku-gothic-std", sans-serif;
  font-style: normal;
  color: #363636;
  background-color: #363636;
}

p {
  font-size: 18px;
  line-height: 1.5;
  text-align: justify;
  text-justify: inter-ideograph;
}
@media screen and (max-width:540px) {
  p {
    font-size: 15px;
  }
}

a {
  text-decoration: none;
  color: white;
}

.bold {
  font-weight: bold;
}

.center {
  text-align: center;
}

.white {
  color: white;
}

.red {
  color: #EF3C3C;
  font-weight: bold;
}

.yellow {
  color: #FFE465;
  font-weight: bold;
}

.marker-half {
  padding-bottom: 5px;
  background: linear-gradient(transparent 55%, #FFE465 55%);
}

img {
  width: 100%;
  display: block;
}

h2 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 40px;
  color: white;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
}
@media screen and (max-width:768px) {
  h2 {
    font-size: 30px;
    margin-bottom: 40px;
  }
}

.sub-title {
  color: #EF3C3C;
  font-size: 30px;
  font-family: "ofelia-display", sans-serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.5em;
  margin-bottom: 15px;
}
@media screen and (max-width:768px) {
  .sub-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
}

.flex {
  display: flex;
  /*   中央寄せ　justify-content: center; */
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

section {
  padding: 100px 0;
}
section.gray {
  background-color: #585858;
}
@media screen and (max-width:540px) {
  section {
    padding: 60px 0px;
  }
}

.container {
  max-width: 1280px;
  margin: auto;
  width: 100%;
}
@media screen and (max-width:768px) {
  .container {
    width: 93%;
  }
}

.sub-container {
  max-width: 1024px;
  margin: auto;
  width: 100%;
}
@media screen and (max-width:768px) {
  .sub-container {
    width: 93%;
  }
}

.frame {
  background-color: #E5E5E5;
  width: 100%;
  display: flex;
  align-items: stretch;
}
.frame .band {
  background-color: #EF3C3C;
  width: 6px;
  flex-shrink: 0;
}
.frame .content {
  display: flex;
  align-items: center;
  padding: 10px 40px;
}
.frame .content .number {
  font-size: 40px;
  font-weight: bold;
  margin-right: 15px;
}
.frame .content .label {
  font-size: 30px;
  font-weight: 700;
  margin-right: 30px;
}

/* ============================
   ヘッダーメニュー
   ============================ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.249);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
.main-header .header-logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.main-header .header-logo a {
  display: block;
  height: 100%;
}
.main-header .header-logo img {
  height: 100%;
  width: auto;
  max-height: 60px;
}
@media screen and (max-width:1024px) {
  .main-header .header-logo img {
    padding: 8px 0px;
  }
}
.main-header {
  /* PC用ナビゲーション（右寄せ） */
}
.main-header .header-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}
.main-header .header-nav ul li a {
  font-size: 18px;
  font-weight: bold;
  color: #363636;
  transition: color 0.3s ease;
}
.main-header .header-nav ul li a:hover {
  color: #EF3C3C;
}
.main-header {
  /* ハンバーガーボタン（PCでは非表示） */
}
.main-header .hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 24px;
  height: 18px;
  position: relative;
}
.main-header .hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #EF3C3C;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.main-header .hamburger-btn span:nth-child(1) {
  top: 0;
}
.main-header .hamburger-btn span:nth-child(2) {
  top: 8px;
}
.main-header .hamburger-btn span:nth-child(3) {
  top: 16px;
}
.main-header .hamburger-btn.is-active span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.main-header .hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.main-header .hamburger-btn.is-active span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}
.main-header {
  /* モバイル用ナビゲーション（初期は非表示） */
}
.main-header .mobile-nav {
  display: none;
}
.main-header {
  /* 1024px以下（タブレット・スマホ）: ハンバーガー表示 */
}
@media screen and (max-width:1024px) {
  .main-header {
    height: 48px;
    padding: 0 20px;
  }
  .main-header .header-nav {
    display: none;
  }
  .main-header .hamburger-btn {
    display: block;
  }
  .main-header .mobile-nav {
    display: block;
    position: fixed;
    top: 48px;
    left: 0;
    width: 100%;
    height: calc(100vh - 48px);
    background-color: #ffffff;
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .main-header .mobile-nav.is-open {
    max-height: calc(100vh - 48px);
  }
  .main-header .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .main-header .mobile-nav ul li {
    width: 100%;
  }
  .main-header .mobile-nav ul li a {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #363636;
    text-align: center;
  }
  .main-header .mobile-nav ul li {
    /* 白とFEF3F3を交互に（1,3,5番目は白 / 2,4,6番目はFEF3F3） */
  }
  .main-header .mobile-nav ul li:nth-child(odd) {
    background-color: #ffffff;
  }
  .main-header .mobile-nav ul li:nth-child(even) {
    background-color: #FEF3F3;
  }
}

/* 固定ヘッダー分、アンカー遷移時にセクションが隠れないように余白を確保 */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}
@media screen and (max-width:1024px) {
  section[id] {
    scroll-margin-top: 38px;
  }
}

/* ============================
   メインビジュアル
   ============================ */
/* 背景画像は下の background-image に指定してください */
/* 上に乗せるテキスト等は .main-visual-inner の中に配置してください */
/* 高さ = 画面の高さ - ヘッダー高 - CTA高 で、ヘッダー直下にピッタリ収まる */
.main-visual {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px - 130px);
  margin-top: 70px;
  position: relative;
  padding: 0;
  background-image: url("../img/main-visual-img.png"), url("../img/main-visual.png");
  background-size: 1150px, cover;
  background-position: 100% 120%, center center;
  background-repeat: no-repeat, no-repeat;
}
.main-visual .main-visual-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-visual .main-visual-inner .container {
  padding-bottom: 80px;
  position: relative;
}
.main-visual .main-visual-inner .container img {
  width: 850px;
  margin-bottom: 70px;
}
@media screen and (max-width:1024px) {
  .main-visual .main-visual-inner .container img {
    width: 95vw;
    margin-bottom: 0px;
  }
}
.main-visual .main-visual-inner .container h1 {
  position: absolute;
  z-index: -1;
}
.main-visual .main-visual-inner .main-visual-grid {
  position: absolute;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PC：4要素を横並び */
  width: 100%;
}
.main-visual .main-visual-inner .item {
  border-right: 1px solid rgb(255, 255, 255);
  border-left: 1px solid rgb(255, 255, 255);
  background-color: #EF3C3C;
  padding: 20px 0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-visual .main-visual-inner .item p {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
.main-visual .main-visual-inner .item .large {
  font-size: 30px;
}
.main-visual .main-visual-inner .item .medium {
  font-size: 20px;
}
.main-visual .main-visual-inner .item .small {
  font-size: 18px;
}
.main-visual .main-visual-inner .container {
  max-width: 82vw;
}
.main-visual .main-visual-inner .container img {
  max-width: 48vw;
  padding: 5.2vw 0 2vw;
}
.main-visual .main-visual-inner .container .text {
  padding-left: 3.5vw;
}
.main-visual .main-visual-inner .container .text .message {
  font-size: 1.6vw;
  font-weight: bold;
  margin-bottom: 1vw;
}
.main-visual .main-visual-inner .container .text p {
  font-size: 1.1vw;
}
@media screen and (max-width:1024px) {
  .main-visual .main-visual-inner .container {
    max-width: 90vw;
  }
  .main-visual .main-visual-inner .container img {
    max-width: 60vw;
    padding: 5vw 0 2vw;
  }
  .main-visual .main-visual-inner .container .text .message {
    font-size: 2.5vw;
    margin-bottom: 2vw;
  }
  .main-visual .main-visual-inner .container .text p {
    font-size: 1.5vw;
  }
}
@media screen and (max-width:768px) {
  .main-visual {
    background-image: url("../img/main-visual-sp.png");
    background-position: center center;
    background-size: cover;
  }
  .main-visual .main-visual-inner .item {
    padding: 10px 0 9px;
  }
  .main-visual .main-visual-inner .item p {
    font-size: 14px;
  }
  .main-visual .main-visual-inner .container img {
    max-width: 90vw;
    padding: 0;
    margin: auto;
  }
  .main-visual .main-visual-inner .container .text {
    padding-left: 2vw;
  }
  .main-visual .main-visual-inner .container .text .message {
    font-size: 4.5vw;
    font-weight: bold;
    margin-bottom: 4vw;
  }
  .main-visual .main-visual-inner .container .text p {
    font-size: 3.5vw;
  }
}
.main-visual {
  /* 1024px以下（タブレット・スマホ）：ヘッダーが38pxになる */
}
@media screen and (max-width:1024px) {
  .main-visual {
    height: calc(100vh - 48px - 67px);
    margin-top: 48px;
  }
}
@media screen and (max-width:540px) {
  .main-visual {
    /* SP: ヘッダー(48px) + メインビジュアル がファーストビューに
       ぴったり収まるよう svh を使用（CTA は初期非表示でスクロール時に出現）
       （モバイルのアドレスバー表示時にも収まる） */
    height: calc(100vh - 48px); /* svh 非対応ブラウザ用フォールバック */
    height: calc(100svh - 48px);
    background-image: url("../img/main-visual-img-sp.png"), url("../img/main-visual-sp.png");
    background-size: contain, cover;
    background-position: 100% 80%, center center;
    background-repeat: no-repeat, no-repeat;
  }
  .main-visual .main-visual-inner {
    display: block;
  }
  .main-visual .main-visual-inner .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 40px 4vw 0;
    text-align: center;
  }
  .main-visual .main-visual-inner {
    /* SP：3要素を1段目に並べ、最後の「フリーランス」項目のみ2段目で全幅に */
  }
  .main-visual .main-visual-inner .main-visual-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .main-visual .main-visual-inner .main-visual-grid .item:last-child {
    grid-column: 1/-1; /* 全幅で2段目に配置 */
    border-top: 1px solid #ffffff; /* SP のときのみ上にも白枠 */
  }
}
.main-visual .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================
   CTAボタン（画面下部に常時固定）
   ============================ */
.cta-section {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7098039216);
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  z-index: 999;
  transition: transform 0.4s ease;
}
.cta-section .cta-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 650px;
  max-width: 100%;
  padding: 20px;
  border: 5px solid #ffffff;
  border-radius: 9999px;
  background: linear-gradient(to top, #EAC25A 0%, #FFE465 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}
.cta-section .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  background: #EF3C3C;
}
.cta-section .cta-button:hover .cta-text {
  color: #ffffff;
}
.cta-section .cta-button:hover .cta-arrow {
  background-color: #ffffff;
}
.cta-section .cta-button:hover .cta-arrow svg path {
  stroke: #EF3C3C;
}
.cta-section .cta-button .cta-text {
  font-size: 25px;
  font-weight: bold;
  color: #363636;
  text-align: center;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.cta-section .cta-button {
  /* 右側の矢印（赤丸＋白「＞」） */
}
.cta-section .cta-button .cta-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #EF3C3C;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}
.cta-section .cta-button .cta-arrow svg {
  width: 9px;
  height: 17px;
  display: block;
}
.cta-section .cta-button .cta-arrow svg path {
  transition: stroke 0.3s ease;
}
@media screen and (max-width:768px) {
  .cta-section {
    height: 90px;
  }
  .cta-section .cta-button {
    width: 300px;
    padding: 15px;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  .cta-section .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  .cta-section .cta-button .cta-text {
    font-size: 18px;
    padding-right: 5px;
  }
  .cta-section .cta-button .cta-arrow {
    width: 20px;
    height: 20px;
    right: 15px;
  }
  .cta-section .cta-button .cta-arrow svg {
    width: 7px;
    height: 15px;
    display: block;
  }
}
.cta-section {
  /* SP（540px以下）：初期はファーストビューに表示せず、
     スクロール時に画面下から出現させる */
}
@media screen and (max-width:540px) {
  .cta-section {
    transform: translateY(100%);
  }
  .cta-section.is-visible {
    transform: translateY(0);
  }
}

/* 固定CTAに最終コンテンツが隠れないよう body に余白を確保 */
body {
  padding-bottom: 130px;
}
@media screen and (max-width:768px) {
  body {
    padding-bottom: 70px;
  }
}

/* ===========================================
   トップページ以外（下層ページ）共通の余白調整
   - 固定ヘッダー分の上余白を確保（ファーストビューが隠れないように）
   - 下部固定CTAが無いため body の下余白を解除
   =========================================== */
body.sub-page {
  padding-top: 80px; /* 固定ヘッダーの高さ分 */
  padding-bottom: 0; /* 下部固定CTAが無いため余白不要 */
}
@media screen and (max-width:1024px) {
  body.sub-page {
    padding-top: 48px; /* タブレット・スマホ時のヘッダー高さ */
  }
}

/* 個別デザイン */
.what .line {
  height: 5px;
  background-color: #EF3C3C;
  margin-bottom: 40px;
}
@media screen and (max-width:540px) {
  .what .line {
    height: 2px;
    margin-bottom: 30px;
  }
}
.what .sub-container h2 {
  color: #EF3C3C;
  font-size: 70px;
  margin: 0 0 -20px;
  text-align: center;
  font-family: "ofelia-display", sans-serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.3em;
}
@media screen and (max-width:540px) {
  .what .sub-container h2 {
    font-size: 7vw;
    margin: 0 0 -8px;
  }
}
.what .sub-container .white.bold.center {
  font-size: 20px;
}
@media screen and (max-width:540px) {
  .what .sub-container .white.bold.center {
    font-size: 18px;
  }
}
.what .sub-container {
  /* ▼ 4要素を2行2列に並べる（SP時は縦1列） */
}
.what .sub-container .flex-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 30px 0 70px;
}
.what .sub-container .flex-column .frame {
  background-color: #ffffff;
}
.what .sub-container .flex-column .frame .content {
  padding: 25px 30px;
}
@media screen and (max-width:540px) {
  .what .sub-container .flex-column .frame .content {
    padding: 15px;
  }
}
.what .sub-container .flex-column .frame .content .flex {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width:540px) {
  .what .sub-container .flex-column .frame .content .flex {
    gap: 15px;
  }
}
.what .sub-container .flex-column .frame .content .number {
  font-family: "ofelia-display", sans-serif;
  font-weight: 800;
  font-style: italic;
  color: #EF3C3C;
  margin: 0;
  margin-right: 0;
  line-height: 1;
  flex-shrink: 0;
}
@media screen and (max-width:540px) {
  .what .sub-container .flex-column .frame .content .number {
    font-size: 25px;
  }
}
.what .sub-container .flex-column .frame .content .label {
  font-size: 23px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  margin-bottom: 10px;
}
@media screen and (max-width:540px) {
  .what .sub-container .flex-column .frame .content .label {
    font-size: 20px;
    margin: 0 0 10px;
  }
}
@media screen and (max-width:540px) {
  .what .sub-container .flex-column .frame .content p {
    font-size: 16px;
  }
}
@media screen and (max-width:540px) {
  .what .sub-container .flex-column {
    grid-template-columns: 1fr;
  }
}
.what {
  /* ▼ パートナー登録フォーム（cta-section と同デザイン） */
}
.what .contact-cta-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 650px;
  max-width: 100%;
  margin: 50px auto 0;
  padding: 20px;
  border: 5px solid #ffffff;
  border-radius: 9999px;
  background: linear-gradient(to top, #EAC25A 0%, #FFE465 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}
.what .contact-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  background: #EF3C3C;
}
.what .contact-cta-button:hover .cta-text {
  color: #ffffff;
}
.what .contact-cta-button:hover .cta-arrow {
  background-color: #ffffff;
}
.what .contact-cta-button:hover .cta-arrow svg path {
  stroke: #EF3C3C;
}
.what .contact-cta-button .cta-text {
  font-size: 25px;
  font-weight: bold;
  color: #363636;
  text-align: center;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.what .contact-cta-button {
  /* 右側の矢印（赤丸＋白「＞」） */
}
.what .contact-cta-button .cta-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #EF3C3C;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}
.what .contact-cta-button .cta-arrow svg {
  width: 9px;
  height: 17px;
  display: block;
}
.what .contact-cta-button .cta-arrow svg path {
  transition: stroke 0.3s ease;
}
@media screen and (max-width:540px) {
  .what .contact-cta-button {
    width: 300px;
    padding: 15px;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    margin-top: 50px;
  }
  .what .contact-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  .what .contact-cta-button .cta-text {
    font-size: 18px;
    padding-right: 5px;
  }
  .what .contact-cta-button .cta-arrow {
    width: 20px;
    height: 20px;
    right: 15px;
  }
  .what .contact-cta-button .cta-arrow svg {
    width: 7px;
    height: 15px;
    display: block;
  }
}

.PROJECTS {
  padding-top: 50px;
  position: relative;
  overflow: visible;
}
.PROJECTS::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 600px;
}
@media screen and (max-width:540px) {
  .PROJECTS::before {
    height: 100px;
  }
}
.PROJECTS::before {
  background: linear-gradient(to top, #7c7c7c, #363636);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 0;
}
.PROJECTS .container {
  position: relative;
  z-index: 1;
}
.PROJECTS .PROJECTS-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
  width: 100%;
  margin-top: 50px;
}
@media screen and (max-width:540px) {
  .PROJECTS .PROJECTS-grid {
    margin-top: 40px;
  }
}
.PROJECTS .item {
  border: 2px solid white;
  background-color: white;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.3s ease, border-width 0.3s ease;
}
.PROJECTS .item:hover {
  border: 5px solid #EF3C3C;
}
.PROJECTS .item:hover .title {
  background-color: #EF3C3C;
}
.PROJECTS .item .title {
  background-color: #363636;
  font-size: 23px;
  padding: 15px 10px;
  text-align: center;
  color: white;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  line-height: 1.4;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.PROJECTS .item img {
  width: 100%;
}
.PROJECTS .item .content {
  background-color: white;
  padding: 0px 25px 25px;
}
@media screen and (max-width:540px) {
  .PROJECTS .item .content {
    padding: 0px 15px 25px;
  }
}
.PROJECTS .item .content .text {
  font-weight: bold;
  padding: 5px 0 0 20px;
}
.PROJECTS .item .content .flex {
  gap: 10px;
  padding-top: 25px;
}
.PROJECTS .item .content .flex .decoration {
  height: 24px;
  width: 5px;
  background-color: #EF3C3C;
}
.PROJECTS .item .content .flex .label {
  font-size: 18px;
  font-weight: bold;
}
.PROJECTS .item .content ul {
  padding-left: 30px;
  padding-top: 5px;
}
@media screen and (max-width:540px) {
  .PROJECTS {
    padding-top: 30px;
  }
  .PROJECTS .PROJECTS-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
  }
}

.MERIT {
  padding-top: 50px;
}
@media screen and (max-width:540px) {
  .MERIT {
    padding-bottom: 0;
  }
}
.MERIT .flex-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 30px 0 70px;
}
@media screen and (max-width:540px) {
  .MERIT .flex-column {
    grid-template-columns: repeat(1, 1fr);
  }
}
.MERIT .flex-column .frame {
  background-color: #ffffff;
}
.MERIT .flex-column .frame .content {
  padding: 20px 30px;
  /* ▼ number と labelラッパー を横並び＆縦中央揃え */
}
.MERIT .flex-column .frame .content .flex {
  display: flex;
  align-items: center;
  gap: 20px;
}
.MERIT .flex-column .frame .content .number {
  font-family: "ofelia-display", sans-serif;
  font-weight: 800;
  font-style: italic;
  color: #EF3C3C;
  margin: 0;
  margin-right: 0;
  line-height: 1;
  flex-shrink: 0;
}
.MERIT .flex-column .frame .content .label {
  font-size: 23px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  margin-bottom: 10px;
}
@media screen and (max-width:540px) {
  .MERIT .flex-column {
    grid-template-columns: 1fr;
  }
  .MERIT .flex-column .frame .content {
    padding: 15px;
  }
  .MERIT .flex-column .frame .content .flex {
    gap: 15px;
  }
  .MERIT .flex-column .frame .content .number {
    font-size: 25px;
  }
  .MERIT .flex-column .frame .content .label {
    font-size: 19px;
  }
  .MERIT .flex-column .frame .content p {
    font-size: 16px;
  }
}

.FLOW {
  background-image: url(../img/pc-bg.png);
  background-repeat: no-repeat;
  background-size: 850px;
  background-position: 100% 0;
  padding-top: 0px;
}
.FLOW .flow-table {
  margin-top: 50px;
}
.FLOW .flow-table .flex {
  align-items: stretch;
  position: relative;
}
.FLOW .flow-table .flex:nth-child(1) {
  z-index: 4;
}
.FLOW .flow-table .flex:nth-child(3) {
  z-index: 3;
}
.FLOW .flow-table .flex:nth-child(5) {
  z-index: 2;
}
.FLOW .flow-table .flex:nth-child(7) {
  z-index: 1;
}
.FLOW .flow-table .flex:nth-child(1) .number::before, .FLOW .flow-table .flex:nth-child(1) .number::after {
  display: none;
}
.FLOW .flow-table .flex .number::before,
.FLOW .flow-table .flex .number::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 20px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.FLOW .flow-table .flex .number::before {
  top: 0;
  background-color: #EF3C3C;
  z-index: 2;
}
.FLOW .flow-table .flex .number::after {
  top: 5px;
  background-color: rgba(0, 0, 0, 0.182);
  filter: blur(5.5px);
  z-index: 1;
}
.FLOW .flow-table .flex .number {
  background-color: #EF3C3C;
  color: white;
  font-family: "ofelia-display", sans-serif;
  font-style: italic;
  font-size: 35px;
  width: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 5px;
  position: relative;
}
.FLOW .flow-table .flex .number p {
  font-size: 30px;
}
.FLOW .flow-table .flex .flex {
  flex: 1;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.129));
}
@media screen and (max-width:540px) {
  .FLOW .flow-table .flex .flex {
    filter: none;
  }
}
.FLOW .flow-table .flex .flex .icon {
  background-color: #FEEDED;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.FLOW .flow-table .flex .flex .icon img {
  max-width: 116px;
}
.FLOW .flow-table .flex .flex .content {
  padding: 25px 40px;
  background-color: white;
  flex: 1;
  display: flex;
  align-items: center;
}
.FLOW .flow-table .flex .flex .content .small {
  font-size: 14px;
  margin-top: 20px;
}
.FLOW .flow-table .flex .flex .content .label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 25px;
  margin-bottom: 10px;
}
@media screen and (max-width:540px) {
  .FLOW .flow-table {
    margin: 40px auto 0;
    max-width: 300px;
  }
  .FLOW .flow-table .triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 40px solid transparent;
    border-left: 40px solid transparent;
    border-top: 20px solid #ffffff;
    border-bottom: 0;
    margin: 0 auto 15px;
  }
  .FLOW .flow-table .flex {
    display: block;
    background-color: white;
    filter: none;
  }
  .FLOW .flow-table .flex .number::after, .FLOW .flow-table .flex .number::before {
    display: none;
  }
  .FLOW .flow-table .flex .number {
    width: 100%;
  }
  .FLOW .flow-table .flex .number p {
    font-size: 20px;
  }
  .FLOW .flow-table .flex .flex .icon {
    height: 100px;
    width: 100px;
    padding: 15px;
    margin: 20px auto 0;
  }
  .FLOW .flow-table .flex .flex .content {
    padding: 20px 20px 30px;
  }
  .FLOW .flow-table .flex .flex .content .label {
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
  }
  .FLOW {
    background-image: url(../img/sp-bg.png);
    background-size: 100%;
    padding-top: 30px;
  }
  .FLOW img {
    max-width: 300px;
    margin: auto;
  }
}

.welcome {
  position: relative;
  background-color: #FFE465;
  padding: 10px;
}
.welcome .bg {
  background-image: url(../img/welcome-bg.png);
  background-size: cover;
  padding: 90px 20px;
}
.welcome::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, #363636 0%, #363636 20%, rgba(54, 54, 54, 0.7) 50%, rgba(54, 54, 54, 0) 100%);
  z-index: 1;
  pointer-events: none;
}
.welcome .sub-container {
  position: relative;
  z-index: 2;
}
.welcome h2 {
  margin-bottom: 30px;
  font-size: 70px;
}
.welcome .check-list {
  margin: 35px 0;
}
.welcome .check-list .flex {
  background-color: white;
  border: 1px solid #363636;
  padding: 8px 20px 6px;
  gap: 10px;
  max-width: 650px;
}
.welcome .check-list .flex img {
  max-width: 23px;
}
.welcome .check-list .flex p {
  font-weight: bold;
}
.welcome .annotation {
  font-size: 12px;
  color: white;
}
@media screen and (max-width:540px) {
  .welcome {
    padding: 3px;
  }
  .welcome .bg {
    background-size: 140vw;
    background-position: 60% 0%;
    background-repeat: no-repeat;
    background-color: #363636;
    padding: 60px 0;
  }
  .welcome::after {
    height: 90%;
    background: linear-gradient(to top, #363636 0%, #363636 60%, rgba(54, 54, 54, 0.7) 70%, rgba(54, 54, 54, 0) 100%);
  }
  .welcome h2 {
    font-size: 30px;
  }
  .welcome .check-list .flex {
    padding: 7px 15px 6px;
  }
  .welcome .check-list .flex img {
    max-width: 20px;
  }
  .welcome .check-list .flex p {
    font-size: 15px;
  }
  .welcome .annotation {
    font-size: 12px;
    color: white;
  }
}

.OCCUPATION {
  padding-top: 50px;
  background-image: url(../img/design.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50% 5%;
}
.OCCUPATION .OCCUPATION-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 10px;
  margin-top: 40px;
}
.OCCUPATION .item {
  background-color: white;
}
.OCCUPATION .item .OCCUPATION-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.OCCUPATION .item .OCCUPATION-img.creator {
  background-image: url(../img/creator.png);
}
.OCCUPATION .item .OCCUPATION-img.contents {
  background-image: url(../img/contents.png);
}
.OCCUPATION .item .OCCUPATION-img.direction {
  background-image: url(../img/direction.png);
}
.OCCUPATION .item .OCCUPATION-img.management {
  background-image: url(../img/management.png);
}
.OCCUPATION .item .OCCUPATION-img p {
  color: white;
  font-weight: bold;
  text-align: center;
  font-size: 25px;
  line-height: 1.3;
  text-shadow: 1px 3px 5px rgba(0, 0, 0, 0.314);
}
.OCCUPATION .item ul {
  list-style: none;
  padding: 20px 20px;
}
@media screen and (max-width:540px) {
  .OCCUPATION .item ul {
    padding: 15px 10px;
  }
}
.OCCUPATION .item ul li {
  position: relative;
  padding-left: 20px;
}
.OCCUPATION .item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 10px;
  height: 10px;
}
@media screen and (max-width:540px) {
  .OCCUPATION .item ul li {
    font-size: 14px;
    padding-left: 10px;
  }
  .OCCUPATION .item ul li::before {
    top: 0.5em;
    width: 5px;
    height: 5px;
  }
}
.OCCUPATION .item .OCCUPATION-img.creator ~ ul li::before {
  background-color: #EF3C3C;
}
.OCCUPATION .item .OCCUPATION-img.contents ~ ul li::before {
  background-color: #EFB03C;
}
.OCCUPATION .item .OCCUPATION-img.direction ~ ul li::before {
  background-color: #BFDD39;
}
.OCCUPATION .item .OCCUPATION-img.management ~ ul li::before {
  background-color: #59CD42;
}
@media screen and (max-width:768px) {
  .OCCUPATION {
    padding-top: 30px;
  }
  .OCCUPATION .OCCUPATION-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .OCCUPATION .item .OCCUPATION-img {
    height: 120px;
  }
  .OCCUPATION .item .OCCUPATION-img p {
    font-size: 18px;
    line-height: 1.5;
  }
  .OCCUPATION .item p {
    font-size: 14px;
    line-height: 1.4;
    padding: 15px 10px;
  }
}

/* ============================
   COMPANY 会社紹介
   ============================ */
.COMPANY {
  padding-top: 50px;
}
@media screen and (max-width:540px) {
  .COMPANY {
    padding-top: 10px;
  }
}
.COMPANY {
  position: relative;
  background-color: #363636;
  overflow: hidden;
}
.COMPANY::before {
  content: "COMPANY";
  position: absolute;
  top: 40px;
  right: -30px;
  font-family: "ofelia-display", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 220px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.084);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
@media screen and (max-width:900px) {
  .COMPANY::before {
    font-size: 160px;
  }
}
@media screen and (max-width:768px) {
  .COMPANY::before {
    font-size: 110px;
    top: 30px;
    right: -20px;
  }
}
.COMPANY > .sub-container {
  position: relative;
  z-index: 1;
}
.COMPANY > .sub-title,
.COMPANY > h2 {
  position: relative;
  z-index: 1;
}
.COMPANY > h2 {
  margin-bottom: 60px;
  letter-spacing: 0.05em;
}
@media screen and (max-width:768px) {
  .COMPANY > h2 {
    margin-bottom: 40px;
  }
}
.COMPANY {
  /* メインカード（ロゴ + 会社説明） */
}
.COMPANY .company-card {
  position: relative;
  background-color: white;
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: stretch;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.COMPANY .company-card::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 120px;
  height: 8px;
  background-color: #EF3C3C;
}
@media screen and (max-width:768px) {
  .COMPANY .company-card::before {
    width: 80px;
    height: 6px;
    top: -6px;
    left: -6px;
  }
}
.COMPANY .company-card::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 8px;
  height: 120px;
  background-color: #EF3C3C;
}
@media screen and (max-width:768px) {
  .COMPANY .company-card::after {
    width: 6px;
    height: 80px;
    top: -6px;
    left: -6px;
  }
}
@media screen and (max-width:900px) {
  .COMPANY .company-card {
    grid-template-columns: 320px 1fr;
  }
}
@media screen and (max-width:768px) {
  .COMPANY .company-card {
    grid-template-columns: 1fr;
  }
}
.COMPANY .company-card__logo {
  background-color: #f5f5f5;
  padding: 50px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-right: 1px solid #e5e5e5;
  position: relative;
}
.COMPANY .company-card__logo .LIART_logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: 18px;
}
@media screen and (max-width:768px) {
  .COMPANY .company-card__logo .LIART_logo {
    max-width: 220px;
  }
}
@media screen and (max-width:768px) {
  .COMPANY .company-card__logo {
    padding: 35px 25px 30px;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }
}
.COMPANY .company-card__catch {
  font-family: "ofelia-display", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: #363636;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #363636;
  text-align: center;
}
@media screen and (max-width:768px) {
  .COMPANY .company-card__catch {
    font-size: 12px;
  }
}
.COMPANY .company-card__body {
  padding: 55px 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
@media screen and (max-width:900px) {
  .COMPANY .company-card__body {
    padding: 40px 35px;
  }
}
@media screen and (max-width:768px) {
  .COMPANY .company-card__body {
    padding: 35px 15px;
    gap: 15px;
  }
}
.COMPANY .company-card__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.6;
  color: #363636;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 18px;
  border-left: 4px solid #EF3C3C;
}
@media screen and (max-width:900px) {
  .COMPANY .company-card__lead {
    font-size: 19px;
  }
}
@media screen and (max-width:768px) {
  .COMPANY .company-card__lead {
    font-size: 16px;
    padding-left: 14px;
    border-left-width: 3px;
  }
}
.COMPANY .company-card__text {
  font-size: 18px;
  line-height: 1.5;
  color: #363636;
  margin: 0;
  text-align: left;
}
@media screen and (max-width:768px) {
  .COMPANY .company-card__text {
    font-size: 14px;
  }
}
.COMPANY {
  /* サービス一覧 */
}
.COMPANY .company-services {
  margin-top: 80px;
}
@media screen and (max-width:768px) {
  .COMPANY .company-services {
    margin-top: 55px;
  }
}
.COMPANY .company-services__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 35px;
}
@media screen and (max-width:768px) {
  .COMPANY .company-services__heading {
    gap: 14px;
    margin-bottom: 25px;
  }
}
.COMPANY .company-services__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.4;
  color: white;
  text-align: center;
  letter-spacing: 0.04em;
  margin: 0;
}
@media screen and (max-width:768px) {
  .COMPANY .company-services__title {
    font-size: 19px;
  }
}
.COMPANY .company-services__stripe {
  flex-shrink: 0;
  width: 38px;
  height: 50px;
  background: linear-gradient(to bottom right, transparent 0%, transparent 22%, #EF3C3C 22%, #EF3C3C 38%, transparent 38%, transparent 56%, #EF3C3C 56%, #EF3C3C 72%, transparent 72%);
}
@media screen and (max-width:768px) {
  .COMPANY .company-services__stripe {
    width: 28px;
    height: 38px;
  }
}
.COMPANY .company-services__stripe--right {
  transform: scaleX(-1);
}
.COMPANY .company-services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media screen and (max-width:900px) {
  .COMPANY .company-services__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width:540px) {
  .COMPANY .company-services__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.COMPANY .service-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: white;
  padding: 18px 20px 18px 22px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.COMPANY .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #EF3C3C;
  transition: width 0.25s ease;
}
.COMPANY .service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.COMPANY .service-card:hover::before {
  width: 8px;
}
@media screen and (max-width:540px) {
  .COMPANY .service-card {
    padding: 14px 18px 14px 20px;
  }
}
.COMPANY .service-card__num {
  flex-shrink: 0;
  font-family: "ofelia-display", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  color: #EF3C3C;
  letter-spacing: 0.02em;
}
@media screen and (max-width:540px) {
  .COMPANY .service-card__num {
    font-size: 26px;
  }
}
.COMPANY .service-card__name {
  font-size: 16px;
}
@media screen and (max-width:540px) {
  .COMPANY .service-card__name {
    font-size: 15px;
  }
}
.COMPANY .service-card__name {
  font-weight: 700;
  line-height: 1.5;
  color: #363636;
  letter-spacing: 0.01em;
}

.QA h2 {
  font-size: 45px;
}
.QA .qa-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 50px;
}
.QA .qa-item {
  overflow: hidden;
}
.QA .qa-question {
  width: 100%;
  background-color: #000000;
  border: none;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: white;
}
.QA .qa-question .qa-label {
  font-size: 30px;
  font-weight: bold;
  flex-shrink: 0;
  line-height: 1;
  color: #EF3C3C;
  font-family: "ofelia-display", sans-serif;
  font-weight: 800;
}
.QA .qa-question .qa-text {
  font-size: 23px;
  flex: 1;
  line-height: 1.5;
  font-weight: bold;
}
@media screen and (max-width:540px) {
  .QA .qa-question .qa-text {
    font-size: 16px;
  }
}
@media screen and (max-width:320px) {
  .QA .qa-question .qa-text {
    font-size: 16px;
  }
}
.QA .qa-question .qa-arrow {
  flex-shrink: 0;
  width: 26px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.QA .qa-question .qa-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}
.QA .qa-question[aria-expanded=true] .qa-arrow {
  transform: rotate(180deg);
}
.QA .qa-answer {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.QA .qa-answer .qa-answer-inner {
  padding: 30px;
}
.QA .qa-answer .qa-answer-inner p {
  color: #363636;
}
.QA .qa-answer .qa-answer-inner ul {
  margin: 30px 0px 30px 20px;
}
.QA .qa-answer .qa-answer-inner ul li {
  font-size: 18px;
}
@media screen and (max-width:540px) {
  .QA .qa-answer .qa-answer-inner ul {
    margin: 20px 0px 20px 20px;
  }
  .QA .qa-answer .qa-answer-inner ul li {
    font-size: 14px;
  }
}
.QA .flex-column {
  margin: 30px 0;
  gap: 5px;
}
.QA .flex-column div {
  background-color: #FFE465;
  padding: 10px 15px;
}
.QA .small {
  font-size: 16px;
}
@media screen and (max-width:768px) {
  .QA h2 {
    font-size: 30px;
  }
  .QA .qa-list {
    gap: 10px;
    margin-top: 40px;
  }
  .QA .qa-question {
    padding: 15px;
    gap: 15px;
  }
  .QA .qa-question .qa-label {
    font-size: 20px;
  }
  .QA .qa-question .qa-arrow {
    width: 20px;
    height: 9px;
  }
  .QA .qa-answer .qa-answer-inner {
    padding: 25px 15px;
  }
  .QA .flex-column {
    margin: 25px 0;
    gap: 3px;
  }
  .QA .flex-column div {
    padding: 8px 13px;
  }
  .QA .small {
    font-size: 14px;
  }
}

.αPORT {
  position: relative;
  background-color: #363636;
}
.αPORT::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(../img/αPORT-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  pointer-events: none;
}
@media screen and (max-width:540px) {
  .αPORT::before {
    background-position: 80% 0;
  }
}
.αPORT .container {
  position: relative;
  z-index: 1;
}
.αPORT .container .flex {
  justify-content: center;
}
.αPORT .container .flex h2 {
  margin: 0;
  -webkit-text-stroke: 6px #000000;
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 #000000;
}
@media screen and (max-width:540px) {
  .αPORT .container .flex h2 {
    font-size: 6.7vw;
  }
}
.αPORT .container .flex img {
  background-color: white;
  width: 213px;
  height: 130px;
  padding: 0 10px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-right: 30px;
}
@media screen and (max-width:540px) {
  .αPORT .container .flex img {
    width: 73px;
    height: 73px;
    padding: 0;
    margin-right: 15px;
  }
}
.αPORT .container > p {
  margin-top: 50px;
}
@media screen and (max-width:540px) {
  .αPORT .container > p {
    margin-top: 40px;
  }
}
.αPORT .container .αPORT-button {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 50px auto 0;
  background-color: #363636;
  color: white;
  font-size: 23px;
  font-weight: bold;
  padding: 20px 80px;
  border: 3px solid white;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.αPORT .container .αPORT-button:hover {
  background-color: #7D7D7D;
}
@media screen and (max-width:540px) {
  .αPORT .container .αPORT-button {
    border: 2px solid white;
    margin: 40px auto 0;
    width: 100%;
    font-size: 17px;
    padding: 15px 0px;
  }
}

.CONTACT {
  padding: 100px 0 30px;
  background-image: url(../img/CONTACT-bg.png);
  background-size: cover;
}
.CONTACT .board {
  background-color: #363636;
  border: 10px solid #7A7A7A;
  background-image: url(../img/contact.png);
  background-size: 1023px;
  background-repeat: no-repeat;
  background-position: 50% 0%;
}
.CONTACT .board .contents {
  padding: 60px 20px;
}
.CONTACT .board .contents h2 {
  text-align: center;
  -webkit-text-stroke: 6px #000000;
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 #000000;
  font-size: 60px;
}
.CONTACT .board .contents .emphasis {
  background-color: #EF3C3C;
  padding: 10px 25px;
  text-align: center;
  margin: 25px auto;
  font-size: 20px;
  font-weight: bold;
  color: white;
  display: block;
  max-width: 450px;
}
@media screen and (max-width:540px) {
  .CONTACT .board .contents .emphasis {
    font-size: 16px;
    padding: 10px 0px;
  }
}
.CONTACT .board .contents .cautionary-note {
  text-align: center;
  display: block;
  margin-top: 20px;
}
.CONTACT .board .contents .cautionary-note p {
  color: white;
  font-size: 14px;
  display: inline-block;
}
@media screen and (max-width:540px) {
  .CONTACT .board .contents .cautionary-note p {
    font-size: 10px;
  }
}
.CONTACT {
  /* CONTACT セクション内の黄色いCTAボタン（cta-section と同デザイン） */
}
.CONTACT .contact-cta-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 650px;
  max-width: 100%;
  margin: 50px auto 0;
  padding: 20px;
  border: 5px solid #ffffff;
  border-radius: 9999px;
  background: linear-gradient(to top, #EAC25A 0%, #FFE465 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}
.CONTACT .contact-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  background: #EF3C3C;
}
.CONTACT .contact-cta-button:hover .cta-text {
  color: #ffffff;
}
.CONTACT .contact-cta-button:hover .cta-arrow {
  background-color: #ffffff;
}
.CONTACT .contact-cta-button:hover .cta-arrow svg path {
  stroke: #EF3C3C;
}
.CONTACT .contact-cta-button .cta-text {
  font-size: 25px;
  font-weight: bold;
  color: #363636;
  text-align: center;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.CONTACT .contact-cta-button {
  /* 右側の矢印（赤丸＋白「＞」） */
}
.CONTACT .contact-cta-button .cta-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #EF3C3C;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}
.CONTACT .contact-cta-button .cta-arrow svg {
  width: 9px;
  height: 17px;
  display: block;
}
.CONTACT .contact-cta-button .cta-arrow svg path {
  transition: stroke 0.3s ease;
}
@media screen and (max-width:540px) {
  .CONTACT {
    padding: 60px 0 20px;
  }
  .CONTACT .board {
    border: 3px solid #7A7A7A;
    background-size: contain;
  }
  .CONTACT .board .contents {
    padding: 40px 15px;
  }
  .CONTACT .board .contents h2 {
    -webkit-text-stroke: 2px #000000;
    text-shadow: 2px 2px 0 #000000;
    font-size: 35px;
    margin-bottom: 30px;
  }
  .CONTACT .board .contents p {
    font-size: 14px;
  }
  .CONTACT .contact-cta-button {
    width: 300px;
    padding: 15px;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    margin-top: 35px;
    /* ▼ CTAデコレーション画像（SP用：220×31、10pxかぶり） */
  }
  .CONTACT .contact-cta-button::before {
    width: 350px;
    height: 45px;
    top: -35px; /* 31px - 10px(かぶり) = 21px */
  }
  .CONTACT .contact-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  .CONTACT .contact-cta-button .cta-text {
    font-size: 18px;
    padding-right: 5px;
  }
  .CONTACT .contact-cta-button .cta-arrow {
    width: 20px;
    height: 20px;
    right: 15px;
  }
  .CONTACT .contact-cta-button .cta-arrow svg {
    width: 7px;
    height: 15px;
    display: block;
  }
}

/* 利用規約 */
.terms-of-use {
  color: white;
}
.terms-of-use .fastview {
  padding: 60px 0;
  border: none;
}
.terms-of-use .fastview .container {
  background-image: url(../img/terms-of-use.png);
  background-size: 1023px;
  background-repeat: no-repeat;
  background-position: 50% 0%;
}
@media screen and (max-width:540px) {
  .terms-of-use .fastview .container {
    background-size: contain;
  }
}
.terms-of-use .fastview .container {
  position: relative;
}
.terms-of-use .fastview .container h1 {
  text-align: center;
  font-size: 55px;
  padding-top: 40px;
}
@media screen and (max-width:540px) {
  .terms-of-use .fastview .container h1 {
    padding-top: 20px;
  }
}
.terms-of-use section {
  border-bottom: 1px solid white;
  padding: 25px 0;
}
.terms-of-use section h2 {
  font-size: 25px;
  margin-bottom: 25px;
}
.terms-of-use section ol {
  list-style: decimal !important;
  padding-left: 1.5em;
}
.terms-of-use section ol li {
  font-size: 18px;
}
@media screen and (max-width:540px) {
  .terms-of-use section ol li {
    font-size: 16px;
  }
}
.terms-of-use section ol li ul {
  list-style: none;
  padding: 0;
  padding-left: 0;
  counter-reset: sub-num;
}
.terms-of-use section ol li ul li {
  position: relative;
  padding-left: 2em;
  counter-increment: sub-num;
}
.terms-of-use section ol li ul li::before {
  content: "（" counter(sub-num) "）";
  position: absolute;
  left: 0;
}
.terms-of-use section ul {
  list-style: disc;
  padding-left: 1.5em;
  padding: 25px;
}
@media screen and (max-width:540px) {
  .terms-of-use .fastview {
    padding: 40px 0 20px;
  }
  .terms-of-use section h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .terms-of-use section ul {
    padding: 20px;
  }
}

.terms-of-use section .number-parenthesis {
  list-style: none;
  padding: 25px 0;
  counter-reset: num;
}
.terms-of-use section .number-parenthesis li {
  position: relative;
  padding-left: 2em;
  font-size: 18px;
}
@media screen and (max-width:540px) {
  .terms-of-use section .number-parenthesis li {
    font-size: 16px;
  }
}
.terms-of-use section .number-parenthesis li {
  counter-increment: num;
}
.terms-of-use section .number-parenthesis li::before {
  content: "（" counter(num) "）";
  position: absolute;
  left: 0;
}/*# sourceMappingURL=style.css.map */