@charset "utf-8";

/*
Theme Name: オノケン工房
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Roboto:wght@500;700&display=swap');

*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
}
:root{
    --textColor: #333;
    --whiteColor: #fff;
    --mainColor: #003586;
    --mainColorOpacity: rgba(0, 53, 134, .55);
    --subColor: #f1f8ff;
    --accentColor: #f6f3a8;
    --accentColor2: #a8f6b2;
    --accentColor3: #f6b3a8;
    --accentColor4: #a8d2f6;
    --borderColor: #e3e3e3;
    --WargingColor: #eb0101;
    --baseWidth: 108.6rem;
    --headerMargin: 6vw;
    --baseMargin: .4rem;
    --headerHeight: 6.4rem;
    --scrollBarSize: 0;
    --borderRadius: 1.5rem;
    --boxShadow: 0 .3rem .6rem rgba(0, 0, 0, .1);
    --baseSide: calc(var(--headerMargin) + (var(--scrollBarSize) / 2));
    --paddingSide: 4rem;
    /* --currentWidth:
        min(
            calc(100vw - (var(--headerMargin) * 2) - var(--scrollBarSize)),
            var(--baseWidth)
        ); */
}
body{
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--textColor);
    font-family: 'Noto Sans JP', sans-serif;
}
a{
    text-decoration: none;
    color: inherit;
}
input, textarea, button{
    font: inherit;
    line-height: inherit;
    max-width: 100%;
    outline: none;
    display: block;
}
li{
    list-style: none;
}
ul.list li{
    display: flex;
}
ul.list li::before{
    content: '・';
}
img{
    max-width: 100%;
    height: auto;
    display: block;
}
small{
    font: inherit;
}
h1, h2, h3, h4, h5, h6{
    line-height: 1;
}
h2{
    font-size: 2.4rem;
}
.container{
    max-width: var(--baseWidth);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--baseSide);
    padding-right: var(--baseSide);
    box-sizing: content-box;
}
.decoration{
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    line-height: 1;
    display: block;
    text-transform: uppercase;
}
.bg--a{
    background: var(--subColor);
}
.color-warning{
    color: var(--WargingColor);
}
.padding--a{
    padding-top: calc(var(--baseMargin) * 20);
    padding-bottom: calc(var(--baseMargin) * 20);
}
.padding--b{
    padding-top: calc(var(--baseMargin) * 37);
    padding-bottom: calc(var(--baseMargin) * 37);
}
.sp{
    display: none !important;
}
.sp--nav{
    display: none !important;
}
@media (max-width: 999px){
    .sp--nav{
        display: block !important;
    }
    .pc--nav{
        display: none !important;
    }
    body{
        padding-top: var(--headerHeight);
    }
    body.open{
        position: absolute;
        top: 0;
        left: 0;
        right: var(--scrollBarSize);
        overflow: hidden;
    }
}
@media (max-width: 767px){
    :root{
        --baseMargin: .32rem;
        --paddingSide: 2rem;
    }
    .pc{
        display: none !important;
    }
    .sp{
        display: block !important;
    }
}

/* section-title */
.section-title,
.section-title--b{
    font-size: 3.2rem;
    letter-spacing: .05em;
}
.section-title--b{
    color: var(--mainColor);
}
.section-title span{
    font-size: .56em;
    color: var(--mainColor);
    margin-bottom: calc(var(--baseMargin) * 1);
    letter-spacing: .15em;
}

/* icon-area */
.icon-area{
    display: flex;
    align-items: center;
}
.icon-area span{
    line-height: 1;
    padding: .6rem;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-right: .4rem;
    font-size: 2rem;
}

/* flex-area */
.flex-area{
    display: flex;
    justify-content: space-between;
    column-gap: 2rem;
}
.flex-area > .left{
    width: calc(100% / 3);
}
.flex-area > .right{
    width: calc(100% / 3 * 2 - 2rem);
}
.flex-area > .right.text{
    line-height: 2;
    letter-spacing: .05em;
}
@media(max-width: 767px){
    .flex-area{
        display: block;
    }
    .flex-area > .left,
    .flex-area > .right{
        width: 100%;
    }
    .flex-area > .left{
        margin-bottom: calc(var(--baseMargin) * 10);
    }
}

