@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Zen+Old+Mincho&display=swap');

@media screen and (max-width: 1280px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 10px;
    }
}

body {
    background-color: #181B39;
    color: white;
    /* font-family: 'Inter', sans-serif; */
    /* font-family: 'Noto Sans JP', sans-serif; */
    font-family: 'Zen Old Mincho', serif;
    overflow-x: hidden;
}

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

.base-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-wrapper {
    position: relative;
    min-height: 100vh;
    max-width: 1280px;
}

.topPage-wrapper {
    display: none;
}

.opening>*,
.opening .logo-wrapper .logo-svg {
    display: none;
}

.opening {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.opening .logo-wrapper {
    width: auto;
    height: auto;
    position: relative;
    overflow-x: hidden;
}

.opening .logo-svg {
    overflow-x: hidden;
    fill: none;
    width: 40vw;
    height: auto;
}

.char {
    fill: #fff;
}

.opening .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #fff;
    top: 0;
    left: 0;
    border-radius: 3px;
}

.opening .cloth {
    width: 100vw;
    height: 100vh;
    position: absolute;
    background-color: #fff;
    top: 0;
    left: 0;
    border-radius: 3px;
    transform-origin: center center;
}

/* header */
.header {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 20vh;
    width: 100%;
    max-width: 1280px;
    padding-top: 1rem;
    padding-right: 5%;
    padding-left: 5%;
}

.header .logo-wrapper {
    height: 100%;
    max-height: 100px;
    width: auto;
    max-width: 50%;
}

.header .logo-wrapper img {
    height: 100%;
    width: 100%;
}

/* header */
/* hamburger icon */
.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
}

/* 画面幅が600px以上の場合のスタイル */
@media (min-width: 600px) {
    .hamburger {
        width: 40px;
        height: 32px;
    }
}

.hamburger_bar {
    display: block;
    width: 100%;
    height: 20%;
    position: absolute;
    left: 0;
    background: white;
}

.hamburger_bar:nth-child(1) {
    top: 0;
}

.hamburger_bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger_bar:nth-child(3) {
    top: 100%;
    transform: translateY(-100%);
}

.hamburger_bar:nth-child(3),
.hamburger_bar:nth-child(2) {
    transform-origin: center center;
}

/* hamburger icon */

.header-mask {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    transform-origin: right center;
}

.navigation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 100%;
    background-color: white;
    color: #181B39;
    font-size: 2.5rem;
    width: 100vw;
    height: 70vh;
    clip-path: polygon(100% 0,
            50% 0,
            0% 100%,
            100% 100%);
}

.nav-items {
    height: 60%;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transform: translateX(60%);
}

.main {
    margin-top: 4rem;
    overflow: hidden;
}

.main-container {
    display: flex;
    flex-direction: column;
}

/* slide-show */
.slide-show {
    width: 100%;
    height: 400px;
    position: relative;
    margin-bottom: 4rem;
}

.slide-show_panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-show_panel img {
    object-fit: cover;
}

.slide-show_panel:nth-child(1) {
    background: lightgreen;
}

.slide-show_panel:nth-child(2) {
    background: orange;
    opacity: 0;
}

.slide-show_panel:nth-child(3) {
    background: silver;
    opacity: 0;
}

/* slide-show */

/* vision */
.vision .vision-img,
.vision-texts {
    display: none;
}

.vision-container {
    margin: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

@media screen and (max-width: 600px) {
    .vision-container {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        gap: 2rem;
    }
}

.vision-img {
    width: 45%;
    min-width: 40%;
    height: 100%;
    overflow: hidden;
}

.vision-img img {
    object-fit: cover;
}

@media screen and (max-width: 600px) {
    .vision-img {
        display: none !important;
    }
}

.vision-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    text-align: end;
    width: 45%;
    min-width: 40%;
}

@media screen and (max-width: 600px) {
    .vision-texts {
        width: 90%;
    }
}

.vision-titles {
    color: #f1efd9;
    border-bottom: 15px solid white;
    padding-bottom: 2rem;
}

.vision-title {
    font-size: 3rem;
    padding-bottom: 1rem;
}

.vision-subtitle {
    font-size: 2rem;
}

.vision-text {
    text-align: start;
    font-size: 1.5rem;
}

/* vision */

/* regular sections */
.main-container .direction,
.service,
.food {
    visibility: hidden;
    opacity: 0;
}

.direction-container,
.service-container,
.food-container {
    display: flex;
    position: relative;
    height: 80vh;
    justify-content: space-between;
    margin: 0 5%;
}

.service-container {
    flex-direction: row-reverse;
}

.section-title {
    font-size: 3rem;
    display: flex;
    justify-content: center;
    margin: 5rem 0 3rem 0;
}

@media screen and (max-width: 600px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-title>span {
    padding-bottom: 0.5rem;
    border-bottom: 2px solid white;
}

.section-texts {
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    color: black;
    height: auto;
    width: 40%;
    box-shadow: 3px 3px 5px 0px #000;
}

.section-texts .text-title {
    font-size: 1.5rem;
    padding: 2rem 0;
    text-align: center;
    width: 100%;
    border-bottom: 10px solid #464A85;
}

.section-texts .section-text {
    line-height: 1.5rem;
    padding: 3rem;
    font-size: 1.3rem;
}

.section-img {
    align-self: flex-start;
    height: 60%;
    max-width: 50%;
    min-width: 320px;
    object-fit: cover;
}

.deco-rec {
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 60%;
    width: 70%;
    background-color: #E7E4C6;
}

@media screen and (max-width: 600px) {

    .direction-container,
    .service-container,
    .food-container {
        flex-flow: column-reverse;
        gap: 2rem;
        overflow-y: hidden;
    }

    .section-texts {
        width: 90%;
    }

    .section-img {
        max-width: 90%;
    }
}

.providers {
    display: flex;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.203); */
    margin-bottom: 1rem;
    padding: 1rem;
    justify-content: space-around;
    align-items: center;
}

.esprit-logo {
    width: 30%;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.203);
}

.grace-logo {
    width: 30%;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.203);
}

/* regular sections */

/* faq */

.faq-container {
    margin: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-boxes {
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    cursor: pointer;
}

.faq-box {
    background-color: white;
    width: 100%;
    height: auto;
    padding: 2rem;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.faq-icon {
    height: 30px;
    aspect-ratio: 1/1;
    position: relative;
    margin-right: 2rem;
}

@media screen and (max-width: 1024px) {
    .faq-icon {
        height: 20px;
    }
}

@media screen and (max-width: 600px) {
    .faq-icon {
        height: 10px;
    }
}

.faq-icon .icon_bar {
    position: absolute;
    height: 20%;
    width: 100%;
    background-color: #464A85;
    top: 50%;
    transform: translate(0, -50%);
}

.faq-icon .icon_bar:nth-child(2) {
    transform: translate(0, -50%) rotate(90deg);
}

.question {
    font-size: 1.5rem;
}

.question span {
    margin-right: 2rem;
}

.answer-box {
    width: 100%;
    color: black;
    background-color: #E6E4C6;
    font-size: 1rem;
    padding: 1.5rem;
    transform-origin: top center;
}

@media screen and (max-width: 1024px) {
    .question {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .question {
        font-size: 1rem;
    }
}

.footer-container {
    background-color: #464A85;
    height: 4rem;
    width: 100%;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container span {
    font-size: 1rem;
}



/* faq */