@charset "UTF-8";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* comon */
html {
    font-size: 100%;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 400;
    color: #383A45;
    font-size: 16px;
    line-height: 1.8;
    background-color: #fff;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

p {
    font-size: 16px;
}

li {
    list-style: none;
}

a {
    color: #383A45;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

iframe {
    vertical-align: bottom;
}

/* メニューが開いている時 */
body.menu-open,
html.menu-open {
    overflow: hidden;
}

/* 共通パーツとして定義 */
.logo-separator {
    width: clamp(100px, 10vw, 200px); 
    height: 4px;
    background: linear-gradient(to right, #2ecc71, #3498db, #e67e22, #9b59b6);
    border-radius: 2px;
    margin: 20px auto;
}

.wrapper {
    width: 100%;
    max-width: 1240px;
    padding: 0 20px;
    margin: 0 auto;
}

.wrapper-l {
    width: 100%;
    max-width: 1440px;
    padding: 0 20px;
    margin: 0 auto;
}

/* section-title */
.section-title-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 80px);
}

/* 1. 日本語タイトル（大きく、主役） */
.jp-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: #001642;
    margin-bottom: 4px;
    letter-spacing: 0.1em;
}

/* 2. 中央から伸びるライン */
.title-line {
    position: relative;
    width: 0; 
    height: 1px;
    border-radius: 3px;
    background-color: #001642;
    margin-bottom: 10px;
    /* 0.8秒かけて、スキーのターンのような緩急で伸ばす */
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* JSでクラスがついたら伸ばす */
.section-title-area.is-active .title-line {
    width: 80%;
}

/* 3. 英語タイトル（下に、控えめに） */
.en-title {
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    color: #001642;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.title {
    color: #001642;
}

/* btn */
.btn-area {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 25px;    
    background-color: #e67e22; 
    color: #fff;              
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn:hover {
    background-color: #f39c12;
    transform: translateY(-2px);
}

/* header */
#header {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0 8px 6px -6px rgba(0, 22, 66, 0.3);
    line-height: 1;
}

#header .header-inner {
    height: 90px;
    display: flex;
    align-items: center;
}

#header .logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 0;
}

#header .logo {
    height: 54px;
}

#header .logo-title {
    line-height: 1.2;
}

#header .logo-title .jp {
    display: block;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.04em;
    color: #001642;
}

#header .logo-title .en {
    display: block;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    margin-top: 4px;
    color: #00a3ee;
}

#header .navi {
    display: flex;
    align-items: center;
}

#header .navi .menu {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 20px;
}

#header .navi .menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    font-size: 17px;
    color: #001642;
    font-weight: 500;
    position: relative;
}

#header .navi .menu a span {
    font-size: 11px;
    color: #00a3ee;
    letter-spacing: 0.05em;
    margin-top: 10px;
}

#header .navi .menu li:not(.menu-contact) a::after {
    content: "";
    position: absolute;
    left: 0;
    top: 54%;
    width: 0;
    height: 2px;
    background: #00a3ee;
    transition: 0.3s;
}

#header .navi .menu li:not(.menu-contact) a:hover::after {
    width: 100%;
}

#header .navi .menu li a:hover {
    color: #00a3ee;
}

#header .navi .menu li span:hover {
    color: #00a3ee;
    opacity: 1;
}

#header .navi .menu .menu-contact a {
    border: 2px solid #001642;
    color: #001642;
    padding: 12px 18px;
    border-radius: 30px;
    transition: 0.3s;
}

#header .navi .menu .menu-contact a:hover {
    background-color: #001642;
    color: #fff;
}

#header .mask {
    display: none;
}


main {
    padding-top: 90px;
}

/* footer */
#footer {
    background-color: #001642;
    color: #e0e6ed;
    padding: 60px 0 20px;
}

#footer .footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

#footer .footer-logo {
    font-size: clamp(1.2rem, 1.5vw + 1rem, 1.5rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

#footer .footer-nav ul {
    padding: 0;
}

#footer .footer-nav li {
    margin-bottom: 10px;
}

#footer .footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

#footer .footer-nav a:hover {
    opacity: 0.7;
}

#footer .contact-text span {
    display: block;
    font-size: 0.8rem;
    margin-top: 10px;
}

#footer .footer-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #e67e22;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

#footer .footer-btn:hover {
    background-color: #f39c12;
    transform: translateY(-2px);
}

#footer .copyright {
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* page-header */
.page-header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.page-header .img {
    height: 100%;
    line-height: 0;
}

.page-header .img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.page-header .page-title-area {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    position: absolute;
    top: 0;
    left: 0;
}

.page-header .page-title {
    text-align: center;
    margin: 0;
}

