@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 -------------------- */
.job header {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    padding: 2em 0 0 2em;
    gap: 1.5em;
}
.job header>p {
    width: 300px;
}
.job header nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75em;
    width: 30%;
}
.job 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;
}
.job header nav ul li:hover {
    transform: scale(1.1);
    transition-duration: .5s;
}
.job header {
    background: url(../img/topblue.webp) no-repeat right bottom/cover;
    height: 500px;
} 
/* 最新ヘッダー */
header .navi {
    position: relative;
    background: none;
}
header .navi label {
    display: none;
}
/* サイドメニュバー（スクロール時に動きあり） */
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 #639cf94d inset;
    border-radius: 999px 0 0 999px;
    height: 5em;
    z-index: 1;
    overflow: hidden;
}
header .navi.mini:hover {
    right: 0;
}
header .navi.mini nav ul li a>span{
    display: inline;
    text-align: center;
    line-height: 1.5;   
}
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 ul li:hover {
    text-decoration: underline;
}
header .navi.mini nav ul li a>span{
    display: inline;
    text-align: center;
    line-height: 1.5;   
}
#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; /* cover画像に近づけるため*/
}


/* 見学申し込みサイドバー */
.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 {
    padding: .75em;
    text-align: center;
}
.lead.mini:hover {
    transform: scale(1.1);
    transition-duration: .5s;
}
/* about ---------- */
/* 猫題目＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.blackcat{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10em;
    margin-bottom: 5em;
}
.blackcat h2{
    font-size: 40px;
    font-weight: 500;
}
.catB{
    width: 60px;
    height: 50px;   
}
/* ご利用までの流れ----------------------------------------------------------------- */
.step{
    width: 180px;
    height: 280px;
    margin-right: 4em;
}

.list{
     display: flex; 
    justify-content: center;
    align-items: center;
}

h3{
    font-size: 2em;
    line-height: 1.5;
}
.flex-inner{
    display: flex;
    flex-flow: column;
    align-items: flex-start;
}
/* 文字間の微調整 */
main p{
 margin-top: 2em;
 margin-bottom: 3em;
 line-height: 1.5em;
 font-size: 24px;
}
.contact-A{
    margin-top: 2em;
 margin-bottom: 3em;
}
.contact{
    margin-top: 2em;
    margin-bottom: 7em;
}

.line{
    width:90% ;
}

/* モーダル--------------------------- */
.flex-inner .modal-wrap {
    align-self: center;
    margin-bottom: 2em;
}
.modal-wrap input {
    display: none;
}
.modal-open-label,
.modal-close-label {
    cursor: pointer;
}
.modal-open-label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15em;
    height: 3em;
    margin:0 auto;
    padding: .8em 2em;
    border: none;
    border-radius: 5px;
    background-color: #8bc2ff;
    color: #ffffff;
    font-weight: 600;
    font-size: 1em;
}
.modal-open-label:hover {
    background-color: #fff;
    color: #8bc2ff;
    outline: 1px solid #8bc2ff;
}
.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: none;
}
.modal-open-input:checked+label+input+.modal {
    display: block;
    animation: modal-animation .6s;
}
.modal-content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background-color: var(--base);
    z-index: 2;
    border-radius: 5px;
}
.modal-close-label {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.6;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 999;
    font-size: 1.3em;
}
.modal-content {
    height: 40%;
    margin: auto;
    overflow-y: auto;
    padding: 1em;
    z-index: 9999;
}
.modal-content p {
    font-size: 1em;
    line-height: 1.75em;
    margin: auto;
}
.modal-content p>span {
    background-color: var(--darkblue);
    color: var(--base);
    padding: 0 .5em;
}
.modal-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #00000073;
    z-index: 1;
}
@keyframes modal-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 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 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;
}
.address ul li a:hover {
    text-decoration: underline;
}
/* 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;
}
/* メディアクエリ */

/* 800px以下 */
@media screen and (max-width: 800px) {
    
    .blackcat{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 6em;
        margin-bottom: 3em;
    } 

    .step{
        width: 120px;
        height: 200px;
        margin: 10px 3px 20px 10px;
    }
    h3{
        font-size: 1.3em;
    }
    /* 文字間の微調整 */
p{margin: 8px 10px 32px;
    /* margin-top: .5em;
    margin-bottom: 2em;  */
    line-height: 1.5em;
    font-size: 15px;
   }
   .contact-A{
       margin-top: 2em;
    margin-bottom: 5em;
   }
   .contact{
    margin: 30px 10px 120px 0;
       /* margin-top: 2em;
       margin-bottom: 3em; */
   }
   .line{
       width:90% ;
   }
   .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;
}
.modal-open-label {
    /* max-width: 70%; */
    padding: .8em 1em;
    width: 13em;
    font-size: 1em;
}
.modal-close-label {
    top: -17px;
    right: -4%;
}
.modal-content {
    padding: 1em;
    max-width: 100%;
}
}
/* 480px以下---------------------------------------------- */
@media (max-width:480px) {
    .job header nav ul li{
        font-size: 1em;
    }
    .job header  {
        height: 470px;
    }
    header .navi.mini {
        position: fixed;
        top: 1em;
        right: -22em;
        transition: right 1s ease;
        display: flex;
        align-items: center;
        background: #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;
    }
    .blackcat{
        flex-flow: column;
        justify-content: center;
        padding:-40px 0 0 0;
    } 
    .blackcat h2{
        font-size: 32px;
        font-weight: 500;
    }
    .modal-open-label {
        padding: .8em 1em;
        width: 10em;
        font-size: .75em;
    }
}

