@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans+JP:wght@100..900&display=swap');

html {
    font-size: 100%;
}

body {
    background-color: #F9F7F2;
    color: #4D4D4D;
    font-family: "Noto Sans JP", sans-serif;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

li {
    list-style: none;
}

a {
    color: #305D6E;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

iframe {
    vertical-align: bottom;
}

.en {
    font-family: "Courier Prime", monospace;
}

#header-area {
    display: flex;
    padding: 50px;
    margin-bottom: 50px;
}

/* ヘッダー */

#header-area .header {
    max-width: 130px;
}

#header-area .header .logo {
    margin-bottom: 50px;
}

#header-area .header .logo a {
    display: block;
}

#header-area .header .navi .global-nav {
    text-align: center;
}

#header-area .header .navi .global-nav li {
    font-size: 14px;
    margin-bottom: 30px;
}

/* メインビジュアル */

#header-area .mainvisual {
    width: 100%;
    margin-left: 50px;
    position: relative;
    overflow: hidden;
}

#header-area .mainvisual img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* フワッと切り替え */
}

#header-area .mainvisual img.active {
    opacity: 1;
    position: relative;
}

.wrapper {
    max-width: 1040px;
    padding: 0 20px;
    margin: 0 auto;
}

.section-title-h {
    letter-spacing: 0.1em;
}

.section-title-h .ja {
    font-size: 28px;
    font-weight: normal;
    color: #305D6E;
    margin-bottom: 5px;
}

.section-title-h .en {
    font-size: 14px;
    font-weight: normal;
    color: #305D6E;
}

.section-title-v {
    letter-spacing: 0.1em;
    writing-mode: vertical-lr;
}

.section-title-v .ja {
    font-size: 28px;
    font-weight: normal;
    color: #305D6E;
    margin-bottom: 5px;
}

.section-title-v .en {
    font-size: 14px;
    font-weight: normal;
    color: #305D6E;
}

.btn {
    width: 100%;
    max-width: 200px;
    border: solid 1px #305D6E;
    border-radius: 30px;
    display: block;
    font-size: 14px;
    padding: 10px 0;
    position: relative;
    text-align: center;
}

.btn::before {
    content: "";
    width: 25px;
    height: 1px;
    background-color: #305D6E;
    position: absolute;
    top: 20px;
    right: 15px;
}

.btn::after {
    content: "";
    width: 8px;
    height: 1px;
    background-color: #305D6E;
    position: absolute;
    top: 18px;
    right: 14px;
    transform: rotate(35deg);
}

.btn:hover {
    background-color: #305D6E;
    color: #fff;
}

.btn:hover::before {
    background-color: #fff;
}

.btn:hover::after {
    background-color: #fff;
}

#access {
    background-color: #F3F0E7;
    padding: 80px 0;
}

#access .inner {
    display: flex;
}

#access .info {
    font-size: 14px;
    margin-right: auto;
}

#access .info dt {
    font-weight: bold;
    margin-bottom: 5px;
}

#access .info dd {
    margin-bottom: 10px;
}

#access .map {
    width: 100%;
    max-width: 580px;
    height: 480px;
    margin: 0 40px;
}

#access .map iframe {
    width: 100%;
    height: 100%;
}

#footer .menu-area {
    padding: 40px 0 60px;
}

#footer .menu-area .logo {
    max-width: 130px;
    margin: 0 auto 50px;
}

#footer .menu-area .footer-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#footer .menu-area .footer-menu li {
    font-size: 14px;
    margin: 0 15px;
}

#footer .menu-area .sns {
    display: flex;
    justify-content: center;
}

#footer .menu-area .sns li {
    font-size: 14px;
    margin: 0 15px;
}

#footer .copyright {
    background-color: #E2DACC;
    font-size: 10px;
    padding: 20px 0;
    text-align: center;
}

#header-area .page-visual {
    width: 100%;
    margin-left: 50px;
    position: relative;
}

#header-area .page-visual img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    z-index: 1;
}

/* ← 白いもやを上に重ねる */
#header-area .page-visual::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    /* 白 + 透明度40% */
    z-index: 2;
}

