@charset "utf-8";



* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    color: #000000;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Public Sans", "Zen Kaku Gothic New", sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

#movie {
    scroll-margin-top: 180px;
}

#astro {
    scroll-margin-top: 120px;
}

#address {
    scroll-margin-top: 120px;
}

#access {
    scroll-margin-top: 120px;
}

#navigation {
    scroll-margin-top: -120px;
}

#contact {
    scroll-margin-top: -120px;
}

/*ヘッダー*/

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 100;
}


.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 120px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    width: 100px;
    display: block;
}

.header-site-menu {
    margin-right: 60px;
}

.site-menu-list {
    display: flex;
    gap: 40px;
    list-style: none;
}

.site-menu-list li a,
.footer-ul {
    position: relative;
    display: inline-block;
}

.site-menu-list li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    bottom: -0.05em;
    transform: scale(0, 1);
    transform-origin: center top;
    /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.3s;
    /*変形の時間*/
}

.site-menu-list li a:hover::after {
    transform: scale(1, 1);
    /*ホバー後、x軸方向に1（相対値）伸長*/
}

/* サブメニュー (ul) の初期状態 (非表示) */
.site-menu-list li ul {
    display: none;
    margin: 0;
    padding: 0;

    /* ★修正: li を基準に絶対配置する */
    position: absolute;
    top: 100%;
    /* 親 li の直下に配置 */
    left: 50%;
    /* 親 li の中央に配置 */
    transform: translateX(-50%);
    /* 中央寄せの調整 */

    /* スタイル維持のための追加 */
    z-index: 10;
    background-color: #ffffff;
    white-space: nowrap;
    /* テキストの折り返しを防ぐ */
}

/* ホバーで表示 */
.site-menu-list li:hover ul {
    display: block;
    line-height: 2;
    /* 元のスタイルを維持 */
}

/* サブメニュー内のリンクのスタイルをメインメニューと分ける */
.site-menu-list li ul li a {
    /* メインメニューの Flexbox スタイルを上書きし、縦に並ぶようにする */
    display: block;
    flex-direction: row;
    padding: 5px 10px;
    /* サブメニュー内のパディング */
    text-align: center;
}

.site-menu-list ul li {
    font-size: 13px;
}

.site-menu-list li {
    position: relative;
}

.site-menu-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    position: relative;
}

.site-menu-list li a .en {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.site-menu-list li a .ja {
    font-size: 10px;
    margin-top: 4px;
}



/*フッター*/

.footer-content {
    color: #000000;
    background-color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    margin-top: 150px;
    padding: 0 60px 70px;
    padding-bottom: 70px;
    line-height: 1;
}

.footer-logo {
    display: block;
    position: relative;
    margin-right: 130px;
    padding-bottom: 55px;
    /* 仮のサイズ */
    width: 100px;
}

.footer-logo a {
    display: inline;
}

.footer-info {
    top: 30px;
    margin-right: auto;
    flex-grow: 1;
}

.address {

    line-height: 1.5;
    font-size: 16px;
    font-style: normal;
    margin-right: auto;
}



.footer-copy {
    position: absolute;
    bottom: 40px;
    left: 70px;
}

.footer-copy small {
    font-size: 13px;
    opacity: 0.8;
}

.footer-nav {
    margin-top: 15px;
}

.footer-nav img {
    width: 20px;
    margin-right: 10px
}

.footer-text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.footer-sitemap {
    line-height: 1.7em;
    font-size: 16px;
}

.footer-ul li a,
.footer-ul {
    position: relative;
    display: inline-block;
}

.footer-ul li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: center top;
    /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.3s;
    /*変形の時間*/
}

.footer-ul li a:hover::after {
    transform: scale(1, 1);
    /*ホバー後、x軸方向に1（相対値）伸長*/
}


/*トップへ戻るボタン*/

.footer-pt {
    display: inline-flex;
    align-items: flex-end;
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 150;
}

.footer-pt img {
    display: block;

    /* 仮のサイズ */
    width: 100px;

}

.footer-pt span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    writing-mode: vertical-rl;
    margin-left: 8px;
}

.footer-pt span::before {
    content: "←";
    font-size: 16px;
    transition: transform 0.25s var(--ease);
}

.footer-pt:hover span::before {
    transform: translateY(-5px);
}

/* スマホ用 */

@media (max-width: 800px) {

    .header-inner {
        height: 80px;
        padding: 0 20px;
    }

    .header-logo {
        width: 80px;
        height: auto;
    }

    .toggle-menu-button {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 200;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .toggle-menu-button span {
        display: block;
        position: absolute;
        left: 7px;
        width: 30px;
        height: 2px;
        background-color: #000;
        transition: all 0.3s;
    }

    .toggle-menu-button span:nth-child(1) {
        top: 13px;
    }

    .toggle-menu-button span:nth-child(2) {
        top: 21px;
    }

    .toggle-menu-button span:nth-child(3) {
        top: 29px;
    }

    .toggle-menu-button.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .toggle-menu-button.is-active span:nth-child(2) {
        opacity: 0;
    }

    .toggle-menu-button.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header-site-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        z-index: 150;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        padding: 100px 20px 40px;
        box-sizing: border-box;
    }

    .header-site-menu.is-active {
        transform: translateX(0);
    }

    .site-menu-list {
        display: flex !important;
        flex-direction: column;
        border-top: 1px solid #000;
        gap: 0;
        padding: 0;
        margin: 0;
    }

    .site-menu-list li {
        border-bottom: 1px solid #000;
    }

    .site-menu-list li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 10px;
        font-size: 18px;
        font-weight: bold;
        color: #000;
        text-decoration: none;
    }

    .site-menu-list li a::after {
        content: ">";
        font-weight: normal;
        font-size: 20px;
    }

    .site-menu-list li:hover ul {
        display: none;
    }

    /*フッター*/

    .footer-content {
        flex-direction: column;
        margin-top: 75px;
    }

    .footer-logo {
        order: 1;
        margin-right: auto;
        width: 85px;
        padding: 0;
    }

    .footer-info {
        order: 2;
        flex-grow: 0;
        width: 100%;
    }

    .footer-text {
        flex-direction: column;
    }

    .footer-sitemap {
        order: 1;
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
    }

    .footer-nav {
        padding-top: 5px;
    }

    .address-content {
        order: 2;
        width: 100%;
    }

    .address {
        order: 2;
        font-size: 13px;
        line-height: 2;
        margin-top: 10px;
    }

    .footer-ul {
        font-size: 13px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px;
    }

    .footer-ul li {
        margin-right: 2em;
    }

    /*トップへ戻る*/

    .footer-pt {
        display: none;
    }

}