@charset "UTF-8";

/* ==================================================
  CSS Custom Properties
================================================== */

:root {
  --color-main: #143875;
  --color-sub: #00acd7;
  --color-accent: #e37332;
  --color-text: #1b1e24;
  --color-text-light: #626772;
  --color-border: #d6d7d9;
  --color-background: #fff;
  --color-background-light: #f3f4f6;
  --color-white: #fff;
  --color-black: #000;
  /* 背景の大きな英字が展開するときの色（本人指定 2026-10-08。CSS_SPEC §27.1 の確認済み） */
  --color-sub-light: #e8f8ff;
  /* 注意・エラーの赤（フォームの確認画面の文言。本人確認 2026-10-09。CSS_SPEC §27.1） */
  --color-error: #d92b2b;

  --content-width-small: 800px;
  --content-width-medium: 1000px;
  --content-width-large: 1200px;

  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;

  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  --z-index-base: 1;
  --z-index-header: 100;
  --z-index-navigation: 200;
  --z-index-overlay: 300;
  --z-index-modal: 400;
  --z-index-loading: 500;

  --font-family-en: 'Inter', sans-serif;
  --font-family-number: 'EB Garamond', serif;
  --header-height: 70px;
}

@media (max-width: 1024px) {
  :root {
    --header-height: 60px;
  }
}


/* ==================================================
  Layout: Base
================================================== */

.wrapper {
  color: var(--color-text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.5px;
  font-feature-settings: 'palt'1;
}

/* コンテンツ幅は画面幅に比例させる（README §10：画面いっぱいに広げる。カンプ比 1162/1300） */
.layout-container {
  width: 89.4%;
  margin-right: auto;
  margin-left: auto;
}

/* 狭い幅（FAQ・流れ）。カンプ比 962/1300 */
.layout-container--narrow {
  width: 74%;
}

@media (max-width: 1024px) {

  .layout-container,
  .layout-container--narrow {
    width: 92%;
  }
}

@media (max-width: 599px) {

  .layout-container,
  .layout-container--narrow {
    width: calc(100% - 40px);
  }
}

.layout-main {
  display: block;
}

.uk-lb{
  cursor: pointer;
}

/* セクションの上下の余白（TOP・下層共通。本人指示 2026-10-09）
   .layout-section 自体には指定を持たせず、Modifier で上・下を付ける（Modifier 単体では使わない：CSS_SPEC §12.3）
   見出しの上の間隔は、通常はセクション見出しの padding-top で取る。それに足したいセクションだけ --top を付ける */
.layout-section--top {
  padding-top: 60px;
}

.layout-section--bottom {
  padding-bottom: 120px;
}

@media (max-width: 1024px) {
  .layout-section--top {
    padding-top: 40px;
  }

  .layout-section--bottom {
    padding-bottom: 96px;
  }
}

@media (max-width: 599px) {
  .layout-section--top {
    padding-top: 32px;
  }

  .layout-section--bottom {
    padding-bottom: 64px;
  }
}

/* h1（A-1：画面上は表示しない。SPドロワー内へ common.js がコピーする） */
.layout-page-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 見たまま編集画面では h1 を編集できるよう表示する */
[data-element-id] .layout-page-heading {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 20px;
  overflow: visible;
  clip: auto;
  background-color: var(--color-background-light);
  white-space: normal;
}


/* ==================================================
  Layout: Header
================================================== */

.layout-site-header {
  position: relative;
  z-index: var(--z-index-header);
}

/* 1025px以上：スクロールで common.js が body に .fixed を付ける */
body.fixed .layout-site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.layout-header {
  background-color: var(--color-white);
}

.layout-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-left: 5.3%;
}

.layout-header__logo {
  flex-shrink: 0;
  width: 158px;
}

.layout-header__logo a {
  display: block;
}

.layout-header__logo img {
  display: block;
  width: 100%;
}

.layout-header__hamburger {
  display: none;
}

.layout-header__drawer {
  display: flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
}

.layout-header__drawer-heading {
  display: none;
}

.layout-global-nav__list {
  display: flex;
  align-items: center;
  gap: 0 32px;
}

.layout-global-nav__item {
  position: relative;
}

.layout-global-nav__item--home {
  display: none;
}

.layout-global-nav__label,
.layout-global-nav__link a {
  display: block;
  position: relative;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.layout-global-nav__label::before,
.layout-global-nav__link a::before {
  content: '';
  display: block;
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-main);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.5s;
}

.layout-global-nav__label {
  cursor: default;
}

.layout-global-nav__child-list {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: var(--z-index-navigation);
  min-width: 260px;
  border-top: 2px solid var(--color-main);
  background-color: var(--color-white);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition:
    opacity var(--duration-fast) ease,
    visibility var(--duration-fast) ease;
}

/* ドロップダウンを開くトリガー。タッチ端末で開けなくなるため hover のメディアクエリで囲まない */
.layout-global-nav__item:hover .layout-global-nav__child-list,
.layout-global-nav__item:focus-within .layout-global-nav__child-list {
  opacity: 1;
  visibility: visible;
}

.layout-global-nav__child-item+.layout-global-nav__child-item {
  border-top: 1px solid var(--color-background-light);
}

.layout-global-nav__child-item a {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  transition: color var(--duration-fast) ease;
}

.layout-header__sns {
  flex-shrink: 0;
  width: 24px;
  margin-left: 32px;
}

.layout-header__sns a {
  display: block;
  transition: scale 0.1s;
}

.layout-header__sns img {
  display: block;
  width: 100%;
}

.layout-header__contact-list {
  display: flex;
  align-self: stretch;
  margin-left: 32px;
}

.layout-header__contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 100%;
  min-height: var(--header-height);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  transition: background-color var(--duration-fast) ease;
}

.layout-header__contact--contact a {
  background-color: var(--color-sub);
  border: 2px solid var(--color-sub);
}

.layout-header__contact--document a {
  background-color: var(--color-main);
  border: 2px solid var(--color-main);
}

.layout-header__contact-list__b .layout-header__contact--contact a{
  background-color: #E63935;
  border: 2px solid #E63935;
}

.layout-header__contact-list__b .layout-header__contact--document a{
  background-color: #B82025;
  border: 2px solid #B82025;
}

@media (hover: hover) and (pointer: fine) {

  .layout-global-nav__link a:hover {
    color: var(--color-main);
    opacity: 1;
  }

  .layout-global-nav__child-item a:hover {
    background-color: var(--color-main);
    color: var(--color-white);
    opacity: 1;
  }

  .layout-global-nav__item:hover .layout-global-nav__label::before,
  .layout-global-nav__item a:hover::before {
    opacity: 1;
  }

  .layout-header__sns a:hover {
    opacity: 1;
    scale: 1.2;
  }

  .layout-header__contact a:hover {
    opacity: 1;
    background-color: var(--color-background);
    color: var(--color-sub);
  }

  .layout-header__contact--document a:hover {
    color: var(--color-main);
  }
  
  .layout-header__contact-list__b .layout-header__contact--contact a:hover{
    color: #E63935;
  }
  
  .layout-header__contact-list__b .layout-header__contact--document a:hover{
    color: #B82025;
  }
}

/* 1200px以下ではGナビが横に入りきらないため、ロゴ・文字・項目間を詰める（1025pxで1行に収まることを確認） */
@media (max-width: 1200px) {
  .layout-header__inner {
    padding-left: 3%;
  }

  .layout-header__logo {
    width: 130px;
    margin-right: 24px;
  }

  .layout-global-nav__list {
    gap: 0 16px;
  }

  .layout-global-nav__label,
  .layout-global-nav__link a {
    font-size: 14px;
  }

  .layout-header__sns {
    margin-left: 16px;
  }

  .layout-header__contact-list {
    margin-left: 16px;
  }

  .layout-header__contact a {
    width: 100px;
    font-size: 14px;
  }
}

/* common.js がドロワーの直後に生成するオーバーレイ（最小限の指定のみ） */
  .layout-header .overlay {
    display: none;
  }

@media (max-width: 1024px) {
  .layout-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .layout-main {
    padding-top: var(--header-height);
  }

  .layout-header__inner {
    padding-left: 4%;
  }

  .layout-header__logo {
    width: 130px;
  }

  .layout-header__hamburger {
    display: block;
    position: relative;
    flex-shrink: 0;
    width: var(--header-height);
    height: var(--header-height);
  }

  /* button の中はテキストのみ（HTML_SPEC §2-6）。3本線は button の背景（中央）と親の疑似要素（上下）で描く */
  .layout-header__hamburger button {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 0;
    background-color: var(--color-main);
    background-image: linear-gradient(var(--color-white), var(--color-white));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 26px 2px;
    color: transparent;
    font-size: 0;
  }

  .layout-header__hamburger button:hover {
    opacity: 1;
  }

  .layout-header__hamburger::before,
  .layout-header__hamburger::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 2px;
    margin-left: -13px;
    background-color: var(--color-white);
    pointer-events: none;
    transition: transform var(--duration-normal) ease;
  }

  .layout-header__hamburger::before {
    transform: translateY(-9px);
  }

  .layout-header__hamburger::after {
    transform: translateY(7px);
  }

  body.drawer-active .layout-header__hamburger button {
    background-image: none;
  }

  body.drawer-active .layout-header__hamburger::before {
    transform: translateY(-1px) rotate(45deg);
  }

  body.drawer-active .layout-header__hamburger::after {
    transform: translateY(-1px) rotate(-45deg);
  }

  .layout-header__drawer {
    display: block;
    position: fixed;
    top: var(--header-height);
    right: 0;
    z-index: var(--z-index-navigation);
    width: 100%;
    max-width: 420px;
    height: calc(100% - var(--header-height));
    padding: 24px 24px 120px;
    overflow-y: auto;
    background-color: var(--color-white);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition:
      opacity var(--duration-normal) ease,
      visibility var(--duration-normal) ease,
      transform var(--duration-normal) ease;
  }

  body.drawer-active .layout-header__drawer {
    opacity: 1;
    visibility: visible;
    z-index: calc(var(--z-index-overlay) + 1);
    transform: translateX(0);
  }

  body.drawer-active {
    overflow: hidden;
    -ms-touch-action: none;
    touch-action: none;
  }

  body.drawer-active .layout-header .overlay {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    z-index: var(--z-index-overlay);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  body.drawer-active .layout-site-header {
    z-index: var(--z-index-overlay);
  }

  .layout-header__drawer-heading {
    display: block;
    margin-bottom: 16px;
    color: var(--color-text-light);
    font-size: 12px;
    line-height: 1.5;
  }

  .layout-global-nav__list {
    display: block;
  }

  .layout-global-nav__item {
    border-bottom: 1px solid var(--color-border);
  }

  .layout-global-nav__item--home {
    display: block;
  }

  .layout-global-nav__label,
  .layout-global-nav__link a {
    padding: 16px 0 8px;
  }

  .layout-global-nav__item--home .layout-global-nav__link a,
  .layout-global-nav__item--drawer .layout-global-nav__link a {
    padding-bottom: 16px;
  }

  .layout-global-nav__label {
    color: var(--color-main);
  }

  /* ドロワー内では子項目を常に展開する */
  .layout-global-nav__child-list {
    position: static;
    min-width: 0;
    padding: 0 0 12px;
    border-top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .layout-global-nav__child-item a {
    padding: 8px 0 8px 16px;
    white-space: normal;
  }

  .layout-header__sns {
    width: 32px;
    margin: 24px 0 0;
  }

  .layout-header__contact-list {
    display: flex;
    gap: 12px;
    margin: 24px 0 0;
  }

  .layout-header__contact {
    flex: 1;
    min-width: 0;
  }

  .layout-header__contact a {
    width: 100%;
    min-height: 56px;
    border-radius: var(--radius-medium);
  }
}

/* 見たまま編集画面：固定・ドロワー・ドロップダウンが編集を妨げないよう、すべて流し込んで表示する */
[data-element-id] .layout-site-header {
  position: static;
}

[data-element-id] .layout-header__drawer {
  display: flex;
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
}

[data-element-id] .layout-global-nav__child-list {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
}

[data-element-id] .layout-header__contact-list{
  height: fit-content;
}

[data-element-id] .layout-global-nav__list {
  align-items: flex-start;
  flex-wrap: wrap;
}


/* ==================================================
  Layout: Footer
================================================== */

.layout-footer {
  padding: 76px 0 80px;
  background-color: var(--color-background-light);
}

.layout-footer__sitemap {
  display: flex;
  gap: 0 40px;
}

.layout-footer__sitemap-column {
  flex: 1;
  min-width: 0;
}

.layout-footer__sitemap-group {
  padding: 30px 0;
  border-top: 1px solid var(--color-border);
}

.layout-footer__sitemap-group+.layout-footer__sitemap-group {
  margin-top: 0;
}

.layout-footer__sitemap-label,
.layout-footer__sitemap-parent a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.layout-footer__sitemap-list {
  margin-top: 10px;
}

.layout-footer__sitemap-item a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.5;
}

