/*
Theme Name: an-portal-child
Description: an-portalの子テーマです
Author: inherit
Author URI: 
Template: an-portal
Version: 1.0.0
Text Domain:  an-portal
*/

/* 
-------------------------------------
Reset or Normalize Styles: 
-------------------------------------
*/
/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
th,
td,
li,
span {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

img {
    width: 100%;
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* 
-------------------------------------
Variables & Custom Properties:
-------------------------------------
*/

:root {
    --site-padding-inline: 30px;
    --site-width: calc(1100px + (var(--site-padding-inline) * 2));
    --full-width: 100%;
    --header-width: 250px;
    --main-color: #a40b5d;
    --sub-color: #cf9846;
    --icon-color: #7a4171;
    --kyoto-color: #965faa;
    --tokyo-color: #00a040;
    --osaka-color: #000099;
    --nagoya-color: #4068b1;
    --area-text: 2.6vw;
    /* --area-text-en: 1.4vw; */
    --area-text-en: 1.6vw;
    --black: #333;
    --site-title: 1.3rem;
    --page-title: 1.4rem;
    --news-title: 1rem;
    --news-meta: 1.2rem;
    --copy-right: 12px;
    --pagination-font: .9rem;
    --ft-xxl: 3rem;
    --ft-10: 2rem;
    --ft-9: 1.9rem;
    --ft-8: 1.8rem;
    --ft-7: 1.7rem;
    --ft-6: 1.6rem;
    --ft-5: 1.5rem;
    --ft-4: 1.4rem;
    --ft-3: 1.3rem;
    --ft-2: 1.2rem;
    --ft-1: 1.1rem;
    --ft-normal: 1rem;
    --global--font-primary: "Noto Serif JP", serif;
}

.home {
    --header-width: 100%;
}

/* 
-------------------------------------
Base/Global Styles: 
-------------------------------------
*/
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    color: var(--black);
    font-size: 1rem;
    font-family: var(--global--font-primary);
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    line-height: 1.7;
    letter-spacing: 1.2px;
    background-image: url("/wp-content/uploads/2024/06/background-an.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

::selection {
    background: rgb(164 10 94 / 30%);
    color: #000;
}

::-moz-selection {
    background: rgb(164 10 94 / 30%);
    color: #000;
}

::-webkit-scrollbar-track {
    background: #f6f4f9;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: #a40a5e !important;
    border-radius: 5px;
}

/* 
-------------------------------------
Typography:
-------------------------------------
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    font-family: var(--global--font-primary);
}

h1 {
    font-size: var(--ft-6);
}

h2 {
    font-size: var(--ft-5);
}

h3 {
    font-size: var(--ft-4);
}

h4 {
    font-size: var(--ft-3);
}

h5 {
    font-size: var(--ft-2);
}

h6 {
    font-size: var(--ft-1);
}

p,
li,
th,
td,
figcaption,
q,
label,
span,
time {
    font-size: var(--ft-normal);
    font-family: var(--global--font-primary);
}

p {
    margin-bottom: 1rem;
}

li {
    position: relative;
    margin-bottom: 1.5rem;
}

ul li {
    list-style: none;
}

a,
button {
    color: inherit;
    text-decoration: none;
    font-family: var(--global--font-primary);
    border: unset;
    cursor: pointer;
    transition: all .3s;
    outline: none;
}

/* 
-------------------------------------
Layouts & Grids:
-------------------------------------
*/
.l-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--header-width);
    flex-shrink: 0;
    min-height: 100dvh;
    min-height: 100vh;
    background-color: rgb(255 255 255 / 35%);
}

.home .l-header {
    position: relative;
}

.l-header__container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto 20px;
}

.l-contents {
    width: calc(100% - var(--header-width));
    margin-left: var(--header-width);
}

.home .l-contents {
    width: 100%;
    margin-left: 0;
}

.l-container {
    position: relative;
}

.l-container__full-width {
    width: var(--full-width);
}