/* btn */
.btn a,
.wpcf7 .btn .inner{
    width: 24.8rem;
    text-align: center;
    border: .2rem solid;
    background: var(--mainColor);
    border-radius: 4rem;
    font-size: 1.4rem;
    color: var(--whiteColor);
    transition: .25s ease-in-out;
}

.btn a:hover,
.wpcf7 .btn .inner:hover{
    background: var(--whiteColor);
    color: var(--mainColor);
}
.btn a,
.wpcf7 .btn .inner input[type=submit]{
    padding-top: 1.3rem;
    padding-bottom: 1.2rem;
}
.btn a{
    display: flex;
    padding-left: 3rem;
    border-radius: 4rem;
    justify-content: center;
    align-items: center;
}
.btn a::after,
.wpcf7 .btn .inner::after{
    content: '';
    border: 0.8rem solid;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-right-color: transparent;
    display: block;
    margin-left: 2rem;
    transition: .25s ease-in-out;
}
.btn a:hover::after,
.wpcf7 .btn .inner:hover::after{
    border-left-color: var(--mainColor);
}
.btn a::after{
    height: 100%;
}
.btn.btn--b a{
    background: var(--whiteColor);
    color: var(--mainColor);
    border-color: var(--whiteColor);
}
.btn.btn--b a:hover{
    background: var(--mainColor);
    color: var(--whiteColor);
    border-color: var(--mainColor);
}
.btn.btn--b a:hover::after{
    border-left-color: var(--whiteColor);
}
.wpcf7 .btn .inner{
    position: relative;
    margin: auto;
    border-color: var(--mainColor);
}
.wpcf7 .btn .inner::after{
    position: absolute;
    top: calc(50% + .1rem);
    right: calc(50% - 2.5em - 2rem);
    border-left-color: var(--whiteColor);
    transform: translate(-50%, -50%);
}
.wpcf7 .btn input[type=submit]{
    background: transparent;
    position: relative;
    display: block;
    width: 100%;
    color: inherit;
    border: none;
    z-index: 2;
    cursor: pointer;
}

/* wpcf7 */
.wpcf7-spinner{
    display: none !important;
}
.wpcf7 label{
    margin-bottom: calc(var(--baseMargin) * 5);
}
.wpcf7 label > span:first-of-type {
    display: block;
    flex: 0 0 28rem;
}
.wpcf7 label .input-area{
    flex: 1;
}
.wpcf7 label .input-area input,
.wpcf7 label .input-area textarea{
    padding: .8rem 1.2rem;
    border: .1rem solid var(--borderColor);
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 .2rem .4rem rgba(0, 0, 0, .05);
}
.wpcf7 label .input-area textarea{
    resize: none;
}
.wpcf7 .btn{
    margin-top: calc(var(--baseMargin) * 10);
}
.wpcf7 form .wpcf7-response-output{
    border: none;
    margin: calc(var(--baseMargin) * 5) 0 0;
    padding: 0;
}
.wpcf7 .wpcf7-not-valid-tip{
    margin-top: calc(var(--baseMargin) * 1);
}
.wpcf7 .required{
    margin-left: 1em;
}
.wpcf7 .required,
.wpcf7 .wpcf7-not-valid-tip,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output{
    color: var(--WargingColor);
    font-size: .75em;
}
@media(max-width: 767px){
    .wpcf7 label {
        margin-bottom: calc(var(--baseMargin) * 7);
    }
    .wpcf7 label > span:first-of-type{
        margin-bottom: calc(var(--baseMargin) * 3);
    }
}

/* table */
.table{
    width: 100%;
    border-collapse: collapse;
}
.table tr{
    border-bottom: .1rem solid var(--borderColor);
}
.table th{
    font-weight: inherit;
    text-align: left;
    width: min(25rem, 25vw);
}
.table th,
.table td{
    padding:
        calc(var(--baseMargin) * 5)
        .8rem
        calc(var(--baseMargin) * 5)
        var(--paddingSide);
}
@media(max-width: 666px){
    .table th,
    .table td{
        padding-left: .8rem;
    }
}

