/*
  Theme Name: 木下建設株式会社
  Theme URI: http://
  Description: 
  Version: 1.0.0

*/
@charset "utf-8";

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", san-serif;
    color: #2E2E2E;
    line-height: 1.7;
}

* {
    box-sizing: border-box;
}

.serif {
    font-family: "Shippori Mincho", serif;
}

img {
    max-width: 100%;
    object-fit: contain;
    height: auto;
    object-position: top;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

a:hover {
    opacity: 0.6;
}

ul {
    list-style: none;
    padding-left: 0;
}

.pc {}

.sp {
    display: none !important;
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.fadeUpTrigger {
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}
.swiper-slide-active .swiper-img,
.swiper-slide-duplicate-active .swiper-img,
.swiper-slide-prev .swiper-img {
  animation: zoomUp 7s linear 0s normal both;
}
.swiper-slide img {
  height: auto;
  width: 100%;
}

.shine .mask{
	position: relative;
    display: block;
    overflow: hidden;
}

.shine .mask::before {
	position: absolute;
	content:"";
	width: 50%;
	height: 100%;
	top: 0;
	left: -80%;
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgb(218 241 242 / 30%) 100%);
	transform: skewX(-25deg);
}

.shine .mask:hover::before {
	animation: shine 0.7s;
}

@keyframes shine {
	100% {
		left: 125%;
	}
}

.blur{
	animation-name:blurAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
	opacity: 0;
  }

  to {
	filter: blur(0);
	transform: scale(1);
	opacity: 1;
  }
}
 
.blurTrigger{
    opacity: 0;
}

#page-top a {
display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
    width: 45px;
    height: 45px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 160%;
    transition: all 0.3s;
    font-family: auto;
}

#page-top {
	position: fixed;
	right: 0;
	bottom: 0;
    margin:0;
	z-index: 1000;
	opacity: 0;
	transform: translateY(100px);
}

