@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --text: #3F6084;
    --base: #FFFEF6;
    --blue: #E7F0F6;
    --darkblue: #A2C6FF;
    --pink: #FAC7C1;
}
html {
    font-size: 10px;
    overflow-y: scroll;
}
body {
    font-size: 1.6em;
    line-height: 1;
    font-family: "Kiwi Maru", serif;
    color: var(--text);
    background: var(--base);
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    width: 100%;
}
ul, ol, dl {
    list-style: none;
}

/* header -------------------- */
.faqPage header {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    padding: 2em 0 0 2em;
    gap: 1.5em;
}
.faqPage header p {
    width: 300px;
}
.faqPage header .navi {
    position: relative;
    background: none;
}
.faqPage header .navi label {
    display: none;
}
.faqPage header nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75em;
    width: 30%;
}
.faqPage header nav ul li {
    font-size: 1.25em;
    background: #FFFFFF;
    box-shadow: 0 0 10px 5px #E7F0F6B3 inset;
    border-radius: 999px;
    width: 9.5em;
    text-align: center;
    padding: .75em 0;
    transition: 1s;
}
.faqPage header nav ul li:hover {
    transform: scale(1.1);
    transition-duration: .5s;
}
.faqPage header {
    background: url(../img/topblue.webp) no-repeat right bottom/cover;
    height: 500px;
}
header .navi.mini {
    position: fixed;
    top: 1em;
    right: -41em;
    transition: right 1s ease;
    display: flex;
    align-items: center;
    background: var(--darkblue);
    box-shadow: 0 0 10px 5px #639CF94D inset;
    color: #FFFFFF;
    border-radius: 999px 0 0 999px;
    height: 5em;
    z-index: 99999;
    overflow: hidden;
}
header .navi.mini:hover {
    right: 0;
}
header .navi.mini label {
    display: block;
    font-size: 1em;
    white-space: nowrap;
    z-index: 1;
    margin: 0 1em;
}
header .navi.mini nav {
    display: block;
  }
header .navi.mini nav ul {
    display: flex;
    flex-direction: row;
    gap: 1em;
    margin: 0;
    padding: 0;
    width: 100%;
}
header .navi.mini nav ul li {
    font-size: 1em;
    background: none;
    box-shadow: none;
    border-radius: 0px;
    width: auto;
    text-align: center;
    margin-right: 1em;
}
header .navi.mini nav ul li a>span {
    display: inline;
    text-align: center;
    line-height: 1.5;
}
header .navi.mini ul li:hover {
    text-decoration: underline;
}
#bar {
    display: none;
}
.barCover {
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* main -------------------- */
main {
    background: url(../img/cover.webp) repeat-y top center/cover;
    margin-top: -10em;
}

/* lead ---------- */
.lead {
    display: flex;
    align-items: center;
    gap: 1em;
    background: var(--pink);
    box-shadow: 0 0 10px 5px #ed9b9299 inset;
    border-radius: 999px 0  0 999px;
    width: 31em;
    margin: 0 0 0 auto;
    transition: 1s;
    position: sticky;
    top: 0;
    z-index: 10;
}
.lead:hover {
    transform: scale(1.1);
    transition-duration: .5s;
}
.lead a {
    display: block;
    text-align: right;
    color: #FFFFFF;
    font-size: 2em;
    width: 100%;
    padding: .75em 0;
}
.lead a>span {
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}
.lead img {
    width: 2.5em;
    height: 2.5em;
    object-fit: contain;
    margin: 0 2em 0 0;
}
.lead.mini {
    position: fixed;
    top: 10em;
    right: 0;
    width: 15em;
    border-radius: 999px;
    transform: scale(0.8);
    box-shadow: 0 0 10px 5px #ed9b9299 inset;
    font-size: .75em;
}
.lead.mini img {
    display: none;
}
.lead.mini a {
    text-align: center;
    padding: .75em;
}
.lead.mini:hover {
    transform: scale(1.1);
    transition-duration: .5s;
}

/* faq ---------- */
.faq {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    padding: 10em 1.5em 12em;
}
.faq h1 {
    display: block;
    text-align: center;
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 2.5em;
}
.faq h1>span {
    background: linear-gradient(transparent 80%, #3F60841A 80%);
    padding-bottom: .1px;
}
.qa {
    max-width: calc(750px - 1.5em);
    margin-bottom: 25px;
    border: none;
    border-radius: 50px;
    border: #3F60841A 3px solid;
    /* box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%); */
    background-color: #FFFFFF;
}
.qa summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1.25em 2em 1.25em 4em;
    color: #333333;
    font-size: 1.5em;
    line-height: 1.5;
    font-weight: normal;
    cursor: pointer;
}
.qa summary::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.75em;
}
.qa p::before {
    position: absolute;
    left: 1.25em;
    font-weight: 600;
    font-size: 1.75em;
}
.qa summary::before {
    color: var(--darkblue);
    content: "Q";
}
.qa summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}
.qa[open] summary::after {
    transform: rotate(225deg);
}
.qa p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1em 4.75em 1.75em;
    color: #333;
    transition: transform .5s, opacity .5s;
    font-size: 1.25em;
    line-height: 1.75;
}
.qa[open] p {
    transform: none;
    opacity: 1;
}
.qa p::before {
    color: var(--pink);
    line-height: 1;
    content: "A";
}