.l-container__site-width {
    width: var(--site-width);
    max-width: 100%;
    padding-inline: var(--site-padding-inline);
    margin-inline: auto;
}

.site-content {
    /* min-height: 100vh; */
}

.l-hero {
    position: relative;
    /* padding: 2rem var(--site-padding-inline) 0; */
    margin-bottom: 3rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.l-title-bar {
    height: 150px;
    background: url(/wp-content/themes/an-portal-child/img/titlebar-back.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.l-main {
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.l-page {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* min-height: 100vh; */
    background-color: rgba(122, 65, 113, .15);
}

.l-content {
    margin-block: 0 auto;
}

.site-footer {
    width: var(--site-width);
    max-width: 100%;
    padding: 0 var(--site-padding-inline);
    margin: 0 auto;
}

/* 
-------------------------------------
Components/Modules:
-------------------------------------
*/
/*-----------------------------------
            Button
-----------------------------------*/
.c-button {
    display: block;
    width: 15rem;
    color: #fff;
    text-align: center;
    padding: .5rem 1rem;
    background-color: var(--black);
}

.c-button__back {
    margin: 0 auto;
}

/*-----------------------------------
            Lines
-----------------------------------*/
.underline-hand {
    width: 100%;
    height: 2px;
    margin-bottom: 1rem;
    background-repeat: repeat-x;
    background-size: 0.6em 0.2em, 1.6em 0.2em, 3.4em 0.2em, 3.6em 0.2em;
    background-position: right bottom;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(246, 89, 115, 0)), color-stop(0.1, rgba(246, 89, 115, 0.02)), color-stop(0.5, rgba(150, 150, 150, 0.2)), color-stop(0.98, rgba(246, 89, 115, 0)), to(rgba(246, 89, 115, 0)));
    background-image:
        -webkit-radial-gradient(center center, 0.2em 0.1em, rgba(150, 150, 150, 0.2) 0, rgba(246, 89, 115, 0) 0.1em, rgba(246, 89, 115, 0) 0.2em),
        -webkit-radial-gradient(center center, 0.4em 0.1em, rgba(150, 150, 150, 0.2) 0, rgba(246, 89, 115, 0) 0.3em, rgba(246, 89, 115, 0) 0.4em),
        -webkit-radial-gradient(center center, 0.7em 0.1em, rgba(150, 150, 150, 0.2) 0, rgba(246, 89, 115, 0) 0.6em, rgba(246, 89, 115, 0) 0.7em),
        -webkit-radial-gradient(center center, 7.1em 0.1em, rgba(150, 150, 150, 0.2) 0, rgba(246, 89, 115, 0) 7em, rgba(246, 89, 115, 0) 7.1em);
    background-image:
        radial-gradient(0.2em 0.1em at center center, rgba(150, 150, 150, 0.2), rgba(246, 89, 115, 0)),
        radial-gradient(0.4em 0.1em at center center, rgba(150, 150, 150, 0.2), rgba(246, 89, 115, 0)),
        radial-gradient(0.7em 0.1em at center center, rgba(150, 150, 150, 0.2), rgba(246, 89, 115, 0)),
        radial-gradient(7.1em 0.1em at center center, rgba(150, 150, 150, 0.2), rgba(246, 89, 115, 0));
}

/*-----------------------------------
            Header
-----------------------------------*/
.l-header .header-info {
    padding: 0 20px;
    margin-block: 5px;
}

.l-header .custom-logo {
    min-width: 100%;
}

.logo-info {
    display: flex;
    padding: 0 12px;
    margin: 5px auto 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #000 !important;
    justify-content: center;
    align-items: center;
    letter-spacing: 1.2px;
}

.logo-info:before,
.logo-info:after {
    content: "";
    width: 15px;
    height: 1px;
    background: var(--black);
}

.logo-info:before {
    margin-right: 10px;
}

.logo-info:after {
    margin-left: 10px;
}

.c-navigation {
    margin: 0;
}

.header-navi {
    margin-bottom: 1rem;
}

.c-navigation .menu-item {
    margin-bottom: 0;
    transition: all .3s;
}

.c-navigation__header .menu-item {
    display: flex;
    min-height: 35px;
}

.c-navigation__header .wpml-ls-flag {
    width: 18px;
    display: inline;
    vertical-align: baseline;
}

.c-navigation__header .menu-link {
    font-size: 16px;
    padding-inline: 30px;
}

.c-navigation__header .sub-menu {
    border-top-width: 2px;
    border-bottom-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-color: var(--ast-global-color-0);
    border-style: solid;
}

.l-header .sns-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.l-header .sns-icon-wrapper a {
    display: flex;
    width: auto;
    align-items: center;
    justify-content: center;
    color: #7a4171;
    margin: 0 10px;
    border-radius: 3px;
    font-size: 24px;
}

/*-----------------------------------
            Title Bar
-----------------------------------*/

.page-title-wrapper {
    text-align: center;
    margin: 50px auto;
    position: relative;
}

.page-title-wrapper .page-title:after {
    content: "";
    width: 50px;
    height: 2px;
    border-radius: 100vw;
    background: #7a4171;
    display: block;
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
}

.page-title {
    font-size: var(--page-title);
    font-weight: 700;
    margin-bottom: 1rem;
}

/*-----------------------------------
            Hero
-----------------------------------*/
.l-hero__info {
    position: absolute;
    display: block;
    width: 30%;
    top: 1rem;
    left: 5%;
    z-index: 1000;
}

.l-hero__info--row {
    display: block;
    width: 100%;
    padding: 4% 2%;
    background-color: rgb(255 255 255 / 75%);
    border-radius: 5px;
}

.l-hero__info--row:first-child {
    margin-bottom: 1.5rem;
}

.l-hero__info .custom-logo {
    display: block;
    width: 70%;
    max-width: 300px;
    max-height: none;
    margin: 0 auto;
}

.l-hero__info .description {
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.l-hero__info .sns-icon-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
}

.l-hero__info .sns-link {
    display: inline-flex;
    margin-inline: 1rem;
}

.l-hero__info .sns-link .sns-icon {
    color: var(--icon-color);
    font-size: 1.8rem;
}

/*-----------------------------------
            Map
-----------------------------------*/

.section-map .japan-map {
    display: block;
    /* width: 65%;
    max-width: 100%; */
    width: auto;
    max-width: 100%;
    max-height: 100dvh;
    max-height: 100vh;
    padding-block: 1%;
    margin: 0 10% 0 auto;
    overflow: hidden;
}

.section-map {
    display: block;
}

.area-text {
    display: none;
    fill: var(--main-color);
    font-size: min(var(--area-text), 3rem);
}

html[lang="en-US"] .area-text {
    display: none;
    fill: var(--main-color);
    font-size: min(var(--area-text-en), 2.4rem);
}

.area-back {
    /* fill: #d2bdd9; */
    fill: #ede6ed;
    stroke: #7a7a7a;
    stroke-width: 3px;
    opacity: .9;
}

.area-name-box {
    fill: #fff;
    opacity: .8;
}

.map-link .area-back {
    fill: var(--main-color);
    transition: all 0.2s;
}

.map-link .area-text {
    display: block;
    fill: #fff;
}

.map-link .area-line {
    display: block;
    fill: none;
}


html[lang="en-US"] .map-link .area-text {
    display: block;
    fill: var(--main-color);
}

.map-link:hover .area-back {
    fill: var(--kyoto-color);
}

.no-available .area-back {
    fill: #ede6ed;
}

.area-line {
    display: none;
    fill: none;
    stroke: #fff;
    stroke-width: 6px;
    stroke-miterlimit: 10;
}

.area-line.show {
    display: block;
}

/*-----------------------------------
            News
-----------------------------------*/

/*-----------------------------------
            news-Swiper
-----------------------------------*/
:root {
    --news-label-width: 8rem;
    --page-link-width: 10rem;
    --slide-height: 40px;
}

.section-news.with-swiper {
    padding: 1rem;
    margin-block: 0 3rem;
    background-color: rgb(255 255 255 / 35%);
    border-radius: 5px;
}

.section-news.with-swiper .news-contents {
    display: flex;
    align-items: stretch;
    height: var(--slide-height);
    overflow: hidden;
}

.section-news.with-swiper .news-label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--news-label-width);
    font-size: var(--ft-normal);
    flex-shrink: 0;
    line-height: 2;
    margin: 0 1rem 0 0;
    border: solid 1px;
}

