@charset "utf-8";
* {
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}
html{
    scroll-padding-top: 50px;
    scroll-behavior: smooth;
}
body {
    /* font-family: ; */
    margin: 0 !important;
    box-sizing: border-box;
}

section, main, footer, h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,p,form,fieldset {
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5,h6 {
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    font-family: 'Open Sans', sans-serif;
}

p{
    line-height: 2;
    text-align: justify;
}
li {
    list-style: none;
}

th {
    font-weight: normal;
}

em {
    font-style: normal;
}

sup {
    position: relative;
    height: 0;
    font-size: .46em;
}

article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary {
    display: block;
}

img {
    width: 100%;
    max-width:100%;
    display: block;
    object-fit: contain;
}
a{
    text-decoration: none;
    color: #FFF;
}
/* common----------------------------- */
.sp_only{
    display: none !important;
}
.pc_only{
    display: block !important;
}
@media (max-width: 960px) {
    .sp_only{
        display: block !important;
    }
    .pc_only{
        display: none !important;
    }
}
/* header----------------------------- */
header {
    background: transparent;
}

.pc_only .header {
    font-size: clamp(9px, 1.1vw, 16px);
}

.header{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 40px 0 0;
    width: 100%;
    position: fixed;
    z-index: 10000;
}

.header-logo{
    width: 15%;
    margin: 0 5% 0 auto;
    text-align: center;
    vertical-align: middle;
}

.header ul {
    width: 62%;
    display: flex;
    justify-content: flex-start;
    column-gap: 5px;
    background-color: #fff;
    border-radius: 15px 0px 0px 15px;
    position: relative;
    padding: 10px;
} /* ← 閉じ括弧を追加しました */

.header ul::before {
    content: "";
    background-image: url(../img/header-img.webp);
    display: block;
    position: absolute;
    
    /* 位置の調整 */
    top: 98%; /* ulの要素のすぐ下（ピッタリ下端）に配置 */
    left: 1%;   /* ulの左端に合わせる */
    
    /* サイズとアスペクト比の調整 */
    width: 100%; /* 親要素(ul)の幅に100%追従させる */
    aspect-ratio: 1329 / 235; /* 画像の元の縦横比を指定し、高さを自動計算 */
    
    /* 背景画像の表示設定 */
    background-repeat: no-repeat;
    background-size: 100% auto; /* 幅を100%にし、高さは自動 */
    background-position: top center; /* 画像の上端を基準に配置 */
    
    /* （任意）装飾画像なのでマウス操作の邪魔にならないようにする */
    pointer-events: none;
}

.header ul li:last-child {
    position: relative;
}

.header ul li:last-child::after {
    content: "";
    display: block;
    background-image: url(../img/header-icon.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    width: clamp(50px, 75%, 100px);
    aspect-ratio: 25 / 29;
    height: auto;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(100%, -20%);
}

.header ul li {
    display: table;
}

.header ul li:hover {
    border-radius: 15px;
}

.pc_only .header ul li img {
    height: auto;
    display: block;
    flex-shrink: 0;
    width: 50px;
}

.header ul li a{
    color: #DB2473;
    width: 100%;
    height: 100%;
    display: table-cell;
    border-radius: 15px;
    padding: 8px 10px;
    vertical-align: middle;
    transition: ease-in 0.3s;
}

.header ul li a:hover {
    background-color: #DB2473;
}

.header ul li.header-active a {
    background-color: #DB2473;
}

.header ul li a:hover p{
    color: #fff;
}

.header ul li.header-active a p {
    color: #fff;
}

.header ul li a p {
    line-height: normal !important;
    text-align: center;
}

.pc_only .header ul li a p {
    line-height: normal !important;
    text-align: center;
    white-space: nowrap;
    margin: 0;
}

.header ul li a p:nth-child(1) {
    font-weight: 700;
    font-size: 20px;
}
.header ul li a p:nth-child(2) {
    font-size: 12px;
}

.header_logo_link{
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}
/* 画像が親要素の影響で潰れたりしないように */
.header_logo_link img{
    display: block;
}

.xl-only {
    display: none;
}

.page-top {
    height: 100px;
    width: 100px;
    position: fixed;
    right: 100px;
    bottom: 100px;
    background: transparent;
    z-index: 100000;
    /*  */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.page-top.is-show {
    opacity: 1;
    visibility: visible;
}

.page-top img {
    display: block;
}

@media (max-width: 1780px) {
    .header ul {
        width: 60%;
    }
}

@media (max-width: 1680px) {
    .header ul {
        width: 65%;
    }
}

@media (max-width: 1536px) {
    .header-logo {
        width: 20%;
    }
    .header ul li a p:nth-child(1) {
        font-size: 18px;
    }
    .header ul li a p:nth-child(2) {
        font-size: 10px;
    }
}

@media (max-width: 1280px) {
    .header ul {
        width: 67%;
    }
    .header ul li a p:nth-child(1) {
        font-size: 14px;
    }
    .header ul li a p:nth-child(2) {
        font-size: 10px;
    }
    .xl-only {
        display: block;
    }
    .header-logo{
        margin: 0 2.5% 0 auto;
    }
}

@media (max-width: 1180px) {
    .header ul {
        width: 72%;
    }
}

@media (max-width: 1024px) {
    .header ul {
        width: 74%;
        padding: 8px;
        column-gap: 2px;
    }
}

@media screen and (max-width: 960px) {
    /* hamburger----------------------------- */
    header {
        box-sizing: border-box;
        width: 100%;
        /* height: 65px; */
        position: fixed;
        top: 0 !important;
        left: 0;
        z-index: 1000;
        padding: 10px;
    }
    .p-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }
    .p-logo {
        width: 30%;
    }
    .p-logo>a {
        width: 100%;
        height: 100%;
    }
    .head-logo {
        width: 100%;
    }
    #sp-hamburger {
        background-color: #DB2473;
        border-radius: 15px;
        position: relative;
        height: 60px;
        width: 60px;
        z-index: 100;
        box-shadow: 0px 5px 15px 0px rgba(255, 255, 255, 0.35);
    }
    #sp-hamburger:has(div.open) {
        box-shadow: none;
    }
    #sp-hamburger .icon span {
        position: absolute;
        left: 15px;
        width: 30px;
        height: 2px;
        background-color: #fff;
        border-radius: 8px;
    }
    #sp-hamburger .icon span:not(:nth-child(2n)) {
        transition: all 0.75s;
    }
    #sp-hamburger .icon span:nth-of-type(1) {
        top: 18px;
    }
    #sp-hamburger .icon span:nth-of-type(2) {
        top: 30px;
    }
    #sp-hamburger .icon span:nth-of-type(3) {
        bottom: 16px;
    }
    #sp-hamburger .open span:nth-of-type(1) {
        top: 32px;
        transform: rotate(45deg); /* 線の角度調整 */
        background-color: white; /* 線の色 */
    }
    #sp-hamburger .open span:nth-of-type(2) {
        opacity: 0; /* 透明化 */
    }
    #sp-hamburger .open span:nth-of-type(3) {
        top: 32px;
        transform: rotate(-45deg);  /* 線の角度調整 */
        background-color: white; /* 線の色 */
    }
    #sp-hamburger .open {
        width: 300px;
        height: 10%;
    }
    .sp-nav {
        display: none;
        z-index: 99;
        position: absolute;
        top: 13%;
        right: 10px;
        width: 65%;
        background: #DB2473;
        border-radius: 15px;
        padding: 40px;
    }
    .sp-nav ul {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        list-style: none;
    }
    .sp-nav ul li {
        padding: 8px 0px;
        font-size: 24px;
        font-weight: bold;
        text-align: center;
    }
    .sp-nav a {
        display: flex;
        align-items: center;   /* 文字のベースラインを揃える。中央揃えなら center */
        gap: 60px;               /* ローマ字と日本語の間隔 */
        color: white;
    }

    .sp-nav a .en {
        flex-shrink: 0;
        width: 100px;
        font-weight: 700;
    }

    .sp-nav a .jp {
        font-weight: 300;
        font-size: 14px;
        flex: 1;
        text-align: left;
        white-space: nowrap;
    }
    .page-top {
        right: 30px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    main {
        padding: 90px 0 270px !important;
    }
}

@media (max-width: 640px) {
    .sp-nav {
        width: 85%;
        padding: 20px;
    }
    .sp-nav a {
        gap: 30px;
    }
    .sp-nav ul li {
        font-size: 20px;
        text-align: left;
    }
    .p-logo {
        width: 50%;
    }
}

