@charset "UTF-8";
/* コンテンツ */

.bg_y {
    background-color: #ffef1a;
}
.bg_s {
    background-color: #ebf2f6;
}
.bg_p {
    background-color: #f9e1f1;
}

.benefit {
    background-color: #172d57;
    color: #fff;
    font-size: 1.16em;
    line-height: 1;
    padding: 2em 2em 0.5em;
}
.benefit ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.benefit ul li {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2em;
    margin-bottom: 1.5em;
    white-space: nowrap;
}
.benefit ul li a {
    display: block;
    color: #fff;
    transition: all 0.3s;
}
.benefit ul li a:hover {
    color: #999;
}
.benefit ul li::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #ccc;
}
.benefit ul li::before {
   content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #ccc;
}


.pw_box ul {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: -5em;
}
.pw_box ul li {
    width: 35%;
    margin-bottom: 5em;
}
.pw_box ul li h4 {
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5em;
}
.pw_box ul li h4 figure {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(51,51,51,1), rgba(51,51,51,0));
}
.pw_box ul li h4 section {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background-image: url("../img/pw1.jpg");
    background-position: center center;
    background-size: cover;
    transition: 0.3s all;
}
.pw_box ul li:nth-child(2) h4 section {
    background-image: url("../img/pw3.jpg");
}
.pw_box ul li:nth-child(3) h4 section {
    background-image: url("../img/pw4.jpg");
}
.pw_box ul li:nth-child(4) h4 section {
    background-image: url("../img/pw5.jpg?0608");
}
.pw_box ul li:nth-child(5) h4 section {
    background-image: url("../img/pw6.jpg");
}
.pw_box ul li:nth-child(6) h4 section {
    background-image: url("../img/pw6.jpg");
}
.pw_box ul li h4 section:hover {
    transform: scale(1.1);
}
.pw_box ul li h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 1.5;
}
.pw_box ul li h3 strong {
    font-family: "EB Garamond", serif;/*400-800*/
    font-weight: 400;
    font-size: 1.6em;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}
.pw_box ul li h3 span {
    font-weight: 500;
}