.UpMove {
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
	from {
		opacity: 0;
		transform: translateY(100px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    font-size: 16px;
    z-index: 10;
}

header .logo1 {
    display: inline-block;
    margin: 0;
    position: relative;
    top: 15px;
    left: 15px;
}

.logo1 img {
    mix-blend-mode: multiply;
}

header .logo1 {
    z-index: 30;
}

header .logo1 img {
    height: 50px;
}

header nav {
    position: relative;
    float: right;
    top: 10px;
    right: 3%;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

header nav ul a {
    font-size: clamp(14px, 1vw, 16px);
}
.home header:not(.fixed_header) nav ul a{
    color:#fff;
}
header nav ul a.current{
    position:relative;
}
header nav ul a.current::after{
    display: block;
    content: "";
    position: absolute;
    bottom: -4px;
    width: 101%;
    height: 3px;
    border-radius: 30px;
    background: #001498;
}

header .btn-estate.pc {
    display: flex;
    right: 0;
    top: -6px;
    position: relative;
    background: #252525;
    color: #fff;
    text-align: center;
    gap: 10px;
    padding: 10px;
    min-width: 185px;
    justify-content: center;
    align-items: center;
    margin-bottom: -12px;
}

header .btn-estate span {
    display: block;
}

.fixed_header {
    background: #fff;
    animation: DownAnime 0.5s forwards;
    box-shadow: 1px 0 5px 1px #ddd;
}

.fixed_header .logo1 {}

@keyframes DownAnime {
    0% {
        opacity: 0;
        transform: translateY(-170px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

main:not(.home) {
    margin-top: 80px;
}

section {
    position: relative;
}

p,
a {
    font-size: clamp(14px, 1.5vw, 16px);
    /* letter-spacing: 3.5px; */
    font-weight: 400;
}

h2,
h3,
h4 {
    letter-spacing: 2.5px;
    font-weight: 600;
}

.H2 {
    font-size: clamp(20px, 2vw, 36px);
    font-family: "Shippori Mincho", serif;
    white-space: nowrap;
    color: #09005A;
    margin: 2rem 0 4rem;
    letter-spacing: 3.5px;
}

h3.wp-block-heading {
    position: relative;
    font-size: clamp(18px, 1.5vw, 28px);
    padding: 0.5rem 1rem;
    margin-bottom: 5%;
    letter-spacing: 1px;
}

h3.wp-block-heading::before {
    content: "";
    display: block;
    background: #001498;
    top: 0;
    left: 0;
    border-radius: 20px;
    position: absolute;
    width: 6px;
    height: 100%;
}

.cont {
    width: 90%;
    margin: auto;
    max-width: 1600px;
}

.content {
    margin: 0% auto 7%;
    padding: 1rem 0 4rem;
}

.content .cont {
    max-width: 1200px;
}

.arrow {
    position: absolute;
    content: "";
    width: 60px;
    height: 1px;
    background: #909090;
    right: 2%;
    top: 50%;
    display: block;
}

.arrow::after {
    position: absolute;
    content: "";
    width: 12px;
    height: 1px;
    background: #909090;
    right: 0;
    top: -5px;
    display: block;
    rotate: 45deg;
}

.btn {
    text-align: center;
    display: block;
    font-size: clamp(13px, 1vw, 15px);
    color: #fff;
    background: #09005A;
    width: 200px;
    padding: 0.55rem 2.8rem;
    margin: 2rem auto;
    transition: all 0.5s;
    position: relative;
    border-radius: 40px;
    height: 42px;
    width: fit-content;
    min-width: 200px;
}

.btn .arrow {
    background: #fff;
    width: 30px;
}

.btn .arrow::after {
    background: #fff;
    width: 10px;
    top: -4px;
}


.flex {
    display: flex;
}

/**TOP**/
.mv {
    /* background: url(img/istockphoto.jpg) no-repeat; */
    width: 100%;
    height: calc(100vh);
    background-size: cover;
}

.mv_cont {
    /* width: 100vw;
    height: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* backdrop-filter: brightness(0.85);
    background: #ffffff45; */

    position: absolute;
    bottom: 30%;
    text-align: center;
    width: 100%;
    top: 50%;
    bottom: 50%;
}
.mv {
    position: relative;
    width: 100%;
    height: 100vh;
    top: 0;
    overflow: hidden;

}
.mv .bg_img{

}
.mv .bg_img {
    display: block;
    position: relative;
    width: 100%;
    z-index: 0;
    top: 0;

}

.mv .bg_img img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}


.mv_catch {
    color: #fff;
    font-size: clamp(24px, 5vw, 75px);
    font-family: serif;
    text-align: center;
    align-items: center;
    justify-content: center;
    letter-spacing: 6px;
    font-weight: 500;
    gap: 1rem;
    margin-bottom: 5%;
    text-shadow: 0 0 3px #fff;
}

.mv_catch img {
    width: 22%;
    filter:drop-shadow(0px 0px 3px #FFF);
}

.sec02 {
    margin-top: 4%;
    padding-bottom:9rem;
}

.sec02 .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: auto;
}

.sec02 .box {
    max-width: 500px;
    margin: auto;
    background: linear-gradient(130deg, #363636, #201C43, #69648F);
    color: #fff;
    box-shadow: 1px 1px 6px 1px #46416a;
    height: 100%;
}
.sec02 .box a{
    width:100%;
    height:100%;
    display: block;
    padding: 1rem 1rem 3rem;
}
.sec02 .box img{
    object-fit: cover;
    aspect-ratio: 4/3;
}

.sec02 .box h3 {
    text-align: center;
    font-size: clamp(20px, 2vw, 24px);
}

.news {
    width: 90%;
    max-width: 900px;
    margin: 5% auto 6%;
}

.news .cont {
    letter-spacing: normal;
    margin: 2rem 0;
}

.news ul {
    margin-bottom: 4rem;
}

.news ul li {
    padding: 1rem;
    border-bottom: 1px solid #909090;
    display: flex;
    position: relative;
}

.news ul li:first-child {
    border-top: 1px solid #909090;
}

.news ul li a {
    display: block;
    width: 80%;
}


.date {
    margin-right: 1rem;
    color: #69648f;
    letter-spacing: 2px;
}

.news .cat {
    font-size: 75%;
    display: flex;
    color: #006494;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    padding: 2px 20px;
    /* border-radius: 30px; */
    margin-right: 1.5rem;
    max-width: 120px;
    white-space: nowrap;
}

.news .cat.cat2 {
}
.sanpai{
    /* background: linear-gradient(103deg, #05352a, #2d9c9f, #3d7294); */
}
.gyomu{
    position:relative;
}
.gyomu .overlay{
    position: absolute;
    top: 0;
    left: 0;
    height: 65%;
    width: 100%;
    z-index: 2;
}
.gyomu .cont{
    max-width:1400px;
}
.gyomu.sanpai .overlay{
    background: linear-gradient(to bottom, #007e5e 0%, rgba(26, 102, 0, 0) 100%);
}
.gyomu.kaitai .overlay{
    background: linear-gradient(to bottom, #03215a 0%, rgba(26, 102, 0, 0) 100%);
}
.gyomu .image{
    width: 100%;
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 0;
}
.gyomu .image img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 20%;
}
.gyomu .text{
    width:100%;
    position: relative;
    padding: 3%;
    z-index: 3;
}
.gyomu .text p{
    max-width: 700px;
    background: #ffffffb2;
    padding: 2rem;
    margin-left: auto;
}
.gyomu .text p .btn{
    margin-right:0;
    margin-bottom: 1rem;
}
.gyomu .text h2{
    color:#fff;
        margin: 1rem 0 2rem;
}
.top-service{
        width: 90%;
    margin: 2rem auto;
    max-width: 1000px;
    position: relative;
    padding: 2%;
    border: 1px solid #cccccc;
    background: #fff;

    position:relative;
}
.top-service .flex{
    align-items: center;
    justify-content: space-between;
    gap:2rem;
}
.top-service .flex .text{
    width:65%;
    max-width:520px;
}
.top-service .flex .image{
    width:35%;
}
.top-service .flex .image img{
    width:100%;
    height:auto;
    object-fit: cover;
    aspect-ratio: 1/1;
}
.top-service .num{
position: absolute;
    top: -1px;
    left: -1px;
    background: #444444;
    color: #fff;
    width: 55px;
    height: 55px;
    font-weight: 600;
    font-family: serif;
    font-size: 24px;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-service .H2{
font-size: clamp(20px, 1.6vw, 30px);
    margin-bottom: 1.5rem;
    color:#333;
}
.top-service .btn{
    margin:2rem 0 1rem auto;
}
.top-service.kaitai{
    margin-top: -15rem;
    top: 16rem;
    z-index: 3;
}

.page-template-page-top3 .top-service{
    border:none;
    background:none;
    max-width:1600px;
}
.page-template-page-top3 .top-service .flex{
    gap:4rem;
}
.page-template-page-top3 .top-service .flex .text{
    width:35%;
}
.page-template-page-top3 .top-service .flex .image{
    width:65%;
}
.page-template-page-top3 .top-service .flex .image img{
    clip-path:polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
    max-height: 300px;
    aspect-ratio: auto;
}

.page-template-page-top3 .top-service .num{
    display: none;
}
.page-template-page-top3 .top-service.kaitai{
    top:1rem;
    margin-top: 0;
    margin-bottom: 0;
    padding-top:5rem;
    padding-bottom:0;
}
.page-template-page-top3 .top-service.kaitai .flex{
    flex-direction: row-reverse;
}
/* .page-template-page-top3 .sec04 {
padding-top:14rem;
} */
 .page-template-page-top3 .top-service.kaitai .btn{
    background:#fff;
    color:#030351;
 }
  .page-template-page-top3 .top-service.kaitai .btn .arrow, 
  .page-template-page-top3 .top-service.kaitai .btn .arrow::after{
background-color:#030351;
 }
.page-template-page-top2 .sec04{
    padding-top:14rem;
}
.sec04 {
    background: url(img/bg_work.png) no-repeat;
    background-size: cover;
    background: linear-gradient(160deg, #232548, #252e61, #4669aa);
}

.sec04 .wrap {
    padding: 5% 0;
    /* backdrop-filter: blur(1px); */
    /* background: linear-gradient(160deg, #232548, #252e61, #4669aa) */
}

.sec04 .wrap .cont {
    width: 90%;
    background: #fff;
    margin: auto;
    max-width: 1600px;
    border-radius: 5px;
    padding: 2% 0;
}

.sec04 .wrap .flex {
    border-bottom: 1px solid #909090;
}

.sec04 .flex .wrap .cont {
    padding: 0;
}

.sec04 .wrap .flex h2 {
    display: flex;
    align-items: center;
    margin: 0;
}

.sec04 .wrap .flex .btn {
    margin-left: 2rem;
    font-family: auto;
    letter-spacing: normal;
}

.worklist {
    width: 90%;
    margin: 4rem auto;
}

.worklist table tr td:nth-child(2) {
    text-align: left;
    min-width: 180px;
}

.worklist table tr td:nth-child(2) a {
    font-size: clamp(14px, 1vw, 16px);
    text-decoration: underline;
    color: #09005A;
}
.page .wp-block-media-text.has-media-on-the-right{
    gap:20px;
}
.page .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content{
    padding:0;
}

/*flow*/
.page .wpdevart_org_chart_container li .wpda_tree_item_container > div{
    min-height:auto;
    min-width:auto;
    padding: 5px 10px;
}

/*footer*/

.footer_top {
    background: url(img/footer_box1.jpg) no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: 75%;
}

.footer_top .wrap {
    padding: 4.5% 0;
    background-color: #0e678183;
    backdrop-filter: opacity(0.5);
}

.top_recruit{
    color:#fff;
    /* text-align: center; */
}
.top_recruit .H2{
    color:#fff;
    text-shadow: 1px 1px 9px black;
}
.top_recruit p{
    font-size: clamp(16px, 2vw, 22px);
    font-family: serif;
        text-shadow: 1px 1px 9px black;

}
.top_recruit .btn{
    margin-left:0;
    color:#09005A;
    background:#fff;
    font-weight:450;
}
.top_recruit .btn .arrow,
.top_recruit .btn .arrow::after{
 background:#09005A;
}
.footer_top .cont {
    max-width: 1400px;
}

.footer_top .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.footer_top .grid .box {
    background: #fff;
    position: relative;
    border-right: 1px solid #ddd;
}

.footer_top .grid .box a {
    display: block;
    width: 100%;
    height: auto;
    padding: 3% 2% 0%;
    text-align: center;
}
.footer_top .grid .box h3{
    font-family: serif;
        /* margin: 0.5rem; */
}
.footer_top .grid .box .arrow {
    top: 90%;
    width: 80px;
    right: 5%;
    display: none;
}

.footer_top .grid .box .image {
    width: 90%;
    margin: 1rem auto;
    height:auto;
}
.footer_top .grid .box .image img{
    width:100%;
    height:auto;
    aspect-ratio: 4/2.5;
    object-fit: cover;

}

.footer_top .grid .box .image svg {
    width: 100%;
    display: block;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

footer {
    background: #E6F0F7;
    color: #09005A;
}

footer p {
    font-size: clamp(12px, 1vw, 14px);
}

footer .logo1 img {
    height: 80px;
}

footer .footer_inner {
    max-width: 1600px;
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: anchor-center;
    padding: 2rem 0;
}

footer .footer_inner .flex {
    gap: 1.5rem;
    align-items: center;
}
footer .footer_inner .flex p{
    white-space: nowrap;
}

footer .footer_inner .flex .iso img {
    background: #fff;
    mix-blend-mode: normal;
    border-radius: 6px;
    width: 45%;
    height: auto;
    min-width:180px;
}

footer .footer_inner ul {
    display: grid;
    width: fit-content;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-left: auto;
}

footer .footer_inner ul a {
    font-size: clamp(12px, 1vw, 14px);
    white-space: nowrap;
}

footer .footer_inner .link_banner {
    max-width: 320px;
    margin: 2rem 0 2rem auto;
}

footer .footer_inner .link{
    align-items: flex-start;
    justify-content: end;
    margin-top:3rem;
    line-height: 2;
}

footer .footer_bottom {
    background: #09005A;
    color: #fff;
    text-align: center;
}

footer .footer_bottom p {
    margin: 0;
    padding: 0.6rem;
}

/*スクロールダウン*/
.scrolldown {
    position: absolute;
    left: 5%;
    bottom: 15%;
    height: 100px;
}

.scrolldown span {
    position: absolute;
    right: -25px;
    top: 0;
    color: #AC977F;
    font-size: 10px;
    writing-mode: vertical-lr;
    letter-spacing: 2px;
}

.scrolldown::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 150px;
    background: #AC977F;
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}

@keyframes pathmove {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    30% {
        height: 100px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 150px;
        opacity: 0;
    }
}

table {
    width: 100%;
    max-width: 1600px;
    margin: 2rem auto;
    overflow-x: auto;
    /* max-width: 1200px; */
    /* display: block; */
}

table:not(.home table) {
    /* width: fit-content;
    margin-left:0; */
}

th,
td {
    padding: 1rem;
    font-size: clamp(14px, 1vw, 16px);
    background: #F8F8F8;
    line-height: 1.8;
    min-width: 80px;
    text-align: center;
}

th {
    background-color: #d7dadd;
    /* color:#fff; */
}

th p {
    font-weight: 450;
}

thead th {
    background: #444444;
    color: #fff;
}

table tr:nth-child(odd) td {
    background: #F8F8F8;
}

.worklist table tr:nth-child(even) td {
    background: #E6F0F7;
}

/*****PAGE******/
.sv {
    background: linear-gradient(270deg, #001498, #14279F, #030351);
    max-height: 300px;
    aspect-ratio: 2.4 / 1;
    height: auto;
    width: 100%;
}

.sv .wrap {
    background-image: url(img/bg_work.png);
    background-repeat: no-repeat;
    background-size: 100% 120%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.sv h2 {
    color: #fff;
    font-size: clamp(20px, 2.0vw, 36px);
}

#page_navigation {
    max-width: 1600px;
    margin-bottom: 2rem;
}

#page_navigation ul {
    display: flex;
}

#page_navigation li,
#page_navigation li a {
    font-size: clamp(12px, 0.9vw, 14px);
}

#page_navigation li a {
    color: #001498;
}

.content .has-large-font-size {
    font-size: clamp(20px, 2vw, 36px) !important;
}

.content .wp-block-quote {
    line-height: 1.8;
    width: fit-content;
    margin: auto;
}

.wp-block-columns {
    gap: 1rem;
}

.gallery-item img {
    border-color: #fff !important;
}

/*****FLOW******/
#flow {}

#flow .wp-block-columns.has-background {
    border-radius: 4px;
    box-shadow: 1px 1px 4px 1px #ddd;
    position: relative;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 4rem;
}

#flow .wp-block-columns.has-background::after {
    content: "▼";
    font-size: 2rem;
    position: absolute;
    top: 103%;
    left: 45%;
    right: 45%;
    width: 10%;
    text-align: center;
    color: #ddd;
    transform: scaleX(1.5);
}

#flow .wp-block-columns.has-background:last-child::after {
    display: none;
}

#flow h4 {
    font-size: clamp(16px, 1.5vw, 22px);
}

#flow .wp-block-columns p {}

#flow .flow-contact.wp-block-columns {
    max-width: 800px;
    margin: 0 auto 2rem;
}

#flow .flow-contact .wp-block-column {
    border-radius: 5px;
}

#flow .flow-contact h5 {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

#flow .flow-contact .wp-block-column a {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 1.5rem 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 600;
}

