@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 -------------------- */
.index header {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    padding: 2em 2em 0 2em;
}
.index header h1 {
    width: 300px;
}
.index header .navi {
    position: relative;
    background: none;
}
.index header .navi label {
    display: none;
}
.index header nav ul {
    display: flex;
    flex-flow: column;
    gap: .825em;
    margin: 2em 0 0;
}
.index 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;
}
.index header nav ul li:hover {
    transform: scale(1.1);
    transition-duration: .5s;
}
.index header {
    background: url(../img/top.webp) no-repeat 95% bottom/cover;
    height: 90vh;
}
header .navi.mini {
    position: fixed;
    top: 1em;
    right: -41em;
    transition: right 1s ease;
    display: flex;
    align-items: center;
    background: var(--darkblue);
    color: #FFF;
    box-shadow: 0 0 10px 5px #E7F0F6B3 inset;
    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;
}
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: .5s;
    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;
}

/* about ---------- */
.about {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 12em 1.5em 0;
    display: flex;
    flex-flow: column;
    gap: 5em;
}
.supica h2 {
    display: block;
    text-align: center;
    font-size: 2.5em;
    font-weight: 500;
}
.supica h2>span {
    background: linear-gradient(transparent 80%, #3F60841A 80%);
    padding-bottom: .1px;
}
.supica>p {
    display: block;
    text-align: center;
    margin: 1.5em 0 3em;
    font-size: 1.175em;
    line-height: 1.5;
}
.supica>p span {
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}
.supica img {
    width: 270px;
    height: 180px;
    object-fit: cover;
    border-radius: 30px;
}
.supica ul {
    display: flex;
    flex-flow: row-reverse;
    gap: 2em;
}
.supica ul li>p {
    line-height: 1.625;
}
.typeA {
    display: flex;
    flex-flow: column;
    gap: 3em;
    background: #FFFFFF;
    box-shadow: 0 0 10px 5px #3F60841A inset;
    border-radius: 30px;
    padding: 2em;
}
.typeA h3 {
    font-size: 1.25em;
    font-weight: 500;
    margin-bottom: .75em;
}
.typeA h3>span {
    background: linear-gradient(transparent 80%, #3F60841A 80%);
    padding-bottom: .1px;
}
.typeA p {
    line-height: 1.625em;
}
.typeA dd {
    line-height: 1.75em;
    display: flex;
    align-items: center;
    gap: .5em;
}
.typeA dd>span {
    font-size: .625em;
    color: #3F608480;
}
.typeA>div {
    display: flex;
    justify-content: space-between;
}
.typeA>div img {
    width: 270px;
    height: 150px;
    object-fit: cover;
    border-radius: 30px;
}

/* content ---------- */
.content {
    width: 100%;
    max-width: 1100px;
    margin: 12em auto 8em;
    padding: 0 2em;
    display: flex;
    justify-content: space-between;
}
.content>div {
    display: flex;
    flex-flow: column;
    width: calc(100% / 4 - .75em);
    position: relative;
}
.content>div>img {
    width: 3em;
    height: 4em;
    object-fit: contain;
    z-index: 1;
    position: absolute;
    left: 43%;
    top: -2.75em;
}
.content ul {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 3em;
    width: 100%;
    padding: 2.5em 1em 3.5em;
    background: #FFFFFF;
    box-shadow: 0 0 10px 5px #3F60841A inset;
    border-radius: 30px;
}
.content>div>ul li:first-of-type>p {
    color: #3F60844D;
    font-weight: 500;
    letter-spacing: .1em;
    margin-bottom: .5em;
}
.content h3 {
    font-size: 1.5em;
    font-weight: 500;
}
.content>div ul li:last-of-type img {
    width: 180px;
    height: 100px;
    object-fit: contain;
}
.content>div ul li:nth-child(2) {
    order: 1;
}
.content>div ul li p {
    display: block;
    text-align: center;
    line-height: 1.5;
}
.content>div a {
    display: block;
    text-align: center;
    font-size: 1.175em;
    width: 10em;
    margin: -1.5em auto 0;
    padding: .825em;
}
.contentA a,
.contentC a {
    background: var(--darkblue);
    box-shadow: 0 0 10px 5px #639CF94D inset;
    border-radius: 999px;
    color: #FFFFFF;
    transition: 1s;
}
.contentB a,
.contentD a {
    background: var(--pink);
    box-shadow: 0 0 10px 5px #ed9b924D inset;
    border-radius: 999px;
    color: #FFFFFF;
    transition: 1s;
}
.contentA a:hover,
.contentB a:hover,
.contentC a:hover,
.contentD a:hover {
    transform: scale(1.1);
    transition-duration: .5s;
}

/* voice ---------- */
.voice {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 3em 1.5em 8em;
}
.voice h2 {
    display: block;
    text-align: center;
    font-size: 2.5em;
    font-weight: 500;
}
.voice h2>span {
    background: linear-gradient(transparent 80%, #FFFFFF 80%);
    padding-bottom: .2px;
}
.voice>p {
    display: block;
    text-align: center;
    margin: 2em 0 4em;
    line-height: 1.5;
}
.voice p>span {
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}
.voice>div {
    display: flex;
    margin: 0 auto;
    gap: 4em;
}
.voiceA,
.voiceB {
    display: flex;
    flex-flow: column;
    width: calc(100% / 2 - 2em);
}
.voice ul li:first-of-type {
    display: flex;
    flex-flow: row-reverse;
    justify-content: flex-end;
    align-items: flex-end;
    margin-left: -2em;
    margin-bottom: -7.5em;
    z-index: 1;
}
.voice h3 {
    font-size: 1.25em;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 1em .5em;
}
.voice img {
    width: 9em;
    height: 9em;
    object-fit: contain;
}
.voice ul li p {
    line-height: 1.5;
    padding: 8.5em 2em 2em ;
    background: #FFFFFF;
    box-shadow: 0 0 10px 5px #3F60841A inset;
    border-radius: 40px;
}

/* visit ---------- */
.visit {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5em 6em;
    display: flex;
    flex-flow: column;
    text-align: center;
}
.visit>div {
    background: #FFFFFF;
    box-shadow: 0 0 10px 5px #3F60841A inset;
    border-radius: 40px;
    padding: 3em 1.5em;
}
.visit>div h2 {
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.5;
    color: var(--darkblue);
}
.visit>div h2>span {
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}
.visit>div p {
    line-height: 1.75;
    margin: 2em 0 3em;
}
.visit>div p>span {
    display: inline-block;
    text-align: center;
    line-height: 1.75;
}
.visit>div>div {
    display: flex;
    align-items: center;
    gap: 1em;
    background: var(--darkblue);
    box-shadow: 0 0 10px 5px #639CF94D inset;
    border-radius:999px;
    width: 19em;
    margin: 0 auto;
    transition: 1s;
}
.visit>div>div:hover {
    transform: scale(1.1);
    transition-duration: .5s;
    }
.visit>div>div a {
    display: block;
    text-align: right;
    color: #FFFFFF;
    font-size: 1.25em;
    width: 100%;
    padding: 1em 0; 
}
.visit>div>div img {
width: 1.5em;
height: 1.5em;
object-fit: contain;
margin: 0 1.5em 0 0;
}
.visit span {
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}

/* 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: 1024px) {
    .index header {
        height: 80vh;
    }
    .content {
        flex-flow: wrap;
        justify-content: space-evenly;
    }
    .content>div {
        width: calc(90% / 2 - 1.5em);
    }
    .contentA,
    .contentB {
        margin-bottom: 8em;
    }
    .content>div>img {
        position: absolute;
        left: 46%;
        top: -2.75em;
    }
}
@media (max-width: 800px) {
    .index header h1 {
        width: 250px;
    }
    .index header nav ul li {
        font-size: 1em;
    }
    header .navi.mini nav ul {
        width: 100%;
    }
    .lead {
        width: 28em;
    }
    .lead a {
        font-size: 1.75em;
    }
    .lead img {
        width: 2em;
        height: 2em;
    }
    header:has(#bar:checked)~.barCover {
        display: block;
    }
    header:has(#bar:checked)~.barCover .barLabel {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
    .about {
        padding: 8em 1.5em 0;
    }
    .supica ul {
        flex-flow: column-reverse;
        align-items: center;
        text-align: center;
        padding: 0 2em;
    }
    .typeA>div img {
        display: none;
    }
    .content>div {
        width: 85%;
    }
    .contentC {
        margin-bottom: 8em;
    }
    .voice>div {
        flex-flow: column;
        align-items: center;
        margin: 0 auto;
        gap: 2em;
    }
    .voiceA,
    .voiceB {
        width: 85%;
    }
    .voice h2 {
        font-size: 2em;
    }
    .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;
    }
}

@media (max-width: 650px) {
    main {
        margin-top: -2em;
    }
    .index header {
        background: url(../img/top_s.webp) no-repeat  bottom/cover;
        justify-content: space-between;
    }
    .index header nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 30%;
        margin-bottom: 3em;
        gap: .5em;
    }
    .index header nav ul li {
        font-size: .75em;
    }
    .lead {
        width: 20.5em;
    }
    .lead a {
        font-size: 1.25em;
    }
}

@media (max-width: 480px) {
    header .navi.mini {
        position: fixed;
        top: 1em;
        right: -22em;
        transition: right 1s ease;
        display: flex;
        align-items: center;
        background: var(--darkblue);
        color: #FFF;
        box-shadow: 0 0 10px 5px #E7F0F6B3 inset;
        border-radius: 999px 0 0 999px;
        height: 3em;
        z-index: 99999;
        overflow: hidden;
    }
    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;
    }
    .lead img {
        width: 1.5em;
        height: 1.5em;
    }
    .supica h2 {
        font-size: 2em;
    }
    .voice h3 {
        font-size: 1em;
    }
    .visit>div h2 {
        font-size: 1.25em;
    }
    .visit>div>div {
        width: 15.5em;
    }
    .visit>div>div a {
        font-size: 1em;
    }
    .visit>div>div img {
        width: 1.25em;
        height: 1.25em;
    }
}