/* header */
.header-container{
    display: flex;
    justify-content: space-between;
    padding: calc(var(--baseMargin) * 2) var(--baseSide);
    align-items: center;
}
.header-nav .nav .menu-item{
    letter-spacing: .05em;
}
.header-nav:not(.sp--nav) .nav .menu-item{
    padding: 0 2rem;
}
.header-nav:not(.sp--nav) .nav{
    display: flex;
}
.header-nav:not(.sp--nav) .nav li.menu-item a{
    position: relative;
    transition: color .3s;
}
.header-nav:not(.sp--nav) .nav li.menu-item a:hover{
    color: var(--mainColor);
}
.header-nav:not(.sp--nav) .nav li.menu-item.current_page_item a::after {
    content: '';
    display: block;
    left: -.4rem;
    background: var(--mainColor);
    height: .2rem;
    position: absolute;
    bottom: -.8rem;
    right: -.4rem;
}
.header-nav.sp--nav{
    position: fixed;
    left: 0;
    top: var(--headerHeight);
    bottom: 0;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    z-index: 999;
    background: var(--subColor);
    padding-bottom: calc(var(--baseMargin) * 5);
}
.header-nav.sp--nav .wrap{
    height: 100%;
    overflow: auto;
}
.open .header-nav.sp--nav .wrap{
    padding-right: var(--scrollBarSize);
}
.header-nav.sp--nav .nav{
    margin:
        10vh
        var(--baseSide)
        2.8rem;
}
.header-nav.sp--nav .nav .menu-item{
    border-bottom: .2rem dashed var(--borderColor);
}
.header-nav.sp--nav .nav .menu-item a{
    display: flex;
    padding: 1em;
    align-items: center;
    justify-content: space-between;
    color: var(--mainColor);
}
.header-nav.sp--nav .nav .menu-item ion-icon{
    font-size: 1.25em;
}
.header-nav.sp--nav .access-area{
    text-align: center;
}
.header-nav.sp--nav .access-area .text:first-of-type{
    justify-content: center;
}
.header-nav.sp--nav .access-area .text:first-of-type span{
    background: var(--accentColor);
    padding: .4rem;
}
.header-nav.sp--nav .access-area .tel{
    color: var(--mainColor);
    font-size: 2.8rem;
    font-weight: 600;
}
#header .title.logo{
    max-width: max(18rem, 10vw);
}
#header .menu-icon{
    cursor: pointer;
}
#header .menu-icon > div{
    display: flex;
    align-items: center;
}
#header .menu-icon > div span{
    margin-right: .4rem;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
}
#header .menu-icon ion-icon{
    border: 0.2rem solid;
    border-radius: 50%;
    width: 1.75em;
    height: 1.75em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--mainColor);
    padding: 0.55rem;
}
body.open #header .open-icon{
    display: none;
}
body:not(.open) #header .close-icon{
    display: none;
}
#header .close-icon{
    margin-right: var(--scrollBarSize);
}
@media (max-width: 999px){
    #header{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99;
        background: var(--whiteColor);
    }
    #header .title.logo{
        max-width: max(14rem, 10vw);
    }
}

/* main-visual */
.main-visual{
    position: relative;
}
.main-visual .main-visual-text{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: var(--baseSide);
}
.main-visual .main-visual-text h2{
    font-size: 4rem;
    color: var(--whiteColor);
    letter-spacing: .05em;
}
.main-visual .main-visual-text h2 span{
    font-size: 1.6em;
    line-height: 1;
    margin-left: -.08em;
    position: relative;
    top: .05em;
}
.main-visual .main-visual-text .decoration{
    font-size: 2.5rem;
    color: var(--whiteColor);
    opacity: .45;
    margin-top: calc(var(--baseMargin) * 5);
    letter-spacing: .1em;
}
@media(max-width: 767px){
    .main-visual .main-visual-text h2{
        font-size: 2.8rem;
        line-height: 1.5;
    }
}

