@charset "UTF-8";
.page_section {
    padding: min(15vw,124px) 0;
}
.page_contents {
    width: 90vw;
}
.bg_sky{
    background: url(../../img/pages/service/bg_sky.webp) no-repeat center / cover;
}
.ttlbox_smpl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
    align-items: baseline;
}
.ttl_smpl {
    color: #2659ae;
    font-size: clamp(4rem, 3.2rem + 0.8vw, 4.8rem);
    margin-right: 20px;
    letter-spacing: 0.1em;
    line-height: 1.3;
}
.deco_smpl {
    font-size: 1.8rem;
    color: #2659ae;
    font-weight: 500;
    padding-top: 1em;
}
@media screen and (max-width: 640px) {
    .ttl_smpl {
        width: 100%;
    }
}
.txt_box{
    font-size: clamp(1.5rem, 1.42rem + 0.2vw, 1.7rem);
    line-height: 2.0;
}
/*==================================================
STRENGTH
==================================================*/
.strength_item {
    display: flex;
    position: relative;
    margin-bottom: 35px;
}
.strength_item:last-child{
    margin-bottom: 0;    
}
:where(.strength_item:nth-of-type(2n)) {
    flex-direction: row-reverse;
}
.strength_detail {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.8);
    width: 70%;
    padding: 60px 120px 60px 75px;
}
.strength_name {
    line-height: 1;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(2.25rem, 1.875rem + 1.88vw, 4.125rem);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;    
    letter-spacing: 0.1em;
    margin-right: min(5.5vw, 45px);
    min-height: max-content;
}
span.txt_combine{
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    letter-spacing: 0;
}
.strength_ttl {
    font-size: min(4.5vw,24px);
    margin-bottom: min(3vw, 20px);
    line-height: 1.6;
    font-weight: bold;
}
.strength_txt {
}
.strength_img {
    position: absolute;
    z-index: 2;
    top: 60px;
    right: 0;
    width: 38%;
}
:where(.strength_item:nth-of-type(2n)) .strength_img {
    left: 0;
    right: auto;
}
:where(.strength_item:nth-of-type(2n)) .strength_detail{
    padding: 60px 75px 60px 120px;    
}
@media (max-width:800px){
.strength_detail {
    width: 100%;
    flex-direction: column;
    padding: 9vw 5%;
}
.strength_name {
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    margin-bottom: min(4vw, 15px);
}
.strength_item {
    flex-direction: column;
}
.strength_img {
    position: relative;
    top: 0;
    right: auto;
    left: auto;
    margin-left: auto;
    margin-bottom: 0;
    width: 100%;
    padding: 0 5% 9vw;
    background: rgba(255, 255, 255, 0.8);
}
}
/*==================================================
SERVICE
==================================================*/
ul.service_list {
    counter-reset: number 0;
}
.service_head {
    position: relative;
    margin-bottom: min(5vw,60px);
}
.service_headimg {
    width: min(110%, 90vw);
}
.service_name_wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;    
    width: min(100%, 620px);
    padding: 50px 2.5% 0 0;
    display: grid;
    grid-template-areas:
        "area1 area2"
        "area1 area3";
    grid-template-columns: min(14vw,150px) 1fr;
    grid-template-rows: 1fr min(3vw,24px);
}
.service_item:not(:last-child) {
    margin-bottom: min(20vw,155px);
}
:where(.service_item) .service_name_wrap::before {
    content: "";
    counter-increment: number 1;
    content: counter(number,decimal-leading-zero);
    color: #2659ae;
    line-height: 1;
    font-size: min(9vw,82px);
    grid-area: area1;
}
.service_name {
    grid-area: area2;
    display: flex;
    align-items: flex-end;
    font-size: min(7vw,46px);
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: 0.08em;
}
.service_engname{
    grid-area: area3;
    color: #2659ae;
    font-size: min(2.5vw,12px);
    line-height: 1;
    display: flex;
    align-items: flex-end;
    letter-spacing: 0.1em;
}

.service_detail {
    display: flex;
    position: relative;
    justify-content: space-between;
}
.service_txt {
    width: calc(100% - 4% - 320px);
    min-height: 284px;
}
.service_photo_wrap {
    width: 320px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: min(2vw,16px);
    position: absolute;
    z-index: 2;
    bottom: 0;
    right: 0;
}
@media (max-width:800px){
.service_name_wrap {
    position: relative;
    width: 100%;
    padding: 0;
}
.service_detail {
    flex-direction: column;
}
.service_photo_wrap {
        position: static;
    margin: 5vw 0 0;
    justify-content: space-around;
    flex-direction: row;
    width: 100%;
}
.service_photo {
    width: min(49%, 321px);
}
.service_txt{
    width: 100%;
    min-height: auto;
}
.service_headimg {
    margin-top: min(5vw, 40px);
}
}

/*service_headimgの写真を撮影するまでのcss*/
/*
.service_headimg {
    display: none;
}
.service_head{
    margin-bottom: min(5vw,40px);
}
.service_name_wrap {
    position: relative;
}
.service_item:not(:last-child) {
    margin-bottom: min(20vw, 105px);
}
.service_photo_wrap {
    position: static;
}
@media (min-width:801px){
.service_item:not(:first-child) {
    margin-top: -80px;
}
}
*/
/*==================================================
WORKS
==================================================*/
.works_img_wrap {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: min(6vw, 55px);
}