.page-header .page-title-area .page-title .ja {
    display: block;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    color: #003366;
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 5px rgba(255, 255, 255, 1);
}

.page-header .page-title-area .page-title .en {
    display: block;
    letter-spacing: 0.05em;
    font-size: clamp(18px, 2.5vw, 28.8px);
    font-weight: 500;
    color: #e67e22;
    text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}


/* 下層ページ用のセクションタイトルエリア */
.sub-section-title-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: clamp(40px, 5vw, 60px);
    overflow: hidden;
}

/* 英語タイトル（大きく、装飾的に） */
.sub-en-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    color: rgba(0, 22, 66, 0.1);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: -10px;
}

/* 日本語タイトル（実質的な見出し） */
.sub-jp-title-wrap {
    display: flex;
    align-items: center;
    width: 100%;
}

.sub-jp-title {
    font-size: 18px;
    font-weight: 700;
    color: #001642;
    white-space: nowrap;
    margin-right: 20px;
}

/* 日本語の横から右端まで伸びるライン */
.sub-title-line {
    flex-grow: 1;
    height: 1px;
    background-color: #001642;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* JSでクラスがついたら動かす */
.sub-section-title-area.is-active .sub-title-line {
    transform: scaleX(1);
}


/*----------------------------
タブレット
-----------------------------*/

@media screen and (max-width: 1024px) {
    main {
        padding-top: 80px;
    }

    /* header */
    #header {
        height: 80px;
        padding: 0 24px;
    }

    #header .logo-wrap {
        gap: 10px;
    }

    #header .logo {
        height: 48px;
    }

    #header .logo-title .jp {
        font-size: 22px;
    }

    #header .logo-title .en {
        font-size: 11px;
    }

    /* ハンバーガーメニュー(中のメニュー)の設定 */
    #header .navi {
        width: 80%;
        height: 100vh;
        background-color: #fff;
        position: fixed;
        top: 0;
        left: -120%;
        z-index: 20;
        transition: all 0.6s;
    }

    #header .navi.active {
        left: 0;
    }

    #header .navi .menu {
        width: 100%;
        height: 100vh;
        flex-direction: column;
        padding: 60px 0;
        overflow: auto;
    }

    #header .navi .menu li:not(.menu-contact) a::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 0;
        height: 2px;
        background: #00a3ee;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    /* ハンバーガーメニュー(ボタン)の設定 */
    #header .hamburger {
        width: 50px;
        height: 50px;
        cursor: pointer;
        position: fixed;
        top: 8px;
        right: 10px;
        z-index: 30;
    }

    #header .hamburger span {
        width: 30px;
        height: 2px;
        background-color: #001642;
        display: inline-block;
        position: absolute;
        left: 10px;
        transition: transform .35s cubic-bezier(.4, 0, .2, 1),opacity .2s;
    }

    #header .hamburger span:nth-of-type(1) {
        top: 16px;
    }

    #header .hamburger span:nth-of-type(2) {
        top: 25px;
    }

    #header .hamburger span:nth-of-type(3) {
        top: 34px;
    }

    #header .hamburger.active span:nth-of-type(1) {
        top: 24px;
        transform: rotate(-45deg);
    }

    #header .hamburger.active span:nth-of-type(2) {
        transform: scaleX(0);
    }

    #header .hamburger.active span:nth-of-type(3) {
        top: 24px;
        transform: rotate(45deg);
    }


    /* マスクの設定 */
    #header .mask.active {
        width: 100%;
        height: 100vh;
        background-color: #fff;
        display: block;
        opacity: 0.8;
        position: fixed;
        top: 0;
        left: 0;
    }

    /* footer */
    .footer-flex {
        gap: 20px;
    }

    .footer-left {
        flex: 0 0 25%;
    }

    .footer-nav {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .footer-right {
        flex: 1;
        max-width: 45%;
        text-align: left;
    }

}

/*----------------------------
スマートフォン
-----------------------------*/

@media screen and (max-width: 767px) {
    main {
        padding-top: 70px;
    }

    /* header */
    #header {
        height: 70px;
        padding: 0 16px;
    }

    #header .logo-wrap {
        gap: 6px;
    }

    #header .logo {
        height: 42px;
    }

    #header .logo-title .jp {
        font-size: 18px;
    }

    #header .logo-title .en {
        font-size: 10px;
    }

    /* footer */
    #footer .footer-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-left,
    .footer-nav,
    .footer-right {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .footer-nav {
        white-space: normal;
    }

    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
        padding: 0;
    }

    .footer-nav li {
        margin-bottom: 0;
    }


    /* page-header */
    .page-header .img img {
        height: 240px;
    }
    
}