.layout-footer__company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
  margin-top: 30px;
  padding: 40px 60px;
  background-color: var(--color-white);
}

.layout-footer__company-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.layout-footer__company-address {
  font-size: 14px;
  line-height: 1.5;
}

.layout-footer__sns {
  flex-shrink: 0;
  width: 32px;
}

.layout-footer__sns a {
  display: block;
}

.layout-footer__sns img {
  display: block;
  width: 100%;
}

.layout-footer__tel {
  display: flex;
  align-items: center;
  gap: 6px;
}

.layout-footer__tel-icon {
  flex-shrink: 0;
  width: 30px;
  margin-top: 10px;
  margin-right: -5px;
  transform: translateY(-2px);
}

.layout-footer__tel-icon img {
  display: block;
  width: 100%;
}

.layout-footer__tel-number {
  font-family: var(--font-family-en);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* common.js（.tel）が公開画面で生成する a は継承のみ（CSS_SPEC §11.1） */
.layout-footer__tel-number a {
  color: inherit;
  text-decoration: none;
}

.layout-footer__contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
}

.layout-footer__contact {
  width: 300px;
}

.layout-footer__contact a {
  display: block;
}

.layout-footer__contact-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 60px;
  padding: 8px 18px;
  border-radius: var(--radius-medium);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.layout-footer__contact--contact .layout-footer__contact-inner {
  background-color: var(--color-sub);
}

.layout-footer__contact--document .layout-footer__contact-inner {
  background-color: var(--color-main);
}

.layout-footer__contact-arrow {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 2px;
  background-color: currentColor;
}

.layout-footer__contact-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.layout-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
}

.layout-footer__banner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.layout-footer__banner {
  width: 240px;
}

/* 同じ行のバナーの高さを揃える（採用バナーを画像バナーの高さに合わせる。本人指示 2026-10-09） */
.layout-footer__banner a {
  display: block;
  height: 100%;
  overflow: hidden;
}

.layout-footer__banner-inner {
  display: flex;
  position: relative;
  height: 100%;
  min-height: 84px;
  overflow: hidden;
}

/* 背景の写真。枠いっぱいに敷く */
.layout-footer__banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.layout-footer__banner-image img {
  transition: transform var(--duration-normal) ease;
}

/* 文字の範囲だけ白を重ねて読みやすくする（本人指示 2026-10-09） */
.layout-footer__banner-body {
  position: relative;
  z-index: var(--z-index-base);
  padding: 10px 16px;
  color: var(--color-text);
}

.layout-footer__banner-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-white), transparent);
}

.layout-footer__banner-sub {
  font-family: var(--font-family-en);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.layout-footer__banner-title {
  font-family: var(--font-family-en);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.layout-footer__banner-text {
  font-size: 11px;
  line-height: 1.4;
}

.layout-footer__recruit {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  height: 100%;
  min-height: 80px;
  padding: 12px 20px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--color-main) 40%, transparent);
  color: var(--color-white);
}

/* 採用サイトバナーの背景（ダミー画像）。文字を読めるよう紺を重ねる */
.layout-footer__recruit-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.layout-footer__recruit-image img {
  opacity: 0.3;
  transition: transform var(--duration-normal) ease;
}

.layout-footer__recruit-body {
  position: relative;
  flex: 1;
  min-width: 0;
}

.layout-footer__recruit-sub {
  font-size: 12px;
  line-height: 1.4;
}

.layout-footer__recruit-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.layout-footer__recruit-arrow {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 2px;
  background-color: currentColor;
}

.layout-footer__recruit-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.layout-footer__copyright {
  margin-left: auto;
  font-size: 13px;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .layout-footer__sitemap-item a{
    line-height: 1.3;
  }
  
  .layout-footer__sitemap-parent a:hover,
  .layout-footer__sitemap-item a:hover {
    color: var(--color-sub);
    opacity: 1;
  }

  .layout-footer__sns a:hover {
    opacity: 0.7;
  }

  .layout-footer__contact a:hover {
    opacity: 0.85;
  }

  .layout-footer__banner a:hover {
    opacity: 1;
  }

  .layout-footer__banner a:hover .layout-footer__banner-image img,
  .layout-footer__banner a:hover .layout-footer__recruit-image img {
    transform: scale(1.06);
  }
}

@media (max-width: 1024px) {
  .layout-footer {
    padding: 56px 0 84px;
  }

  .layout-footer__sitemap {
    flex-wrap: wrap;
  }

  .layout-footer__sitemap-column {
    flex: none;
    width: calc((100% - 40px) / 2);
  }

  .layout-footer__company {
    padding: 32px;
  }

  .layout-footer__contact-list {
    width: 100%;
    margin-left: 0;
  }

  .layout-footer__contact {
    flex: 1;
    width: auto;
    min-width: 240px;
  }
}

@media (max-width: 599px) {

  /* SP追従ボタン（約86px）にフッター下端が隠れないよう余白を足す */
  .layout-footer {
    padding: 40px 0 140px;
  }

  .layout-footer__sitemap {
    gap: 0 20px;
  }

  .layout-footer__sitemap-column {
    width: calc((100% - 20px) / 2);
  }

  .layout-footer__sitemap-group {
    padding: 20px 0;
  }

  .layout-footer__company {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 15px;
    position: relative;
  }

  .layout-footer__tel-number {
    font-size: 32px;
  }
  
  .layout-footer__sns {
    top: 27px;
    right: 23px;
  }

  .layout-footer__contact {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .layout-footer__banner-list {
    gap: 12px;
    width: 100%;
  }

  .layout-footer__banner {
    width: calc((100% - 12px) / 2);
  }

  .layout-footer__banner-body {
    padding: 8px 10px;
  }

  .layout-footer__banner-sub,
  .layout-footer__banner-text {
    font-size: 10px;
  }

  .layout-footer__banner-title {
    font-size: 16px;
  }

  .layout-footer__banner--recruit {
    width: 100%;
  }

  .layout-footer__copyright {
    width: 100%;
    margin-left: 0;
  }
}


/* ==================================================
  Layout: SP Fixed CTA（SP追従ボタン）
================================================== */
.layout-fixed-cta {
  display: flex;
  gap: 8px;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-index-header);
  width: 100%;
  padding: 16px 8px 8px;
  background-color: rgba(255, 255, 255, 0.5);
}

.layout-fixed-cta__item {
  flex: 1;
  min-width: 0;
}

.layout-fixed-cta__item a {
  display: block;
}

.layout-fixed-cta__inner {
  position: relative;
  padding: 18px 4px 18px;
  border: 2px solid currentColor;
  border-radius: var(--radius-small);
  background-color: var(--color-white);
  text-align: center;
}

.layout-fixed-cta__item--contact .layout-fixed-cta__inner {
  color: var(--color-sub);
}

.layout-fixed-cta__item--document .layout-fixed-cta__inner {
  color: var(--color-main);
}

.layout-fixed-cta__label {
  position: absolute;
  top: 0;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 8px);
  padding: 2px 8px;
  border-radius: 9999px;
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  transform: translate(-50%, -50%);
}

.layout-fixed-cta__item--contact .layout-fixed-cta__label {
  background-color: var(--color-sub);
}

.layout-fixed-cta__item--document .layout-fixed-cta__label {
  background-color: var(--color-main);
}

.layout-fixed-cta__text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.layout-fixed-cta {
  display: none;
}

@media (max-width: 599px) {
  .layout-fixed-cta {
    display: flex;
  }
}

[data-element-id] .layout-fixed-cta {
  display: flex;
}

/* ドロワーを開いている間はドロワーの上に重ならないよう隠す */
body.drawer-active .layout-fixed-cta {
  display: none;
}

@media (max-width: 1024px) {
  html {
    scrollbar-gutter: stable;
  }
}

[data-element-id] .layout-fixed-cta {
  position: static;
}


/* ==================================================
  Component: Section Heading
================================================== */

.component-section-heading {
  position: relative;
  padding-top: 100px;
  text-align: center;
}

/* 背景の大きな英字。ページの左端（右寄せ版は右端）まではみ出させる */
.component-section-heading__en {
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  z-index: 0;
  width: max-content;
  height: 0.8em;
  color: var(--color-background-light);
  font-family: var(--font-family-en);
  /* values 80px-200px view 375px-1300px */
  font-size: clamp(80px, 12.97vw + 31.4px, 200px);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.06em;
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

/* 文字は最初すべて左端に重ね、JS が各文字の位置（--x）と全体の幅を設定する */
.component-section-heading__en span {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-sub-light);
  opacity: 0;
  transform: translateX(0);
  transition:
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    color 1s ease,
    opacity 0.3s ease;
}

