@charset "utf-8";

/* ==========================================================================
   format.css — 汎用ユーティリティ・リセット
   このファイルにはページ固有のスタイルは記述しない。
   ページ固有のスタイルは front.css に記述する。
   ========================================================================== */


/* ==========================================================================
   1. リセット・基本設定 (Reset & Base)
   ========================================================================== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
ul {
    margin: 0;
}

body {
    font-family: 'メイリオ', '游ゴシック', 'Osaka', sans-serif;
    overflow-x: hidden;
    background-color: #fcfdfd;
    color: #18181b;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    line-height: inherit;
}

p {
    line-height: normal;
}

ul {
    padding-left: 0 !important;
}

li,
ul li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000000;
    transition: all 0.3s;
}

a:hover {
    opacity: 0.6;
}

/* テキスト選択時のハイライト色 */
::selection {
    background-color: #bfdbfe;
}


/* ==========================================================================
   2. フォント・タイポグラフィ (Typography)
   ========================================================================== */

/* 明朝体 */
.font-serif {
    font-family: "Noto Serif JP", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
}

.fs-xl {}

.fs-lg {
    font-size:2rem ;
}
.fs-md {
    font-size: 1.25rem;
}

.fs-base {
    font-size: 1rem;
}

.fs-sm {
    font-size: 0.85rem;
}

.fs-xs {
    font-size: 0.6rem;
}

@media (max-width: 767px) {
    .fs-xl {}

    .fs-lg {}

    .fs-md {}

    .fs-base {}

    .fs-sm {}

    .fs-xs {}
}

/* フォントウェイト */
.font-black {
    font-weight: 900;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

/* テキスト配置 */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

/* 文字間隔 */
.tracking-tight {
    letter-spacing: -0.05em;
}

.tracking-normal {
    letter-spacing: 0;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

.tracking-super-wide {
    letter-spacing: 0.3em;
}

.tracking-ultra-wide {
    letter-spacing: 0.5em;
}

/* 行間 */
.leading-tight {
    line-height: 1.2;
}

.leading-snug {
    line-height: 1.4;
}

.leading-relaxed {
    line-height: 1.8;
}

.leading-loose {
    line-height: 2;
}

.leading-looser {
    line-height: 2.2;
}

/* アウトライン文字 */
.text-outline-light {
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.03);
}

.text-outline-white {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}

.text-outline-gray {
    color: transparent;
    -webkit-text-stroke: 1.5px #d1d5db;
}

@media (min-width: 768px) {
    .text-outline-gray {
        -webkit-text-stroke: 2px #cbd5e1;
    }
}

/* 縦書き */
.tategaki {
    writing-mode: vertical-rl;
    letter-spacing: 1.5rem;
}

/* テキストシャドウ */
.text-shadow-medium {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.text-shadow-glow {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 極小テキスト */
.text-micro {
    font-size: 0.75rem;
}

/* ゴールドグラデーション文字 */
.text-gold {
    background: linear-gradient(135deg, #fff2be 0%, #e3af33 30%, #ffdf7a 65%, #b28212 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #e3af33;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.95)) drop-shadow(0px 0px 30px rgba(227, 175, 51, 0.35));
    font-weight: 700;
}


/* ==========================================================================
   3. カラー (Colors)
   ========================================================================== */
.text-white {
    color: #ffffff;
}

.text-dark {
    color: #18181b;
}

.text-muted {
    color: #71717a;
}

.text-brand {
    color: #2ca2db;
}

.text-blue-light {
    color: rgba(147, 197, 253, 0.8);
}

.text-blue {
    color: #3b82f6;
}

.bg-white {
    background-color: #ffffff;
}

.bg-dark {
    background-color: #18181b;
}

.bg-brand {
    background-color: #2ca2db;
}


/* ==========================================================================
   4. サイズ・レイアウト (Sizing & Layout)
   ========================================================================== */
.w-full {
    width: 100%;
}

.h-screen {
    height: 100vh;
}

.h-svh {
    height: 100svh;
}

.min-h-screen {
    min-height: 100vh;
}


/* ==========================================================================
   5. 表示・位置 (Display & Position)
   ========================================================================== */
.pointer {
    cursor: pointer;
}

.pe-none {
    pointer-events: none;
}

.pe-auto {
    pointer-events: auto !important;
}

.z-high {
    z-index: 50;
}


/* ==========================================================================
   6. 画像・フィルター (Images & Filters)
   ========================================================================== */

/* 画像を親要素に合わせて切り取る */
.object-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.img-grayscale {
    filter: grayscale(100%);
}

.img-contrast {
    filter: contrast(1.1) brightness(0.9);
}

.img-invert {
    filter: brightness(0) invert(1);
}


/* ==========================================================================
   7. 変形・スキュー (Transform)
   ========================================================================== */
.skew-left {
    transform: skewX(-28deg);
}

.skew-right {
    transform: skewX(28deg);
}

/* GPU 最適化 */
.gpu {
    transform: translateZ(0);
}

.will-change {
    will-change: transform, opacity, filter;
}


/* ==========================================================================
   8. アニメーション・トランジション用ユーティリティ
   ========================================================================== */
.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.translate-up {
    transform: translateY(-2rem);
}

.translate-down {
    transform: translateY(2rem);
}

.translate-none {
    transform: translateY(0);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-700 {
    transition-duration: 700ms;
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}


/* ==========================================================================
   9. 背景エフェクト (Background Effects)
   ========================================================================== */

/* グラデーション背景 */
.bg-grad-down {
    background: linear-gradient(to bottom, transparent, rgba(30, 58, 138, 0.3), transparent);
}

.bg-grad-up {
    background: linear-gradient(to top, transparent, rgba(30, 58, 138, 0.3), transparent);
}

/* ノイズテクスチャ */
.bg-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Blobシェイプ背景 */
.bg-blob-1 {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background-color: rgba(219, 234, 254, 0.4);
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
}

.bg-blob-2 {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background-color: rgba(224, 231, 255, 0.3);
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
}


/* ==========================================================================
   10. 共通アニメーション効果
   ========================================================================== */

/* フェードアップ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.is-animated {
    opacity: 1;
    transform: translateY(0);
}

/* スクロールバー非表示 */
.hide-scrollbar::-webkit-scrollbar {
    display: none !important;
}

.hide-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}


/* ==========================================================================
   11. 共通ボタン・ホバー
   ========================================================================== */
.hover-opacity:hover {
    opacity: 0.7;
}

/* アウトラインボタン (黒枠・ダーク) */
.btn-outline-dark {
    border: 1.5px solid #27272a;
    padding: 8px 24px;
    background-color: transparent;
    color: #18181b;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-outline-dark:hover {
    background-color: #18181b;
    color: #ffffff;
}

/* カスタムボタン */
.custom-btn {
    transition: all 0.5s ease;
}

.custom-btn:hover {
    background-color: #18181b !important;
    color: white !important;
    border-color: #18181b !important;
}