/* thumbnail-area */
.thumbnail-area{
    position: relative;
}
.thumbnail-area .title-area-wrap{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: var(--mainColorOpacity);
    color: var(--whiteColor);
}
.thumbnail-area .title-area{
    max-width: calc(var(--baseWidth) / 2);
    margin-left: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    box-sizing: content-box;
    padding-left: var(--headerMargin);
}
.thumbnail-area .title{
    font-size: 4.8rem;
    letter-spacing: .1em;
    margin-bottom: calc(var(--baseMargin) * 2);
}
.thumbnail-area .title-area .decoration{
    font-size: 2.4rem;
    letter-spacing: .2em;
    opacity: .5;
}
@media(max-width: 767px){
    .thumbnail-area .title{
        font-size: max(2.2rem, 4vw);
    }
    .thumbnail-area .title-area .decoration{
        font-size: max(1.2rem, 2.5vw);
    }
}

/* swiper */
.swiper-button-next, .swiper-button-prev{
    position: static;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    border: .2rem solid var(--mainColor);
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--mainColor);
    transition: .3s;
}
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after{
    content: '';
    border: .9rem solid;
    border-top-color: transparent;
    border-bottom-color: transparent;
}
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after{
    border-left-color: transparent;
    transform: scaleX(1.4) translateX(-.6rem);
}
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after{
    border-right: transparent;
    transform: scaleX(1.4) translateX(.1rem);
}
.swiper-button-prev:hover,
.swiper-button-next:hover{
    color: var(--whiteColor);
    background: var(--mainColor);
}
@media(max-width: 767px){
    .swiper-button-next,
    .swiper-button-prev{
        width: 3.2rem;
        height: 3.2rem;
    }
    .swiper-button-prev:after,
    .swiper-rtl .swiper-button-next:after,
    .swiper-button-next:after,
    .swiper-rtl .swiper-button-prev:after{
        border-width: .6rem;
    }
    .swiper-button-prev:after,
    .swiper-rtl .swiper-button-next:after {
        transform: scaleX(1.4) translateX(-.4rem);
    }
}

/* section-top */
.section-top1 h2{
    margin-top: calc(var(--baseMargin) * 20);
    margin-bottom: calc(var(--baseMargin) * 12);
    color: var(--mainColor);
    display: flex;
    justify-content: center;
    align-items: baseline;
    letter-spacing: .1em;
    padding-left: .1em;
    font-size: 2.8rem;
}
.section-top1 h2 .big{
    font-size: 1.5em;
}
.section-top1 h2::before,
.section-top1 h2::after{
    content: '';
    display: block;
    border-left: .2rem solid;
    height: 1.5em;
    align-self: flex-end;
    position: relative;
    bottom: -.2em;
}
.section-top1 h2::before{
    margin-right: 2rem;
    transform: rotate(-20deg);
}
.section-top1 h2::after{
    margin-left: 2rem;
    transform: rotate(20deg);
}
.section-top1 .card-area{
    --cardColumnGap: 3.53333rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: var(--cardColumnGap);
    row-gap: 4rem;
    counter-reset: number;
}
.section-top1 .card-area .card{
    flex: 0 0 24.5rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-top: 1.6rem solid;
    border-radius: var(--borderRadius);
    position: relative;
    box-shadow: var(--boxShadow);
}
.section-top1 .card-area .card::before{
    counter-increment: number;
    content: "0" counter(number);
    position: absolute;
    top: -1.6rem;
    left: 50%;
    line-height: 1;
    z-index: 2;
    transform: translate(-50%, -50%);
    font-size: 2.6rem;
    font-family: 'Roboto', sans-serif;
}
.section-top1 .card:nth-of-type(1){
    border-color: var(--accentColor);
}
.section-top1 .card:nth-of-type(2){
    border-color: var(--accentColor2);
}
.section-top1 .card:nth-of-type(3){
    border-color: var(--accentColor3);
}
.section-top1 .card:nth-of-type(4){
    border-color: var(--accentColor4);
}
.section-top1 .card .text-area{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7.6rem;
    font-size: 2rem;
    padding: 2rem 1.4rem 1.4rem;
    box-sizing: content-box;
    font-weight: 500;
}
.section-top1 .card .text-area .text span{
    font-size: 1.25em;
}
.section-top1 .card .icon {
    flex: 0 0 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 6rem;
    padding: 1.5rem;
}
.section-top1 .card:nth-of-type(1) .icon{
    background: var(--accentColor);
}
.section-top1 .card:nth-of-type(2) .icon{
    background: var(--accentColor2);
}
.section-top1 .card:nth-of-type(3) .icon{
    background: var(--accentColor3);
}
.section-top1 .card:nth-of-type(4) .icon{
    background: var(--accentColor4);
}
.section-top1 .card .icon img{
    position: relative;
}
.section-top2{
    background: url(assets/img/img_top_business.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--whiteColor);
    position: relative;
}
.ios .section-top2{
    background-attachment: initial;
}
.section-top2::before{
    content: '';
    display: block;
    background: var(--mainColorOpacity);
    width: 50%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}
