@charset "UTF-8";

* {
    max-width: 1280px;
    margin: 0 auto;
}

/* header */
body { 
    z-index: 1;
}

.header-box {
    position: fixed;/*fixedで固定*/
    right: 0;
    top: 0;
    z-index: 999;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "width" 100;
    background-color: #1C50A1;
    height: 110px;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.header_logo {
    margin-left: 0;
    display: flex;
    align-items: center;
}

.header_logo_img {
    margin: auto;
    max-width: 99%;

}

.hamburger {
    width: 60px;
    height: 100px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger-bg {
    max-width: 1280px;
    position: absolute;
    height: 110px;
    width: 100px;
    background-color: #00B8EE;
    right: 0;
}

.inner {
    width: 50px;
    height: 40px;
    position: relative;
}

.inner-caption {
    color: #fff;
    position: absolute;
    padding: 75px 2px 0 0;
    letter-spacing: 1.5px;
}

.hamburger span {
    position: absolute;
    width: 50px;
    height: 5px;
    background-color: #fff;
    transition: all .5s;
}
.hamburger span:nth-child(1) {
    top: 0;
}
.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
.hamburger span:nth-child(3) {
    bottom: 0;
}
/* ハンバーガーボタンが押されたら */
.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}
/* ナビゲーション */
.navigation {
    position: absolute;
    display: block;
    margin: 0 auto;
    visibility: hidden;
    width: 60%;
    background: #AAE8FA;
    transition: right 0.5s ease;
    z-index: 1000;
    right: 0;
}

.navigation ul {
    list-style-type: none;
    padding: 56px;
}

.navigation ul li a {
    padding: 8px;
    color: #1C50A1;
    text-decoration: none;
}

.navigation ul li a:hover {
    color: #fff;
}

.navigation.active {
    position: absolute;
    display: block;
    margin: 0 auto;
    opacity: 100%;
    visibility: visible;
    z-index: 1000;
}

.nav_title {
    color: #1C50A1;
}

.nav_list-marker {
    color: #1C50A1;
    padding-top: 1rem;
    text-indent: -1.5rem;
}

.nav_list-marker::before {
    content: "●";
    color: #71D7F6;
}

@media screen and (max-width: 1280px) {
    .navigation {
        width: 80%; /* 画面幅が1280px以下の場合、ナビゲーションの幅を80%に設定 */
    }
}

/* footer */

 footer {
    text-align: center;
    font-family: "din-2014", sans-serif;
    font-weight: 400;
    font-style: normal;
 }

.footer-text {
    background:linear-gradient(to right, #B8E2FC, #EEF9FF);
}
.footer-text01 {
    color: #1C50A1;
    font-size: 40px;
    padding-top: 40px;
    padding-bottom: 28px;
}

.footer-text01::before {
    content: "";
    background-image: url(../img/inqury_question_img.png);
    background-size: 100%;
    background-repeat: no-repeat;
    padding-right: 40px;
    margin-right: 4px;
}

.footer-text02 {
    font-size: 16px;
    padding-bottom: 28px;
}
.footer-text03 {
    color: #1C50A1;
    font-size: 28px;
    font-weight: 500;
    padding-bottom: 12px;
}
.footer-text04 {
    font-size: 14px;
    padding-bottom: 40px;
}
.footer-button {
    border: none;
    outline: none;
    background-color: #00B8EE;
    color: #fff;
    font-size: 18px;
    padding: 8px 24px;
    margin-bottom: 12px;
}
.footer-logo {
    margin: 40px auto;
}
.footer-copyright {
    font-size: small;
    color: #fff;
    background-color: #1C50A1;
    padding: 16px;
}

/* main */

.main {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "width" 100;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
}
.top_hero {
    height: 504px;
    background-image: url(../img/hero_bg.png);
    position: relative;
}
.top_hero-caption {
    color: #fff;
    text-align: center;
    font-family: "din-2014", sans-serif !important;
}
.top_h1 {
    padding: 124px 0 8px 0;
    font-size: clamp(44px, 8vw, 86px); 
    font-weight: 600;
    letter-spacing: clamp(2px, 1vw, 8px); 
    text-shadow: 0px 0px 4px #808080;
}
.top_h2 {
    font-size: clamp(24px, 3vw, 36px); 
    font-weight: lighter;
    letter-spacing: 1px;
    text-shadow: 0px 0px 4px #808080;
}
.top_town {
    width: 100%;
    position: absolute;
    bottom: -1px;
}
.top_h3 {
    text-align: center;
    margin: 96px auto;
    font-weight: normal;
}

/* main_menu */

#top_menu a {
    text-decoration: none;
}

.top_menu-lead {
    text-align: center;
    color: #1C50A1;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: -24px;
}
.top_menu-wrap {
    background:linear-gradient(to right, #B8E2FC, #EEF9FF);
    max-width: 85%;
    margin-bottom: 48px;
    padding: 40px;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.menu-item {
    width: 100%;
    height: 240px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.menu-item-img--residence {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/residence.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--residence:hover {
    background-image: url("../img/residence_hover.png");
}
.menu-item-img--access {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/access.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--access:hover {
    background-image: url("../img/access_hover.png");
}
.menu-item-img--travel {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/travel.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--travel:hover {
    background-image: url("../img/travel_hover.png");
}
.menu-item-img--accommodation {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/accommodation.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--accommodation:hover {
    background-image: url("../img/accommodation_hover.png");
}
.menu-item-img--currency {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/currency.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--currency:hover {
    background-image: url("../img/currency_hover.png");
}
.menu-item-img--safety {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/safety.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--safety:hover {
    background-image: url("../img/safety_hover.png");
}
.menu-item-img--tax {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/tax.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--tax:hover {
    background-image: url("../img/tax_hover.png");
}
.menu-item-img--license {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/license.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--license:hover {
    background-image: url("../img/license_hover.png");
}
.menu-item-img--child {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/child.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--child:hover {
    background-image: url("../img/child_hover.png");
}
.menu-item-img--medical {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/medical.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--medical:hover {
    background-image: url("../img/medical_hover.png");
}
.menu-item-img--life {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/life.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--life:hover {
    background-image: url("../img/life_hover.png");
}
.menu-item-img--forjapan {
    display: flex;
    width: 226px;
    height: 168px;
    justify-items: center;
    align-items: center;
    background-image:url("../img/forjapan.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.menu-item-img--forjapan:hover {
    background-image: url("../img/forjapan_hover.png");
}

.menu-item-caption {
    margin-top: 8px;
    height: 60px;
    text-align: center;
    color: #1C50A1;
    font-size: 20px;
    font-weight: 600;
}

html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #00B8EE;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(20%) rotate(-45deg);
}



@media screen and (width <= 1000px) {

.header-box {
    height: 70px;
}

.header_logo {
    width: 30%;
    max-height: 70px;
}

.hamburger {
    width: 60px;
    height: 60px;
}

.hamburger-bg {
    max-width: 100%;
    height: 70px;
}

.inner {
    width: 50px;
    height: 32px;
}

.inner-caption {
    padding: 60px 2px 0 0;
    letter-spacing: 1.5px;
}

.hamburger span {
    width: 50px;
    height: 4px;
}

/* ナビゲーション */
.navigation {
    width: 80%;
}

.navigation ul {
    padding: 36px;
}

.top_hero {
    height: 400px;
}
.top_town {
    width: 100%;
}
.top_h3 {
    font-size: 24px;
    padding: 24px;
}
    }

@media screen and (width <= 600px) {

.header_logo {
    width: 40%;
}

/* ナビゲーション */
.navigation {
    width: 100%;
}

.navigation ul {
    padding: 48px;
}

.top_hero {
    height: 400px;
}
.top_town {
    width: 100%;
}
.top_h3 {
    font-size: 24px;
    padding: 24px;
    text-align: center;
    margin: 40px auto;
    font-weight: normal;
}

.top_menu-lead {
    font-size: 28px;
    margin-bottom: -78px;
    padding: 24px;
}

.menu-grid {
    gap: 8px;
}

.top_menu-wrap {
    padding: 10px;
    padding-top: 100px;
}

.footer-text02 {
    font-size: 16px;
    padding: 0 8px 28px 8px;
}
    }