/* footer -------------------- */
footer {
    background: url(../img/footer.webp) no-repeat top center/cover;
}

/* address ---------- */
.address {
    font-style: normal;
    width: 100%;
    margin: 0 auto;
    padding: 3em 1.5em 0;
    display: flex;
    justify-content: center;
    gap: 3em;
}
.address ul {
    display: flex;
    flex-flow: column;
    gap: 2em;
}
.address ul li h4 {
    font-size: 3em;
    font-weight: 500; 
    line-height: 1.25;
}
.address ul li h4>span {
    font-size: .375em;
    font-weight: normal;
}
.address ul li p {
    font-size: 1.125em;
    line-height: 1.75;
}
.address ul li a:hover {
    text-decoration: underline;
}
.address iframe {
    width: 40%;
    margin-top: 1.5em;
}

/* footerNav ---------- */
.footerNav {
    width: 100%;
    margin: 0 auto;
}
.footerNav ul {
    display: flex;
    flex-flow: column;
    text-align: center;
    gap: 1em;
    padding: 8em 1.5em 3em;
}
.footerNav ul li {
    font-size: 1em;
}

/* footerCopy ---------- */
.copyright {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 1.5em;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1em;
}
.copyright small {
    margin-bottom: .5em;
}
.copyright img {
    width:50px;
}

@media (max-width: 800px) {
    .lead {
        width: 28em;
    }
    .lead a {
        font-size: 1.75em;
    }
    header:has(#bar:checked)~.barCover {
        display: block;
    }
    header:has(#bar:checked)~.barCover .barLabel {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
    .faq {
        padding: 6em 1.5em 10em;
    }
    .address ul li h4 {
        font-size: 2em;
    }
    .address ul li p {
        font-size: 1em;
    }
    .address {
        flex-flow: column;
        align-items: center;
    }
    .address iframe {
        width: 85%;
        height: 250px;
        margin-top: 0;
    }
    .qa summary {
        font-size: 1.25em;
    }
    .qa p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .faqPage header nav ul li {
        font-size: 1em;
    }
    .faqPage header {
        height: 470px;
    }
    header .navi.mini {
        right: -22em;
        height: 3em;
    }
    header .navi.mini label {
        font-size: .75em;
    }
    header .navi.mini nav ul li {
        font-size: .5em;
        background: none;
        box-shadow: none;
        border-radius: 0px;
        width: auto;
        text-align: center;
        margin-right: .5em;
    }
    .lead {
        width: 20.5em;
    }
    .lead a {
        font-size: 1.25em;
    }
    .lead.mini {
        top: 5.5em;
        width: 8em;
    }
    .lead.mini a {
        font-size: 1em;
    }
}