.news-swiper {
    width: calc(100% - (var(--news-label-width) + var(--page-link-width)));
    height: var(--slide-height);
    overflow: hidden;
}

.news-swiper .swiper-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.news-swiper .swiper-slide {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
}

.news-swiper .news-meta {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    font-size: 1rem;
    margin-right: .5rem;
}

.timestamp {
    font-size: inherit;
    font-weight: 700;
}

/* .new-badge {
    color: #fff;
    font-size: .8rem;
    text-align: center;
    line-height: 1.3;
    padding: 0 .5rem;
    border-radius: 2px;
    background: var(--main-color);
} */

.area-label {
    color: #fff;
    text-align: center;
    margin-right: 1rem;
    padding: 0 1rem;
    background-color: #777;
    border-radius: 2px;
    transition: all .3s;
}

.kyoto {
    background-color: var(--kyoto-color);
}

.tokyo {
    background-color: var(--tokyo-color);
}

.osaka {
    background-color: var(--osaka-color);
}

.nagoya {
    background-color: var(--nagoya-color);
}

.news-swiper .news-slide .text-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    line-height: 2rem;
}

.news-swiper .news-title {
    width: 100%;
    margin-bottom: 0;
}

.news-swiper .news-link {
    display: block;
    width: 80%;
    max-width: 580px;
    height: 100%;
    font-size: var(--news-title);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--page-link-width);
    font-size: var(--ft-normal);
    text-align: center;
    background: url(/wp-content/themes/an-portal-child/img/gold-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}