.component-section-heading__en.is-visible span {
  opacity: 1;
  transform: translateX(var(--x));
}

.component-section-heading__en.is-gray span {
  color: var(--color-background-light);
}

/* 灰色背景（utility-bgc-light）の中では、背景の英字を #e9e9e9 から白に変える（本人指示 2026-10-09） */
.utility-bgc-light .component-section-heading__en span {
  color: #e9e9e9;
}

.utility-bgc-light .component-section-heading__en.is-gray span {
  color: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  .component-section-heading__en span {
    transition: none;
  }
}

/* 見たまま編集画面では JS が動かないため、文字を普通に並べて表示する */
[data-element-id] .component-section-heading__en {
  height: auto;
  pointer-events: auto;
  -webkit-user-select: auto;
  user-select: auto;
  position: relative;
}

[data-element-id] .component-section-heading__en span {
  position: static;
  color: var(--color-background-light);
  opacity: 1;
  transform: none;
}

[data-element-id] .utility-bgc-light .component-section-heading__en span {
  color: var(--color-white);
}

.component-section-heading--en-right .component-section-heading__en {
  right: calc(50% - 50vw);
  left: auto;
}

.component-section-heading--en-center .component-section-heading__en {
  left: 50%;
  transform: translateX(-50%);
}

.utility-bgc-light .component-section-heading__en {
  color: var(--color-white);
}

.component-section-heading__title {
  position: relative;
  /* values 24px-40px view 375px-1300px */
  font-size: clamp(24px, 1.73vw + 17.5px, 40px);
  font-weight: 700;
  line-height: 1.45;
}

.component-section-heading__accent {
  color: var(--color-sub);
}

.component-section-heading__lead {
  position: relative;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.65;
}

.component-section-heading--left {
  text-align: left;
}

/* ニュース・ブログの2列見出し */
.component-section-heading--small {
  padding-top: 56px;
}

.component-section-heading--small .component-section-heading__en {
  left: calc(-5.3vw);
  /* values 64px-150px view 375px-1300px */
  font-size: clamp(64px, 9.3vw + 29.1px, 150px);
}

.component-section-heading--small.component-section-heading--en-right .component-section-heading__en {
  right: calc(-5.3vw);
  left: auto;
}

@media (max-width: 1024px) {
  .component-section-heading {
    padding-top: 72px;
  }

  .component-section-heading__lead {
    font-size: 16px;
  }
}

@media (max-width: 599px) {
  /* 背景の英字と見出しが詰まらないよう 64px（本人指示 2026-10-14。旧 44px） */
  .component-section-heading {
    padding-top: 64px;
  }

  /* 長い英字（Total Support など）も画面からはみ出さない大きさにする（本人指示 2026-10-09） */
  .component-section-heading__en {
    font-size: 16vw;
  }

  .component-section-heading__lead {
    margin-top: 12px;
    font-size: 15px;
  }

  .component-section-heading--small {
    padding-top: 36px;
  }

  /* SP のコンテンツ幅は「100% - 40px」なので、左右 20px だけ外へ出して画面の端に揃える（-5.3vw だと 375px 超ではみ出す） */
  .component-section-heading--small .component-section-heading__en {
    left: -20px;
  }

  .component-section-heading--small.component-section-heading--en-right .component-section-heading__en {
    right: -20px;
  }
}


/* ==================================================
  Component: Sub Heading（料金例・事例の小見出し）
================================================== */

.component-sub-heading__title {
  color: var(--color-main);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.component-sub-heading__text {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 599px) {
  .component-sub-heading__title {
    font-size: 18px;
  }

  .component-sub-heading__text {
    font-size: 14px;
  }
}


/* ==================================================
  Component: Step Title（■計画する など）
================================================== */

.component-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.component-step-title::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: var(--color-main);
  transform: translateY(2px);
}

.component-step-title--sub::before {
  background-color: var(--color-sub);
}

.component-step-title--accent::before {
  background-color: var(--color-accent);
}

@media (max-width: 599px) {
  .component-step-title {
    font-size: 20px;
  }

  .component-step-title::before {
    width: 18px;
    height: 18px;
    transform: translateY(0);
  }
}


/* ==================================================
  Component: Button（白地＋紺の枠と文字。マウスオンで左から紺に反転 D-2）
================================================== */

.component-button {
  width: 100%;
  max-width: 460px;
  margin-right: auto;
  margin-left: auto;
}

.component-button a {
  display: block;
}

.component-button__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  min-height: 72px;
  padding: 12px 56px;
  overflow: hidden;
  border: 2px solid var(--color-main);
  border-radius: var(--radius-medium);
  background-color: var(--color-white);
  color: var(--color-main);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: color var(--duration-normal) ease;
}

.component-button__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-main);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-normal) ease;
}

.component-button__text {
  position: relative;
}

.component-button__arrow {
  position: absolute;
  top: 50%;
  right: 28px;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  transform: translateY(-50%);
}

.component-button__arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* 戻るボタン：マウスオンの紺は右から左へ広げる。矢印を左に置き、左向きにする */
.component-button--back .component-button__inner::before {
  right: 0;
  left: auto;
  transform-origin: right center;
}

.component-button--back .component-button__arrow {
  right: auto;
  left: 28px;
  transform: translateY(-50%) scaleX(-1);
}

@media (hover: hover) and (pointer: fine) {
  .component-button a:hover {
    opacity: 1;
  }

  .component-button a:hover .component-button__inner {
    color: var(--color-white);
  }

  .component-button a:hover .component-button__inner::before {
    transform: scaleX(1);
  }
}

@media (max-width: 599px) {
  .component-button__inner {
    min-height: 60px;
    padding: 10px 48px;
    font-size: 16px;
  }

  .component-button__arrow {
    right: 20px;
  }

  .component-button--back .component-button__arrow {
    left: 20px;
  }
}


/* ==================================================
  Component: Action（吹き出し付きのお問い合わせ・資料請求ボタン）
================================================== */

.component-action {
  width: 100%;
  max-width: 460px;
  text-align: center;
}

.component-action__label {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding: 6px 20px;
  background-color: var(--color-white);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.2));
}

/* fead-up の吹き出しは、ボタンが出たあとワンテンポ遅れて出す（本人指示 2026-10-09） */
.component-action__label.fead-up.mv {
  transition-delay: 0.6s;
}

.component-action__label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  border-top: 8px solid var(--color-white);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  transform: translateX(-50%);
}

.component-action__button {
  margin-top: -6px;
}

.component-action__button a {
  display: block;
}

.component-action__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 80px;
  padding: 16px 64px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-medium);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  transition: color var(--duration-normal) ease;
}

.component-action--contact .component-action__inner {
  background-color: var(--color-sub);
}

.component-action--document .component-action__inner {
  border-color: var(--color-main);
  background-color: var(--color-main);
}

/* D-2 のとおり左から白が広がって反転する（お問い合わせも対象に変更。本人指示 2026-10-09） */
.component-action__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-normal) ease;
}

.component-action__text {
  position: relative;
}

.component-action__arrow {
  position: absolute;
  top: 50%;
  right: 36px;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  transform: translateY(-50%);
}

.component-action__arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .component-action__button a:hover {
    opacity: 1;
  }

  .component-action--contact .component-action__button a:hover .component-action__inner {
    color: var(--color-sub);
  }

  .component-action--document .component-action__button a:hover .component-action__inner {
    color: var(--color-main);
  }

  .component-action__button a:hover .component-action__inner::before {
    transform: scaleX(1);
  }
}

@media (max-width: 599px) {
  .component-action__label {
    padding: 4px 14px;
    font-size: 13px;
  }

  .component-action__inner {
    min-height: 64px;
    padding: 12px 40px;
    font-size: 16px;
  }

  .component-action__arrow {
    right: 15px;
  }
}


/* ==================================================
  Component: CTA（.cta-common で囲う。A/Bテストで div が2重に入っても崩れないよう、幅・配置を自分で持つ E-1）
================================================== */

.component-cta {
  display: flex;
  width: 100%;
}

.component-cta__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  min-width: 0;
  padding: 88px 40px 92px;
}

.component-cta__item--contact {
  background-color: var(--color-sub);
  color: var(--color-white);
}

.component-cta__item--document {
  background-color: var(--color-main);
  color: var(--color-white);
}

/* CTA の中のボタンは白枠＋半透明の白（本人指示 2026-10-09）。MV のお問い合わせボタンには効かせない */
.component-cta__item .component-action__inner {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.24);
}

/* B パターン：背景色はそのまま、写真をうっすら重ねる（本人指示 2026-10-09） */
.component-cta--b .component-cta__item {
  position: relative;
  overflow: hidden;
}

.component-cta__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.component-cta__image img {
  opacity: 0.15;
}

.component-cta__title {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.component-cta__item .component-action {
  position: relative;
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .component-cta__item {
    padding: 56px 24px 60px;
  }

  .component-cta__title {
    font-size: 22px;
  }

  /* TB でボタンの文字が2行に折り返さないよう、文字と左右の余白を SP と同じ値にする（本人指示 2026-10-15） */
  .component-cta__item .component-action__inner {
    padding-right: 40px;
    padding-left: 40px;
    font-size: 16px;
  }
}

/* 狭い TB（767px 以下）は2列だとボタンが狭く文字が折り返すため、SP と同じく縦に並べる（本人選択 2026-10-15） */
@media (max-width: 767px) {
  .component-cta {
    flex-direction: column;
  }

  .component-cta__item {
    width: 100%;
  }
}

@media (max-width: 599px) {
  .component-cta__item {
    padding: 40px 20px 44px;
  }

  .component-cta__title {
    font-size: 20px;
  }

  .component-cta__item .component-action {
    margin-top: 20px;
  }
}


/* ==================================================
  Component: Photo Card（写真＋番号＋見出し＋本文。番号の色・配置を Modifier で切替）
================================================== */

.component-photo-card {
  position: relative;
  min-width: 0;
}

.component-photo-card__head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 20px;
}

.component-photo-card__number {
  flex-shrink: 0;
  font-family: var(--font-family-en);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.component-photo-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.component-photo-card__text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
}

/* リンク付きのカード（Results）。hover で写真をズーム（本人指示 2026-10-08） */
.component-photo-card a {
  display: block;
}

.component-photo-card__image {
  overflow: hidden;
}

.component-photo-card__image img {
  transition: transform var(--duration-normal) ease;
}

@media (hover: hover) and (pointer: fine) {
  .component-photo-card a:hover {
    opacity: 1;
  }

  .component-photo-card a:hover .component-photo-card__image img {
    transform: scale(1.06);
  }
}

.component-photo-card--main .component-photo-card__number {
  color: var(--color-main);
}

.component-photo-card--sub .component-photo-card__number {
  color: var(--color-sub);
}

