/* ============================================
   common.css - 株式会社ブライト
   カラー変数 / リセット / 共通スタイル
   ============================================ */

/* ----------------------------------------
   CSS Variables
---------------------------------------- */
:root {
    --color-main: #2B4B42;
    --color-main-dark: #222222;
    --color-gold: #DFBF51;
    --color-bg: #F7F5F0;
    --color-white: #ffffff;
    --color-text: #172e28;
    --color-text-light: #666;
    --color-border: #e0ddd5;

    --font-en: 'EB Garamond', serif;
    --font-mincho: 'Zen Old Mincho', serif;
    --font-gothic: 'Zen Kaku Gothic New', sans-serif;

    --content-max: 1200px;
    --content-pad: 20px;
    --header-h: 80px;
    --header-h-sp: 60px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
}

body {
    font-family: var(--font-gothic);
    font-size: 1.6rem;
    line-height: 1.85;
    color: var(--color-text);
    background-color: var(--color-bg);
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {

    html,
    body {
        overflow-x: clip;
    }
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--content-pad);
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* レスポンシブ */
@media (min-width: 768px) {
    .sp {
        display: block;
    }

    .sp-br {
        display: none;
    }
}


@media (max-width: 768px) {
    .sp {
        display: none;
    }

    .sp-br {
        display: block;
    }
}

.sp2-br {
    display: none;
}

@media (max-width: 590px) {
    .sp2 {
        display: none;
    }

    .sp2-br {
        display: block;
    }
}

@media (min-width: 480px) {
    .mobile-br {
        display: none;
    }

    .mobile-none {
        display: block;
    }
}

@media (max-width: 480px) {
    .mobile-none {
        display: none;
    }

    .mobile-br {
        display: block;
    }
}

/* Section Head */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head__en {
    display: block;
    font-family: var(--font-en);
    font-size: clamp(1.6rem, 1.5vw, 2rem);
    letter-spacing: 0.12em;
    color: var(--color-gold);
    margin-bottom: 4px;
}

.section-head__ja {
    display: block;
    font-family: var(--font-mincho);
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.section-head--light .section-head__ja {
    color: var(--color-white);
}

.section-head--left {
    text-align: left;
}

@media (max-width: 768px) {
    .section-head {
        margin-bottom: 40px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 999px;
    padding: 14px 32px;
    font-family: var(--font-gothic);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: opacity 0.25s, background-color 0.25s;
    white-space: nowrap;
    max-width: 400px;
}

.btn .btn__arrow {
    transition: transform .3s ease;
}

.btn:hover {
    opacity: 0.8;
}

.btn:hover .btn__arrow {
    transform: translateX(6px);
}

.btn--dark {
    background-color: var(--color-main-dark);
    color: var(--color-white);
    border: none;
}

.btn--gold {
    background-color: var(--color-gold);
    color: var(--color-main-dark);
    border: none;
}

.btn--white {
    background-color: var(--color-white);
    color: var(--color-main-dark);
    border: none;
}

.btn--outline-white {
    background-color: transparent;
    color: var(--color-white);
    border: 1.5px solid var(--color-white);
}

.btn--outline-dark {
    background-color: transparent;
    color: var(--color-main-dark);
    border: 1.5px solid var(--color-main-dark);
}

/* Button Arrow Icon */
.btn__arrow {
    width: 28px;
    height: 28px;
    /* border-radius: 50%; */
    /* border: 1.5px solid currentColor; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn__arrow::after {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    /* border-right: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    transform: rotate(45deg) translateX(-1px); */
    background: url('../images/btn_arrow_green.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* Arch Image top corners */
.arch-img {
    border-radius: 100px 100px 0 0;
    overflow: hidden;
}

.arch-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   404 NOT FOUND
============================================= */

.error404-page {
    width: 100%;
}

.error404 {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 120px;
    text-align: center;
}

.error404__inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.error404__number {
    margin: 0;
    font-size: clamp(9rem, 16vw, 16rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #e5e5e5;
}

.error404__en {
    margin: 12px 0 36px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #888;
}

.error404__title {
    margin: 0 0 28px;
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.6;
}

.error404__text {
    margin: 0;
    font-size: 1.6rem;
    line-height: 2.2;
}

.error404__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-width: 280px;
    margin-top: 48px;
    padding: 18px 28px;
    border: 1px solid currentColor;
    border-radius: 50px;
    color: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .3s, color .3s;
}

.error404__button:hover {
    background: #333;
    color: #fff;
}

.error404__arrow {
    font-size: 2rem;
    line-height: 1;
    transition: transform .3s;
}

.error404__button:hover .error404__arrow {
    transform: translateX(5px);
}

/* 404ページのレイアウト調整 */
body.error404 {
    display: block;
}

body.error404 .error404-page {
    display: block;
    width: 100%;
    min-width: 0;
    clear: both;
}

body.error404>.footer {
    width: 100%;
    clear: both;
}

/* SP */
@media (max-width: 768px) {

    .error404 {
        min-height: 60vh;
        padding: 80px 20px 100px;
    }

    .error404__number {
        font-size: clamp(8rem, 25vw, 12rem);
    }

    .error404__en {
        margin: 10px 0 30px;
        font-size: 1.2rem;
    }

    .error404__title {
        margin-bottom: 24px;
        font-size: 2.2rem;
    }

    .error404__text {
        font-size: 1.4rem;
        line-height: 2;
    }

    .error404__text br.pc-only {
        display: none;
    }

    .error404__button {
        min-width: 260px;
        margin-top: 36px;
        padding: 16px 24px;
        font-size: 1.4rem;
    }
}