@charset "UTF-8";
html{
    font-size: clamp(14px,2vw,16px);
    font-kerning: normal;
    font-optical-sizing: auto;  
    font: inherit;
    scroll-behavior: smooth;
}
*,*::before,*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --base:rgba(250, 250, 250, 1);
    --main:rgba(245, 240, 231, 1);
    --sub:rgba(218, 197, 58, 1);
    --accent:rgba(240, 117, 29, 1);
    --white:rgba(250, 250, 250, 1);
    --black: rgba(26, 19, 17, 1);
    --NotoSansJP: "Noto Sans JP", sans-serif;
    --gothic: "游ゴシック体", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}
body{
    width: 100%;
    height: auto;
    background: var(--base);
    color: var(--black);
    font-family: var(--meiryo);
    line-height: 1.8;
    letter-spacing: 0.05em;
    text-align: center;
    font-family: var(--gothic);
    font-weight: 500;
    display: inline-block;
}

header{
    width: 100%;
    height: 100dvh;
    display: flex;
}
.headerText{
    width: 60%;
    height: 100%;
    padding: 5dvh 4dvw;
    text-align: left;
}
h1{
    font-size: 24px;
    font-family: var(--NotoSansJP);
    margin-bottom: 1dvh;
}
h1 small {
    font-size: 12px;
    font-weight: 500;
    color: rgb(100, 100, 100);
}
h3{
    width: 240px;
    height: 38px;
    font-size: 22px;
    font-weight: 500;
    font-family: var(--NotoSansJP);
    color: var(--white);
    background: var(--sub);
    text-align: center;
    margin-bottom: 4dvh;
}
h2{
    font-size: 36px;
    font-weight: 500;
    font-family: var(--NotoSansJP);
    line-height: 1.3;
    position: relative;
    margin-bottom: 6dvh;
}
h2 span{font-size: 80px;}
h2 img{
    width: 194px;
    position: absolute;
    top: 104px;
    left: 365px;
    z-index: -10;
}
.headerTextBox {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6dvh;
}
mark {
    background: linear-gradient(transparent 50%, rgba(218, 197, 58, 1) 50%);
}
.radiusBox {
    width: max(209px, 30%);
    height: 120px;
    border: 1px solid var(--black);
    border-radius: 10px;
    padding: 0 1dvw;
    letter-spacing: 0.4px;
    background: var(--white);
    display: flex;
    align-items: center;
}
.btnFlex{
    width: 100%;
    display: flex;
    justify-content: space-around;
}
.btnFlex button{
    width: 300px;
    height: 68px;
    line-height: 68px;
    font-weight: bold;
    font-size: 22px;
    border-radius: 34px;
    border: solid 1px var(--accent);
    display: flex;
    justify-content: center;
    transition: all .5s ease;
}
.btnRequest {
    color: var(--accent);
    background: url(img/icoArrowOrange.svg) no-repeat 236px center / 20px 16px, var(--white);
}
.btnRequest:hover {
    color: var(--white);
    background: url(img/icoArrowWhite.svg) no-repeat 236px center / 20px 16px, var(--accent);
}
.btnContact {
    color: var(--white);
    background: url(img/icoArrowWhite.svg) no-repeat 236px center / 20px 16px, var(--accent);
}
.btnContact:hover {
    border: solid 1px rgba(240, 117, 29, .6);
    background: url(img/icoArrowWhite.svg) no-repeat 236px center / 20px 16px, rgba(240, 117, 29, .6);
}
.mainvisual{
    width: 40%;
    height: 100dvh;
    background: url(img/main.webp) center / cover;
}