#flow .flow-contact h5 svg {
    position: absolute;
    left: 5%;
}

/*****WORKS******/
.content .worklist{
    width:100%;
}
.single-works .desc {
    margin-bottom: 2rem;
}

.single-works .works_meta {
    line-height: 1;
    background: #E6F0F7;
    padding: 0.5rem 2rem;
    max-width: 450px;
}

.single-works .works_meta dl {
    display: flex;
}

.single-works .works_meta dd {
    margin: 0;
}

/*****CONTACT******/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 12px 15px;
    display: block;
    margin: 0.2rem;
    max-width:600px;
    border: 1px solid #929292;
    font-size: 15px;
}

form table th p,
form table td p {
    margin: 0;
}

form table td p {
    text-align: left;
}

input[type="tel"],
input[type="number"],
input.p-postal-code {
    max-width: 200px;
    display: inline-block;
}

input[type="submit"] {
    margin: 4rem auto;
    width: 200px;
    appearance: none;
    border: none;
    display: block;
    background: #09005A;
    font-size: clamp(13px, 1vw, 15px);
    color: #fff;
    padding: 0.6rem 2.8rem;
    transition: all 0.5s;
    position: relative;
    border-radius: 40px;
    height: 42px;
    cursor: pointer;
}

input[type="submit"]:hover {
    filter: brightness(0.7);
}