.bg_bluegd {
    background: linear-gradient(#0068f0, #27b3ef);
    color: #fff;
}
.dos_box {
}
.dos_box ul {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
.dos_box ul li {
    display: flex;
    justify-content: center;
    align-items: center;
}
.dos_box ul li:first-child {
    width: 55%;
    background-image: url("../img/des_img.webp");
    background-position: center top;
    background-size: auto 120%;
    aspect-ratio: 160 / 95;
}
.dos_box ul li:last-child {
    width: 45%;
}
.dos_box ul li section {
    text-align: left;
}
.dos_box ul li h3 {
    font-size: 2.8em;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
}
.dos_box ul li p {
    font-size: 1.16em;
    line-height: 1.7;
    letter-spacing: 0.1em;
    margin-top: 1em;
}
.dosadj1 li:first-child {
    background-image: url("../img/view.webp") !important;
}


.rashi_box img {
    width: 100%;
}
.rashi_box h3 {
    text-align: center;
    margin-bottom: 3em;
    line-height: 0;
}
.rashi_box h3 img {
    width: 80%;
}
.rashi_box ul {
    display: flex;
    justify-content: center;
    align-items: center;
}
.rashi_box ul li:nth-child(1),.rashi_box ul li:nth-child(3) {
    width: 15%;
}
.rashi_box ul li:nth-child(2) {
    text-align: center;
    width: 60%;
}
.rashi_box ul li p {
    font-size: 1.16em;
    line-height: 2;
    margin-bottom: 1em;
}
.rashi_box ul li p:last-of-type {
    margin-bottom: 0;
}
.rashi_box h4 {
    display: none;
    line-height: 0;
}

.sumai_box {
    overflow: hidden;
}
.sumai_box ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.sumai_box ul li {
    width: 50%;
}
.sumai_box ul li img {
    width: 100%;
}

.sumai_box2 {
    
}
.sumai_box2 img {
    width: 100%;
}
.sumai_box2 h3 {
    text-align: center;
    margin-bottom: 3em;
    line-height: 0;
}
.sumai_box2 h3 img {
    width: 60%;
}
.sumai_box2 p {
    text-align: center;
    font-size: 1.16em;
    line-height: 2;
}
.sumai_box2 h4 {
    margin-top: -5em;
    line-height: 0;
}

.yutori_box {
    
}
.yutori_box img {
    width: 100%;
}
.yutori_box h3 {
    text-align: center;
    margin-bottom: 3em;
    line-height: 0;
}
.yutori_box h3 img {
    width: 80%;
}
.yutori_box ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.yutori_box ul {
    margin-bottom: 4em;
}
.yutori_box ul:last-of-type {
    margin-bottom: 1em;
}
.yutori_box ul li {
    width: 32.5%;
}
.yutori_box p {
    text-align: center;
    font-size: 1.16em;
    line-height: 1.4;
    margin-top: 0.5em;
}


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

}

@media screen and (min-width: 961px) {
.dosadj1 {
    flex-direction: row-reverse;
}
}

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

.pw_box ul {
    margin-bottom: -4em;
}
.pw_box ul li {
    width: 35%;
    margin-bottom: 4em;
}
.pw_box ul li h3 {
    font-size: 1.6vw;
}

.dos_box ul {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
.dos_box ul li {
    display: flex;
    justify-content: center;
    align-items: center;
}
.dos_box ul li:first-child {
    width: 100%;
}
.dos_box ul li:last-child {
    width: 100%;
    padding: 4em 0;
}
.dos_box ul li h3 {
    font-size: 2.8em;
}
.dos_box ul li p {
    font-size: 1.16em;
}


.rashi_box h3 {
    margin-bottom: 3em;
}
.rashi_box h3 img {
    width: 100%;
}
.rashi_box ul {
    margin-bottom: 3em;
}
.rashi_box ul li:nth-child(1),.rashi_box ul li:nth-child(3) {
    display: none;
}
.rashi_box ul li:nth-child(2) {
    width: 100%;
}
.rashi_box ul li p {
    font-size: 1.08em;
}
.rashi_box h4 {
    display: block;
}

.sumai_box2 h3 {
    margin-bottom: 3em;
}
.sumai_box2 h3 img {
    width: 60%;
}
.sumai_box2 p {
    font-size: 1.08em;
}
.sumai_box2 h4 {
    margin-top: 0;
}

.yutori_box h3 {
    margin-bottom: 3em;
}
.yutori_box h3 img {
    width: 80%;
}
.yutori_box ul:first-of-type {
    margin-bottom: 3em;
}
.yutori_box p {
    font-size: 1.08em;
}

}


@media screen and (max-width: 520px) {
.benefit {
    font-size: 1.16em;
    padding: 2em 0 0.5em;
}
.benefit ul li {
    width: 50%;
}
.benefit ul li::after {
    content: none
}
.benefit ul li:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #ccc;
}
.benefit ul li::before {
   content: none;
}

.pw_box ul {
    justify-content: space-between;
    margin-bottom: -3em;
}
.pw_box ul li {
    width: 47%;
    margin-bottom: 3em;
}
.pw_box ul li h3 {
    font-size: 2.5vw;
}

.dos_box ul li h3 {
    font-size: 2.5em;
}
.dos_box ul li p {
    font-size: 1.08em;
}

.rashi_box h3 {
    margin-bottom: 2em;
}
.rashi_box ul {
    margin-bottom: 2em;
}
.rashi_box ul li p {
    font-size: 1em;
}

.sumai_box2 h3 {
    margin-bottom: 2em;
}
.sumai_box2 h3 img {
    width: 80%;
}
.sumai_box2 p {
    font-size: 1em;
}
.sumai_box2 h4 {
    margin-top: 0.5em;
}

.yutori_box h3 {
    margin-bottom: 2em;
}
.yutori_box h3 img {
    width: 90%;
}
.yutori_box ul:first-of-type {
    margin-bottom: 2em;
}
.yutori_box p {
    font-size: 1em;
}

}