.works{
    width: 100%;
    height: auto;
    padding-top: 180px;
}
.item01 img,
.candoInner img,
.messageText img,
.features img,
.flow img,
.faq img,
.spInner img{
    /* width: fit-content;  iPhone12だと古いので利かないのを確認。↓2行に変更 */
    display: inline-block;
    width: auto;
    height: 40px;
}
.item01 h2,
.candoInner h2,
.features h2,
.flow h2,
.faq h2{
    font-family: var(--gothic);
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 60px;
}
.sectionLabel{
    width: 80%;
    height: 38px;
    line-height: 38px;
    background-color: rgb(242, 242, 242);
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 16px;
}
h5{
    font-size: 24px;
    margin-bottom: 30px;
}
.works_img01{
    width: min(600px,80%);
    height: auto;
    aspect-ratio: 3/2;
    background: url(img/works01.webp) center/cover;
    margin: 0 auto 30px;
}
.worksInfo{
    width: min(600px,80%);
    height: auto;
    border: solid 1px rgb(222, 222, 222);
    margin: 0 auto 120px;
}
.infoTitle{
    height: 32px;
    line-height: 32px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background: rgb(242, 242, 242);
}
.infoText{
    text-align: left;
    padding: 12px;
}

.worksOther{
    width: 80%;
    height: auto;
    margin: 0 auto;
    position: relative;
}
.worksOther:after{
    content: '';
    width: 100%;
    height: 1px;
    background: rgb(153, 153, 153);
    position: absolute;
    top: 24px;
    left: 0;
    z-index: 20;
}
.worksOther span {
    width: 205px;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto;
    display: block;
    background: var(--white);
    position: relative;
    z-index: 30;
}
.worksOther_title{
    border-left: 10px solid rgb(214, 214, 214);
    font-size: 16px;
}
.worksOther p{text-align: left;}