.news-page-link .fas {
    font-size: .8rem;
    line-height: 2;
    margin-left: 1rem;
}

/*-------------News Page-----------*/
.with-list .news-list {
    margin-bottom: 5rem;
}

.with-list .news-item {
    display: flex;
    padding: 1rem;
    margin-bottom: 2rem;
    background-color: rgb(255 255 255 / 35%);
}

.news-item .img-wrap {
    width: 20%;
    margin-right: 5%;
}

.news-item .img-wrap img {
    object-fit: contain;
}

.with-list .text-wrap {
    width: calc(100% - 25%);
    padding-top: 1rem;
}

.with-list .news-meta {
    font-size: var(--news-meta);
    margin-right: 0;
    margin-bottom: .7rem;
}

.with-list .sepa-line {
    width: auto;
    height: 3px;
    margin-bottom: 1rem;
}

.news-item h4 {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
}

.news-item .news-title {
    font-size: var(--news-title);
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 20px;
}

/*-----------------------------------
            Modal
-----------------------------------*/
.remodal-close {
    color: #fff;
    border-radius: 0;
    background: var(--main-color);
}

.modal-image {
    margin-bottom: 1rem;
}

.modal-table {
    width: 100%;
    font-size: 0.8rem;
}

.modal-table th {
    width: 25%;
    max-width: 10rem;
    font-size: inherit;
    background-color: #e2d8e3;
}

.modal-table td {
    font-size: inherit;
    text-align: left;
}

