/*-----------------*/
/*-----
ヘッダー
-----*/
/*-----------------*/
header {
    position: sticky;
    top: calc(100vw * (-1 / 1366));
    background-color: #ffffff;
    z-index: 100000;
    border-bottom: calc(100vw * (1 / 1366)) solid #ffffff;
}

.header_wrapper {
    width: 95vw;
    margin: 0 auto;
    padding-top: calc(100vw * (10 / 1366));
    padding-bottom: calc(100vw * (10 / 1366));
}

.header_flex_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
}

.header_flex_content01 {
    width: 50%;
    display: flex;
    justify-content: start;
    gap: calc(100vw * (20 / 1366));
    align-items: center;
}

.header_flex_content02 {
    width: 50%;
    display: flex;
    justify-content: end;
    gap: calc(100vw * (20 / 1366));
    align-items: center;
}

/*
.header_flex01 {
    width: 300px;
}
.header_flex02 {
    width: 30%
}
.header_flex03 {
    width: 10%;
}
.header_flex04 {
    width: 10%;
}
*/

.header_flex01_head h1 {
    font-size: calc(100vw * (26 / 1366)); /* 30px → 26px */
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: calc(100vw * (10 / 1366));
}

.header_flex01_head h1 img {
    width: calc(100vw * (45 / 1366));
}

.header_flex02 h1 {
    font-size: calc(100vw * (18 / 1366)); /* 20px → 18px */
    line-height: 1;
}

.header_flex02 span {
    font-size: calc(100vw * (14 / 1366)); /* 16px → 14px */
}

.header_flex03 {
    display: flex;
    gap: calc(100vw * (10 / 1366));
    align-items: center;
}

a.header_flex03_button01 {
    font-size: calc(100vw * (14 / 1366)); /* 16px → 14px */
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(100vw * (10 / 1366));
    text-decoration: none;
    background: linear-gradient(to right, #1E8697, #61CFF0);
    color: #ffffff;
    width: calc(100vw * (180 / 1366));
    height: calc(100vw * (42 / 1366));
    box-sizing: border-box;
    padding: calc(100vw * (10 / 1366));
    border-radius: calc(100vw * (10 / 1366));
}

a.header_flex03_button02 {
    font-size: calc(100vw * (14 / 1366)); /* 16px → 14px */
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(100vw * (10 / 1366));
    text-decoration: none;
    background: linear-gradient(to right, #D49218, #FF9500);
    color: #ffffff;
    width: calc(100vw * (180 / 1366));
    height: calc(100vw * (42 / 1366));
    box-sizing: border-box;
    padding: calc(100vw * (10 / 1366));
    border-radius: calc(100vw * (10 / 1366));
}

.header_flex04 a {
    font-size: calc(100vw * (22 / 1366)); /* 25px → 22px */
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    color: #060606;
}

.header_flex04 a span {
    font-size: calc(100vw * (12 / 1366)); /* 16px → 14px */
    font-weight: 700;
}

.header_flex04 a i {
    padding-right: calc(100vw * (10 / 1366));
}
.header-on-link-add{
	background-color:#000000;
	padding-top:10px;
	padding-bottom:10px;
	padding-left:10px;
}
.header-on-link-add a{
	font-size:16px;
	color:#ffffff;
font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	text-decoration:none;
	transition:0.3s;
}
.header-on-link-add a hover{
	opacity:0.6;
	transition:0.3s;
}
@media(max-width:768px){
	.header-on-link-add a{
		font-size:14px;
	}
}
@media (max-width: 768px) {

    .header_wrapper {
        width: 100%;
        padding: calc(100vw * (10 / 1366));
        box-sizing: border-box;
    }

    .header_flex_content {
        flex-direction: column;
        align-items: flex-start;
        gap: calc(100vw * (16 / 1366));
    }

    .header_flex_content01,
    .header_flex_content02 {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: calc(100vw * (12 / 1366));
    }

    .header_flex01_head h1 {
        font-size: calc(100vw * (22 / 1366));
    }

    .header_flex01_head h1 img {
        width: calc(100vw * (36 / 1366));
    }

    .header_flex02 h1 {
        font-size: calc(100vw * (16 / 1366));
        line-height: 1.4;
    }

    .header_flex02 h1 span {
        display: block;
        font-size: calc(100vw * (14 / 1366));
        margin-top: calc(100vw * (4 / 1366));
    }

    .header_flex03 {
        width: 100%;
        flex-direction: column;
        gap: calc(100vw * (8 / 1366));
    }

    a.header_flex03_button01,
    a.header_flex03_button02 {
        width: 100%;
        height: auto;
        padding: calc(100vw * (12 / 1366));
        font-size: calc(100vw * (15 / 1366));
        border-radius: calc(100vw * (8 / 1366));
    }

    .header_flex04 a {
        display: block;
        font-size: calc(100vw * (20 / 1366));
        text-align: left;
        line-height: 1.3;
    }

    .header_flex04 a span {
        display: block;
        font-size: calc(100vw * (13 / 1366));
        margin-top: calc(100vw * (2 / 1366));
    }

    .header_flex04 a i {
        font-size: calc(100vw * (18 / 1366));
        padding-right: calc(100vw * (8 / 1366));
    }

    .header_flex_content01 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .header_flex_content02 {
        display: none;
    }

    .header_flex01_head h1 {
        font-size: calc(100vw * (16 / 1366));
    }

    .header_flex02 h1 {
        font-size: calc(100vw * (10 / 1366));
    }

    .header_flex02 h1 span {
        font-size: calc(100vw * (10 / 1366));
    }
}

.header_end_flex_area {
    display: flex;
    background-color: #2A2A2A;
    justify-content: center;
    padding-top: calc(100vw * (10 / 1366));
    padding-bottom: calc(100vw * (10 / 1366));
}

.header_end_flex_area ul {
    padding-left: 0;
    display: flex;
    gap: calc(100vw * (40 / 1366));
}

.header_end_flex_area ul li {
    list-style: none;
}

.header_end_flex_area ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: calc(100vw * (16 / 1366));
}

.header_end_flex_area ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: calc(100vw * (16 / 1366));
    transition: color .2s ease, opacity .2s ease, text-decoration-color .2s ease;
}

