/*
ENTAG ACCOUNT サイト設定。ENTAG FRAME 1.3.1 より先に読み込む。

前半はFRAME 1.3.1の init.css（全変数の雛形）をそのまま写したもの（FRAMEはサイト側で全変数が定義されている前提）。
ACCOUNT固有の値は後半の「ENTAG ACCOUNTの上書き」にだけ書く。
*/

:root {
    /* Colors */
    --et-color-text:              #333333;
    --et-color-bg:                #ffffff;
    --et-color-border:            #dddddd;
    --et-color-agree-bg:          #333333;
    --et-color-agree-text:        #ffffff;
    --et-color-disagree-bg:       #e60012;
    --et-color-disagree-text:     #ffffff;
    --et-color-button-text:       #333333;
    --et-color-button-bg:         #f0f0f0;
    --et-color-button-text-hover: #ffffff;
    --et-color-button-bg-hover:   #333333;
    --et-color-form-bg:           #ffffff;
    --et-color-disabled-text:     #aaaaaa;
    --et-color-link:              #333333;
    --et-color-link-hover:        #0066cc;

    /* Base Settings */
    --et-level:          1;
    --et-font-size:      16px;
    --et-font-size-min:  14px;
    --et-font-size-max:  48px;
    --et-font-family:    "Noto Sans JP", sans-serif;
    --et-line-height:    1.8;
    --et-space:          max(20px, 1cqw);
    --et-section-space:  max(60px, 8cqw);
    --et-step:           1.2;
    --et-limit:          1360px;
    --et-width-ratio:    1;
    --et-blur:           4px;
    --et-radius:         8px;
    --et-auto-fill:      15em;
    --et-transition:     .3s;
    --et-brightness:     1.05;
    --et-header-offset:  80px;
    --et-shadow:         0 4px 24px rgb(0 0 0 / 0.08), 0 1px 4px rgb(0 0 0 / 0.06);
    --et-scroll-marker:  60vh;
    --et-header-height:  80px;
    --et-medium-width:   80%;
    --et-narrow-width:   60%;

    /* Components */
    --et-trigger-size:          48px;
    --et-trigger-width:         26px;
    --et-trigger-height:        2px;
    --et-trigger-gap:           6px;
    --et-trigger-text:          #333333;
    --et-trigger-bg:            transparent;
    --et-trigger-rotate-top:    45deg;
    --et-trigger-rotate-bottom: 315deg;
    --et-menu-bg:               rgba(255, 255, 255, 0.97);
    --et-backdrop:               rgb(0 0 0 / 0.3);

    /* Z-Index */
    --et-z-header:   30;
    --et-z-nav:      20;
    --et-z-nav-cover: 10;
    --et-z-footer:   1;
}

@property --std-width {
    syntax: "<length>";
    inherits: false;
    initial-value: 1400px;
}
@property --tb-width {
    syntax: "<length>";
    inherits: false;
    initial-value: 820px;
}
@property --sp-width {
    syntax: "<length>";
    inherits: false;
    initial-value: 520px;
}

@media (prefers-color-scheme: dark) {
    html {
        filter: brightness(0.95) contrast(1.02);
    }
}

/* ---- ENTAG ACCOUNTの上書き ----
色・丸み・影は、ENTAG 共通（FRAME の entag_common/1.0/_css/entag_base.css・entag_service.css）が決める。ここには、このサイト固有の寸法と色だけを書く。 */

:root {
    --et-limit:         960px;
    --et-header-height: 64px;
    --et-header-offset: 64px;

    /* Googleのボタンの背景と文字は、Googleのブランドガイドライン（Light）の色。サイトの色に合わせて変えない（線の色は main.css で、パスキーのボタンに合わせる） */
    --account-google-bg:        #ffffff;
    --account-google-bg-hover:  #f7f8f8;
    --account-google-text:      #1f1f1f;
}