.component-photo-card--accent .component-photo-card__number {
  color: var(--color-accent);
}

/* 番号と見出しを写真の上に重ねる（Results。カンプ修正指示：番号の右側に見出し） */
.component-photo-card--overlay .component-photo-card__head {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  align-items: flex-end;
  gap: 12px;
  margin-top: 0;
  padding-right: 16px;
  color: var(--color-white);
  text-shadow: 0 0 2px rgb(0 0 0 / 20%);
}

.component-photo-card--overlay .component-photo-card__number {
  font-size: 80px;
  line-height: 0.82;
}

.component-photo-card--overlay .component-photo-card__title {
  padding-bottom: 2px;
  font-size: 24px;
  line-height: 1.3;
}

.component-photo-card--overlay .component-photo-card__text {
  margin-top: 16px;
}

/* 明るい写真でも白い番号・見出しが読めるよう、写真の上部だけ暗くする（AI補完） */
.component-photo-card--overlay .component-photo-card__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 45%;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
}

/* 番号だけを写真の左上に重ねる（Wishes） */
/* 写真の角から上・左に 3px ずらす（本人指示 2026-10-09） */
.component-photo-card--number-on-image .component-photo-card__number {
  position: absolute;
  top: -3px;
  left: -3px;
  color: var(--color-white);
  font-size: 60px;
  line-height: 0.82;
}

.component-photo-card--number-on-image .component-photo-card__title {
  margin-top: 20px;
  font-size: 18px;
}

.component-photo-card--number-on-image .component-photo-card__text {
  margin-top: 10px;
}

/* TB は写真が小さくなるため、写真の上の番号・見出しを小さくする（本人指示 2026-10-09） */
@media (max-width: 1024px) {
  .component-photo-card--overlay .component-photo-card__head {
    gap: 5px;
  }

  .component-photo-card--overlay .component-photo-card__number {
    font-size: 55px;
  }

  .component-photo-card--overlay .component-photo-card__title {
    font-size: 18px;
  }
}

@media (max-width: 599px) {
  .component-photo-card__head {
    margin-top: 12px;
  }

  .component-photo-card__number {
    font-size: 24px;
  }

  .component-photo-card__title {
    font-size: 16px;
  }
  
  .component-photo-card__head.-center{
    text-align: center;
    justify-content: center;
  }

  .component-photo-card__text {
    margin-top: 8px;
    font-size: 14px;
  }

  /* SPでは写真が小さく見出しが何行にも折り返すため、番号と見出しを写真の下に出す */
  .component-photo-card--overlay .component-photo-card__image::before {
    display: none;
  }

  .component-photo-card--overlay .component-photo-card__head {
    position: static;
    align-items: baseline;
    gap: 6px;
    margin-top: 10px;
    padding-right: 0;
    color: var(--color-text);
    text-shadow: none;
  }

  .component-photo-card--overlay .component-photo-card__number {
    color: var(--color-main);
    font-size: 24px;
    line-height: 1;
  }

  .component-photo-card--overlay .component-photo-card__title {
    padding-bottom: 0;
    font-size: 16px;
    line-height: 1.5;
  }

  .component-photo-card--overlay .component-photo-card__text {
    margin-top: 8px;
  }

  .component-photo-card--number-on-image .component-photo-card__number {
    font-size: 40px;
  }

  .component-photo-card--number-on-image .component-photo-card__title {
    margin-top: 10px;
    font-size: 15px;
  }

  .component-photo-card--number-on-image .component-photo-card__text {
    font-size: 13px;
  }
}


/* ==================================================
  Component: Card List（見出し＋本文の箱を並べる。標準は PC 3列・白い箱。TB・SP は1列）
  箱の中は Component: Photo Card を写真なしで使う（03reason・05safety・08service・09corporate）。--photo は写真つき
================================================== */

.component-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.component-card-list__item {
  width: calc((100% - 24px * 2) / 3);
  padding: 32px 28px;
  background-color: var(--color-white);
}

.component-card-list__item .component-photo-card__head {
  margin-top: 0;
}

.component-card-list--two-columns .component-card-list__item {
  width: calc((100% - 24px) / 2);
}

.component-card-list--four-columns .component-card-list__item {
  width: calc((100% - 24px * 3) / 4);
}

/* 白いセクションの中に置くときは灰色の箱にする */
.component-card-list--light .component-card-list__item {
  background-color: var(--color-background-light);
}

/* 写真つき（09〜12 の対応イベント）。箱にせず、写真の下に見出しと本文を置く。TB・SP も2列（TOP Wishes と同じ）。
   支給写真は幅 560px までのため、PC は3列か4列で使う（2列だと引き伸ばされる） */
.component-card-list--photo {
  gap: 40px 24px;
}

.component-card-list--photo .component-card-list__item {
  padding: 0;
  background-color: transparent;
}

.component-card-list--photo .component-card-list__item .component-photo-card__head {
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .component-card-list {
    flex-direction: column;
    gap: 16px;
  }

  .component-card-list__item,
  .component-card-list--two-columns .component-card-list__item,
  .component-card-list--four-columns .component-card-list__item {
    width: 100%;
    padding: 24px;
  }

  .component-card-list--photo {
    flex-direction: row;
    gap: 32px 24px;
  }

  .component-card-list--photo .component-card-list__item {
    width: calc((100% - 24px) / 2);
    padding: 0;
  }
}

@media (max-width: 599px) {
  .component-card-list {
    gap: 12px;
  }

  .component-card-list__item,
  .component-card-list--two-columns .component-card-list__item,
  .component-card-list--four-columns .component-card-list__item {
    padding: 20px 16px;
  }

  .component-card-list--photo {
    gap: 28px 12px;
  }

  .component-card-list--photo .component-card-list__item {
    width: calc((100% - 12px) / 2);
    padding: 0;
  }

  .component-card-list--photo .component-card-list__item .component-photo-card__head {
    margin-top: 12px;
  }
}


/* ==================================================
  Component: Check List（水色の枠の中に、チェックの印つきの白いカードを PC・TB 2列。角丸なし）
  06flow・08service。本人指示 2026-10-14
================================================== */

.component-check-list {
  padding: 48px 56px;
  background-color: var(--color-sub-light);
}

.component-check-list__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.component-check-list__item {
  display: flex;
  align-items: center;
  position: relative;
  width: calc((100% - 24px) / 2);
  min-height: 72px;
  padding: 16px 20px 16px 76px;
  background-color: var(--color-white);
  font-weight: 700;
  line-height: 1.5;
}

/* チェックの印：水色の四角 */
.component-check-list__item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  width: 36px;
  height: 36px;
  background-color: var(--color-sub);
  transform: translateY(-50%);
}

/* チェックの印：白いレ点（左と下の線を回転させる） */
.component-check-list__item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 31px;
  width: 15px;
  height: 8px;
  border-bottom: 3px solid var(--color-white);
  border-left: 3px solid var(--color-white);
  transform: translateY(-75%) rotate(-45deg);
}

@media (max-width: 1024px) {
  .component-check-list {
    padding: 40px 32px;
  }
}

@media (max-width: 599px) {
  .component-check-list {
    padding: 24px 16px;
  }

  .component-check-list__list {
    flex-direction: column;
    gap: 10px;
  }

  .component-check-list__item {
    width: 100%;
    min-height: 60px;
    padding: 12px 16px 12px 60px;
    font-size: 15px;
  }

  .component-check-list__item::before {
    left: 16px;
    width: 30px;
    height: 30px;
  }

  .component-check-list__item::after {
    left: 25px;
    width: 12px;
    height: 6px;
  }
}


/* ==================================================
  Component: Point（写真に紺を重ねた帯。左に見出し、右に POINT を罫線で区切って並べる）
  09corporate・11entertainment（POINT）・12hybrid（CASE）。TOP の Project: Top Reliability と同じ配色（本人回答 2026-10-15）
================================================== */

.component-point {
  position: relative;
  color: var(--color-white);
}

.component-point__background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

/* 紺の重ね（TOP の Project: Top Reliability と同じ値） */
.component-point__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 56, 117, 0.82);
}

.component-point__inner {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  position: relative;
  z-index: 1;
  padding: 100px 0 110px;
}

.component-point__head {
  flex-shrink: 0;
  width: 40%;
}

.component-point__title {
  /* values 26px-36px view 1000px-1385px */
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.45;
}

.component-point__accent {
  color: var(--color-sub);
}

.component-point__lead {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.85;
}

.component-point__list {
  flex: 1;
  min-width: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.component-point__item {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.component-point__number {
  flex-shrink: 0;
  width: 72px;
  color: var(--color-sub);
  font-family: var(--font-family-en);
  font-weight: 700;
  line-height: 1;
}

.component-point__number-label {
  font-size: 14px;
  letter-spacing: 0.12em;
}

.component-point__number-text {
  margin-top: 6px;
  font-size: 48px;
  letter-spacing: -0.06em;
}

.component-point__body {
  flex: 1;
  min-width: 0;
}

.component-point__item-title {
  /* values 18px-22px view 1029px-1257px */
  font-size: clamp(18px, 1.75vw, 22px);
  font-weight: 700;
  line-height: 1.5;
}

.component-point__item-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .component-point__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    padding: 80px 0 88px;
  }

  .component-point__head {
    width: 100%;
  }

  .component-point__title {
    font-size: 30px;
  }

  .component-point__lead {
    margin-top: 20px;
  }

  .component-point__item-title {
    font-size: 20px;
  }
}

@media (max-width: 599px) {
  .component-point__inner {
    gap: 28px;
    padding: 56px 0 64px;
  }

  .component-point__title {
    font-size: 24px;
  }

  .component-point__lead {
    margin-top: 16px;
    font-size: 15px;
  }

  .component-point__item {
    gap: 16px;
    padding: 20px 0;
  }

  .component-point__number {
    width: 52px;
  }

  .component-point__number-label {
    font-size: 12px;
  }

  .component-point__number-text {
    margin-top: 4px;
    font-size: 36px;
  }

  .component-point__item-title {
    font-size: 17px;
  }

  .component-point__item-text {
    margin-top: 6px;
    font-size: 14px;
  }
}


/* ==================================================
  Component: Steps（段階を矢印でつないだ箱。PC は横、TB・SP は縦に並べる）
  10seminar・11entertainment。箱の色は Component: Card List と同じ（--light は白いセクション用の灰色）
================================================== */

.component-steps {
  display: flex;
  gap: 56px;
}

.component-steps__item {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 32px 28px;
  background-color: var(--color-white);
}

.component-steps--light .component-steps__item {
  background-color: var(--color-background-light);
}

/* 次の箱への矢印（水色の「>」） */
.component-steps__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -35px;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--color-sub);
  border-right: 3px solid var(--color-sub);
  transform: translateY(-50%) rotate(45deg);
}