.cando{
    width: 100%;
    height: auto;
    padding-top: 180px;
    margin-bottom: 180px;
}
.candoBox{
    width: 80%;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.candoItem{
    width: 216px;
    height: auto;
    background:rgb(242, 242, 242);
    display: flex;
    justify-content: center;
    padding: 32px 16px;
    margin-bottom: 48px;
    position: relative;
}
.candoBox h4{
    width: 184px;
    font-size: 24px;
    color: var(--sub);
    font-weight: bold;
    position: absolute;
    top:-18px;
}
.candoBox ul{width: 100%;}
.candoBox ul li{
    height: 40px;
    line-height: 40px;
    text-align: center;
    list-style: none;
    padding-left: 0;
    border-bottom: dotted 1px rgb(182, 182, 182);
}

.message{
    width: 100%;
    height: auto;
    background: rgba(245, 240, 231, 1);
}
.messageInner{
    width: 80%;
    height: auto;
    display: flex;
    justify-content: space-between;
    padding-top: 60px;
    margin: 0 auto;
}
.works_img02{
    width: 360px;
    height: auto;
    aspect-ratio: 4/5;
    background: url(img/works02.webp) center/cover;
    position: relative;
    top: -90px;
}
.messageText{
    width: calc(100% - 416px);
    height: auto;
    text-align: left;
    margin-bottom: 32px;
}
.messageText img{margin-bottom: 16px;}

.features{
    padding-top: 180px;
    margin-bottom: 180px;
}
.pc_none{display: none;}
.featuresInner{
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding-top: 60px;
    margin: 0 auto 30px;
    align-items: flex-start; /* .featuresImgの比率固定に必要 */
}
.featuresImg{
    width: 49%;
    height: auto;
    aspect-ratio: 64/57;
    background: url(img/features_map.webp) center/cover;
}
dl{
    width: 49%;
    height: auto;
    text-align: left;
}
dt{
    width: fit-content;
    font-size: 20px;
    color: var(--sub);
    font-weight: bold;
}
.arrowBox{
    width: min(580px,90%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 96px;
    margin: 0 auto;
}
.arrow{margin-bottom: 32px;}
.arrow::before{
    content: "";
    border: 90px solid transparent;
    border-top: 60px solid rgba(26, 19, 17, .6);
    margin: 0;
}
.arrowBox h4{
    display: block;
    font-size: 32px;
    color: var(--sub);
    position: relative;
    top: 30px;
}
.arrowBox span{
    font-size: 24px;
    font-weight: bold;
}
.arrowText{
    background: rgb(242, 242, 242);
    padding: 32px 16px 16px;
}
.arrowText br{display: none;}
.flow,.faq,.special{margin-bottom: 180px;}
.flowBox{
    width: 80%;
    height: auto;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    border-bottom: 1px solid var(--black);
    padding: 16px 0;
    align-items: flex-start; /* 次からのflowImgの比率固定に必要 */
}
.flowImg1{
    width: min(180px,30%);
    height: auto;
    aspect-ratio: 1;
    background: url(img/flow01.webp) center/cover;
}
.flowImg2{
    width: min(180px,30%);
    height: auto;
    aspect-ratio: 1;
    background: url(img/flow02.webp) center/cover;
}
.flowImg3{
    width: min(180px,30%);
    height: auto;
    aspect-ratio: 1;
    background: url(img/flow03.webp) center/cover;
}
.flowImg4{
    width: min(180px,30%);
    height: auto;
    aspect-ratio: 1;
    background: url(img/flow04.webp) center/cover;
}
.flowText{
    width: calc(100% - 222px);
    text-align: left;
}
.flowTitle{
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.flowNum{
    width: 64px;
    height: 64px;
    line-height: 1.5;
    border: solid 1px var(--black);
    border-radius: 50%;
    background-color:var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
h6{font-size: 24px;}
.flowBoxSp{display: none;}

.faq dl{
    width: 80%;
    height: auto;
    margin: 0 auto 24px;
}
.faq dt{
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    background: rgb(242, 242, 242);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 16px 16px 64px;
    position: relative;
}
.faq dt::before{
    content: "Q";
    font-size: 20px;
    font-weight: 700;
    left: 40px;
    line-height: 1;
    position: absolute;
    top: calc(20px + .4em);
}
.faqIcon{
    width: 40px;
    height: 40px;
    background-color: #000;
    border-radius: 50%;
    position: relative;
    margin-left: 25px;
    flex-shrink: 0;
}
/* ＋の横線 */
.faqIcon::before,
.faqIcon::after{
    content: "";
    position: absolute;
    background-color: #fff;
    width: 16px;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
    pointer-events: none;
}
/* 縦棒（after）を90度回転＝＋記号 */
.faqIcon::after{
    transform: translate(-50%, -50%) rotate(90deg);
}
/* ＋ → − に変化するとき */
.faqIcon.open::after{
    transform: translate(-50%, -50%) rotate(0deg);
}
/* 回転完了後に非表示にする */
.faqIcon.open.hide-vertical::after{display: none;}
.faq dd{
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* 自然な動き */
    background: rgb(242, 242, 242);
    box-sizing: border-box;
    padding: 0 85px 0 75px;
    position: relative;
}
.faq dd::after{
    content: "";
    display: block;
    height: 32px;
}
.faq dd::before{
    content: "A";
    font-size: 18px;
    font-weight: 500;
    left: 42px;
    position: absolute;
    top: .5em;
}

.special{
    width: 80%;
    height: auto;
    background: url(img/specialback.webp) bottom/cover no-repeat;
    margin: 0 auto 60px;
    box-sizing: border-box;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* special.webpの比率固定に必要 */
}
.renovFile{
    width: 49%;
    height: auto;
    aspect-ratio: 19/14;
    align-self: center;
}
.spInner{
    width: 49%;
    text-align: left;
}
.spInner h2{
    font-size: 24px;
    font-family: var(--gothic);
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 24px;
}
.spText{margin-bottom: 24px;}

.about{
    padding-top: 180px;
    border-collapse: collapse;
}
.aboutInner{
    width: 80%;
    height: auto;
    margin: 0 auto;
}
.aboutInner dl{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30%;
    border-bottom: 1px solid var(--black);
    padding: 16px;
}
.aboutInner dt{
    width: 168px;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}
.aboutInner dd{width: 242px;}
.topbtn{
    width: 70px;
    height: 70px;
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    bottom: 5%;
    left: 90%;
    z-index: 20;
    transition: .3s;
}
.topbtn:hover{
    background: rgb(100, 100, 100);
    cursor: pointer;
}
footer{
    width: 90%;
    height: 90px;
    line-height: 90px;
    border-top: 1px solid rgba(0, 0, 0, .1);
    margin: 0 auto;
}
@media screen and (max-width:1381px){
    .candoBox{
        width: 62%;
        display: flex;
        justify-content: space-around;
    }
}
@media screen and (max-width:1241px){
    .radiusBox {
        width: 185px;
        font-size: 14px;
    }
    .btnFlex button{width: 270px;}
    .btnRequest {
        color: var(--accent);
        background: url(img/icoArrowOrange.svg) no-repeat 220px center / 20px 16px, var(--white);
    }
    .btnRequest:hover {
        color: var(--white);
        background: url(img/icoArrowWhite.svg) no-repeat 220px center / 20px 16px, var(--accent);
    }
    .btnContact {
        color: var(--white);
        background: url(img/icoArrowWhite.svg) no-repeat 220px center / 20px 16px, var(--accent);
    }
    .btnContact:hover {
        border: solid 1px rgba(240, 117, 29, .6);
        background: url(img/icoArrowWhite.svg) no-repeat 220px center / 20px 16px, rgba(240, 117, 29, .6);
    }
    h1{font-size: 20px;}
    h1 small {font-size: 12px;}
    h3{
        width: 210px;
        height: 32px;
        line-height: 32px;
        font-size: 20px;
    }
    h2{font-size: 32px;}
    h2 span{font-size: 72px;}
    h2 img{
        width: 144px;
        position: absolute;
        top: 100px;
        left: 333px;;
    }
}
@media screen and (max-width:1100px){
    .headerText{
        width: 100%;
        position: relative;
        overflow: hidden;
        z-index: 0;
    }
    .headerText::before{
        content: "";
        position: absolute;
        inset: 0;
        background: url(img/main.webp) center / cover;
        opacity: 0.25;
        z-index: -10;
    }
    h2 span{font-size: 80px;}
    h2 img{
        width: 194px;
        top: 104px;
        left: 365px;
        z-index: -10;
    }
    .headerTextBox {
        display: flex;
        justify-content: space-between;
        margin-bottom: 32px;
    }
    .radiusBox {
        width: max(206px, 30%);
        height: 120px;
        border: 1px solid var(--black);
        border-radius: 10px;
        padding: 12px;
        letter-spacing: 0.4px;
        display: flex;
        align-items: center;
    }
    .mainvisual{display: none;}
}
@media screen and (max-width:1021px){
    .featuresInner{display: block;}
    .featuresImg{
        width: min(450px,100%);
        margin: 0 auto 30px;
    }
    dl{
        width: min(503px,100%);
        margin: 0 auto;
    }
    .aboutInner dl{gap: 10%;}
}
@media screen and (max-width:857px){
    .messageInner{
        width: 100%;
        height: 980px;
        display: block;
        padding-top: 0;
    }
    .works_img02{
        width: 70%;
        height: auto;
        aspect-ratio: 3/4;
        background: url(img/works02.webp) bottom/cover;
        position: relative;
        top: 0;
        margin: 0 10% 0 auto;
    }
    .messageText{
        width: 70%;
        height: auto;
        text-align: left;
        margin: 0 auto 0 10%;
        background: var(--white);
        padding: 16px;
        position: relative;
        top: -126px;
    }
    .messageText img{margin-bottom: 8px;}
    .aboutInner dt,.aboutInner dd{font-size: 14px;}
}
@media screen and (max-width:708px){
    h1{
        font-size: 16px;
        position: relative;
        margin-bottom: 1rem;
    }
    h1 small {font-size: 10px;}
    h3{
        width: 166px;
        font-size: 16px;
        text-align: center;
        margin-bottom: 24px;
    }
    h2{
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 40px;
    }
    h2 span{font-size: 51px;}
    h2 img{
        width: 88px;
        top: 84px;
        left: 274px;
    }
    .headerTextBox{display: block;}
    .radiusBox {
        width: max(300px,50%);
        height: 56px;
        margin: 0 auto 24px;
    }
    .radiusBox p{
        width: fit-content;
        margin: 0 auto;
    }
    .messageInner{height: 874px;}
    .flowText{
        width: 64%;
        font-size: 14px;
    }
    .flowNum{
        width: 48px;
        height: 48px;
        line-height: 1;
        font-size: 12px;
    }
    h6{font-size: 20px;}
    .faq dl,.special,.aboutInner{width: 90%;}
    .faq dt{font-size: 14px;}
    .topbtn{
        width: 56px;
        height: 56px;
        bottom: 5%;
        left: 88%;
    }
}
@media screen and (max-width:639px){
    .btnFlex button{
        width: 160px;
        font-size: 20px;
    }
    .btnRequest {
        background: url(img/icoArrowOrange.svg) no-repeat 126px center / 20px 16px, var(--white);
    }
    .btnRequest:hover {
        background: url(img/icoArrowWhite.svg) no-repeat 126px center / 20px 16px, var(--accent);
    }
    .btnContact {
        background: url(img/icoArrowWhite.svg) no-repeat 126px center / 20px 16px, var(--accent);
    }
    .btnContact:hover {
        background: url(img/icoArrowWhite.svg) no-repeat 126px center / 20px 16px, rgba(240, 117, 29, .6);
    }
    .messageInner{height: 829px;}
}
@media screen and (max-width:597px){
    .arrowBox{width: 96%;}
    .arrowText{line-height: 1.5;}
    .arrowText br{display: block;}
    .sp_none{display: none;}
    .pc_none{
        display: block;
        letter-spacing: 1px;
    }
    .flowBox {width: 90%;}
    .aboutInner dl{display: block;}
    .aboutInner dd{width: 100%}
}
@media screen and (max-width:451px){
    p,li,dd{font-size: 14px;}
    h2 span{font-size: 44px;}
    h2 img{
        width: 80px;
        top: 77px;
        left: 238px;
    }
    .messageInner{height: 679px;}
    .arrow::before{
        border: 80px solid transparent;
        border-top: 48px solid rgba(26, 19, 17, .6);
    }
    .flowBox{display: none;}
    .flowBoxSp{
        display: block;
        width: 90%;
        height: auto;
        margin: 0 auto;
        border-bottom: 1px solid var(--black);
        padding: 16px 0;
    }
    .flowTextSp{
        display: flex;
        align-items: center;
        margin-bottom: 16px;
    }
    .flowImgSp1{
        width: 150px;
        height: 112.5px;
        background: url(img/flow01.webp) center/cover;
    }
    .flowImgSp2{
        width: 150px;
        height: 112.5px;
        background: url(img/flow02.webp) center/cover;
    }
    .flowImgSp3{
        width: 150px;
        height: 112.5px;
        background: url(img/flow03.webp) center/cover;
    }
    .flowImgSp4{
        width: 150px;
        height: 112.5px;
        background: url(img/flow04.webp) center/cover;
    }
    h6{
        font-size: 20px;
        text-align: left;
    }
    .flowBoxSp p{text-align: left;}
}
@media screen and (max-width:503px){
    .special{flex-direction: column-reverse;}   
    .renovFile,.spInner{width: 90%;}
}
@media screen and (max-width:376px){
    h2 span{font-size: 40px;}
}