/* style.css */
@charset "UTF-8";

body {
    font-family: 'Helvetica Neue', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    font-size: 1.25rem;
    font-family: 'Yu Gothic', '游ゴシック体', 'YuGothic', 'ヒラギノ角ゴ ProN W3',
        'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
}

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

a:hover {
    opacity: 0.6;
}

a,
a:hover,
a:visited,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
}

button {
    outline: none;
    text-decoration: none;
}

button:focus,
button:active {
    outline: none;
    text-decoration: none;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: normal;
}

h3 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.sub-title {
    color: #0082d8;
    font-family: 'Coda Caption';
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0.05rem;
}

.dispSP {
    display: none;
}

.dispPC {
    display: block;
}

@media (max-width: 900px) {
    body {
        font-size: 1rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .dispPC {
        display: none;
    }

    .dispSP {
        display: block;
    }
}

/* ========================
   Header
======================== */
.header {
    background-color: transparent;
    color: #333;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1333;
}

header {
    background: transparent;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header.scrolled {
    background: rgb(255 255 255 / 85%);
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header__inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header__logo {
    font-size: 0;
}

.header__logo img {
    height: 70px;
    width: 233px;
}

.header__nav-list {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header__nav-item--contact {
    background: #1d2577;
    border-radius: 50px;
    padding: 0.5em 2em;
    font-weight: bold;
    color: #fff;
}

.header__nav-item a {
    color: #fff;
    font-weight: bold;
}

header.scrolled .header__nav-item a {
    color: #333;
}

header.scrolled .header__nav-item--contact a {
    color: #fff;
}

.header__nav-item--contact {
    position: relative;
    transition: box-shadow 0.4s, background 0.4s;
    z-index: 1;
}

.header__nav-item--contact:hover {
    box-shadow: 0 0 24px 8px rgba(255, 255, 255, 0.7), 0 0 60px 20px rgba(255, 255, 255, 0.3);
    /* background: rgba(255,255,255,0.08); */
    transition: box-shadow 0.4s, background 0.4s;
}

/* ハンバーガーボタン */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2001;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 1px;
    margin: 2px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
    border: 1px solid #fff;
}

.hamburger span:nth-child(1) {
    width: 1.2rem;
}

.hamburger span:nth-child(2) {
    width: 0.7rem;
}

.hamburger span:nth-child(3) {
    width: 0.4rem;
}

.scroll-btn {
    position: absolute;
    left: 1rem;
    bottom: 0;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.scroll-btn:focus,
.arrow-btn:focus,
.arrow-circle:focus {
    outline: none;
}

.scroll-btn-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    line-height: 1.1;
    writing-mode: vertical-rl;
    margin-bottom: 7px;
    transform: rotate(0deg);
    font-size: 0.75rem;
    font-weight: 700;
}

.scroll-btn-arrow {
    display: block;
    width: 1px;
    height: 60px;
    background: #fff;
    position: relative;
    left: -2px;
}

.fv {
    position: relative;
}

@media (max-width: 900px) {
    .header {
        padding: 10px 0 0;
    }

    .header__logo {
        font-size: 1rem;
    }

    .header__logo img {
        height: 50px;
        width: 166px;
    }

    .hamburger {
        display: flex;
        position: relative;
        align-items: flex-start;
        right: -1rem;
    }

    .hamburger::before {
        content: 'MENU';
        color: #fff;
        font-family: 'Contrail One';
        font-size: 0.75rem;
        font-style: normal;
        font-weight: 400;
        line-height: 6.25rem;
        letter-spacing: 0.03rem;
        position: absolute;
        left: -2rem;
        transition: content 0.3s;
    }

    .scrolled .hamburger::before {
        color: #333;
    }

    /* ハンバーガーメニューが開いた時のスタイル */
    .header__nav.open + .hamburger::before,
    .hamburger.open::before {
        content: 'CLOSE';
        color: #fff;
    }

    .header__nav.open + .hamburger span,
    .hamburger.open span {
        background: #fff;
        border: 1px solid #fff;
    }

    .header__nav.open + .hamburger span:nth-child(1),
    .hamburger.open span:nth-child(1) {
        transform: rotate(35deg) translate(7px, 1px);
        width: 20px;
    }

    .header__nav.open + .hamburger span:nth-child(2),
    .hamburger.open span:nth-child(2) {
        opacity: 0;
        width: 30px;
    }

    .header__nav.open + .hamburger span:nth-child(3),
    .hamburger.open span:nth-child(3) {
        transform: rotate(-35deg) translate(8px, -3px);
        width: 20px;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 50vw;
        height: 100vh;
        background: rgba(29, 37, 119, 1);
        transition: right 0.3s;
        z-index: 2000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .scrolled .hamburger span {
        background: #333;
        border: 1px solid #333;
    }

    .header__nav.open {
        right: 0;
    }

    .header__nav-list {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
        gap: 0;
        width: 100%;
    }

    header.scrolled .header__nav-item a {
        color: #fff;
        width: 100%;
    }

    .header__nav-item {
        width: 100%;
        display: block;
        border-bottom: 1px solid #fff;
    }

    .header__nav-item a {
        position: relative;
        display: inline-block;
        padding: 1rem;
        width: 100%;
        font-weight: 500;
    }

    .header__nav-item a::after {
        content: '';
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: translateY(-50%) rotate(45deg);
    }
    .header__nav-item--contact {
        background: none;
        border-radius: 0;
        padding: 0;
    }
    .header__nav {
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    }

    .scroll-btn-text {
        font-size: 0.75rem;
    }
}

/* ========================
   Footer
======================== */
.footer {
    background-color: #111;
    color: #fff;
    background: url(./../images/footer_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.footer__inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__text {
    color: #3a3f71;
    font-family: 'Contrail One';
    font-size: 4.25rem;
    padding-top: 4rem;
    margin-bottom: 4rem;
    line-height: 1.3;
}

.footer__link {
    color: #353535;
    font-size: 1.125rem;
    line-height: 3.0625rem;
    margin-bottom: 7rem;
}

.footer__copy {
    color: #333;
    font-family: 'Toppan Bunkyu Midashi Gothic', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
    font-size: 1.125rem;
    font-weight: 900;
    background-color: #fff;
    text-align: center;
}

@media (max-width: 900px) {
    .footer__text {
        font-size: 1.2rem;
        padding-top: 2rem;
        margin-bottom: 0rem;
    }

    .footer__link {
        font-size: 0.5rem;
        margin-bottom: 1rem;
    }

    .footer__copy {
        font-size: 0.5rem;
    }
}