span.req {
    color: red;
    font-size: 70%;
    margin: 5px;
}
.cf-turnstile{
    text-align: center;
}

@media (max-width: 1150px) {
    header nav {
        right: 2%;
    }

    header .logo1 {
        display: inline-block;
        margin: 0;
        position: relative;
        top: 5px;
        left: 5px;
    }

    header nav ul {
        gap: 1rem;
    }
}

@media screen and (max-width :920px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    p,
    a {
        font-size: 14px;
    }

    .H2 {
        margin: 2rem 0;
    }

    .btn {
        height: 35px;
        padding: 0.4rem 2.8rem;
        min-width: 160px;
    }

    main:not(.home) {
        margin-top: 50px;
    }

    header {
        background: #fff;
        height: 50px;
    }

    header nav {
        display: none;
    }

    header .openbtn {
        position: absolute;
        cursor: pointer;
        width: 50px;
        height: 50px;
        background: #09005A;
        z-index: 700;
        top: 0;
        right: 0;
    }

    .openbtn span {
        display: inline-block;
        position: absolute;
        left: 23%;
        height: 1px;
        border-radius: 5px;
        transition: all 0.4s;
        background: #fff;
        width: 26px;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 22px;
    }

    .openbtn span:nth-of-type(3) {
        top: 29px;
    }

    header .openbtn.active {
        display: block;
    }

    header #g-nav.panelactive {
        display: block;
        width: 100vw;
        height: 100vh;
        background: #E6F0F7;
        position: absolute;
        left: 0;
        top: 0;
        overflow-y: scroll;
    }

    header #g-nav.panelactive ul {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: fit-content;
        margin: auto;
    }

    header #g-nav.panelactive ul li a {
        font-size: 16px;
        color: #09005A;
        font-weight: 500;
    }

    header #g-nav.panelactive ul li a span {
        font-family: 'Noto Serif JP';
        font-weight: 600;
    }

    header .openbtn.active span:nth-of-type(1) {
        transform: translateY(5px) rotate(30deg);
        top: 18px;
    }

    header .openbtn.active span:nth-of-type(2) {
        display: none;
    }

    header .openbtn.active span:nth-of-type(3) {
        transform: translateY(-10px) rotate(-30deg);
        top: 33px;
    }

    header .btn-estate.sp {
        display: flex !important;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        font-size: 10px;
        top: 6px;
        position: absolute;
        right: 60px;
        font-weight: 500;
    }

    header .btn-estate.sp path {
        fill: #222222;
    }

    .fixed_header {
        height: 50px;
    }

    .logo1 {
        text-align: center;
    }

    header .logo1 img {
        height: 38px;
    }

    .mv {
        height: 80vh;
    }
    .mv_catch{
        letter-spacing: 2.5px;
    }

    .sec02 {
        margin-top: -20%;
        padding-bottom: 2rem;
    }

    .sec02 .grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
        width: 90%;
    }

    .sec02 .box {
        padding-bottom: 2rem;
    }

    .worklist {
        margin: 2rem auto 4rem;
    }

    .news {
        margin: 60px auto;
    }

    .news ul {
        margin-bottom: 2rem;
    }

    .news ul li {
        flex-direction: column;
        gap: 5px;
    }

    .news .date {
        font-size: 85%;
    }

    .news .cat {
        margin-left: auto;
        margin-right: 0;
        margin-top: -25px;
        font-size: 65%;
    }

    .news li .arrow {
        display: none;
        top: 80%;
    }
    .top-service{
        padding:2rem;
    }
    .top-service .flex{
        flex-direction: column;
        gap:1rem;
    }
    .top-service .flex .text,
    .top-service .flex .image{
        width:100%;
    }
    .top-service .H2{
        margin:1rem auto;
    }
    .top-service .num{
        font-size:20px;
        width:40px;
        height:40px;
    }

    .sec04 .wrap {
        padding: 8% 0;
    }

    .worklist table {
        display: block;
    }

    th,
    td {
        font-size: clamp(13px, 1vw, 16px);
        padding: 0.5rem;
    }

    .content th:not(.worklist table th),
    .content td:not(.worklist table td) {
        display: block;
        width:100%;
    }

    #flow .wp-block-columns.has-background {
        gap: 0;
        padding: 1rem;
        border-radius: 2px;
    }

    #flow h4 {
        margin: 0.5rem 0 0;
    }

    #flow .flow-contact.wp-block-columns {
        gap: 1rem;
        margin: 1rem 0;
    }

    .footer_top .wrap {
        padding: 4rem 0;
    }

    .footer_top .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer_top .grid .box {
        border-bottom: 1px solid #ddd;
    }

    .footer_top .grid .box .arrow {
        width: 60px;
    }

    footer .logo1 img {
        height: 65px;
    }

    footer .footer_inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    footer .footer_inner ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
        gap: 1rem;
        margin: 2rem auto;
        grid-template-columns: repeat(2, 1fr);
        width: fit-content;
        text-align: left;
    }

    /* footer .footer_inner ul a,
	footer .footer_inner ul li {
		font-size: clamp(11px, 1.5vw, 12px);
	} */
    footer .footer_inner .flex {
        flex-direction: column;
        gap: 0;
    }

    footer .footer_inner .flex .iso img {
        border-radius: 3px;
    }
}