#header-area .page-visual .page-title {
    width: 100%;
    max-width: 300px;
    background-color: #F9F7F2;
    padding: 10px 0;
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 30px;
    z-index: 3;
}

#header-area .page-visual .page-title::before {
    content: "";
    position: absolute;
    top: 50%;
    /* 高さの中央 */
    left: -20px;
    /* 左に飛び出す */
    transform: translateY(-50%);
    /* 中央に揃える */
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 20px solid #F9F7F2;
    /* タイトル背景と同じ色 */
}

#header-area .page-visual .page-title .ja {
    display: block;
    color: #305D6E;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 5px;
}

#header-area .page-visual .page-title .en {
    display: block;
    color: #305D6E;
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 0.1em;
}

/*-----------------------------------
スマートフォン
-----------------------------------*/
@media screen and (max-width:767px) {

    /*======max-width:767px======*/

    #header-area {
        flex-direction: column;
        padding: 20px;
        margin-bottom: 40px;
    }

    #header-area .header {
        max-width: 100%;
        margin-bottom: 20px;
    }

    #header-area .header .logo {
        max-width: 120px;
        margin: 0 auto;
    }

    #header-area .mainvisual,
    #header-area .page-visual {
        margin-left: 0;
    }

    #header-area .mainvisual img,
    #header-area .page-visual img {
        height: auto;
        object-fit: contain;
    }

    #header-area .header .hamburger {
        width: 50px;
        height: 50px;
        background-color: #305D6E;
        border-radius: 10px;
        cursor: pointer;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 20;
    }

    #header-area .header .hamburger span {
        width: 30px;
        height: 2px;
        background-color: #fff;
        border-radius: 1px;
        display: inline-block;
        position: absolute;
        left: 10px;
        transition: all 0.4s;
    }

    #header-area .header .hamburger span:nth-of-type(1) {
        top: 16px;
    }

    #header-area .header .hamburger span:nth-of-type(2) {
        top: 25px;
    }

    #header-area .header .hamburger span:nth-of-type(3) {
        top: 34px;
    }

    #header-area .header .navi {
        width: 100%;
        height: 100vh;
        background-color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        opacity: 0;
        visibility: hidden;
    }

    #header-area .header .navi .global-nav {
        width: 100%;
        height: 100vh;
        padding: 80px 0;
        overflow: auto;
    }

    #header-area .header .navi.active {
        opacity: 1;
        visibility: visible;
        transition: all 0.6s;
    }

    #header-area .header .hamburger.active span:nth-of-type(1) {
        top: 24px;
        transform: rotate(-45deg);
    }

    #header-area .header .hamburger.active span:nth-of-type(2) {
        opacity: 0;
    }

    #header-area .header .hamburger.active span:nth-of-type(3) {
        top: 24px;
        transform: rotate(45deg);
    }

    .section-title-h .ja {
        font-size: 22px;
        margin-bottom: 0;
    }

    .section-title-h .en {
        font-size: 10px;
    }

    .section-title-v {
        margin-bottom: 20px;
        writing-mode: horizontal-tb;
    }

    .section-title-v .ja {
        font-size: 22px;
        margin-bottom: 0;
    }

    .section-title-v .en {
        font-size: 10px;
    }

    #access {
        padding: 60px 0;
    }

    #access .inner {
        flex-direction: column-reverse;
    }

    #access .info dd:last-child {
        margin-bottom: 0;
    }

    #access .map {
        height: 240px;
        margin: 0 0 20px;
    }

    #footer .menu-area {
        padding: 30px 0;
    }

    #footer .menu-area .logo {
        max-width: 120px;
        margin: 0 auto 30px;
    }

    #footer .menu-area .footer-menu li {
        font-size: 12px;
        margin: 0 6px;
    }

    #footer .menu-area .sns li {
        font-size: 12px;
        margin: 0 10px;
    }

    #header-area .page-visual .page-title {
        max-width: 180px;
        line-height: 0.8;
    }

    #header-area .page-visual .page-title .ja {
        font-size: 10px;
    }

    #header-area .page-visual .page-title .en {
        font-size: 18px;
    }

}