/* Component — 再利用可能な部品（FLOCSS: c-）*/
@keyframes tohriPop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.c-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-form__error { margin: 0; color: #C0392B; font-size: 13.5px; font-weight: 700; }
.c-gnav__link { position: relative; color: #2F384A; font-weight: 700; font-size: 15px; padding: 6px 2px; transition: color 160ms ease; }
.c-feature-card { transition: transform 220ms cubic-bezier(0.22,0.61,0.36,1), box-shadow 220ms ease, border-color 220ms ease; padding: 30px 24px; border-radius: 18px; background: rgba(255,255,255,0.045); border: 1px solid rgba(125,176,255,0.18); }
.c-work-card { transition: transform 220ms cubic-bezier(0.22,0.61,0.36,1), box-shadow 220ms ease; }
.c-button { transition: filter 160ms ease, transform 160ms ease; }
.c-input { width: 100%; padding: 14px 16px; border: 1px solid #D7E0EC; border-radius: 10px; font-size: 15px; font-family: "Noto Sans JP", sans-serif; color: #2F384A; background: #fff; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.c-logo { display: flex; align-items: center; gap: 12px; }
.c-logo__img { height: 38px; width: auto; display: block; }
.c-logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; transform: rotate(45deg); background: linear-gradient(135deg, #2E6FE0, #1E5FC4); box-shadow: 0 5px 16px rgba(46,111,224,0.4); }
.c-logo__mark-char { transform: rotate(-45deg); color: #fff; font-weight: 900; font-size: 19px; line-height: 1; }
.c-logo__body { display: flex; flex-direction: column; line-height: 1.2; }
.c-logo__name { color: #1E5FC4; font-weight: 900; font-size: 18px; letter-spacing: 0.04em; }
.c-logo__tagline { color: #6B86AE; font-size: 9.5px; font-weight: 700; letter-spacing: 0.22em; font-family: 'Inter', sans-serif; }
.c-gnav { display: flex; align-items: center; gap: 36px; }
/* 言語切替（日本語 / 中文）— ピル型トグルボタン */
.c-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid #D7E0EC; border-radius: 999px; background: #fff; font-family: 'Inter', sans-serif; }
.c-lang__link { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; color: #4A5468; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; transition: color 160ms ease, background 160ms ease; }
.c-lang__link:hover:not(.is-active) { color: #2E6FE0; background: #F0F5FB; }
.c-lang__link.is-active { background: linear-gradient(135deg, #2E6FE0, #1E5FC4); color: #fff; }
.c-button--header { display: inline-flex; align-items: center; gap: 9px; padding: 12px 24px; border-radius: 10px; background: linear-gradient(135deg, #2E6FE0, #1E5FC4); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 8px 20px rgba(46,111,224,0.32); }
.c-button--hero { display: inline-flex; align-items: center; gap: 10px; padding: 19px 40px; border-radius: 13px; background: linear-gradient(135deg, #2E6FE0, #2E6FE0); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 14px 34px rgba(46,111,224,0.45); }
.c-button__arrow { font-family: 'Inter', sans-serif; }
.c-button-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 18px 38px; border-radius: 13px; background: rgba(255,255,255,0.7); border: 1px solid rgba(30,95,196,0.22); color: #1E5FC4; font-weight: 700; font-size: 16px; transition: background 160ms ease, border-color 160ms ease; }
.c-button-ghost:hover { background: #fff; border-color: rgba(46,111,224,0.5); color: #2E6FE0; }
.c-eyebrow { color: #7DB0FF; font-size: 12px; font-weight: 700; letter-spacing: 0.26em; font-family: 'Inter', sans-serif; margin-bottom: 12px; }
.c-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.c-feature-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(46,111,224,0.16); border: 1px solid rgba(125,176,255,0.3); margin-bottom: 20px; }
.c-feature-card__title { margin: 0 0 10px; color: #fff; font-weight: 700; font-size: 19px; }
.c-feature-card__desc { margin: 0; color: #A9BDDC; font-size: 13.5px; line-height: 1.9; }
.c-section-head { text-align: center; margin-bottom: 50px; }
.c-eyebrow--blue { color: #1A5FC8; font-size: 12px; font-weight: 700; letter-spacing: 0.26em; font-family: 'Inter', sans-serif; margin-bottom: 12px; }
.c-link-arrow { color: #1A5FC8; font-size: 14px; font-weight: 700; }
.c-card-grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.c-work-card--teaser { display: block; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(11,31,68,0.08); border: 1px solid #E8EDF4; }
.c-work-card__badge { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 5px; background: rgba(11,31,68,0.85); color: #fff; font-size: 11px; font-weight: 700; }
.c-card-title { margin: 0 0 8px; color: #1E5FC4; font-weight: 700; font-size: 17px; }
.c-button--cta { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 18px 40px; border-radius: 12px; background: #fff; color: #1E5FC4; font-weight: 800; font-size: 16px; box-shadow: 0 14px 34px rgba(0,0,0,0.3); }
.c-footer-brand { display: flex; align-items: center; margin-bottom: 18px; }
.c-footer-brand__img { height: 34px; width: auto; display: block; }
.c-footer-brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; transform: rotate(45deg); background: linear-gradient(135deg, #2E6FE0, #1E5FC4); }
.c-footer-brand__mark-char { transform: rotate(-45deg); color: #fff; font-weight: 900; font-size: 17px; }
.c-footer-brand__name { color: #fff; font-weight: 900; font-size: 17px; letter-spacing: 0.04em; }
.c-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; color: #9FB7DC; font-size: 12px; font-family: 'Inter', sans-serif; margin-bottom: 18px; }
.c-breadcrumb__link { color: #9FB7DC; }
.c-breadcrumb__current { color: #fff; }
.c-section-title { margin: 0; color: #1E5FC4; font-weight: 900; font-size: 30px; }
.c-check-item { display: flex; gap: 10px; align-items: flex-start; }
.c-check-item__marker { flex: none; margin-top: 6px; width: 7px; height: 7px; transform: rotate(45deg); background: #2E6FE0; }
.c-check-item__text { color: #3A4459; font-size: 14px; line-height: 1.7; }
.c-notice { display: flex; gap: 13px; align-items: center; background: #F0F5FB; border: 1px solid #DCE7F3; border-radius: 12px; padding: 16px 20px; margin-bottom: 32px; }
.c-notice__icon { flex: none; }
.c-notice__text { margin: 0; color: #4A5468; font-size: 13px; line-height: 1.7; }
.c-work-card--list { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(11,31,68,0.08); border: 1px solid #E8EDF4; }
.c-work-card__image { position: relative; height: 196px; overflow: hidden; }
.c-work-card__photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-work-card__body { padding: 22px 24px 24px; }
.c-work-card__title-lg { margin: 0 0 12px; color: #1E5FC4; font-weight: 700; font-size: 18px; }
.c-work-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.c-work-card__tag { padding: 4px 10px; border-radius: 5px; background: #EEF3F9; color: #1A5FC8; font-size: 12px; font-weight: 600; }
.c-work-card__meta { display: grid; grid-template-columns: 64px 1fr; row-gap: 8px; column-gap: 10px; }
.c-work-card__meta-label { color: #9AA6B7; font-size: 12.5px; }
.c-work-card__meta-value { color: #3A4459; font-size: 12.5px; }
.c-work-card__meta-value--en { color: #3A4459; font-size: 12.5px; font-family: 'Inter', sans-serif; }
.c-gnav__link--contact { padding-top: 6px; }
.c-contact-method { display: flex; align-items: center; gap: 15px; background: #F5F8FC; border: 1px solid #E8EDF4; border-radius: 14px; padding: 20px 22px; }
.c-contact-method__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: rgba(46,111,224,0.1); }
.c-contact-method__label { color: #6B7689; font-size: 12px; }
.c-contact-method__value { color: #1E5FC4; font-weight: 800; font-size: 23px; font-family: 'Inter', sans-serif; white-space: nowrap; }
.c-contact-method__note { color: #9AA6B7; font-size: 11px; }
.c-contact-method__value--mail { color: #1E5FC4; font-weight: 700; font-size: 17px; font-family: 'Inter', sans-serif; }
.c-form { display: grid; gap: 20px; }
.c-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.c-form__label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #2F384A; font-weight: 700; font-size: 13.5px; }
.c-form__req { padding: 2px 7px; border-radius: 4px; background: #2E6FE0; color: #fff; font-size: 10px; font-weight: 700; }
.c-form__opt { padding: 2px 7px; border-radius: 4px; background: #EEF3F9; color: #6B7689; font-size: 10px; font-weight: 700; }
.c-input--select { appearance: none; -webkit-appearance: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2214%22 height=%2214%22 fill=%22none%22 stroke=%22%236B7689%22 stroke-width=%222%22><path d=%22M3 5l4 4 4-4%22/></svg>'); background-repeat: no-repeat; background-position: right 16px center; }
.c-input--textarea { resize: vertical; line-height: 1.7; }
.c-form__agree { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.c-form__checkbox { margin-top: 3px; width: 17px; height: 17px; accent-color: #2E6FE0; flex: none; }
.c-form__agree-text { color: #4A5468; font-size: 13px; line-height: 1.7; }
.c-form__agree-link { color: #1A5FC8; font-weight: 600; }
.c-button--submit { margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #2E6FE0, #1E5FC4); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; box-shadow: 0 12px 30px rgba(46,111,224,0.4); font-family: 'Noto Sans JP', sans-serif; }
.c-gnav__link:hover { color: #2E6FE0 }
.c-gnav__link.is-active { color: #1E5FC4 }
.c-gnav__link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #2E6FE0, #1E5FC4) }
.c-feature-card:hover { transform: translateY(-4px); border-color: rgba(125,176,255,0.5) }
.c-work-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11,31,68,0.16) }
.c-button:hover { filter: brightness(1.08) }
.c-input::placeholder { color: #AEB8C7 }
.c-input:focus { border-color: #2E6FE0; box-shadow: 0 0 0 3px rgba(46,111,224,0.12) }

/* メディア（動画・ギャラリー） */
.c-video { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 16px 40px rgba(11,31,68,0.12); background: #000; }
.c-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.c-gallery__item { height: 220px; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px rgba(11,31,68,0.08); }
.c-gallery__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms cubic-bezier(0.22,0.61,0.36,1); }
.c-gallery__item:hover .c-gallery__img { transform: scale(1.04); }

/* ハンバーガー（モバイルナビ）トグル — 3本線アイコン。既定は非表示、≤960pxで表示(responsive.css) */
.c-nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #1E5FC4; cursor: pointer; }
.c-nav-toggle:hover { color: #2E6FE0; }
.c-nav-toggle svg { display: block; }
.c-nav-toggle__bar { transition: transform 260ms cubic-bezier(0.22,0.61,0.36,1), opacity 200ms ease; transform-box: fill-box; transform-origin: center; }
.c-nav-toggle.is-open .c-nav-toggle__bar--1 { transform: translateY(6px) rotate(45deg); }
.c-nav-toggle.is-open .c-nav-toggle__bar--2 { opacity: 0; }
.c-nav-toggle.is-open .c-nav-toggle__bar--3 { transform: translateY(-6px) rotate(-45deg); }
.c-drawer-overlay { display: none; }   /* 既定は非表示。≤960pxで有効化(responsive.css) */

/* 文書ページ（プライバシーポリシー等の本文） */
.c-doc { max-width: 880px; margin: 0 auto; }
.c-doc__lead { margin: 0 0 32px; color: #4A5468; font-size: 15px; line-height: 2; }
.c-doc__section { margin-bottom: 30px; }
.c-doc__title { margin: 0 0 12px; color: #1E5FC4; font-weight: 700; font-size: 19px; }
.c-doc__text { margin: 0 0 10px; color: #3A4459; font-size: 14.5px; line-height: 1.95; }
.c-doc__list { margin: 8px 0 0; padding-left: 1.25em; color: #3A4459; font-size: 14.5px; line-height: 1.95; }
.c-doc__item { margin-bottom: 6px; }
.c-doc__updated { margin-top: 36px; color: #9AA6B7; font-size: 12.5px; }

/* イラスト図版（透過素材を載せる淡い水色パネル。全ページ共通トリートメント）*/
.c-illust { display: grid; place-items: center; border-radius: 16px; background: linear-gradient(155deg, #F3F8FE 0%, #E3EDFA 100%); overflow: hidden; }
.c-illust img { width: 88%; height: 88%; object-fit: contain; display: block; }
.c-feature-card__figure { height: 158px; margin-bottom: 22px; }

/* セクション四隅の淡い装飾（position:absolute・控えめ）。host に .has-deco を付与 */
.has-deco { position: relative; z-index: 0; overflow: hidden; }
.c-deco { position: absolute; width: 360px; max-width: 36%; opacity: 0.12; pointer-events: none; user-select: none; z-index: -1; }
.c-deco--tr { top: -26px; right: -30px; }
.c-deco--bl { bottom: -26px; left: -30px; }

/* 円形矢印リンク（ラベル＋丸い矢印）。--light は濃色背景用 */
.c-circle-link { display: inline-flex; align-items: center; gap: 16px; color: #1E5FC4; font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
.c-circle-link__arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(30,95,196,0.3); font-family: 'Inter', sans-serif; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.c-circle-link:hover .c-circle-link__arrow { background: rgba(46,111,224,0.08); border-color: rgba(46,111,224,0.6); transform: translateX(3px); }
.c-circle-link--light { color: #fff; }
.c-circle-link--light .c-circle-link__arrow { border-color: rgba(125,176,255,0.4); }
.c-circle-link--light:hover .c-circle-link__arrow { background: rgba(255,255,255,0.08); border-color: rgba(125,176,255,0.7); }

/* 無限マーキー（写真が右→左へループ）。両端はマスクでフェード、ホバーで一時停止 */
.c-marquee { margin-top: 52px; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.c-marquee__track { display: flex; width: max-content; animation: marquee 110s linear infinite; }
.c-marquee:hover .c-marquee__track { animation-play-state: paused; }
.c-marquee__item { flex: none; width: 460px; height: 300px; margin-right: 22px; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(11,31,68,0.12); }
.c-marquee__img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .c-marquee__track { animation: none; } }

/* よくあるご質問（FAQ）— ネイティブ details/summary でa11y対応 */
.c-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.c-faq__item { border: 1px solid #E4EBF4; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(11,31,68,0.03); transition: box-shadow 220ms ease, border-color 220ms ease; }
.c-faq__item[open] { border-color: #CFE0F5; box-shadow: 0 14px 32px rgba(11,31,68,0.09); }
.c-faq__q { display: flex; align-items: center; gap: 14px; padding: 20px 22px; cursor: pointer; list-style: none; color: #1E5FC4; font-weight: 700; font-size: 15.5px; line-height: 1.6; }
.c-faq__q::-webkit-details-marker { display: none; }
.c-faq__q::before { content: "Q"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #2E6FE0, #1E5FC4); color: #fff; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 14px; }
.c-faq__q::after { content: ""; flex: none; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid #7DB0FF; border-bottom: 2px solid #7DB0FF; transform: translateY(-2px) rotate(45deg); transition: transform 240ms ease; }
.c-faq__item[open] .c-faq__q::after { transform: translateY(2px) rotate(-135deg); }
.c-faq__a { padding: 0 22px 22px 66px; margin: 0; color: #4A5468; font-size: 14px; line-height: 2; }

/* サイトマップ */
.c-sitemap { max-width: 880px; margin: 0 auto; display: grid; gap: 30px; }
.c-sitemap__group-title { margin: 0 0 6px; color: #1A5FC8; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; font-family: 'Inter', sans-serif; }
.c-sitemap__link { display: block; padding: 15px 4px; border-bottom: 1px solid #EDF1F7; color: #1E5FC4; font-weight: 700; font-size: 15px; transition: color 160ms ease; }
.c-sitemap__link:hover { color: #2E6FE0; }
.c-sitemap__desc { color: #6B7689; font-weight: 400; font-size: 13px; margin-left: 10px; }

/* ===== スクロール表示（ふわっと浮かび上がる） ===== */
/* JS有効時のみ初期状態を隠す。JS無効・エラー時は通常表示でデグレードしない */
.js-reveal .c-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity, transform; }
.js-reveal .c-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .c-reveal { opacity: 1; transform: none; transition: none; }
}