.component-steps__number {
  margin-bottom: 12px;
  color: var(--color-sub);
  font-family: var(--font-family-en);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.component-steps__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.component-steps__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
}

/* TB・SP は箱が細くなり見出しが割れるため、縦に並べて下向きの矢印にする */
@media (max-width: 1024px) {
  .component-steps {
    flex-direction: column;
    gap: 40px;
  }

  .component-steps__item {
    padding: 24px;
  }

  .component-steps__item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -27px;
    left: 50%;
    width: 12px;
    height: 12px;
    transform: translateX(-50%) rotate(135deg);
  }

  .component-steps__number {
    font-size: 30px;
  }

  .component-steps__title {
    font-size: 18px;
  }
}

@media (max-width: 599px) {
  .component-steps__item {
    padding: 20px 16px;
  }

  .component-steps__number {
    margin-bottom: 8px;
    font-size: 28px;
  }

  .component-steps__title {
    font-size: 16px;
  }

  .component-steps__text {
    margin-top: 8px;
    font-size: 14px;
  }
}


/* ==================================================
  Component: Price Case（料金例 CASE）
================================================== */

.component-price-case {
  position: relative;
  padding: 90px 100px 64px;
  background-color: var(--color-background-light);
}

.component-price-case+.component-price-case {
  margin-top: 20px;
}

.component-price-case__label {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 6px 24px;
  background-color: var(--color-main);
  color: var(--color-white);
  font-family: var(--font-family-en);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.component-price-case__content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.component-price-case__image {
  flex-shrink: 0;
  width: 41.7%;
}

.component-price-case__body {
  flex: 1;
  min-width: 0;
}

.component-price-case__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.component-price-case__price {
  margin-top: 8px;
  color: var(--color-sub);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.component-price-case__number {
  font-family: var(--font-family-en);
  font-size: 50px;
  letter-spacing: -0.04em;
}

.component-price-case__price--text {
  font-size: 30px;
}

.component-price-case__text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
}

.component-price-case__detail {
  margin-top: 24px;
}

.component-price-case__detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.component-price-case__detail-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

.component-price-case__detail-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
}

/* カンプどおり縦方向に並べる（左列→右列の順） */
.component-price-case__detail-list {
  margin-top: 10px;
  column-count: 2;
  column-gap: 0;
}

.component-price-case__detail-item {
  padding-left: 1.1em;
  break-inside: avoid;
  font-size: 15px;
  line-height: 1.75;
  text-indent: -1.1em;
}

.component-price-case__detail-item::before {
  content: '●';
}

.component-price-case__detail-list--single {
  column-count: 1;
}

@media (max-width: 1024px) {
  .component-price-case {
    padding: 72px 32px 40px;
  }

  .component-price-case__content {
    gap: 24px;
  }
}

@media (max-width: 599px) {
  .component-price-case {
    padding: 56px 20px 28px;
  }

  .component-price-case__content {
    flex-direction: column;
  }

  .component-price-case__image {
    width: 100%;
  }

  .component-price-case__title {
    font-size: 18px;
  }

  .component-price-case__number {
    font-size: 38px;
  }

  .component-price-case__price {
    font-size: 18px;
  }

  .component-price-case__price--text {
    font-size: 24px;
  }

  .component-price-case__text,
  .component-price-case__detail-text,
  .component-price-case__detail-item {
    font-size: 14px;
  }

  .component-price-case__detail-list {
    column-count: 1;
  }
}


/* ==================================================
  Component: Flow（開催までの流れ。縦線はスクロールに合わせて伸びる）
================================================== */

.component-flow {
  position: relative;
  margin-top: 70px;
}

/* 縦線：1つ目の円の中心から最後の円の中心まで */
.component-flow__line {
  position: absolute;
  top: 92px;
  bottom: 92px;
  left: 60px;
  width: 1px;
  background-color: var(--color-border);
}

.component-flow__line-bar {
  width: 100%;
  height: 100%;
  background-color: var(--color-main);
  transform: scaleY(0);
  transform-origin: center top;
}

.component-flow__item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}

.component-flow__item+.component-flow__item {
  margin-top: 68px;
}

.component-flow__timing {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  margin-top: 32px;
  border: 1px solid var(--color-main);
  border-radius: 50%;
  background-color: var(--color-background-light);
  color: var(--color-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition:
    background-color var(--duration-normal) ease,
    color var(--duration-normal) ease;
}

/* 縦線が届いた時期は紺地・白文字にして現在地を示す（本人指示 2026-10-08） */
.component-flow__timing.is-reached {
  background-color: var(--color-main);
  color: var(--color-white);
}

.component-flow__image {
  flex-shrink: 0;
  width: 31.2%;
}

.component-flow__body {
  flex: 1;
  min-width: 0;
}

.component-flow__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.component-flow__text {
  font-size: 15px;
  line-height: 1.75;
}

.component-flow__title+.component-flow__text {
  margin-top: 4px;
}

.component-flow__text+.component-flow__text {
  margin-top: 16px;
}

/* 見たまま編集画面では線を伸ばしきった状態で表示する */
[data-element-id] .component-flow__line-bar {
  transform: none;
}

@media (max-width: 1024px) {
  .component-flow__item {
    gap: 24px;
  }
}

@media (max-width: 599px) {
  .component-flow {
    margin-top: 40px;
  }

  .component-flow__line {
    top: 36px;
    bottom: 36px;
    left: 36px;
  }

  .component-flow__item {
    flex-wrap: wrap;
    gap: 16px;
  }

  .component-flow__item+.component-flow__item {
    margin-top: 40px;
  }

  .component-flow__timing {
    width: 72px;
    height: 72px;
    margin-top: 0;
    font-size: 13px;
  }

  .component-flow__image {
    width: calc(100% - 88px);
  }

  .component-flow__body {
    flex: none;
    width: calc(100% - 88px);
    margin-left: 88px;
  }

  .component-flow__title {
    font-size: 18px;
  }

  .component-flow__text {
    font-size: 14px;
  }

  .component-flow__text+.component-flow__text {
    margin-top: 10px;
  }
}


/* ==================================================
  Component: FAQ
================================================== */

.component-faq {
  margin-top: 40px;
}

.component-faq__item+.component-faq__item {
  margin-top: 36px;
}

.component-faq__question {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.component-faq__question::before {
  content: 'Q.';
  flex-shrink: 0;
  color: var(--color-main);
  font-family: var(--font-family-en);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.component-faq__answer {
  margin-top: 12px;
  padding: 20px 22px;
  background-color: var(--color-background-light);
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 599px) {
  .component-faq__item+.component-faq__item {
    margin-top: 28px;
  }

  .component-faq__question {
    font-size: 16px;
  }

  .component-faq__question::before {
    font-size: 20px;
  }

  .component-faq__answer {
    padding: 16px;
    font-size: 14px;
  }
}


/* ==================================================
  Component: Text Link（一覧を見る）
================================================== */

.component-text-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.component-text-link a {
  display: block;
}

.component-text-link__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.component-text-link__arrow {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 2px;
  background-color: currentColor;
  transition: transform var(--duration-fast) ease;
}

.component-text-link__arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .component-text-link a:hover {
    opacity: 1;
  }

  .component-text-link a:hover .component-text-link__arrow {
    transform: translateX(4px);
  }
}


/* ==================================================
  Component: Particles（背景でうっすら動く点と線。unison-planet.jp 風）
================================================== */

.component-particles {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.component-particles canvas {
  display: block;
  width: 100%;
  height: 100%;
}


/* ==================================================
  Component: Anchor（ページ内リンクの移動先）
================================================== */

/* TB・SP はヘッダーが常に固定で、common.js のスクロールはヘッダーぶんを差し引かない（JS_SPEC §20.2）。移動先をヘッダーの高さぶん上にずらす */
@media (max-width: 1024px) {
  .component-anchor {
    position: relative;
    top: calc(var(--header-height) * -1);
  }
}


/* ==================================================
  Component: Page Top Button（common.js の .totop）
================================================== */

.component-page-top-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-index-header);
  width: 56px;
  height: 56px;
}

/* button の中はテキストのみ（HTML_SPEC §2-6）。上向きの矢印は親の疑似要素で描く */
.component-page-top-button button {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background-color: var(--color-main);
  color: transparent;
  font-size: 0;
}

/* hover で button が半透明になると button が矢印の上に重なるため、z-index で前に出す（本人指示 2026-10-09） */
.component-page-top-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--color-white);
  border-left: 2px solid var(--color-white);
  transform: translate(-50%, -25%) rotate(45deg);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .component-page-top-button button:hover {
    opacity: 0.8;
  }
}

/* SP追従ボタン（高さ約86px）の上に置く */
@media (max-width: 599px) {
  .component-page-top-button {
    right: 12px;
    bottom: 94px;
    width: 44px;
    height: 44px;
  }
}

body.drawer-active .component-page-top-button {
  display: none;
}

[data-element-id] .component-page-top-button {
  position: relative;
  right: auto;
  bottom: auto;
  margin: 20px auto;
}


/* ==================================================
  List: Works（カスコン「実績・事例」）
================================================== */

.list-works__item {
  min-width: 0;
  background-color: var(--color-white);
}

.list-works__item a {
  display: block;
  height: 100%;
}

.list-works__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.list-works__image {
  overflow: hidden;
}

.list-works__image img {
  transition: transform var(--duration-normal) ease;
}

.list-works__body {
  flex: 1;
  padding: 20px 20px 24px;
}

.list-works__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.list-works__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
}