.section-top2 .wrap{
    max-width: 50%;
    box-sizing: content-box;
    position: relative;
    z-index: 3;
}
.section-top2 .wrap .area{
    padding-right: 4rem;
}
.section-top2 .section-title .decoration{
    color: inherit;
}
.section-top2 .section-title{
    margin-bottom: calc(var(--baseMargin) * 7);
}
.section-top2 .wrap .text{
    margin: calc(var(--baseMargin) * 10) 0;
    letter-spacing: .05em;
    line-height: 2;
}
.section-top2 .btn a::after{
    border-left-color: var(--mainColor);
}
.section-top3 .section-title{
    margin-bottom: calc(var(--baseMargin) * 14);
}
/* .section-top3 .slider-wrap{
    margin-left: max(calc((100% - var(--currentWidth)) / 2), var(--baseSide));
} */
.section-top3 .top{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: calc(var(--baseMargin) * 8);
}
.section-top3 .top .swiper-btn-area{
    display: flex;
    column-gap: 1.6rem;
    align-items: flex-end;
    font-weight: 700;
    color: var(--mainColor);
}
.section-top3 .slider-area{
    margin-left: -.6rem;
    margin-right: -.6rem;
}
.section-top3 .img-area a{
    display: block;
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
    overflow: hidden;
    margin: .6rem;
}
.section-top3 .btn a::after{
    border-left-color: var(--whiteColor);
}
.section-top3 .btn a:hover::after{
    border-left-color: var(--mainColor);
}
.section-top4 .board{
    background: var(--whiteColor);
    margin-top: calc(var(--baseMargin) * 20);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
}
.section-top4 .board > div{
    display: flex;
    align-items: center;
    flex: 1;
    padding: calc(var(--baseMargin) * 6) var(--paddingSide);
    font-size: 1.4rem;
    justify-content: space-between;
    column-gap: 1.2rem;
}
.section-top4 .board .left{
    border-right: .2rem dashed var(--borderColor);
}
.section-top4 .board .btn a{
    background: transparent;
    color: var(--mainColor);
    transition: .25s ease-in-out;
}
.section-top4 .board .btn a:hover{
    background: var(--mainColor);
    color: var(--whiteColor);
}
.section-top4 .board .btn a::after{
    border-left-color: var(--mainColor);
}
.section-top4 .board .btn a:hover::after{
    border-left-color: var(--whiteColor);
}
.section-top4 .board .left .text{
    text-align: center;
}
.section-top4 .board .left .text-area .tel{
    font-size: 3.2rem;
    font-weight: 600;
}
.section-top4 .left .icon-area span{
    background: var(--accentColor);
}
.section-top4 .right .icon-area span{
    background: var(--accentColor3);
}
@media(max-width: 1199px){
    .section-top4 .board{
        display: block;
        padding: 0 var(--paddingSide);
    }
    .section-top4 .board > div{
        display: block;
        text-align: center;
        padding: calc(var(--baseMargin) * 10) 0;
    }
    .section-top4 .board .left {
        border-right: 0;
        border-bottom: .2rem dashed var(--borderColor);
        padding-bottom: calc(var(--baseMargin) * 6);
    }
    .section-top4 .board .right {
        padding-top: calc(var(--baseMargin) * 6);
    }
    .section-top4 .board .icon-area{
        justify-content: center
    }
    .section-top4 .board .btn a{
        margin: calc(var(--baseMargin) * 4) auto 0;
    }
}
@media(max-width: 767px){
    .section-top2::before{
        width: 100%;
    }
    .section-top2 .wrap{
        max-width: 100%;
    }
    .section-top2 .wrap .area{
        padding-right: 0;
    }
    .section-top3 .top{
        display: block;
        margin-bottom: calc(var(--baseMargin) * 4);
    }
    .section-top3 .top .right{
        margin-top: calc(var(--baseMargin) * 10);
    }
    .section-top3 .top .swiper-btn-area{
        font-size: 1.2rem;
    }
}
@media(max-width: 636px){
    .section-top1 h2{
        font-size: 2rem;
    }
    .section-top1 .card-area{
        --cardColumnGap: 2rem;
        row-gap: 2rem;
    }
    .section-top1 .card-area .card{
        flex: 0 0 calc(50% - calc(var(--cardColumnGap) / 2));
    }
    .section-top1 .card .icon{
        flex: 0 0 4rem;
        height: 4rem;
        padding: .8rem;
    }
    .section-top1 .card .text-area{
        padding-left: .8rem;
        padding-right: .8rem;
        height: auto;
        font-size: min(5vw, 1.6rem);
    }
    .section-top3 .top .swiper-btn-area{
        justify-content: flex-end;
    }
}
@media(max-width: 430px){
    .section-top1 .card .text-area{
        font-size: min(4vw, 1.4rem);
	}
}
@media(max-width: 399px){
    .section-top1 .card .text-area{
        font-size: min(3.5vw, 1.2rem);
	}
}

