@charset "utf-8";
:root{
    /* 色の設定 */
    --white: #ffffff;
    --black: #000000;
    --orange: #ff6b35;
    --navy: #1a2b4a;
    --gray: #e3e5ed;
    --textGray: #C9C9C9;

    /* ▼ Topの「ABOUT US」の左側の余白と、下のセクションの縦ラインの縮小具合を揃えるため変数化 */
    --inner-width: min(1200px, 90%);
    --inner-space: calc((100% - var(--inner-width)) / 2);
}
html{
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: clamp(48px,7.94dvw,80px);
}  
*,*::before,*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    width: min(1920px,100%);
    max-width: 1920px;
    margin: 0 auto;
    height: auto;
    background: var(--white);
    color: var(--navy);
    font-family: "Yu Gothic Medium", "Yu Gothic", "YuGothic", "游ゴシック体", "游ゴシック", sans-serif;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0;
    text-align: left;
    overflow-x: hidden;
    padding-top: clamp(48px,7.94dvw,80px);
}

/* ▼ 基本設定。ページごとに個別設定もあり。幅903pxから縮小し始める */
/* h1 */
h1{
    font-size: 3.125rem; /* 50px */
    font-style: normal;
    line-height: 1.2;
}
h2{
    font-size: clamp(1.65rem, 4.42dvw, 2.5rem); /* 26.4px - 40px */
    line-height: 1;
}
h3{
    font-size: clamp(1.5rem, 3.32dvw, 1.875rem); /* 30px */
}
h4{
    font-size: 1.375rem; /* 22px */
}
p{
    font-size: clamp(14px, 2.43dvw, 1.375rem); /* 14px ~ 22px */
    font-style: 500;
}
small{
    font-size: 0.75rem; /* 12px */
    font-weight: 500;
}

/* リンク・ボタン */
a{
    font-size: clamp(14px, 2.43dvw, 1.375rem); /* 14px ~ 22px */
    font-weight: 500;
    text-decoration: none;
    color: var(--navy);
    transition: transform 0.3s ease, opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
button{
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
button:focus{
    outline: none;
}
@media (hover: hover){
    a:hover,
    button:hover{
        cursor: pointer;
        opacity: 0.6;
    }
}
a.is-pressing,
button.is-pressing{
    opacity: 0.6;
}
a:focus,
a:focus-visible,
button:focus,
button:focus-visible{
    opacity: 1;
}

/* 画像 */
img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ▼ 全ページ共通「CONTACT」 */
#contact{
    width: 100%;
    height: 700px;
    position: relative;
    .group-bg{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .content{
        width: 100%;
        height: 100%;
        padding: 158px 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        h2{
            height: clamp(96px,15.5dvw,140px);
            display: flex;
            flex-direction: column;
            align-items: center;
            .main-copy{
                font-size: clamp(2rem, 5.53dvw, 3.125rem);
                margin-bottom: 0.33rem;
            }
            .ja-copy{
                font-size: clamp(1rem, 2.43dvw, 1.375rem);
                font-weight: 500;
                line-height: 2;
                padding-bottom: 0.5em;
                border-bottom: 2px solid var(--orange);
            }
        }
        p{
            text-align: center;
            .br-none{display: none;}
        }
        .read-more{
            width: fit-content;
            height: auto;
            padding: 0.5em 2em;
            background: var(--orange);
            color: var(--white);
            font-weight: 600;
            white-space: nowrap;
            display: flex;
            justify-content: center;
            align-items: center;

            img{
                display: block;
                width: 10px;
                height: auto;
                aspect-ratio: 23/40;
            }
        }
    }
}
@media (max-width: 904px){
    #contact{
        height: auto;
        aspect-ratio: 904/759;
        .content{
            padding: 20% 0;
            gap: 1rem;
        }
    }
}
@media (max-width: 419px){
    #contact .content{
        padding: 10% 0;
        h2 .main-copy{
            margin-bottom: 0;
        }
        p .br-none{
            display: block;
            line-height: 0;
        }
    }
}