.list-works__date,
.list-voice__date {
  color: var(--color-text-light);
  font-family: var(--font-family-en);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.list-works__date{
  width: 100%;
}

/* カテゴリのチップ。js-split-tag が公開画面で span に分割するが、生成された span には色を当てない（CSS_SPEC §11.1）。お客様の声も同じ */
.list-works__category-text,
.list-voice__category-text {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.list-works__category-text span,
.list-voice__category-text span {
  padding: 2px 10px;
  background-color: var(--color-main);
}

.list-works--small {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.list-works--small .list-works__item {
  width: calc((100% - 24px * 3) / 4);
}

.list-works--small .list-works__body {
  padding: 14px 14px 18px;
}

.list-works--small .list-works__title {
  font-size: 15px;
}

/* 一覧ページ（13works）：PC 3列・SP 2列（本人回答 2026-10-09） */
.list-works--archive,[data-element-id] .list-works--archive>div {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
}

.list-works--archive .list-works__item {
  width: calc((100% - 24px * 2) / 3);
}

@media (hover: hover) and (pointer: fine) {
  .list-works__item a:hover {
    opacity: 1;
  }

  .list-works__item a:hover .list-works__image img {
    transform: scale(1.06);
  }
}

@media (max-width: 1024px) {

  .list-works--small .list-works__item,
  .list-works--archive .list-works__item {
    width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 599px) {
  .list-works__body {
    padding: 14px 14px 18px;
  }

  .list-works__title {
    font-size: 15px;
  }

  /* 本人指示 2026-10-09 */
  .list-works__category-text,
  .list-voice__category-text {
    font-size: 10px;
  }

  /* SP は1カラム（本人指示 2026-10-09。指示書「SPは2列にできる箇所は2列」の例外） */
  .list-works--small {
    gap: 12px;
  }

  .list-works--small .list-works__item {
    width: 100%;
  }

  .list-works--archive {
    gap: 20px 12px;
  }

  .list-works--archive .list-works__item {
    width: 100%;
  }
}


/* ==================================================
  List: Voice（カスコン「お客様の声」。詳細ページが無いため、リンクなしで本文を全文出す）
  1カラム。上部の紺の帯に「VOICE 01」・日付・カテゴリ、写真（アンケート用紙・縦長）は白い縁と影、
  見出しの前に引用符、本文は写真の側を指す水色の吹き出し（本人選択 2026-10-15）
  番号は CSS の連番で振る（記事は A-BiSU から入るため。ページ送りの2ページ目は 01 から振り直しになる）
================================================== */

/* 項目の間は gap で空ける（A-BiSU の編集画面で項目が div で囲まれても崩れないよう、隣接セレクタは使わない。HTML_SPEC §12-1） */
.list-voice,[data-element-id] .list-voice>div {
  display: flex;
  flex-direction: column;
  gap: 32px;
  counter-reset: voice;
}

.list-voice__item {
  overflow: hidden;
  border-radius: var(--radius-medium);
  background-color: var(--color-white);
  counter-increment: voice;
}

/* 紺の帯：左に VOICE 01、右に日付・カテゴリ */
.list-voice__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 32px;
  background-color: var(--color-main);
  color: var(--color-white);
}

/* 08service の SERVICE のラベルと同じ英字の書体 */
.list-voice__label {
  font-family: var(--font-family-en);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.list-voice__label::after {
  margin-left: 10px;
  color: var(--color-sub);
  font-size: 24px;
  letter-spacing: 0;
  content: counter(voice, decimal-leading-zero);
}

.list-voice__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

/* 紺の帯の上なので、日付は白、カテゴリのチップは白地に紺の文字（List: Works の色を上書き） */
.list-voice__date {
  color: var(--color-white);
}

.list-voice__category-text {
  color: var(--color-main);
}

.list-voice__category-text span {
  background-color: var(--color-white);
}

.list-voice__content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 32px;
}

/* アンケート用紙らしく、白い縁と影を付ける */
.list-voice__image {
  flex-shrink: 0;
  width: 240px;
  border: 6px solid var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.list-voice__body {
  flex: 1;
  min-width: 0;
}

/* 見出しの前に水色の引用符 */
.list-voice__title {
  position: relative;
  padding-left: 40px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.list-voice__title::before {
  position: absolute;
  top: -6px;
  left: 0;
  color: var(--color-sub);
  font-family: var(--font-family-number);
  font-size: 56px;
  line-height: 1;
  content: '\201C';
}

/* 本文：写真の側（左）を指す水色の吹き出し */
.list-voice__text {
  position: relative;
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-medium);
  background-color: var(--color-sub-light);
  font-size: 15px;
  line-height: 1.8;
}

.list-voice__text::before {
  position: absolute;
  top: 28px;
  right: 100%;
  border-top: 8px solid transparent;
  border-right: 12px solid var(--color-sub-light);
  border-bottom: 8px solid transparent;
  content: '';
}

@media (max-width: 1024px) {
  .list-voice__head {
    padding: 12px 24px;
  }

  .list-voice__content {
    gap: 32px;
    padding: 24px;
  }

  .list-voice__image {
    width: 180px;
  }

  .list-voice__title {
    font-size: 18px;
  }
}

@media (max-width: 599px) {
  .list-voice {
    gap: 24px;
  }

  .list-voice__head {
    padding: 10px 16px;
  }

  .list-voice__label {
    font-size: 13px;
  }

  .list-voice__label::after {
    font-size: 20px;
  }

  /* SP は写真の下に本文。吹き出しは上（写真の側）を指す */
  .list-voice__content {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px 16px;
  }

  .list-voice__image {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  .list-voice__title {
    padding-left: 32px;
    font-size: 16px;
  }

  .list-voice__title::before {
    top: -4px;
    font-size: 44px;
  }

  .list-voice__text {
    margin-top: 24px;
    padding: 18px 16px;
    font-size: 14px;
  }

  .list-voice__text::before {
    top: auto;
    right: auto;
    bottom: 100%;
    left: 24px;
    border-top: none;
    border-right: 8px solid transparent;
    border-bottom: 12px solid var(--color-sub-light);
    border-left: 8px solid transparent;
  }
}


/* ==================================================
  List: News（カスコン「ブログ・ニュース」ニュース側）
================================================== */

.list-news {
  margin-top: 40px;
  border-top: 1px solid var(--color-border);
}

.list-news__item {
  border-bottom: 1px solid var(--color-border);
}

.list-news__item a {
  display: block;
}

.list-news__link {
  padding: 26px 0 28px;
}

.list-news__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.list-news__date {
  color: var(--color-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.list-news__category {
  display: flex;
  align-items: center;
}

.list-news__category::before {
  content: '';
  width: 1px;
  height: 14px;
  margin: 0 10px;
  background-color: var(--color-border);
}

.list-news__category-text {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.5;
}

.list-news__title {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.65;
  transition: color var(--duration-fast) ease;
}

@media (hover: hover) and (pointer: fine) {
  .list-news__item a:hover {
    opacity: 1;
  }

  .list-news__item a:hover .list-news__title {
    color: var(--color-sub);
  }
}

@media (max-width: 599px) {
  .list-news {
    margin-top: 24px;
  }

  .list-news__link {
    padding: 18px 0 20px;
  }

  .list-news__date,
  .list-news__category-text {
    font-size: 13px;
  }

  .list-news__title {
    font-size: 15px;
  }
}


/* ==================================================
  List: Blog（カスコン「ブログ・ニュース」ブログ側）
================================================== */

.list-blog {
  margin-top: 40px;
  border-top: 1px solid var(--color-border);
}

.list-blog__item {
  border-bottom: 1px solid var(--color-border);
}

.list-blog__item a {
  display: block;
}

.list-blog__link {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
}

.list-blog__image {
  flex-shrink: 0;
  width: 160px;
  overflow: hidden;
}

.list-blog__image img {
  transition: transform var(--duration-normal) ease;
}

.list-blog__body {
  flex: 1;
  min-width: 0;
}

.list-blog__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  transition: color var(--duration-fast) ease;
}

.list-blog__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  margin-top: 10px;
  color: var(--color-text-light);
  font-size: 13px;
  line-height: 1.5;
}

/* 時計のアイコン（CSSで描く） */
.list-blog__date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.list-blog__date::before {
  content: '';
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position: 4px 1.5px, 4px 4px;
  background-repeat: no-repeat;
  background-size: 1.5px 3.5px, 3px 1.5px;
}

/* 人物のアイコン（CSSで描く） */
.list-blog__author {
  display: flex;
  align-items: center;
  gap: 4px;
}

.list-blog__author::before {
  content: '';
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: currentColor;
  background-image:
    radial-gradient(circle at 50% 38%, var(--color-white) 0 2.2px, transparent 2.6px),
    radial-gradient(ellipse at 50% 100%, var(--color-white) 0 4.2px, transparent 4.6px);
}

@media (hover: hover) and (pointer: fine) {
  .list-blog__item a:hover {
    opacity: 1;
  }

  .list-blog__item a:hover .list-blog__title {
    color: var(--color-sub);
  }

  .list-blog__item a:hover .list-blog__image img {
    transform: scale(1.06);
  }
}

@media (max-width: 599px) {
  .list-blog {
    margin-top: 24px;
  }

  .list-blog__link {
    gap: 14px;
    padding: 18px 0;
  }

  .list-blog__image {
    width: 110px;
  }

  .list-blog__title {
    font-size: 15px;
  }
}

/* 一覧ページ（15blog）：写真付きカードを PC 3列・SP 2列（本人回答 2026-10-09）
   TOP の横並びの行を縦型のカードにする。SP の上書きも効くよう基本ルールの後に書く */
.list-blog__category-text {
  color: var(--color-main);
  font-weight: 700;
}

/* カテゴリが複数のとき、js-split-tag が公開画面で作る span の間に区切りを入れる。
   カテゴリ名の途中で折り返さないよう、span 単位で折り返す（CSS_SPEC §11.1 の例外。本人指示 2026-10-09）
   「/」は前の span の後ろに付け、折り返したとき行頭に来ないようにする（本人指示 2026-10-14） */
.list-news__category-text span,
.list-blog__category-text span {
  display: inline-block;
}

.list-news__category-text span:not(:last-child)::after,
.list-blog__category-text span:not(:last-child)::after {
  content: '/';
  margin: 0 10px;
}

.list-blog--archive {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
  margin-top: 0;
  border-top: none;
}

.list-blog--archive .list-blog__item {
  width: calc((100% - 24px * 2) / 3);
  min-width: 0;
  border-bottom: none;
  background-color: var(--color-white);
}

.list-blog--archive .list-blog__item a {
  height: 100%;
}

.list-blog--archive .list-blog__link {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  height: 100%;
  padding: 0;
}

.list-blog--archive .list-blog__image {
  width: 100%;
}

.list-blog--archive .list-blog__body {
  padding: 20px 20px 24px;
}

@media (max-width: 1024px) {
  .list-blog--archive .list-blog__item {
    width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 599px) {
  .list-blog--archive {
    gap: 20px 12px;
    margin-top: 0;
  }

  /* SP は1カラム（本人指示 2026-10-09。指示書「SPは2列にできる箇所は2列」の例外） */
  .list-blog--archive .list-blog__item {
    width: 100%;
  }

  .list-blog--archive .list-blog__link {
    padding: 0;
  }

  .list-blog--archive .list-blog__body {
    padding: 14px 14px 18px;
  }
}

[data-element-id] .list-blog--archive >div{
  display: flex;
  flex-wrap: wrap;
    gap: 32px 24px;
    margin-top: 0;
}


/* ==================================================
  List: Editor Content（カスコン詳細の本文。CSS_SPEC §41）
================================================== */

/* A-BiSU のエディタが出力するタグには class を付けられないため、この Block の中に限ってタグで指定する */
.list-editor-content {
  line-height: 1.9;
}

.list-editor-content h2 {
  margin-top: 56px;
  padding: 4px 0 4px 16px;
  border-left: 4px solid var(--color-main);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.list-editor-content h3 {
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.list-editor-content h4 {
  position: relative;
  margin-top: 32px;
      padding-left: 23px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.list-editor-content h4::before {
    content: "";
    position: absolute;
    top: .82em;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 3px;
    background-color: var(--color-main);
    transform: translateY(-50%);
}

.list-editor-content p {
  margin-top: 24px;
}

.list-editor-content ul {
  margin-top: 24px;
  padding-left: 1.5em;
  list-style: disc;
}

.list-editor-content ol {
  margin-top: 24px;
  padding-left: 1.5em;
  list-style: decimal;
}

.list-editor-content li+li {
  margin-top: 8px;
}

.list-editor-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-top: 32px;
}

.list-editor-content a {
  color: var(--color-sub);
  text-decoration: underline;
}

/* 先頭の要素は上の余白を取らない */
.list-editor-content> :first-child {
  margin-top: 0;
}

@media (max-width: 599px) {
  .list-editor-content h2 {
    margin-top: 40px;
    padding-left: 12px;
    font-size: 20px;
  }

  .list-editor-content h3 {
    margin-top: 32px;
    font-size: 18px;
  }

  .list-editor-content p,
  .list-editor-content ul,
  .list-editor-content ol {
    margin-top: 20px;
  }

  .list-editor-content img {
    margin-top: 24px;
  }
}


/* ==================================================
  Component: Page Header（下層ページ用メインビジュアル）
================================================== */

/* 写真の上に紺を重ね、白でページ名を置く（本人決定 2026-10-09。紺の濃さは TOP の MV に合わせる） */
.component-page-header {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background-color: var(--color-main);
}

.component-page-header__image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.component-page-header::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 56, 117, 0.85);
  content: '';
}

.component-page-header__inner {
  position: relative;
  z-index: 1;
}

.component-page-header__en {
  color: var(--color-white);
  font-family: var(--font-family-en);
  /* values 40px-80px view 375px-1300px */
  font-size: clamp(40px, 4.32vw + 23.8px, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.component-page-header__title {
  margin-top: 16px;
  color: var(--color-white);
  /* values 18px-24px view 375px-1300px */
  font-size: clamp(18px, 0.65vw + 15.6px, 24px);
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .component-page-header {
    padding: 72px 0;
  }
}

@media (max-width: 599px) {
  .component-page-header {
    padding: 48px 0;
  }

  .component-page-header__title {
    margin-top: 10px;
  }
}


/* ==================================================
  Component: Breadcrumb（パンくず）
================================================== */

.component-breadcrumb__inner {
  padding: 16px 0;
}

/* 長いページ名を文字単位で折り返すため Flexbox を使わない（CSS_SPEC §26） */
.component-breadcrumb__list {
  display: block;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.65;
}

.component-breadcrumb__item {
  display: inline;
}

.component-breadcrumb__item a {
  display: inline;
  color: var(--color-main);
  text-decoration: underline;
}

/* 区切りの「＞」。gap は使えないため margin で余白を取る */
.component-breadcrumb__item::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 12px 0 8px;
  border-top: 1px solid var(--color-text-light);
  border-right: 1px solid var(--color-text-light);
  vertical-align: middle;
  content: '';
  transform: rotate(45deg);
}

.component-breadcrumb__item:last-child::after {
  display: none;
}

@media (hover: hover) {
  .component-breadcrumb__item a:hover {
    text-decoration: none;
  }
}

@media (max-width: 599px) {
  .component-breadcrumb__inner {
    padding: 12px 0;
  }

  .component-breadcrumb__list {
    font-size: 12px;
  }
}


/* ==================================================
  Component: Table（項目名＋内容の表）
================================================== */

.component-table {
  width: 100%;
  margin-top: 50px;
  border-top: 1px solid var(--color-border);
}

.component-table__row {
  border-bottom: 1px solid var(--color-border);
}

.component-table__head {
  width: 150px;
  padding: 24px 20px;
  color: var(--color-main);
  font-weight: 700;
  text-align: left;
  vertical-align: top;
}

.component-table__data {
  padding: 24px 20px;
  text-align: left;
  vertical-align: top;
}

/* 「・」付きのリスト。2行になっても「・」の下に回り込まない（本人指示 2026-10-09） */
.component-table__list-item {
  position: relative;
  padding-left: 1em;
}

.component-table__list-item::before {
  content: '・';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-main);
}

@media (max-width: 1024px) {
  .component-table {
    margin-top: 40px;
  }

  .component-table__head {
    width: 110px;
    padding: 20px 16px;
  }

  .component-table__data {
    padding: 20px 16px;
  }
}

/* SP は項目名と内容を縦に積む */
@media (max-width: 599px) {
  .component-table {
    margin-top: 32px;
  }

  .component-table__head,
  .component-table__data {
    display: block;
    width: auto;
  }

  .component-table__head {
    padding: 16px 4px 4px;
  }

  .component-table__data {
    padding: 0 4px 16px;
  }
}


/* ==================================================
  Component: Map（Google マップの埋め込み）
================================================== */

/* 縦横比は base.css の .map（padding-top）を各セクション側で上書きする */
/* カンプ（TOP）どおり地図をモノクロで表示する */
.component-map iframe {
  border: 0;
  filter: grayscale(1);
}


/* ==================================================
  Component: Slider Arrow（スライダーの前へ・次へ）
================================================== */

/* 位置は各セクション側で指定する */
.component-slider-arrow {
  position: relative;
  width: 80px;
  height: 80px;
}

/* button の中はテキストのみ（HTML_SPEC §2-6）。矢印は親の疑似要素で描く */
.component-slider-arrow button {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background-color: var(--color-black);
  color: transparent;
  font-size: 0;
}

/* hover で button が半透明になると button が上に重なるため、矢印を z-index で前に出す */
.component-slider-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 16px;
  height: 2px;
  background-color: var(--color-white);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.component-slider-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  pointer-events: none;
}

.component-slider-arrow--prev::after {
  left: calc(50% - 8px);
  transform: translateY(-50%) rotate(-135deg);
}

.component-slider-arrow--next::after {
  right: calc(50% - 8px);
  transform: translateY(-50%) rotate(45deg);
}

/* 端まで送ったときは押せない状態にする（ループしないスライダーのみ） */
.component-slider-arrow.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .component-slider-arrow button:hover {
    opacity: 0.75;
  }
}

/* 見たまま編集画面では Swiper が動かないため隠す */
[data-element-id] .component-slider-arrow {
  display: none;
}

@media (max-width: 1024px) {
  .component-slider-arrow {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 599px) {
  .component-slider-arrow {
    width: 44px;
    height: 44px;
  }
}


/* ==================================================
  Component: Archive（カスコン一覧と絞り込みの2カラム。13works・14voice・15blog）
================================================== */

/* PC は右に絞り込み、TB・SP は一覧の下に回す（本人回答 2026-10-09）
   一覧ページは見出しが無いため、パンくずの下の余白をここで取る */
.component-archive {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  padding-top: 80px;
}

.component-archive__main {
  flex: 1;
  min-width: 0;
}

.component-archive__side {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 32px;
  width: 240px;
}

@media (max-width: 1024px) {
  .component-archive {
    flex-direction: column;
    align-items: stretch;
    padding-top: 64px;
  }

  .component-archive__side {
    width: 100%;
  }
}

@media (max-width: 599px) {
  .component-archive {
    gap: 40px;
    padding-top: 40px;
  }

  .component-archive__side {
    gap: 24px;
  }
}


/* ==================================================
  Component: Filter（カテゴリ・年月アーカイブの絞り込み）
================================================== */

.component-filter {
  padding: 24px;
  background-color: var(--color-white);
}

.component-filter__title {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-main);
  color: var(--color-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.component-filter__item {
  border-bottom: 1px solid var(--color-border);
}

.component-filter__item a {
  display: block;
  padding: 12px 4px;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 599px) {
  .component-filter {
    padding: 20px 16px;
  }

  .component-filter__item a {
    padding: 10px 4px;
    font-size: 14px;
  }
}


/* ==================================================
  Component: Pagination（HTML_SPEC §13）
================================================== */

/* 参考画像のデザイン（本人指示 2026-10-09）。前へ・次へは丸の中に Font Awesome の矢印、現在のページは紺の丸
   「前のページ」「次のページ」が無いページでも中央に寄せて崩れないようにする */
.component-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
}

.component-pagination__numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

/* 2桁以上でも収まるよう幅は min-width で取る */
.component-pagination__item a,
.component-pagination__current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 4px;
  border-radius: 50%;
  color: var(--color-text-light);
  font-family: var(--font-family-en);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.component-pagination__current {
  background-color: var(--color-main);
  color: var(--color-white);
}

/* 一覧のセクションは灰色の背景のため、丸は白にする */
.component-pagination__prev a,
.component-pagination__next a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-main);
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 599px) {
  .component-pagination {
    gap: 8px;
    margin-top: 40px;
  }

  .component-pagination__numbers {
    gap: 2px;
  }

  .component-pagination__item a,
  .component-pagination__current {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .component-pagination__prev a,
  .component-pagination__next a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}


/* ==================================================
  Component: Form（HTML_SPEC §11。17document・18contact）
================================================== */

/* 入力確認画面の文言（A-BiSU の確認画面で使う） */
.component-form__confirm-message {
  margin-bottom: 32px;
  color: var(--color-main);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.component-form__confirm-alert {
  color: var(--color-error);
  font-size: 110%;
}

/* PC・TB は左に項目名、右に入力欄。SP は縦に並べる */
.component-form__list {
  border-top: 1px solid var(--color-border);
}

.component-form__item {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.component-form__title {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  align-self: flex-start;
  gap: 8px 12px;
  width: 260px;
  min-height: 52px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.component-form__title.h-auto{
  min-height: unset;
}

.component-form__required,
.component-form__optional {
  padding: 2px 8px;
  border-radius: var(--radius-small);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.component-form__required {
  background-color: var(--color-main);
  color: var(--color-white);
}

/* 灰色の背景の上でも見えるよう、白地に枠線 */
.component-form__optional {
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-text-light);
}

.component-form__data {
  flex: 1;
  min-width: 0;
}

/* A-BiSU のバリデーションで入力欄が .actual_object_error_wrapper に囲まれても幅を保つ（CSS_SPEC §54） */
.component-form__data input,
.component-form__data select,
.component-form__data textarea,
.component-form__data .actual_object_error_wrapper {
  width: 100%;
}

.component-form__data .actual_object_error_wrapper input,
.component-form__data .actual_object_error_wrapper select,
.component-form__data .actual_object_error_wrapper textarea {
  width: 100%;
}

.component-form__data input,
.component-form__data select,
.component-form__data textarea {
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background-color: var(--color-white);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
}

.component-form__data textarea {
  min-height: 200px;
  max-height: 200px;
  resize: vertical;
}

.component-form__note {
  margin-bottom: 12px;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.65;
}

/* ラジオボタン・チェックボックスは横に並べ、幅いっぱいにしない。--vertical は選択肢の文が長いとき1つずつ縦に並べる */
.component-form__radio-list,
.component-form__checkbox-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 20px minmax(6em, 1fr));
  align-content: center;
  align-items: center;
  gap: 12px 8px;
  min-height: 52px;
}

.component-form__radio-list--vertical {
  grid-template-columns: 20px 1fr;
  gap: 10px 8px;
  padding: 12px 0;
}

.component-form__radio-item,
.component-form__checkbox-item {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 8px;
}

.component-form__radio-list .actual_object_error_wrapper,
.component-form__checkbox-list .actual_object_error_wrapper {
  width: auto;
}

.component-form__data input[type='radio'],
.component-form__data input[type='checkbox'] {
  flex-shrink: 0;
  width: 20px;
  min-height: 0;
  height: 20px;
  margin: 0;
  padding: 0;
  accent-color: var(--color-main);
  cursor: pointer;
}

.component-form__radio-list label,
.component-form__checkbox-list label {
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}

/* ボタン：送信・確認は紺地に白文字、戻るは白地に紺の文字。マウスオンで反転 */
.component-form__button-list,
.component-form__confirm {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.component-form__button {
  width: 100%;
  max-width: 320px;
}

.component-form__button button {
  width: 100%;
  min-height: 64px;
  padding: 12px 24px;
  border: 2px solid var(--color-main);
  border-radius: var(--radius-medium);
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color var(--duration-normal) ease, color var(--duration-normal) ease;
}

.component-form__button--back button {
  background-color: var(--color-white);
  color: var(--color-main);
}

@media (hover: hover) and (pointer: fine) {
  .component-form__button button:hover {
    opacity: 1;
    background-color: var(--color-white);
    color: var(--color-main);
  }

  .component-form__button--back button:hover {
    background-color: var(--color-main);
    color: var(--color-white);
  }
}

/* 縦並び（項目名を入力欄の上に置く。17document：参考ページ hybrid.airz.co.jp/custom-download/ と同じ形。本人指示 2026-10-09）
   --half は2つ並べる項目（姓・名） */
.component-form--stack .component-form__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: none;
}

.component-form--stack .component-form__item {
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0;
  border-bottom: none;
}

.component-form--stack .component-form__item--half {
  width: calc((100% - 24px) / 2);
}

.component-form--stack .component-form__title {
  width: auto;
  min-height: 0;
}

.component-form--stack .component-form__radio-list {
  grid-template-columns: 20px 1fr;
  gap: 10px 8px;
  min-height: 0;
}

.component-form--stack .component-form__checkbox-list {
  min-height: 0;
}


/* A-BiSU のバリデーション（必須未入力で「入力内容確認」を押したとき）は、入力欄を .actual_object_error_wrapper で囲み、直後にエラー文 .alert-anotation を足す
   ラジオボタン・チェックボックスは選択肢をまとめて1つで囲み、名前欄は label ごと囲むため、囲みを無いものとして扱い、元の並びを保つ（本人指示 2026-10-19） */
.component-form__radio-list .actual_object_error_wrapper,
.component-form__checkbox-list .actual_object_error_wrapper,
.component-form__name-item .actual_object_error_wrapper {
  display: contents;
}

/* エラー文は入力欄の下の行に出す */
.component-form__data .alert-anotation {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.component-form__radio-list .alert-anotation,
.component-form__checkbox-list .alert-anotation {
  grid-column: 1 / -1;
  margin-top: 0;
}

.component-form__name-item,
.component-form__radio-item,
.component-form__checkbox-item {
  flex-wrap: wrap;
}

.component-form__name-item .alert-anotation,
.component-form__radio-item .alert-anotation,
.component-form__checkbox-item .alert-anotation {
  flex-basis: 100%;
  margin-top: 0;
}

/* TB・SP は項目名を入力欄の上に置く（TB で項目名の幅を取ると入力欄が細くなりすぎるため。18contact で計測 2026-10-15） */
@media (max-width: 1024px) {
  .component-form__item {
    flex-direction: column;
    gap: 10px;
  }

  .component-form__title {
    width: auto;
    min-height: 0;
  }
}

@media (max-width: 599px) {
  .component-form__confirm-message {
    margin-bottom: 24px;
  }

  .component-form__item {
    padding: 20px 0;
  }

  .component-form__title {
    font-size: 15px;
  }

  .component-form__data input,
  .component-form__data select,
  .component-form__data textarea {
    min-height: 48px;
  }

  .component-form__data textarea {
    min-height: 180px;
  }

  .component-form__data input[type='radio'],
  .component-form__data input[type='checkbox'] {
    min-height: 0;
  }

  .component-form__radio-list,
  .component-form__checkbox-list {
    gap: 12px 8px;
    min-height: 0;
  }

  .component-form__button-list,
  .component-form__confirm {
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
  }

  .component-form__button button {
    min-height: 56px;
    font-size: 16px;
  }

  .component-form--stack .component-form__list {
    gap: 20px 12px;
  }

  .component-form--stack .component-form__item--half {
    width: calc((100% - 12px) / 2);
  }
}


/* 18contact で追加：姓・名を1つの項目に横並び、プルダウン、イベント開催日時（本人指示 2026-10-15） */
.component-form__name {
  display: flex;
  gap: 16px;
}

.component-form__name-item {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.component-form__name-item label {
  flex-shrink: 0;
  width: fit-content;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.component-form__name-item input,
.component-form__name-item .actual_object_error_wrapper {
  flex: 1;
  min-width: 0;
}

/* プルダウン：ブラウザ標準の矢印を消し、紺の矢印を右に置く */
.component-form__select {
  position: relative;
  max-width: 480px;
}

.component-form__select::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
  transform: translateY(-70%) rotate(45deg);
  content: '';
  pointer-events: none;
}

.component-form__select select {
  padding-right: 48px;
  appearance: none;
  cursor: pointer;
}

/* イベント開催日時：1行目に日付、2行目に時刻（開始〜終了）。選ぶ部分は flatpickr（js/flatpickrOption.js） */
.component-form__datetime {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.component-form__date {
  width: 240px;
}

.component-form__time-range {
  display: flex;
  align-items: center;
  gap: 10px;
}

.component-form__time {
  width: 120px;
}

.component-form__time-separator,
.component-form__time-suffix {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.5;
}

.component-form__date input,
.component-form__time input {
  cursor: pointer;
}

@media (max-width: 599px) {
  .component-form__name {
    gap: 12px;
  }

  .component-form__name-item {
    gap: 3px;
  }

  .component-form__name-item label {
    font-size: 14px;
  }

  .component-form__select {
    max-width: none;
  }

  .component-form__datetime {
    align-items: stretch;
  }

  .component-form__date {
    width: 100%;
  }

  .component-form__time {
    flex: 1;
    width: auto;
    min-width: 0;
  }
}


/* ==================================================
  Component: Thanks（送信完了ページの本文と TOP へ戻るボタン。99document_thanks・99contact_thanks）
================================================== */

/* 見出しが無いため、パンくずの下の余白をここで取る（一覧ページと同じ値） */
.component-thanks__body {
  padding-top: 80px;
}

.component-thanks__button {
  margin-top: 56px;
}

@media (max-width: 1024px) {
  .component-thanks__body {
    padding-top: 64px;
  }
}

@media (max-width: 599px) {
  .component-thanks__body {
    padding-top: 40px;
  }

  .component-thanks__button {
    margin-top: 40px;
  }
}


/* ==================================================
  Component: Datepicker（flatpickr のカレンダー。js/flatpickrOption.js が body 末尾のカレンダーに付ける）
  ライブラリの CSS は編集せず、このクラスの中だけで色を上書きする（CSS_SPEC §42）
================================================== */

.component-datepicker .flatpickr-day.selected,
.component-datepicker .flatpickr-day.selected:hover {
  border-color: var(--color-main);
  background-color: var(--color-main);
}

.component-datepicker .flatpickr-day.today {
  border-color: var(--color-sub);
}


/* ==================================================
  Component: Tab（タブ切り替え。18contact のお問い合わせフォーム。JS は common.js の .tabWrap（JS_SPEC §19））
================================================== */

/* タブ：2つを横に並べ、選んでいるタブは紺。common.js が選んだタブと中身に active を付ける */
.component-tab__list {
  display: flex;
  gap: 8px;
  border-bottom: 3px solid var(--color-main);
}

.component-tab__item {
  flex: 1;
  min-width: 0;
}

.component-tab__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
  background-color: var(--color-background-light);
  color: var(--color-main);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background-color var(--duration-normal) ease, color var(--duration-normal) ease;
}

.component-tab__item.active a {
  background-color: var(--color-main);
  color: var(--color-white);
}

.component-tab__item.unactive a{
  background-color: var(--color-background-light);
  color: var(--color-main);
}

@media (hover: hover) and (pointer: fine) {
  .component-tab__item a:hover {
    opacity: 1;
    background-color: var(--color-main);
    color: var(--color-white);
  }
}

/* 中身：選んでいないタブは隠す */
.component-tab__panel {
  padding: 56px 64px;
  background-color: var(--color-background-light);
}

.component-tab__panel:not(.active) {
  display: none;
}

/* 見たまま編集画面ではタブの JS が動かないため、中身をすべて出す（JS_SPEC §19） */
[data-element-id] .component-tab__panel {
  display: block;
}

[data-element-id] .page-contact .component-tab__panel {
  border: 3px solid orange;
  position: relative;
}

[data-element-id] .page-contact .component-tab__panel::before {
    content: "お問い合わせ";
    background-color: orange;
    color: #fff;
    text-align: center;
    font-size: 12px;
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

[data-element-id] .page-contact .component-tab__panel + .component-tab__panel{
  margin-top: 20px;
}

[data-element-id] .page-contact .component-tab__panel + .component-tab__panel::before {
    content: "ライブ配信をご依頼したい方へ";
}

@media (max-width: 1024px) {
  .component-tab__panel {
    padding: 48px 32px;
  }
}

@media (max-width: 599px) {
  .component-tab__list {
    gap: 6px;
  }

  .component-tab__item a {
    min-height: 64px;
    padding: 10px 8px;
    font-size: 15px;
  }

  .component-tab__panel {
    padding: 32px 16px;
  }
}


/* ==================================================
  Component: List（「・」付きの箇条書き。.component-table__list と同じ見た目。G2-2 P-5 B-7）
================================================== */

.component-list__item {
  position: relative;
  padding-left: 1em;
  line-height: 1.65;
}

.component-list__item::before {
  content: '・';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-main);
}

.component-list__item+.component-list__item {
  margin-top: 8px;
}


/* ==================================================
  Utility
================================================== */

/* 灰色の背景（セクションなどの共通背景。本人指示 2026-10-09） */
.utility-bgc-light {
  background-color: var(--color-background-light);
}