/* section-company */
.section-company1 .table{
    margin-top: calc(var(--baseMargin) * 10);
}
.section-company2 .board{
    background: var(--whiteColor);
    border-radius: var(--borderRadius);
    padding: calc(var(--baseMargin) * 8) var(--paddingSide);
    box-shadow: var(--boxShadow);
}
.section-company2 h1{
    margin-bottom: calc(var(--baseMargin) * 5);
}
.section-company2 .board-flex{
    display: flex;
    column-gap: 2.4rem;
}
.section-company2 .board-flex > div{
    flex: 1;
}
.section-company2 .board-flex ul > li:not(:first-of-type){
    padding-top: calc(var(--baseMargin) * 2);
}
.section-company2 .board-flex .img-area{
    overflow: hidden;
    border-radius: var(--borderRadius);
}
@media(max-width: 767px){
    .section-company2 .board-flex{
        display: block;
    }
    .section-company2 h1{
        margin-bottom: calc(var(--baseMargin) * 10);
    }
    .section-company2 .board-flex > .right{
        margin-top: calc(var(--baseMargin) * 8);
    }
}

/* section-business */
.section-business1 .card{
    margin-top: calc(var(--baseMargin) * 14);
    background: var(--whiteColor);
    border-radius: var(--borderRadius);
    display: flex;
    overflow: hidden;
    box-shadow: var(--boxShadow);
}
.section-business1 .card > div{
    flex: 0 0 50%;
}
.section-business1 .card .right{
    order: 2;
}
.section-business1 .card .text-area{
    padding:
        calc(var(--baseMargin) * 14)
        var(--paddingSide)
        calc(var(--baseMargin) * 7);
}
.section-business1 .card h2{
    padding-bottom: calc(var(--baseMargin) * 6);
    border-bottom: .2rem dashed var(--borderColor);
    margin-bottom: calc(var(--baseMargin) * 6);
}
.section-business1 .card .decoration{
    margin-bottom: calc(var(--baseMargin) * 2);
    color: var(--mainColor);
}
.section-business1 .card .text{
    line-height: 2;
}
.section-business1 .card .img-area img{
    object-fit: cover;
    height: 100%;
    width: 100%;
}
@media(max-width: 767px){
    .section-business1 .card{
        display: block;
    }
    .section-business1 .card .img-area img{
        height: max(20rem, 25vh);
    }
}