/* hover時 */
.header_end_flex_area ul li a:hover {
    opacity: 0.75;
    text-decoration: underline;
    text-underline-offset: calc(100vw * (6 / 1366));
    transition: color .2s ease, opacity .2s ease, text-decoration-color .2s ease;
}
@media (max-width: 768px) {

    header {
        top: 0;
    }

    .header_wrapper {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .header_flex_content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* 上段：ロゴ＋キャッチ（1行目） */
    .header_flex_content01 {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .header_flex01 {
        flex: 0 0 auto;
    }

    .header_flex01_head h1 {
        font-size: 16px;
        line-height: 1.2;
        gap: 8px;
        white-space: nowrap;
    }

    .header_flex01_head h1 img {
        width: 32px;
        height: auto;
    }

    .header_flex02 {
        flex: 1 1 auto;
        text-align: right;
    }

    .header_flex02 h1 {
        font-size: 10px;
        line-height: 1.3;
        margin: 0;
    }

    .header_flex02 h1 br {
        display: none;
    }

    .header_flex02 h1 span {
        display: none;
    }

    /* 右側（ボタン＋電話）はスマホでは非表示 */
    .header_flex_content02 {
        display: none;
    }

    /* 下段メニュー：横スクロール */
    .header_end_flex_area {
        padding: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header_end_flex_area ul {
        gap: 18px;
        flex-wrap: nowrap;
        white-space: nowrap;
        padding: 0 4px;
        margin: 0;
    }

    .header_end_flex_area ul li a {
        font-size: 14px;
        display: inline-block;
        padding: 6px 2px;
    }

}

/*-----------------*/

.heading_wrapper img {
    width: 100%;
}

.under_heading_wrapper {
    max-width: calc(100vw * (1300 / 1366));
    margin: 0 auto;
    width: 95vw;
    padding-top: calc(100vw * (80 / 1366));
    padding-bottom: calc(100vw * (80 / 1366));
}

.under_headig_flex_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(100vw * (20 / 1366));
}

.under_heading_head {
    text-align: center;
    padding-bottom: calc(100vw * (40 / 1366));
}

.under_heading_head p {
    font-size: calc(100vw * (23 / 1366)); /* 25px → 23px */
    font-weight: 900;
}

.under_heafing_flex {
    max-height: calc(100vw * (80 / 1366));
    min-height: calc(100vw * (80 / 1366));
    background-color: #0090D8;
    width: calc(100% / 3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.under_heafing_flex h2 {
    font-size: calc(100vw * (18 / 1366)); /* 20px → 18px */
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

@media(max-width:768px){
    .under_heading_container{
        background-image: url(img/iStock-926993450.jpg);
        background-size: cover;
    }
    .under_heading_wrapper{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .under_headig_flex_content{
        flex-wrap: wrap;
        gap:20px;
    }
    .under_heading_head{
        text-align: center;
        padding-bottom: 25px;
    }
    .under_heading_head p{
        font-size: 20px;
    }
    .under_heafing_flex{
        max-height: 60px;
        min-height: 60px;
        width: 100%;
    }
    .under_heafing_flex h2{
        font-size: 18px;
    }
}

.campaign_container{
    background-color: #0090D8;
}
.compaig_wrapper{
    padding-top: 10px;
    padding-bottom: 10px;
}
.compaign_content{
    text-align: center;
    width: 95vw;
}
.compaign_content p{
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
}
@media(min-width:769px){
    .compaign_content br{
        display: none;
    }
}
@media(max-width:768px){
    .campaign_container{
        background-color: #0090D8;
    }
    .compaig_wrapper{
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .compaign_content{
        text-align: center;
        width: 95vw;
    }
    .compaign_content p{
        font-size: 16px;
    }
}

/*-------------------*/
/*-----
Slider
------*/
/*-------------------*/
.service_flex_wrapper {
    max-width: calc(100vw * (1360 / 1366));
    margin: 0 auto;
    width: 95vw;
    margin-top: calc(100vw * (80 / 1366));
    margin-bottom: calc(100vw * (80 / 1366));
}

.service_flex_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: calc(100vw * (20 / 1366));
    margin-top: calc(100vw * (50 / 1366));
}

.service_flex01 {
    width: 70%;
    box-sizing: border-box;
}

.service_flex01 h2 {
    font-size: calc(100vw * (25 / 1366));
    margin-bottom: calc(100vw * (10 / 1366));
}

.service_flex01 p {
    line-height: calc(100vw * (45 / 1366));
    color: #333;
}

.service_flex02 {
    width: 30%;
    position: relative;
}

.service_flex02 .swiper-slide img {
    width: 100%;
    height: calc(100vw * (500 / 1366)) !important;
    height: auto;
    border-radius: calc(100vw * (12 / 1366));
    object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
    color: #fcfcfc;
}

.swiper-pagination-bullet {
    background: #f5f5f5;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #ffb400;
    opacity: 1;
}

.service_flex02 .swiper-button-prev,
.service_flex02 .swiper-button-next {
    display: none !important;
    background: none !important;
    content: none !important;
}

.service_flex02 {
    position: relative;
}

.svc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100vw * (48 / 1366));
    height: calc(100vw * (48 / 1366));
    border-radius: calc(100vw * (9999 / 1366));
    border: calc(100vw * (1 / 1366)) solid rgba(255,255,255,0.35);
    background: radial-gradient(
        120% 120% at 30% 30%,
        rgba(255,255,255,0.35) 0%,
        rgba(255,255,255,0.08) 60%,
        rgba(0,0,0,0.35) 100%
    );
    backdrop-filter: blur(calc(100vw * (6 / 1366)));
    -webkit-backdrop-filter: blur(calc(100vw * (6 / 1366)));
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow:
        0 calc(100vw * (8 / 1366)) calc(100vw * (26 / 1366)) rgba(0,0,0,0.28),
        inset 0 calc(100vw * (1 / 1366)) 0 rgba(255,255,255,0.35);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
    z-index: 10;
}

.svc-prev {
    left: calc(100vw * (14 / 1366));
}

.svc-next {
    right: calc(100vw * (14 / 1366));
}

.svc-nav:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow:
        0 calc(100vw * (10 / 1366)) calc(100vw * (30 / 1366)) rgba(0,0,0,0.38),
        inset 0 0 0 calc(100vw * (999 / 1366)) rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.55);
}

.svc-nav:active {
    transform: translateY(-50%) scale(0.98);
}

.svc-nav:focus-visible {
    outline: calc(100vw * (2 / 1366)) solid rgba(255,180,0,0.95);
    outline-offset: calc(100vw * (2 / 1366));
}

.svc-nav.swiper-button-disabled {
    opacity: .35;
    pointer-events: none;
}


@media (max-width: 768px) {
    .svc-nav { width: 40px; height: 40px; }
    .svc-prev { left: 8px; }
    .svc-next { right: 8px; }
}

.service_flex02 .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}
@media (max-width: 768px) {

.service_flex_wrapper{
    width: 92vw;
    margin-top: 40px;
    margin-bottom: 40px;
}

.service_flex_content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 28px;
}
.service_flex_content02{
    flex-wrap: wrap-reverse;
}
.service_flex01,
.service_flex02 {
    width: 100%;
}

.service_flex01 h2 {
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.35;
    margin-bottom: 8px;
}
.service_flex01 p {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.01em;
}
.service_flex02 .swiper-slide img {
    height: auto !important; 
    max-height: 40vh;
    border-radius: 10px;
    object-fit: cover;
}
.swiper-pagination {
    bottom: 8px !important;
}
.swiper-pagination-bullet {
    width: 6px; height: 6px;
    margin: 0 3px !important;
}

.svc-nav {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.svc-prev { left: 8px; }
.svc-next { right: 8px; }


@media (max-width: 390px) {
        .svc-nav {
        top: auto;
        bottom: 10px;
        transform: none;
        }
        .svc-prev { left: 10px; }
        .svc-next { right: 10px; }
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .service_flex_content { gap: 24px; }
    .service_flex01 { width: 48%; }
    .service_flex02 { width: 52%; }
    .service_flex01 h2 { font-size: 22px; }
    .service_flex01 p  { line-height: 1.9; }
    .service_flex02 .swiper-slide img {
        height: auto !important;
        max-height: 70vh;
    }
}
@media(max-width:768px){
    .service_flex_content02{
        flex-wrap: wrap-reverse;
    }
    .service_flex_content02{
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {

    /* 横幅いっぱい（左右だけ少し余白） */
    .service_flex_wrapper {
        max-width: 100%;
        width: 100%;
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 0 16px;            /* ←余白を少しだけ確保 */
        box-sizing: border-box;
    }

    .service_flex_content {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        margin-top: 24px;
    }

    /* 画像→文章の順にしたいブロック用 */
    .service_flex_content02 {
        display: flex;
        flex-direction: column-reverse;
    }

    .service_flex01,
    .service_flex02 {
        width: 100%;
    }

    /* 文字を大きく */
    .service_flex01 h2 {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    .service_flex01 p {
        font-size: 16px;
        line-height: 1.9;
        letter-spacing: 0.01em;
    }

    /* service_heading も詰まり防止 */
    .service_heading {
        gap: 10px;
        margin-bottom: 14px;
    }

    .service_line {
        height: 2px;
    }

    /* Swiper画像 */
    .service_flex02 .swiper-slide img {
        width: 100%;
        height: auto !important;
        max-height: 42vh;
        border-radius: 12px;
        object-fit: cover;
    }

    /* ページネーション */
    .swiper-pagination {
        bottom: 10px !important;
    }

    .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        margin: 0 4px !important;
    }

    /* 左右ナビ */
    .svc-nav {
        width: 42px;
        height: 42px;
        top: 50%;
        transform: translateY(-50%);
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    }

    .svc-prev {
        left: 10px;
    }

    .svc-next {
        right: 10px;
    }

}

@media (max-width: 390px) {

    .service_flex_wrapper {
        padding: 0 12px;
    }

    .svc-nav {
        top: auto;
        bottom: 10px;
        transform: none;
    }

    .svc-prev {
        left: 10px;
    }

    .svc-next {
        right: 10px;
    }

}

/*-------------------*/
/*-----
Banner
------*/
/*-------------------*/
.question_banner_container{
    background-color: #FFFFEC;
}
.area_tables_wrapper{
    max-width: 1360px;
    margin: 0 auto;
    width: 95vw;
}
.question_banner_wrapper{
    padding-top: 80px;
    padding-bottom: 80px;
}
.question_banner_head{
    text-align: center;
    margin-bottom: 25px;
}
.question_banner_head h4{
    font-size: 25px;
    font-weight: 900;
}
.question_banner_text{
    text-align: center;
    margin-bottom: 25px;
}
.question_banner_text p{
    line-height: 40px;
}
.question_bannner_img {
    text-align: center;
}
.question_bannner_img img{
    width: 700px;
}
@media(max-width:768px){
    .question_bannner_img img{
        width: 400px;
    }
}
.area_tables_wrapper {
    margin-top: calc(100vw * (80 / 1366));
    margin-bottom: calc(100vw * (80 / 1366));
padding-top: calc(100vw * (60 / 1366));
}

.area_tables_head {
    background-color: #20C1D3;
    width: 60%;
}

.area_tables_head h5 {
    font-size: calc(100vw * (25 / 1366));
    font-weight: 900;
    color: #ffffff;
    padding: calc(100vw * (10 / 1366));
}

.area_tables_text {
    margin-top: calc(100vw * (20 / 1366));
}

.area_tables_text p {
    font-size: calc(100vw * (18 / 1366));
}

.area_tables_add_head h6 {
    font-size: calc(100vw * (18 / 1366));
    margin-top: calc(100vw * (10 / 1366));
    padding: calc(100vw * (10 / 1366));
    width: fit-content;
}

.area_tables_add_text {
    font-size: calc(100vw * (18 / 1366));
    background-color: #F7F7F7;
}

.area_tables_add_text p {
    width: fit-content;
    padding: calc(100vw * (10 / 1366));
    line-height: calc(100vw * (45 / 1366));
}

.area_tables_box {
    background: #fff;
    border: calc(100vw * (1 / 1366)) solid #000;
    border-radius: calc(100vw * (8 / 1366));
    box-shadow: calc(100vw * (20 / 1366)) calc(100vw * (20 / 1366)) 0 #a6d8ee;
}


.customer_area_wrapper {
    margin-top: calc(100vw * (80 / 1366));
    margin-bottom: calc(100vw * (40 / 1366));
}

.customer_area_content {
    max-width: calc(100vw * (1360 / 1366));
    width: 95vw;
    margin: 0 auto;
}

.area_tables_add_area {
    margin-top: calc(100vw * (50 / 1366));
}

.customer_area_head p {
    font-size: calc(100vw * (25 / 1366));
    font-weight: 900;
}

.customer_area_text p {
    font-size: calc(100vw * (16 / 1366));
    line-height: calc(100vw * (45 / 1366));
}

@media (max-width: 768px) {

    .customer_area_wrapper {
        margin-top: 40px;
        margin-bottom: 24px;
    }

    .customer_area_content {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .customer_area_head p {
        font-size: 18px;
        line-height: 1.35;
    }

    .customer_area_head p span {
        display: block;
        font-size: 14px;
        font-weight: 700;
        margin-top: 6px;
        line-height: 1.4;
    }

    .customer_area_text p {
        font-size: 14px;
        line-height: 1.9;
    }

}


.table-scroll-wrapper {
    max-width: calc(100vw * (1360 / 1366));
    margin: 0 auto;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: calc(100vw * (20 / 1366)) 0;
}

.compare-table {
    border-collapse: collapse;
    width: calc(100vw * (800 / 1366));
    min-width: 100%;
    background-color: #e3f5ff;
    border: calc(100vw * (2 / 1366)) solid #000;
    margin: 0 auto;
}

.compare-table thead th {
    background-color: #64b9dc;
    color: #000;
    text-align: center;
    padding: calc(100vw * (12 / 1366));
    font-weight: bold;
    border: calc(100vw * (1 / 1366)) solid #000;
}

.compare-table tbody td {
    text-align: center;
    padding: calc(100vw * (10 / 1366));
    background-color: #cbe7f5;
    border: calc(100vw * (1 / 1366)) solid #000;
    font-weight: bold;
}

.compare-table tbody tr:nth-child(even) td {
    background-color: #d8edf8;
}
@media (max-width: 768px) {
    .compare-table {
        width: 700px;
    }
    .area_tables_head{
        width: 100%;
    }
    .compare-table tbody td {
        font-size: 16px;
    }
}

/*-------------------*/
/*-----
Banner
------*/
/*-------------------*/
.star {
    color: #ccc;
    font-size: calc(100vw * (20 / 1366));
    margin: 0 calc(100vw * (2 / 1366));
}

.star.active {
    color: #f7c600;
}

.table-scroll-wrapper{
    max-width: calc(100vw * (1300 / 1366));
}
.table-scroll-headarea p {
    font-size: calc(100vw * (20 / 1366));
    font-weight: 900;
}

.question_banner_container02 {
    margin-top: calc(100vw * (40 / 1366));
}


.footer_on_content {
    background-color: #0090D8;
}

.footer_on_flex_area {
    max-width: calc(100vw * (1360 / 1366));
    margin: 0 auto;
    width: 100%;
    padding-top: calc(100vw * (60 / 1366));
    padding-bottom: calc(100vw * (60 / 1366));
}

.footer_on_flex_area {
    display: flex;
    justify-content: space-between;
}

.footer_on_flex_area_x {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 25%;
}

.footer_on_flex_area img {
    width: calc(100vw * (100 / 1366));
}

.footer_on_flex_area_x p {
    font-size: calc(100vw * (16 / 1366));
    font-weight: 900;
    color: #ffffff;
    margin-top: calc(100vw * (10 / 1366));
}

.footer_on_flex_area_x span {
    font-size: calc(100vw * (25 / 1366));
    font-weight: 900;
    color: #ffffff;
}

.footer_on_flex_border {
    width: calc(100vw * (3 / 1366));
    height: calc(100vw * (280 / 1366));
    background-color: #ffffff;
}

.footer_under_area {
    display: flex;
    max-width: calc(100vw * (1300 / 1366));
    margin: 0 auto;
    width: 100%;
    padding-top: calc(100vw * (60 / 1366));
    padding-bottom: calc(100vw * (60 / 1366));
}

.footer_under_flex01 {
    width: 50%;
}

.footer_under_flex01 h2 {
    font-size: calc(100vw * (30 / 1366));
    font-weight: 900;
}

.footer_under_flex01 p.footer_under_flex01_a {
    font-size: calc(100vw * (25 / 1366));
    font-weight: 900;
    margin-top: calc(100vw * (20 / 1366));
}

.footer_under_flex01 p.footer_under_flex01_b {
    font-size: calc(100vw * (16 / 1366));
    margin-top: calc(100vw * (10 / 1366));
    line-height: calc(100vw * (35 / 1366));
}

.footer_under_flex02 {
    width: 25%;
}

.footer_under_border {
    width: calc(100vw * (3 / 1366));
    height: calc(100vw * (280 / 1366));
    background-color: #060606;
}

.footer_under_flex02 ul li {
    line-height: calc(100vw * (45 / 1366));
    font-size: calc(100vw * (16 / 1366));
}

.footer_under_flex02 ul li a {
    color: #060606;
}

.copy_wrapper {
    background-color: #060606;
    padding-top: calc(100vw * (10 / 1366));
    padding-bottom: calc(100vw * (10 / 1366));
    text-align: center;
}

.copy_wrapper p {
    color: #F7F7F7;
}

@media (max-width: 768px) {

    .star {
        font-size: 16px;
        margin: 0 2px;
    }

    .table-scroll-wrapper {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .table-scroll-headarea p {
        font-size: 16px;
        line-height: 1.3;
    }

    .question_banner_container02 {
        margin-top: 24px;
    }

    /* -------------------------
        FOOTER（上段4カラム → 縦並び）
    ------------------------- */

    .footer_on_flex_area {
        max-width: 100%;
        width: 100%;
        padding: 24px 12px;
        box-sizing: border-box;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .footer_on_flex_area_x {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        box-sizing: border-box;
    }

    .footer_on_flex_area img {
        width: 54px;
        height: auto;
        flex: 0 0 auto;
    }

    .footer_on_flex_area_x p {
        margin-top: 0;
        font-size: 13px;
        line-height: 1.2;
    }

    .footer_on_flex_area_x span {
        display: block;
        font-size: 16px;
        line-height: 1.25;
    }

    .footer_on_flex_border {
        width: 100%;
        height: 1px;
        opacity: 0.35;
    }

    /* -------------------------
        FOOTER（下段：2カラム→縦並び）
    ------------------------- */

    .footer_under_area {
        max-width: 100%;
        width: 100%;
        flex-direction: column;
        padding: 30px 12px;
        box-sizing: border-box;
        gap: 18px;
    }

    .footer_under_flex01 {
        width: 100%;
    }

    .footer_under_flex01 h2 {
        font-size: 22px;
        line-height: 1.2;
    }

    .footer_under_flex01 p.footer_under_flex01_a {
        font-size: 16px;
        margin-top: 10px;
        line-height: 1.35;
    }

    .footer_under_flex01 p.footer_under_flex01_b {
        font-size: 14px;
        margin-top: 10px;
        line-height: 1.8;
    }

    .footer_under_border {
        width: 100%;
        height: 1px;
        background-color: #060606;
        opacity: 0.25;
    }

    .footer_under_flex02 {
        width: 100%;
    }

    .footer_under_flex02 ul {
        padding-left: 0;
        margin: 0;
    }

    .footer_under_flex02 ul li {
        list-style: none;
        line-height: 1.9;
        font-size: 14px;
        padding: 6px 0;
        border-bottom: 1px solid rgba(6, 6, 6, 0.12);
    }

    .footer_under_flex02 ul li:last-child {
        border-bottom: none;
    }

    .footer_under_flex02 ul li a {
        display: block;
        color: #060606;
        text-decoration: none;
        padding: 6px 0;
    }

    /* -------------------------
        COPY
    ------------------------- */

    .copy_wrapper {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .copy_wrapper p {
        font-size: 12px;
        line-height: 1.4;
        padding: 0 10px;
        box-sizing: border-box;
    }

}
.question_banner_container {
    background-color: #FFFFEC;
}

.area_tables_wrapper {
    max-width: calc(100vw * (1300 / 1366));
    margin: 0 auto;
    width: 95vw;
}

.question_banner_wrapper {
    padding-top: calc(100vw * (80 / 1366));
    padding-bottom: calc(100vw * (80 / 1366));
}

.question_banner_head {
    text-align: center;
    margin-bottom: calc(100vw * (25 / 1366));
}

.question_banner_head h4 {
    font-size: calc(100vw * (25 / 1366));
    font-weight: 900;
}

.question_banner_text {
    text-align: center;
    margin-bottom: calc(100vw * (25 / 1366));
}

.question_banner_text p {
    line-height: calc(100vw * (40 / 1366));
    font-size: calc(100vw * (16 / 1366));
}

.question_bannner_img {
    text-align: center;
}

.question_bannner_img img {
    width: calc(100vw * (700 / 1366));
}
@media (max-width: 768px) {

    .area_tables_wrapper {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .question_banner_wrapper {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .question_banner_head {
        margin-bottom: 14px;
    }

    .question_banner_head h4 {
        font-size: 20px;
        line-height: 1.3;
    }

    .question_banner_text {
        margin-bottom: 18px;
        padding: 0 4px;
        box-sizing: border-box;
    }

    .question_banner_text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .question_banner_text p br {
        display: none;
    }

    .question_bannner_img img {
        width: 100%;
        max-width: 420px;
        height: auto;
    }

}


.my_slider img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.splide__arrow {
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.splide__pagination__page.is-active {
    background: #333;
}

:root{
    --fab-size: 56px;
    --fab-radius: 999px;
    --fab-bg: #104FA1;      /* ボタン色（For f ブルー想定） */
    --fab-fg: #fff;
    --drawer-w: min(86vw, 360px);
    --overlay-bg: rgba(0,0,0,.44);
    --elev: 9999;
}

/* ボタン（右下固定） */
.menu-fab{
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 8px);
    width: var(--fab-size);
    height: var(--fab-size);
    border: 0;
    border-radius: var(--fab-radius);
    background: var(--fab-bg);
    color: var(--fab-fg);
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: var(--elev);
    transition: transform .2s ease, box-shadow .2s ease;
    z-index: 1000000;
}
.menu-fab:active{ transform: translateY(1px) scale(.98); }
.menu-fab:focus-visible{ outline: 3px solid rgba(16,79,161,.35); outline-offset: 2px; }

/* ハンバーガーアイコン */
.hamburger, .hamburger::before, .hamburger::after{
    content:"";
    display:block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform .25s ease, opacity .2s ease;
}
.hamburger{ position: relative; }
.hamburger::before{ position:absolute; top:-7px; left:0; }
.hamburger::after{ position:absolute; top:7px; left:0; }

/* ドロワー & オーバーレイ */
.menu-overlay{
    position: fixed; inset: 0;
    background: var(--overlay-bg);
    z-index: calc(var(--elev) - 1);
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
}
.menu-drawer{
    position: fixed; top: 0; right: 0; height: 100dvh;
    width: var(--drawer-w); max-width: 100%;
    background: #fff;
    box-shadow: -16px 0 40px rgba(0,0,0,.18);
    z-index: var(--elev);
    transform: translateX(100%);
    transition: transform .28s ease;
    display: grid;
    align-content: start;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
}

/* メニュー内 */
.menu-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.menu-list a{
    display: block; padding: 14px 12px; border-radius: 12px;
    text-decoration: none; color: #0c1116; font-weight: 600;
    background: #f6f7f9;
}
.menu-list a:hover{ background: #eef1f6; }
.menu-list a.primary{
    background: #104FA1; color: #fff; text-align: center;
}
.menu-list a.primary:hover{ filter: brightness(1.05); }

/* 開閉状態（.is-openを<body>につける） */
body.is-open .menu-overlay{ opacity: 1; pointer-events: auto; }
body.is-open .menu-drawer{
    transform: translateX(0%);
    z-index: 100000;
}
body.is-open .menu-fab .hamburger{ transform: rotate(45deg); }
body.is-open .menu-fab .hamburger::before{ transform: rotate(90deg) translateX(7px); }
body.is-open .menu-fab .hamburger::after{ opacity: 0; transform: translateY(-7px); }

/* メディア：小さめデバイスでボタン少し大きく */
@media (max-width: 480px){
  :root{ --fab-size: 62px; }
}

/* アクセシビリティ：動きが苦手な人向け */
@media (prefers-reduced-motion: reduce){
  .menu-fab, .hamburger, .menu-overlay, .menu-drawer{ transition: none !important; }
}



/*-------------------*/
/* 施工実績（年数付きカード） */
/*-------------------*/
.history_container {
    background: #FFFFEC;
}

.history_wrapper {
    max-width: calc(100vw * (1360 / 1366));
    width: 95vw;
    margin: 0 auto;
    padding: calc(100vw * (80 / 1366)) 0;
}

.history_head {
    text-align: center;
    margin-bottom: calc(100vw * (28 / 1366));
}

.history_head p {
    font-size: calc(100vw * (18 / 1366));
    font-weight: 900;
    color: #104FA1;
}

.history_head h2 {
    font-size: calc(100vw * (25 / 1366));
    font-weight: 900;
    margin-top: calc(100vw * (6 / 1366));
}

.history_head span {
    display: block;
    margin-top: calc(100vw * (8 / 1366));
    font-size: calc(100vw * (16 / 1366));
}

.history_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(100vw * (20 / 1366));
}

.history_card {
    background: #fff;
    border: calc(100vw * (1 / 1366)) solid #000;
    border-radius: calc(100vw * (10 / 1366));
    overflow: hidden;
    box-shadow: calc(100vw * (10 / 1366)) calc(100vw * (10 / 1366)) 0 #a6d8ee;
    display: flex;
    flex-direction: column;
}

.history_badges {
    display: flex;
    gap: calc(100vw * (8 / 1366));
    align-items: center;
    padding: calc(100vw * (12 / 1366)) calc(100vw * (12 / 1366)) 0;
    flex-wrap: wrap;
}

.history_years {
    background: #0090D8;
    color: #fff;
    border-radius: calc(100vw * (999 / 1366));
    padding: calc(100vw * (6 / 1366)) calc(100vw * (12 / 1366));
    font-weight: 900;
    line-height: 1;
}

.history_years .years-num {
    font-size: calc(100vw * (18 / 1366));
}

.history_type {
    background: #eef1f6;
    color: #0c1116;
    border-radius: calc(100vw * (999 / 1366));
    padding: calc(100vw * (6 / 1366)) calc(100vw * (12 / 1366));
    font-weight: 700;
    line-height: 1;
    border: calc(100vw * (1 / 1366)) solid #c9d3df;
}

.history_type.is-silicon {
    background: #FFE9C7;
    border-color: #FFCC80;
}

.history_type.is-glass {
    background: #CBE7F5;
    border-color: #64b9dc;
}

.history_type.is-uv {
    background: #E6F7D9;
    border-color: #B9E7A6;
}

.history_media {
    margin-top: calc(100vw * (12 / 1366));
    padding: 0 calc(100vw * (12 / 1366));
}

.history_media img {
    width: 100%;
    height: calc(100vw * (220 / 1366));
    object-fit: cover;
    border-radius: calc(100vw * (10 / 1366));
}

.history_body {
    padding: calc(100vw * (14 / 1366)) calc(100vw * (12 / 1366)) calc(100vw * (16 / 1366));
}

.history_body h3 {
    font-size: calc(100vw * (18 / 1366));
    font-weight: 900;
    margin-bottom: calc(100vw * (6 / 1366));
}

.history_desc {
    font-size: calc(100vw * (14 / 1366));
    line-height: 1.9;
    color: #333;
}

/* レスポンシブ */
@media (max-width: 1024px) {

    .history_cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .history_media img {
        height: calc(100vw * (200 / 1366));
    }

}

@media (max-width: 768px) {

    .history_wrapper {
        padding: calc(100vw * (50 / 1366)) 0;
    }

    .history_cards {
        grid-template-columns: 1fr;
    }

    .history_media img {
        height: 42vh;
        max-height: calc(100vw * (360 / 1366));
    }

    .history_head h2 {
        font-size: calc(100vw * (22 / 1366));
    }

    .history_head p {
        font-size: calc(100vw * (16 / 1366));
    }

}

@media (max-width: 768px) {

    .history_wrapper {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 44px 16px;
        box-sizing: border-box;
    }

    .history_head {
        margin-bottom: 18px;
    }

    .history_head p {
        font-size: 16px;
        line-height: 1.5;
    }

    .history_head h2 {
        font-size: 22px;
        line-height: 1.35;
        margin-top: 8px;
    }

    .history_head span {
        font-size: 15px;
        line-height: 1.8;
        margin-top: 10px;
    }

    .history_cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .history_card {
        border: 1px solid #000;
        border-radius: 12px;
        box-shadow: 10px 10px 0 #a6d8ee;
    }

    .history_badges {
        gap: 8px;
        padding: 12px 12px 0;
    }

    .history_years {
        border-radius: 999px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .history_years .years-num {
        font-size: 18px;
    }

    .history_type {
        border-radius: 999px;
        padding: 8px 12px;
        font-size: 13px;
        line-height: 1.1;
    }

    .history_media {
        margin-top: 12px;
        padding: 0 12px;
    }

    .history_media img {
        height: auto;
        max-height: 42vh;
        border-radius: 12px;
        object-fit: cover;
    }

    .history_body {
        padding: 14px 12px 16px;
    }

    .history_body h3 {
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .history_desc {
        font-size: 16px;
        line-height: 1.9;
    }

}

/* =========================
    service_flex01（説明カード）
========================= */

.service_flex01 {
    background: #fff;
    padding: calc(100vw * (48 / 1366)) calc(100vw * (36 / 1366));
    border: calc(100vw * (1 / 1366)) solid #e5e7eb;
    border-radius: calc(100vw * (16 / 1366));
    box-shadow: 0 calc(100vw * (4 / 1366)) calc(100vw * (16 / 1366)) rgba(0,0,0,0.04);
    max-width: calc(100vw * (900 / 1366));
    margin: 0 auto calc(100vw * (80 / 1366));
    line-height: 1.9;
    color: #1f2937;
    transition: box-shadow .3s ease, transform .3s ease;
}

/* hover時にわずかな浮き感 */
.service_flex01:hover {
    box-shadow: 0 calc(100vw * (6 / 1366)) calc(100vw * (24 / 1366)) rgba(0,0,0,0.06);
    transform: translateY(calc(100vw * (-2 / 1366)));
}

/* 見出しと下線 */
.service_heading {
    display: flex;
    align-items: center;
    gap: calc(100vw * (12 / 1366));
    margin-bottom: calc(100vw * (24 / 1366));
}

.service_heading h2 {
    font-size: calc(100vw * (26 / 1366));
    font-weight: 800;
    color: #0e2f59;
    letter-spacing: .04em;
    margin: 0;
}

.service_line {
    flex: 1;
    height: calc(100vw * (2 / 1366));
    background: linear-gradient(90deg, #0e75bb, #5bbef3);
    border-radius: calc(100vw * (2 / 1366));
    opacity: .9;
}

/* 区切り線 */
.service_divider {
    border: none;
    border-top: calc(100vw * (1 / 1366)) solid #e5e7eb;
    margin: calc(100vw * (28 / 1366)) 0;
}

/* 強調テキスト */
.service_flex01 strong {
    color: #0e75bb;
    font-weight: 700;
}

/* 引用調の締めフレーズ */
.service_quote {
    margin-top: calc(100vw * (40 / 1366));
    padding: calc(100vw * (20 / 1366)) calc(100vw * (28 / 1366));
    background: #f9fcfe;
    border-left: calc(100vw * (4 / 1366)) solid #0e75bb;
    font-style: italic;
    font-size: calc(100vw * (16 / 1366));
    color: #0f2845;
    border-radius: calc(100vw * (6 / 1366));
}

/* レスポンシブ */
@media (max-width: 768px) {

    .service_flex01 {
        padding: calc(100vw * (28 / 1366)) calc(100vw * (20 / 1366));
        margin-bottom: calc(100vw * (60 / 1366));
        max-width: 100%;
    }

    .service_heading h2 {
        font-size: calc(100vw * (22 / 1366));
		font-size:16px;
    }

    .service_line {
        height: calc(100vw * (1.5 / 1366));
    }

}


/* =========================
    area_tables_add_area（都道府県ボックス）
========================= */

.area_tables_add_area {
    background: #E7F1F5;
    height: 100%;
    padding: calc(100vw * (20 / 1366));
    display: flex;
    flex-wrap: wrap;
    gap: calc(100vw * (30 / 1366));
    justify-content: center;
}

/* 各都道府県ボックス */
.area_tables_add_area .pref_box {
    flex: 1 1 calc(100vw * (480 / 1366));
    background: #f8f8f8;
    border-radius: calc(100vw * (10 / 1366));
    padding: calc(100vw * (24 / 1366)) calc(100vw * (28 / 1366));
    box-shadow: 0 calc(100vw * (6 / 1366)) calc(100vw * (20 / 1366)) rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area_tables_add_area .pref_box:hover {
    transform: translateY(calc(100vw * (-4 / 1366)));
    box-shadow: 0 calc(100vw * (10 / 1366)) calc(100vw * (24 / 1366)) rgba(0, 0, 0, 0.18);
}

/* 見出し */
.area_tables_add_area .pref_box h3 {
    font-size: calc(100vw * (22.4 / 1366)); /* 1.4rem(≈22.4px) */
    color: #104FA1;
    margin-bottom: calc(100vw * (12 / 1366));
    border-left: calc(100vw * (4 / 1366)) solid #104FA1;
    padding-left: calc(100vw * (10 / 1366));
}

/* テキスト */
.area_tables_add_area .pref_box p {
    line-height: 1.8;
    color: #333;
    font-size: calc(100vw * (15.2 / 1366)); /* 0.95rem(≈15.2px) */
}

/* 見出しの帯デザイン（サブタイトルと統一） */
.area_tables_add_head {
    background: linear-gradient(90deg, #3ab0ff, #0078d7);
    color: #fff;
    padding: calc(100vw * (10 / 1366));
    box-sizing: border-box;
    margin-top: calc(100vw * (40 / 1366));
    border-radius: calc(100vw * (6 / 1366));
}

.area_tables_add_head h6 {
    margin: 0;
    font-size: calc(100vw * (16 / 1366)); /* 1rem */
    font-weight: 600;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {

    .area_tables_wrapper {
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 0 12px;
        box-sizing: border-box;
        width: 100%;
    }

    .area_tables_head {
        width: 100%;
        border-radius: 8px;
    }

    .area_tables_head h5 {
        font-size: 18px;
        padding: 12px;
        line-height: 1.3;
    }

    .area_tables_text {
        margin-top: 14px;
    }

    .area_tables_text p {
        font-size: 14px;
        line-height: 1.9;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .area_tables_add_area {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    /* prefecture box（前に渡した .area_tables_add_area のスタイルを想定） */
    .area_tables_add_area .pref_box {
        width: 100%;
        box-sizing: border-box;
        padding: 14px;
        border-radius: 10px;
    }

    .area_tables_add_area .pref_box h3 {
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 10px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .area_tables_add_area .pref_box p {
        font-size: 13px;
        line-height: 1.9;
        margin: 0 0 10px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .area_tables_add_area .pref_box p:last-child {
        margin-bottom: 0;
    }

    /* 「【23区】」「【市町村】」などの強制改行はそのまま活かす */
    .area_tables_add_area .pref_box p br {
        display: inline;
    }

    .service_quote {
        margin-top: calc(100vw * (40 / 1366));
        padding: calc(100vw * (20 / 1366)) calc(100vw * (28 / 1366));
        background: #f9fcfe;
        border-left: calc(100vw * (4 / 1366)) solid #0e75bb;
        font-style: italic;
        font-size: calc(100vw * (16 / 1366));
        color: #0f2845;
        border-radius: calc(100vw * (6 / 1366));
    }

}
@media (max-width: 768px) {

    .service_quote {
        margin-top: 24px;
        padding: 14px 16px;
        background: #f9fcfe;
        border-left: 4px solid #0e75bb;
        font-style: italic;
        font-size: 15px;
        line-height: 1.7;
        color: #0f2845;
        border-radius: 8px;
        box-sizing: border-box;
    }

}
/*-----------------------*/
/*-----------------------*/
/*-----------------------*/
/*-------カンパニー-------*/
/*-----------------------*/
/*-----------------------*/
.sub_heading_container{
  background-image: url(https://build.forf-homepage-samplesite.net/wp-content/themes/floor_coating/img/64000000.svg);
  background-size: cover;
  background-position: center;
}

.sub_heading_content{
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  height: auto;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.sub_heading_content h2{
  font-size: clamp(24px, 3vw, 40px);
}

.sub_heading_content p{
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: clamp(26px, 3vw, 40px);
  width: min(60%, 720px);
  margin-top: 10px;
}

@media (max-width: 768px){
  .sub_heading_content{
    min-height: 360px;
    padding: 40px 16px;
  }
  .sub_heading_content p{
    width: 100%;
  }
}

.mvv_section{
  padding: clamp(48px, 6vw, 80px) 20px;
  background-color: #fff;
  box-sizing: border-box;
}

.mvv_flex{
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(16px, 2.6vw, 30px);
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.mvv_box{
  position: relative;
  flex: 1 1 320px;
  background: #f3faff;
  border: 2px solid #2996d3;
  border-radius: 10px;
  padding: 60px 25px 25px;
  box-sizing: border-box;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: left;
  min-width: 0;
}

.mvv_title{
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #3ab0ff, #0078d7);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  padding: 10px 40px;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.mvv_text{
  font-size: 15px;
  line-height: 1.9;
  color: #111;
}

.mvv_text p + p{
  margin-top: 10px;
}

@media (max-width: 768px){
  .mvv_flex{
    flex-direction: column;
    gap: 25px;
  }
  .mvv_box{
    padding: 55px 20px 20px;
  }
  .mvv_title{
    font-size: 18px;
    padding: 8px 24px;
  }
}

.greeting{
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.greeting__inner{
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 80px 0;
}

.greeting__head{
  width: 60%;
}

.greeting__head h2{
  font-size: clamp(18px, 2vw, 25px);
  margin-top: 10px;
}

.greeting__head h3{
  font-size: clamp(16px, 1.8vw, 20px);
}

.greeting__flex{
  width: 40%;
}

.greeting__text{
  margin-top: 20px;
}

.greeting__text p{
  line-height: clamp(28px, 3.2vw, 45px);
}

.greeting__flex span.role{
  font-size: clamp(16px, 1.8vw, 20px);
}

.greeting__flex span.name{
  font-size: clamp(14px, 1.6vw, 18px);
}

.greeting__photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px){
  .greeting__inner{
    flex-direction: column;
    gap: 24px;
    padding: 60px 0;
  }
  .greeting__head,
  .greeting__flex{
    width: 100%;
  }
}

.timeline{
  max-width: 1360px;
  width: 100%;
  margin: 60px auto 80px;
  padding: 24px 20px 40px;
  position: relative;
  box-sizing: border-box;
}

.timeline__title{
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  margin: 0 0 20px;
}

.timeline::before{
  content: "";
  position: absolute;
  left: 163px;
  top: 64px;
  width: 10px;
  height: var(--line-height, 0);
  background: #55A3CC;
  border-radius: 10px;
  margin-top: 80px;
  transition: height 0.2s ease-out;
}

.tl-row{
  position: relative;
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 24px 0;
  min-height: 150px;
  font-size: clamp(16px, 1.6vw, 22px);
}

.tl-year{
  position: relative;
  min-width: 300px;
  max-width: 300px;
  height: 44px;
  line-height: 44px;
  padding: 0 16px;
  background: #55A3CC;
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(85,163,204,.28);
  z-index: 1;
  box-sizing: border-box;
  margin-top: 5px;
}

.tl-events{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6px;
}

.tl-event{
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.tl-month{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 64px;
  font-weight: 700;
  color: #1f2937;
  position: relative;
  padding-left: 32px;
}

.tl-month::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 3px solid #55A3CC;
  border-radius: 50%;
  background: #fff;
}

.tl-text{
  line-height: 1.9;
  color: #222;
}

@media (max-width: 960px){
  .timeline::before{
    left: 90px;
  }
  .tl-year{
    margin-left: 90px;
    min-width: 160px;
    max-width: 160px;
  }
}

@media (max-width: 640px){
  .timeline{
    padding: 16px 16px 32px;
    margin: 40px auto 64px;
  }
  .timeline::before{
    left: 16px;
    top: 56px;
    margin-top: 64px;
  }
  .tl-row{
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
    min-height: 0;
  }
  .tl-year{
    margin-left: 16px;
    min-width: auto;
    max-width: none;
    width: max-content;
    height: 40px;
    line-height: 40px;
    padding: 0 12px;
  }
  .tl-month{
    padding-left: 28px;
    min-width: 56px;
  }
  .tl-month::before{
    width: 16px;
    height: 16px;
    border-width: 2px;
  }
}

.company-section{
  max-width: 1360px;
  width: min(95vw, 1360px);
  margin: 48px auto 96px;
}

.company-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(15, 23, 42, .06);
}

.company-table th,
.company-table td{
  padding: clamp(16px, 2.2vw, 28px) clamp(14px, 2vw, 24px);
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
  font-size: clamp(14px, 1.5vw, 16px);
}

.company-table th{
  width: 240px;
  background: #eef3f6;
  color: #111827;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.company-table tr:nth-child(odd) th{
  background: #e9f1f6;
}

.contact{
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.works-grid{
  --gap: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap) 48px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.works-grid li{
  position: relative;
  padding-left: 1.1em;
}

.works-grid li::before{
  content: "・";
  position: absolute;
  left: 0;
  color: #546e7a;
}

.company-table tr:last-child th,
.company-table tr:last-child td{
  border-bottom: none;
}

@media (max-width: 800px){
  .company-section{
    width: min(92vw, 1360px);
    margin: 36px auto 72px;
  }
  .company-table th{
    width: auto;
    white-space: normal;
  }
  .works-grid{
    grid-template-columns: 1fr;
    gap: 10px 20px;
  }
}

.features{
  width: min(95vw, 1360px);
  margin: 60px auto;
}

.features__inner{
  display: flex;
  gap: clamp(24px, 3vw, 56px);
  align-items: stretch;
}

.feature{
  position: relative;
  flex: 1 1 0;
  padding: clamp(18px, 2.5vw, 28px) clamp(12px, 2.2vw, 24px) clamp(28px, 3vw, 40px);
  overflow: hidden;
}

.feature::after{
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  margin: auto;
  width: clamp(220px, 32vw, 360px);
  height: clamp(220px, 32vw, 360px);
  background-image: var(--mark);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  transform: translateY(10%);
}

.feature__title{
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: .02em;
  margin: 0 0 18px;
  position: relative;
}

.feature__title::after{
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #2c2c2c;
  opacity: .35;
  margin-top: clamp(12px, 1.4vw, 16px);
}

.feature__text{
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  line-height: 2.0;
  margin: clamp(18px, 2vw, 22px) 0 0;
  color: #1f2937;
}

@media (max-width: 900px){
  .features__inner{
    flex-direction: column;
  }
  .feature::after{
    width: clamp(200px, 70vw, 360px);
    height: clamp(200px, 70vw, 360px);
    transform: translateY(0);
  }
}

.sub_flex_wrapper{
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
}

.sub_flex_content{
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.sub_flex01{
  width: 60%;
}

.sub_flex02{
  width: 40%;
}

.sub_flex02 img{
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.sub_flex02 img:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 6px 12px rgba(0, 0, 0, 0.18);
}

.sub_flex01 h4{
  font-size: 25px;
  font-weight: 700;
  background: linear-gradient(90deg, #3ab0ff, #0078d7);
  display: inline-block;
  width: auto;
  color: #ffffff;
  padding: 10px;
  box-sizing: border-box;
}

.sub_flex01 p{
  font-size: 16px;
  line-height: 45px;
  margin-top: 20px;
}

@media (max-width: 900px){
  .sub_flex_wrapper{
    padding: 60px 16px;
  }
  .sub_flex_content{
    flex-direction: column;
    gap: 24px;
  }
  .sub_flex01,
  .sub_flex02{
    width: 100%;
  }
  .sub_flex01 h4{
    font-size: 20px;
  }
  .sub_flex01 p{
    line-height: 32px;
  }
}

.sub_user_container{
  background-color: rgb(252, 252, 252);
}

.sub_user_wrapper{
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
}

.sub_user_head h6{
  font-size: 25px;
}

.sub_user_box_head{
  background: linear-gradient(90deg, #3ab0ff, #0078d7);
  width: auto;
  color: #ffffff;
  padding: 10px;
  box-sizing: border-box;
  margin-top: 40px;
}

.sub_user_box_text{
  background:#E7F1F5;
  height: 100%;
  padding: 20px;
}

.sub_user_box_text p{
  font-size: 16px;
}

.sub_user_box_img_contet{
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: rgb(231 241 245);
}

.sub_user_box_img img{
  width: 100%;
  display: block;
}

.sub_user_box_text{
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.pref_box{
  flex: 1 1 480px;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pref_box:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pref_box h3{
  font-size: 1.4rem;
  color: #104FA1;
  margin-bottom: 12px;
  border-left: 4px solid #104FA1;
  padding-left: 10px;
}

.pref_box p{
  line-height: 1.8;
  color: #333;
  font-size: 0.95rem;
}

@media (max-width: 900px){
  .sub_user_wrapper{
    padding: 60px 16px;
  }
  .sub_user_head h6{
    font-size: 20px;
  }
  .sub_user_box_head{
    margin-top: 24px;
  }
  .sub_user_box_text{
    padding: 16px;
    gap: 16px;
  }
  .pref_box{
    flex: 1 1 100%;
    padding: 20px 18px;
  }
}

.question_banner_container02{
  margin-top: 0;
}
.sub_heading_container{
  background-image: url(https://build.forf-homepage-samplesite.net/wp-content/themes/floor_coating/img/64000000.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sub_heading_wrapper{
  width: 100%;
}

.sub_heading_content{
  width: 1360px;
  max-width: 100%;
  margin: 0 auto;
  height: 500px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sub_heading_content h2{
  font-size: 40px;
  line-height: 1.25;
}

.sub_heading_content h2 span{
  font-size: 0.55em;
  font-weight: 700;
  display: inline-block;
}

.sub_heading_content p{
  font-size: 20px;
  line-height: 40px;
  width: 60%;
  margin-top: 10px;
}

.sub_button_wrapper{
  margin-top: 24px;
}

.sub_button_content{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sub_button{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
}

.sub_button i{
  font-size: 18px;
  line-height: 1;
}

.sub_button p{
  font-size: 16px;
  line-height: 1;
  margin: 0;
  width: auto;
}

@media (max-width: 1024px){
  .sub_heading_content{
    height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .sub_heading_content h2{
    font-size: 32px;
  }
  .sub_heading_content p{
    font-size: 16px;
    line-height: 30px;
    width: 100%;
  }
}

@media (max-width: 600px){
  .sub_heading_content{
    padding-top: 56px;
    padding-bottom: 56px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .sub_heading_content h2{
    font-size: 24px;
  }
  .sub_heading_content h2 span{
    display: block;
    margin-top: 6px;
  }
  .sub_button_content{
    flex-direction: column;
    gap: 12px;
  }
  .sub_button{
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
  }
	.sub_button_content a{
		width:100% !important;
	}
}
/* =========================
  Responsive
  対象：.features / .sub_flex_* / .sub_user_* / .pref_box など
========================= */

/* --- 1050px以下：2カラム → 余白と比率調整（PC小さめ/タブレット） --- */
@media (max-width: 1050px) {

  /* features */
  .features{
    width: min(92vw, 1360px);
    margin: 50px auto;
  }
  .features__inner{
    gap: 28px;
  }
  .feature{
    padding: 22px 18px 34px;
  }

  /* sub_flex */
  .sub_flex_wrapper{
    padding-top: 64px;
    padding-bottom: 64px;
    padding-left: 4vw;
    padding-right: 4vw;
    box-sizing: border-box;
  }
  .sub_flex_content{
    gap: 16px;
  }
  .sub_flex01{
    width: 58%;
  }
  .sub_flex02{
    width: 42%;
  }
  .sub_flex01 p{
    line-height: 2.0;
  }

  /* sub_user */
  .sub_user_wrapper{
    padding-top: 64px;
    padding-bottom: 64px;
    padding-left: 4vw;
    padding-right: 4vw;
    box-sizing: border-box;
  }
  .sub_user_box_img_contet{
    padding-top: 64px;
    padding-bottom: 64px;
  }

  /* pref_box */
  .sub_user_box_text{
    gap: 22px;
  }
  .pref_box{
    flex: 1 1 420px;
    padding: 22px 24px;
  }
}

/* --- 900px以下：featuresは縦積み（既存ルール活かしつつ整える） --- */
@media (max-width: 900px) {

  /* features（縦積み） */
  .features{
    width: min(92vw, 1360px);
    margin: 44px auto;
  }
  .features__inner{
    flex-direction: column;
    gap: 22px;
  }
  .feature{
    padding: 22px 18px 32px;
  }
  .feature::after{
    width: clamp(200px, 70vw, 360px);
    height: clamp(200px, 70vw, 360px);
    transform: translateY(0);
  }
  .feature__title{
    font-size: clamp(24px, 5.2vw, 34px);
    margin: 0 0 14px;
  }
  .feature__text{
    font-size: clamp(14px, 3.6vw, 17px);
    line-height: 1.95;
  }

  /* sub_flex：ここから1カラム化の準備 */
  .sub_flex_content{
    flex-wrap: wrap;
    gap: 22px;
  }
}

/* --- 768px以下：sub_flex を縦積み（画像→本文 or 本文→画像はお好みで） --- */
@media (max-width: 768px) {

  /* table headなど */
  .table-scroll-headarea p span{
    font-size: 13px;
  }

  /* sub_flex（縦積み） */
  .sub_flex_wrapper{
    padding-top: 56px;
    padding-bottom: 56px;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .sub_flex_content{
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .sub_flex01,
  .sub_flex02{
    width: 100%;
  }
  .sub_flex02 img{
    height: auto;
    aspect-ratio: 16 / 10; /* 画像が縦に伸びるの防止 */
    object-fit: cover;
  }
  .sub_flex01 h4{
    font-size: 20px;
    padding: 10px 12px;
  }
  .sub_flex01 p{
    font-size: 15px;
    line-height: 2.0;
    margin-top: 14px;
  }

  /* sub_user */
  .sub_user_wrapper{
    padding-top: 56px;
    padding-bottom: 56px;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .sub_user_box_head{
    margin-top: 28px;
    padding: 10px 12px;
  }
  .sub_user_box_head h6,
  .sub_user_head h6,
  .sub_user_box_head h6{
    font-size: 20px;
  }

  .sub_user_box_img_contet{
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* pref_box（2列→1列寄り） */
  .sub_user_box_text{
    gap: 16px;
  }
  .pref_box{
    flex: 1 1 100%;
    padding: 18px 18px;
  }
  .pref_box h3{
    font-size: 1.15rem;
  }
  .pref_box p{
    font-size: 0.95rem;
  }
}

/* --- 500px以下：SP最適化（文字・余白を少し締める） --- */
@media (max-width: 500px) {

  /* features */
  .features{
    width: 92vw;
    margin: 36px auto;
  }
  .feature{
    padding: 18px 14px 26px;
  }
  .feature__title::after{
    height: 2px;
    margin-top: 10px;
  }
  .feature__text{
    line-height: 1.9;
  }
  .feature::after{
    width: min(78vw, 320px);
    height: min(78vw, 320px);
  }

  /* sub_flex */
  .sub_flex_wrapper{
    padding-top: 44px;
    padding-bottom: 44px;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .sub_flex02 img{
    aspect-ratio: 4 / 3;
  }
  .sub_flex01 h4{
    font-size: 18px;
  }
  .sub_flex01 p{
    font-size: 14px;
  }

  /* sub_user */
  .sub_user_wrapper{
    padding-top: 44px;
    padding-bottom: 44px;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .sub_user_box_text{
    padding: 16px;
    gap: 12px;
  }

  /* pref_box */
  .pref_box{
    padding: 16px 16px;
    border-radius: 10px;
  }
  .pref_box h3{
    font-size: 1.05rem;
    border-left-width: 3px;
    padding-left: 9px;
  }
  .pref_box p{
    font-size: 0.92rem;
  }

  /* banner余白 */
  .question_banner_container02{
    margin-top: 0;
  }
}

@media(min-width:769px){
	.sub_user_box_img img.sub_user_box_img_img02{
		display:none;
	}
}
@media(max-width:768px){
	.sub_user_box_img img.sub_user_box_img_img01{
		display:none;
	}
}