.modal-site-link {
    display: block;
    width: 20rem;
    color: var(--black);
    font-size: var(--ft-1);
    padding: .3rem 2rem;
    margin: 0 auto 1rem;
    background: url(/wp-content/themes/an-portal-child/img/gold-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}

.close-button {
    display: block;
    width: 20rem;
    color: #fff;
    font-size: var(--ft-1);
    padding: .3rem 2rem;
    margin: 0 auto 1rem;
    border-radius: 0;
}

/*-----------------------------------
            Tab
-----------------------------------*/
.areas-tabs {
    width: 100%;
}

.tab-titles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-titles li {
    width: calc(100% / 2 - 5px);
    margin-bottom: 10px;
}

.tab-titles li a {
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    background-color: #f1f1f1;
    border-bottom: none;
    cursor: pointer;
}

.tab-titles li a.active {
    color: #fff;
    background-color: var(--main-color);
}

.tab-contents {
    padding: 10px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.area-thumbnail {
    margin-bottom: 20px;
}

.area-thumbnail img {
    max-width: 100%;
    height: auto;
}


/*-----------------------------------
            WPML
-----------------------------------*/

.wpml-ls-legacy-dropdown {
    width: 20rem;
    max-width: 100%;
    margin: 0 auto;
}

.wpml-ls-legacy-dropdown a {
    padding: 10px;
    border: unset;
}

.wpml-ls-flag {
    width: 2rem;
}

.wpml-ls-display {
    font-size: inherit;
}

/*-----------------------------------
            Footer
-----------------------------------*/

.site-footer .site-info {
    display: block;
    width: var(--site-width);
    border-top: none;
    padding: 0;
    margin: 0 auto;
}

.privacy-policy-contents .text {
    text-align: right;
    margin-bottom: 0;
}

.ast-footer-copyright p {
    font-size: var(--copy-right);
}

/*-----------------------------------
            Breadcrumbs
-----------------------------------*/
.c-breadcrumbs {
    margin-bottom: 0;
}

.c-breadcrumbs span {
    font-size: 1rem;
}

/*-----------------------------------
            Pagination
-----------------------------------*/
.c-pagination {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.c-pagination .page-numbers {
    display: block;
    color: #fff;
    font-size: var(--pagination-font);
    line-height: 1.7;
    padding: .2rem 1rem;
    margin-inline: .5rem;
    background-color: var(--black);
    border: solid 1px var(--black);
}

.c-pagination .page-numbers.current {
    color: #333;
    background-color: unset;
}



/*-----------------------------------
            Scroll top
-----------------------------------*/
#ast-scroll-top {
    right: 3rem;
    bottom: 3rem;
    width: 3rem;
    height: 3rem;
    font-size: unset;
    border: none !important;
    background-color: unset;
    transition: all .3s;
}

.to-top-text {
    position: relative;
    top: -.5rem;
    font-size: 14px;
    font-weight: 700;
    color: #a40a5e;
}

/* 
-------------------------------------
Animation:
-------------------------------------
*/

/* 
-------------------------------------
Utilities/Helpers:
-------------------------------------
*/

.hidden {
    display: none;
}

.mobile-hide {
    display: block;
}

.mobile-only {
    display: none;
}

.full-width {
    width: 100%;
}

.bold {
    font-weight: 700;
}

.mg-t0 {
    margin-top: 0;
}

.mg-t1 {
    margin-top: 1rem;
}

.mg-t2 {
    margin-top: 2rem;
}

.mg-t3 {
    margin-top: 3rem;
}

.mg-b0 {
    margin-bottom: 0;
}

.mg-b1 {
    margin-bottom: 1rem;
}

.mg-b2 {
    margin-bottom: 2rem;
}

.mg-b3 {
    margin-bottom: 3rem;
}

.mg-b4 {
    margin-bottom: 4rem;
}

.mg-b5 {
    margin-bottom: 5rem;
}

.mg-r1 {
    margin-right: 1rem;
}

.mg-r2 {
    margin-right: 2rem;
}

.mg-r3 {
    margin-right: 3rem;
}

.small {
    font-size: 75%;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.underline {
    text-decoration: underline;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.space-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.flex-grow1 {
    flex-grow: 1;
}

.no-shrink {
    flex-shrink: 0;
}

.eroor-404 {
    color: #888;
    text-align: center;
}

.eroor-404.heading {
    font-size: 10rem;
    letter-spacing: 1rem;
}

.eroor-404.text {
    font-size: 3rem;
}

.heading-language {
    text-align: center;
    color: var(--main-color);
}

.heading-language .bg-text {
    color: #fff;
    padding: .3rem 3rem;
    background-color: var(--main-color);
    border-radius: 3px;
}

/* 
-------------------------------------
State:
-------------------------------------
*/
a:hover {
    opacity: .8;
}

.c-button:hover {
    color: #fff;
}

.menu-item:hover,
.current-menu-item {
    background-color: #cfbad4;
}

.area-label:hover {
    color: #fff;
    background-color: var(--main-color);
}

#ast-scroll-top:hover {
    opacity: .8;
}


/* 
-------------------------------------
Media Queries:
-------------------------------------
*/
/*---------------------------------------------

                    PC Over

----------------------------------------------*/
@media only screen and (min-width: 1024px) {
    .mobile-hide {
        display: none;
    }

    .mobile-topbar {
        display: none;
    }
}

/*---------------------------------------------

                    PC Under

----------------------------------------------*/
@media only screen and (max-width: 1023px) {

    :root {
        --header-width: 250px;
        --site-padding-inline: 15px;
        --site-title: 1.1rem;
        --page-title: 1.2rem;
        --news-title: .8rem;
        --news-meta: .9rem;
        --area-text: 4vw;
        --area-text-en: 2.4vw;
        --slide-height: 70px;
    }

    .mobile-hide {
        display: block;
    }

    .mobile-topbar {
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        width: 100%;
        padding-block: 5px;
        background-color: #fff;
        z-index: 30000;
    }

    .mobile-topbar .custom-logo-link {
        margin: 0 auto;
        visibility: visible;
        opacity: 1;
        transform: all .3s;
    }

    .mobile-topbar.js-open .custom-logo-link {
        opacity: 0;
    }

    .mobile-topbar .custom-logo {
        height: 50px;
    }


    .hamburger-menu {
        position: absolute;
        top: 50%;
        left: 1rem;
        width: 30px;
        transition: all .2s ease-in-out;
        cursor: pointer;
        z-index: 100;
        transform: translateY(-50%);
        transform-origin: center;
        z-index: 20000
    }

    .hamburger-menu.js-active {
        transition-delay: .2s
    }

    .hamburger-menu>.bar {
        background: #000;
        border-radius: 50px;
        width: 100%;
        height: 2px;
        margin-bottom: 7px;
        transition: all .2s ease-in-out
    }

    .hamburger-menu>.bar:last-child {
        margin-bottom: 0
    }

    .hamburger-menu.js-active>.bar-top {
        transform: translateY(8px) rotate(-45deg);
        transition-delay: .2s
    }

    .hamburger-menu.js-active>.bar-center {
        transform: scale(0)
    }

    .hamburger-menu.js-active>.bar-bottom {
        transform: translateY(-10px) rotate(45deg);
        transition-delay: .2s
    }

    .l-header {
        position: fixed;
        top: 0;
        left: 0;
        width: var(--header-width);
        flex-shrink: 0;
        background-color: #fff;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform .3s;
        background-image: url(/wp-content/uploads/2024/06/background-an.jpg);
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        background-size: cover;
        background-position: 0 0;
    }

    .l-header.js-appear {
        transform: translateX(0);
        box-shadow: 0 0 35px 3px rgba(0, 0, 0, .1);
        z-index: 10000;
    }

    .l-header__container {
        position: relative;
        width: 100%;
        margin-top: 5rem;
        background-color: unset;
        z-index: 100;
    }

    .l-header .custom-logo {
        min-width: auto;
        height: 5rem;
        margin: 0 auto;
    }

    .header-navi {
        margin-bottom: 3rem;
    }

    .ast-header-break-point .main-header-menu {
        background-color: unset;
    }

    .c-navigation__header .menu-item .menu-link {
        font-size: 12px;
        padding: 15px 0 15px 25px;
    }

    .c-navigation__header .menu-item:after {
        content: '';
        display: block;
        width: 100%;
        box-sizing: border-box;
        position: absolute;
        bottom: 0px;
        left: 0;
        right: 0;
        height: 1px;
        background: rgba(0, 0, 0, 0.15);
        margin: 0 auto;
        z-index: 0;
    }

    .l-hero {
        padding: var(--site-padding-inline);
        margin-bottom: 1rem;
    }

    .l-hero .japan-map {
        width: 100%;
        max-width: 100%;
    }

    .l-hero__info {
        position: absolute;
        display: block;
        width: 60%;
        top: 3rem;
        left: 5%;
        padding: 0;
        border-radius: 5px;
    }

    .l-hero__info--row {
        padding: 3%;
    }

    .l-hero__info--row:first-child {
        margin-bottom: .5rem;
    }

    .l-hero__info .description {
        font-size: .8rem;
        margin-bottom: 1rem;
    }

    .l-hero .japan-map {
        width: 100%;
    }

    .l-contents {
        width: 100%;
        margin-top: 50px;
        margin-left: 0;
    }

    .home .l-contents {
        margin-top: 0;
    }

    .l-hero__info {
        top: var(--site-padding-inline);
        left: var(--site-padding-inline);
        width: 45%;
    }

    .l-title-bar {
        height: 100px;
    }

    .section-news.with-swiper .news-label {
        margin: 0 0 1rem 0;
    }

    .section-map .japan-map {
        margin: 0 auto;
    }

    .news-swiper {
        width: 100%;
        margin-bottom: 1rem;
    }

    .section-news.with-swiper .news-contents {
        flex-direction: column;
        height: auto;
    }

    .news-swiper .news-meta {
        margin-right: 0;
        margin-bottom: .5rem;
    }

    .news-swiper .news-slide .text-wrap {
        display: block;
    }

    .news-swiper .news-link {
        width: 100%;
        max-width: 100%;
    }

    .news-page-link {
        width: 15rem;
        line-height: 2;
        margin: 0 auto;
    }


}


/*---------------------------------------------

                    Tablet

----------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .l-hero__info {
        width: 40%;
    }

    .l-hero__info .custom-logo {
        width: 50%;
    }
}



/*---------------------------------------------

                    Mobile

----------------------------------------------*/

@media only screen and (max-width: 767px) {
    :root {
        --site-padding-inline: 15px;
        --site-title: 1.1rem;
        --page-title: 1.2rem;
        --news-meta: .9rem;
        --area-text: 8vw;
        --area-text-en: 6vw;
    }

    .l-title-bar {
        padding-block: 2rem;
        margin-bottom: 2rem;
    }

    .l-hero {
        overflow-x: scroll;
    }

    .l-hero__info {
        width: 65%;
    }

    .l-hero__info .custom-logo {
        max-width: 10rem;
    }

    .l-hero .japan-map {
        width: 150vw;
        max-width: 150vw;
        padding-block: 4rem;
    }

    html[lang="en-US"] .area-text.vertical {
        letter-spacing: -20px;
    }

    .page-title {
        margin-bottom: .5rem;
    }

    #ast-scroll-top {
        right: 2rem;
        bottom: 2rem;
        width: 2rem;
        height: 2rem;
    }

    .logo-info {
        margin: 5px auto;
        font-size: .8rem;
    }

    .l-hero__info .description {
        font-size: 3vw;
        letter-spacing: 0;
        margin-bottom: .5rem;
    }

    .l-hero__info .sns-link .sns-icon {
        font-size: 1.4rem;
    }

    .l-hero__info .sns-link {
        margin-inline: .8rem;
    }

    .heading-language .bg-text {
        font-size: 3.2vw;
    }

    .heading-language {
        margin-bottom: 10px;
    }

    .l-hero__info .wpml-ls-legacy-dropdown a {
        padding: 5px;
    }

    .remodal {
        padding: 15px;
    }

    .area-title {
        padding-inline: 20px;
    }

}
