@charset "UTF-8";

/* ==========================================================================
   Base.css - 基本スタイル設定
   リセット、タイポグラフィ、基本要素のスタイル定義
   ========================================================================== */

/* ==========================================================================
   1. ベーススタイル
   ========================================================================== */

html {
    font-size: var(--base-font-size, 14px);
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: auto;
    /* Disabled for Lenis */
    overflow-x: hidden;
}

body {
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    overflow-wrap: break-word;
    word-wrap: break-word;
    backface-visibility: hidden;
    overflow-x: hidden;
    background-color: var(--color-bg-body);
    color: var(--color-text-primary);
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    font-size: var(--font-base);
    line-height: var(--line-height-normal);
    font-synthesis: none;
    direction: ltr;
    font-feature-settings: "palt";
}

/* ==========================================================================
   2. タイポグラフィ
   ========================================================================== */

/* Headings - 見出し */
h1,
h2,
h3,
h4,
h5,
h6,
dt,
strong,
b {
    margin: 0;
    font-weight: var(--font-weight-bold)
}

h1 {
    font-size: var(--font-3xl);
    line-height: var(--line-height-tight)
}

h2 {
    font-size: var(--font-2xl);
    line-height: var(--line-height-tight)
}

h3 {
    font-size: var(--font-xl);
    line-height: var(--line-height-tight)
}

h4 {
    font-size: var(--font-lg);
    line-height: var(--line-height-tight)
}

h5 {
    font-size: var(--font-md);
    line-height: var(--line-height-normal)
}

h6 {
    font-size: var(--font-base);
    line-height: var(--line-height-normal)
}

/* Text Elements */
p {
    margin: 0;
    line-height: var(--line-height-relaxed);
    text-align: justify;
}

small {
    font-size: var(--font-sm)
}

/* ==========================================================================
   3. リンクとボタン
   ========================================================================== */

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-base)
}

a:hover,
a:active,
a:focus {
    opacity: 1
}

button {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    color: var(--color-text-primary);
    cursor: pointer
}

/* ==========================================================================
   4. リストスタイル
   ========================================================================== */

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none
}

/* ==========================================================================
   5. 画像とメディア
   ========================================================================== */

img,
svg {
    max-width: 100%;
    height: auto;
    vertical-align: bottom
}

picture {
    display: block
}

/* ==========================================================================
   6. フォーム要素
   ========================================================================== */

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border: 1px solid var(--color-green);
}

/* ==========================================================================
   7. フォント用ユーティリティクラス
   ========================================================================== */

/* 数字用フォント */
.font-num {
    font-family: var(--ff-en);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-en);
}

/* 日本語フォント */
.lang-ja {
    font-family: var(--font-family)
}

/* 英語テキスト用フォント設定 */
.__lang-en {
    font-family: var(--font-family-en);
}

/* テキストベーススタイル */
.text-base {
    font-size: var(--font-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-primary);
    text-align: justify;
}