/* section-contact */
.section-contact1 .wpcf7{
    max-width: 80rem;
    margin: auto;
}
.section-contact1 form label{
    display: flex;
}
.section-contact1 .flex-area{
    margin-bottom: calc(var(--baseMargin) * 30);
}
.section-contact2 .board{
    background: var(--whiteColor);
    padding: calc(var(--baseMargin) * 10) 2rem;
    border-radius: var(--borderRadius);
    font-size: 1.4rem;
    box-shadow: var(--boxShadow);
}
.section-contact2 .board .board-flex{
    max-width: 52rem;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.section-contact2 .board .icon-area{
    font-size: 1.6rem;
}
.section-contact2 .board .icon-area span{
    background: var(--accentColor);
}
.section-contact2 .board .text-area{
    text-align: center;
}
.section-contact2 .board .text-area .tel{
    font-size: 4rem;
    font-weight: bold;
}
@media(max-width: 767px){
    .section-contact1 .flex-area {
        margin-bottom: calc(var(--baseMargin) * 20);
    }
    .section-contact1 form label{
        display: block;
    }
    .section-contact2 .board .board-flex{
        display: block;
    }
    .section-contact2 .board .icon-area{
        justify-content: center;
    }
    .section-contact2 .board .text-area .tel{
        font-size: 3.2rem;
    }
}

/* section-works */
.section-works1 .section-title--b{
    margin-bottom: calc(var(--baseMargin) * 10);
}
.section-works1 img{
    border-radius: var(--borderRadius);
}
.section-works1 .card{
    background: var(--whiteColor);
    border-radius: var(--borderRadius);
    padding: 
        calc(var(--baseMargin) * 6)
        2.4rem
        calc(var(--baseMargin) * 10);
    box-shadow: var(--boxShadow);
}
.section-works1 .card:not(:first-of-type){
    margin-top: calc(var(--baseMargin) * 14);
}
.section-works1 .card .decoration{
    color: var(--mainColor);
    font-size: 2rem;
    margin-bottom: calc(var(--baseMargin) * 4);
}
.section-works1 .card-flex{
    display: flex;
    column-gap: 2.8rem;
}
.section-works1 .card .card-flex .left{
    flex: 0 0 40%;
}
.section-works1 .card .card-flex .text{
    min-height: 10rem;
    background: #f3f3f3;
    border-radius: var(--borderRadius);
    padding: calc(var(--baseMargin) * 5);
    margin-bottom: calc(var(--baseMargin) * 6);
    line-height: 2;
}
.section-works1 .scroll-area{
    display: flex;
    overflow-x: auto;
    column-gap: 2rem;
    padding-bottom: calc(var(--baseMargin) * 5);
}
.section-works1 .scroll-area .item{
    flex: 0 0 20rem;
}
.section-works1 .scroll-area .item-text{
    font-size: 1.3rem;
    margin-top: calc(var(--baseMargin) * 2);
    letter-spacing: .05em;
}
@media(max-width: 767px){
    .section-works1 .card-flex{
        display: block;
    }
    .section-works1 .card-flex .text{
        margin-top: calc(var(--baseMargin) * 6);
    }    
}

/* footer */
#footer{
    position: relative;
}
#footer .to-top{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6.4rem;
    height: 6.4rem;
    background: var(--mainColor);
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
#footer .to-top::before{
    content: '';
    display: block;
    margin-top: .9rem;
    border: .9rem solid var(--whiteColor);
    border-bottom-color: transparent;
    border-left-color: transparent;
    transform: rotate(-45deg);
}
#footer .container{
    padding-top: calc(var(--baseMargin) * 12);
    padding-bottom: calc(var(--baseMargin) * 12);
}
#footer .logo{
    max-width: max(18rem, 10vw);
    margin-bottom: calc(var(--baseMargin) * 2);
}
#footer .flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#footer .flex ul{
    display: flex;
    font-size: 1.4rem;
}
#footer .flex ul li a{
    display: flex;
    align-items: center;
    letter-spacing: .02em;
}
#footer .flex ul li a:hover{
    text-decoration: underline;
}
#footer .flex ul li a ion-icon{
    margin-right: calc(var(--baseMargin) * 2);
    color: var(--mainColor);
}
#footer .flex ul > li:not(:first-of-type){
    margin-left: calc(var(--baseMargin) * 5);
}
#footer .flex .right .address{
    font-size: 1.3rem;
    letter-spacing: .1em;
}
#footer .copyright{
    font-size: 1.1rem;
    text-align: center;
    padding: calc(var(--baseMargin) * 6) 0;
    padding-left: .2em;
    background: var(--mainColor);
    color: var(--whiteColor);
    letter-spacing: .1em;
}
@media(max-width: 999px){
    #footer .flex ul{
        display: block;
    }
    #footer .flex ul > li:not(:first-of-type){
        margin: calc(var(--baseMargin) * 4) 0 0;
    }
}