@charset "utf-8";
/* CSS Document */
.kawara1 {
    position: absolute;
    top: 70px;
    right: 0;
    width: 30%;
}
@media(max-width: 1200px) {
    .kawara1 {
        width: 40%;
        top: 80px;
    }
}
@media(max-width: 600px) {
    .kawara1 {
        width: 50%;
        top: 60px;
    }
}
.slogan {
    position: absolute;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    top: 100px;
    left: calc(50% - 20%);
}
.slogan p {
    display: inline;
    background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.8) 0%);
    padding: 10px 5px;
    font-size: clamp(20px, 1.667vw, 30px);
    font-weight: 700;
    line-height: 2.2em;
    letter-spacing: 0.15em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    vertical-align: top;
}
@media(max-width: 1200px) {
    .slogan {
        top: 8.5vw;
        left: calc(50% - 43%);
    }
}
@media(max-width: 600px) {
    .slogan {
        top: 15vw;
        left: calc(50% - 41%);
    }
}
.slider {
    position: relative;
    z-index: -1;
    height: 78vh;
    margin-top: 10.5vw;
    margin-left: 21.88vw;
}
.slider-item01 {
    background: url("../images/top_1450@0.5x.jpg");
    background-position: top;
}
.slider-item02 {
    background: url("../images/YB2_1560_sp@0.5x.jpg");
    background-position: center;
}
.slider-item03 {
    background: url("../images/about1_1442@0.5x.jpg");
    background-position: top;
}
.slider-item {
    width: 100%;
    height: 78vh;
    background-repeat: no-repeat;
    background-size: cover;
}
@media(max-width: 1200px) {
    .slider {
        height: 60vh;
        margin-top: 8vw;
        margin-left: 0;
    }
    .slider-item {
        height: 60vh;
    }
}
@media(max-width: 600px) {
    .slider-item01 {
        background: url("../images/YB2_1450_sp@0.5x.jpg");
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .slider {
        height: 40vh;
        margin-top: 8vw;
        margin-left: 0;
    }
    .slider-item {
        height: 40vh;
    }
}
.about {
    margin: 150px 0 270px 21.88vw;
}
.about h2, .about p, .about a {
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
.about1 h2 {
    line-height: 1.0em;
    letter-spacing: 0.15em;
}
.about1 span {
    font-size: 0.6em;
}
.about1, .about2 {
    display: flex;
    justify-content: center;
}
.about1_img {
    width: 26.46vw;
    height: 26.46vw;
    background-image: url("../images/nagano_img_1477.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.about1 p {
    margin: 0 3.65vw 0 8.85vw;
    line-height: 3.5rem;
    text-indent: 1em;
    height: 55vh;
}
.about2 {
    position: relative;
    margin-top: 100px;
}
.about2_img {
    width: 36.46vw;
    height: 46.3vh;
    background-image: url("../images/about_img_0948@0.5x.jpg");
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    margin: 0 0 0 auto;
}
.about2 p {
    height: 47vh;
    margin-left: 12vw;
    line-height: 3.5rem;
    text-indent: 1em;
}
@media(max-width: 1200px) {
    .about {
        padding-left: 6vw;
        margin: 100px auto 150px;
    }
    .about1, .about2 {
        display: flex;
    }
    .about1 h2 {
        margin-right: 6vw;
    }
    .about1 p {
        margin: 0 2vw 0 7vw;
        line-height: 3.2rem;
        text-indent: 1em;
        height: 400px;
        text-align: justify;
    }
    .about1_img {
        width: 35vw;
        height: 35vw;
    }
    .about2 {
        margin-top: 70px;
    }
    .about2 p {
        height: 400px;
        margin-left: 6vw;
        line-height: 3.2rem;
        text-indent: 1em;
    }
    .about2_img {
        width: 60%;
        height: 400px;
    }
}
@media(max-width: 900px) {
    .about1_img, .about2_img {
        display: none;
    }
    .about1_img_sp {
        display: block;
        width: 80%;
        height: 350px;
        background-image: url("../images/nagano_img_1477.jpg");
        background-repeat: no-repeat;
        background-position: top;
        background-size: cover;
        margin: 50px auto 0;
    }
    .about1 p {
        height: 300px;
        line-height: 3.0rem;
        margin: 0 5% 0 0%;
    }
    .about2_img_sp {
        display: block;
        width: 80%;
        height: 350px;
        background-image: url("../images/about_img_0948@0.5x.jpg");
        background-repeat: no-repeat;
        background-position: top;
        background-size: cover;
        margin: 50px auto 0;
    }
    .about2 p {
        height: 300px;
        line-height: 3.0rem;
        margin: 0 5% 0 0%;
    }
}
@media(max-width: 600px) {
    .about {
        width: 90%;
        margin: 80px auto 100px;
        padding-left: 0;
    }
    .about1 {
        justify-content: space-around;
    }
    .about1 h2 {
        margin-right: 0;
        font-size: clamp(24px, 1.4vw, 28px);
    }
    .about1_img_sp {
        display: block;
        width: 100%;
        height: 300px;
        background-image: url("../images/nagano_img_1477.jpg");
        background-repeat: no-repeat;
        background-position: top;
        background-size: cover;
        margin: 50px auto 0;
    }
    .about1 p {
        height: 430px;
        line-height: 3.0rem;
        margin: 0 5% 0 0%;
    }
    .about2 {
        justify-content: flex-end;
        margin-top: 50px;
    }
    .about2 p {
        height: 430px;
        line-height: 3.0rem;
    }
    .about2_img_sp {
        display: block;
        width: 100%;
        height: 280px;
        background-image: url("../images/about_img_0948@0.5x.jpg");
        background-repeat: no-repeat;
        background-position: top;
        background-size: cover;
        margin: 50px auto 0;
    }
}
.history {
    width: 100vw;
    background-color: #B5C7D1;
    padding: 180px 0;
}
.history_inner {
    position: relative;
    margin-left: 21.88vw;
}
.history_inner h2 {
    margin-bottom: 50px;
}
.kawara2 {
    position: absolute;
    top: -290px;
    left: 0;
    width: 30vw;
}
.wrap {
    display: flex;
    flex-wrap: wrap;
}
.wrap img {
    width: 500px;
    height: auto;
    margin-top: 50px;
}
.table {
    width: 40%;
    text-align: left;
    border-collapse: collapse;
    border-spacing: 0;
    margin-right: 50px;
}
.table th, .table td {
    padding: 25px 0 10px;
    border-bottom: solid 1px #5D92B1;
    font-size: clamp(14px, 1.1vw, 20px);
}
.table th {
    width: 30%;
    font-weight: 700;
}
@media(max-width: 1200px) {
    .history {
        width: 100vw;
        padding: 100px 0;
    }
    .history_inner {
        width: 90%;
        margin: 0 auto;
    }
    .history_inner h2 {
        margin-bottom: 30px;
    }
    .kawara2 {
        top: -150px;
        width: 40vw;
    }
    .wrap {
        display: flex;
        flex-wrap: wrap;
    }
    .wrap img {
        width: 350px;
        height: 260px;
        margin-top: 60px;
    }
    .table {
        width: 50%;
    }
    .table th, .table td {
        font-size: clamp(16px, 1.2vw, 20px);
    }
}
@media(max-width: 600px) {
    .history {
        padding: 60px 0 100px;
    }
    .wrap img {
        width: 100%;
    }
    .table {
        width: 100%;
    }
    .kawara2 {
        top: -100px;
        width: 60%;
    }
}
.company {
    position: relative;
    margin-left: 21.88vw;
    padding: 180px 0;
}
.company h2 {
    margin-bottom: 50px;
}
.table2 {
    width: 55%;
    text-align: left;
    border-collapse: collapse;
    border-spacing: 0;
}
.table2 th, .table2 td {
    padding: 25px 0 10px;
    border-bottom: solid 1px #5D92B1;
    font-size: clamp(14px, 1.1vw, 20px);
}
.table2 th {
    width: 30%;
    font-weight: 700;
}
.kawara3 {
    position: absolute;
    width: 28vw;
    height: auto;
    top: -200px;
    right: 0;
}
@media(max-width: 1200px) {
    .company {
        margin-left: 0;
        padding: 100px 0;
    }
    .company h2 {
        margin-bottom: 30px;
    }
    .company_inner {
        width: 90%;
        margin: 0 auto;
    }
    .table2 {
        width: 60%;
    }
    .table2 th, .table2 td {
        font-size: clamp(16px, 1.2vw, 20px);
    }
    .kawara3 {
        width: 38vw;
        top: -150px;
    }
}
@media(max-width: 600px) {
    .company {
        padding: 70px 0 60px;
    }
    .company h2 {
        margin-bottom: 40px;
    }
    .table2 {
        width: 100%;
    }
    .kawara3 {
        width: 60%;
        top: -100px;
    }
    .table th {
        width: 40%;
    }
}