@charset "UTF-8";

/*==============
PC
===============*/
@media print, screen and (min-width: 1381px) { 
.sp{display:none;}


/*=========メガメニュー設定 ===============*/

/* ①メニューボタンのスタイル */
.menu {
  display: flex;
  position: relative;
}

.menu .menu_list > a {
  display: block;
  text-align: center;
  transition: .3s;
}
.menu .menu_list > a:hover {
  color: #0c4f9d !important;
  transition: 0.5s;
  

}
 
/* ②メガメニューのスタイル */
.menu_contents {
  background: #efefef;
  display: none;
  position: absolute;
  top: 3em;
  left: 0;
  width: 100%;
  border-radius: 30px;
  /* box-shadow: 0px 0px 9px 0px #dddddd; */
}
.menu_contents li {
  width: 100%;
  border-right: 1px dotted #0c4f9d;
}

.menu_contents li:last-child{
	border:none;}

.menu_contents li a {
  color: #fff;
}



.menu_contents:before{
  content: "";
  position: absolute;
  right: 0;
  top: -20px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-bottom: 10px solid  #efefef;
  border-right: 10px solid transparent;
  border-top: 10px solid transparent;
  border-left: 10px solid transparent;
  }


.menu_list:nth-child(6) .menu_contents:before{
	left: 27vw !important;
	}
.menu_list:nth-child(4) .menu_contents:before{
	left: 6vw !important;
}


/*========= 上部固定させるためのCSS ===============*/

#header{
	position: fixed;/*fixedを設定して固定*/
	z-index: 999;/*最前面へ*/
	background: #fff;
	top: 2vw; /* 固定位置を設定 */
	/* left: 0; */
}



/*==ふわっと出現させるためのCSS*/

/*　上に上がる動き　*/

#header.UpMove{
	position: fixed;
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

#header.DownMove{
	position: fixed;
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}


/* ===========以下レイアウト=========== */


.sp_logo{
	display:none;}

div#top {/* padding: 2vw; */background: url(../images/top001.webp) no-repeat;background-size:cover;height:100vh;width:100%;position: relative;}


div.top01 header {background: #ffffff;width: 86%;margin:0 5% 0 5%;display: flex;border-radius: 100px;justify-content: space-between;box-shadow: 0px 0px 9px 0px #dddddd;padding: 1.2vw 2%;align-items: center;position: absolute;}
div.top01 header h1 {width: 13%;}

div.top01 header h1 a img {width: 100%;}
div.top01 header div.right {display: flex;align-items: center;}


div.top01 header div.right ul#menu.menu li.menu_list a {color: #000;font-weight: 500;padding: 0 1vw;font-size: var(--fs-5);}
div.top01 header div.right ul#menu.menu li.menu_list div.menu_contents {padding: 2em 0.5vw;}
div.top01 header div.right ul#menu.menu li.menu_list div.menu_contents ul {display: flex;text-align: center;}

div.top01 header div.right ul#menu.menu li.menu_list div.menu_contents ul li.content a {display: flex;justify-content: center;flex-wrap: wrap;padding: 0.2vw;font-size: calc(0.25vw + 0.8rem);color: #0c4f9d;white-space: nowrap;}
div.top01 header div.right ul#menu.menu li.menu_list div.menu_contents ul li.content a i{
    display: block;
    width: 100%;
    font-size: 1.5vw;
    margin: 0 0 0.3em 0;
}	

div.top01 header div.right ul#menu.menu li.menu_list div.menu_contents ul li.content a:hover{
	color:gray; transition:0.5s;}

div.top01 header div.right div.tel {text-align: center;padding: 0 2vw;}
div.top01 header div.right div.tel a {color: #0c4f9d;font-weight: 600;font-size: 1.5vw;}
div.top01 header div.right div.tel a i.fa-solid.fa-phone {color: #414141;}

div.top01 header div.right a.contact {background: #0e8acb;color: #fff;border-radius: 50px;display: block;padding: 0.5vw 3vw;}
div.top01 header div.right a.contact:hover{ transition:0.5s; background:#333;}

div.top01 h2 {position: absolute;color: #fff;font-size: calc(4vw + 0.5rem);font-weight: 600;display: inline;left: 5vw;text-shadow: 0 0 14px #000000;top: clamp(212px, 80%, 100px);}

[data-text-wrap] {
  display: inline-block;
}

[data-text-inner] {
  display: block;
  width: 0.001%;
  overflow-x: hidden;
}

@keyframes text {
  0% {
    width: 0.001%;
  }
  100% {
    width: 100%;
  }
  
    from {
        opacity: 0;
        transform: translateY(10px); /* 下から上にふわっと */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* 元の位置 */
    } 
  
  
}



div.top02 {padding: 4vw 10%;background: url(../images/top02.webp) no-repeat 60vw -2em;}
div.top02 h2 {font-size: calc(2.8vw + 0.5rem);font-weight: 700;color: #000;}
div.top02 p {font-size: calc(0.7vw + 0.5rem);line-height: 2.5em;margin: 1em 0 0 0;width: 60%;font-weight: 500;}
div.top02 a {background: #0068b7;color: #fff;width: 22%;display: block;border-radius: 50px;padding: 1em 2em;font-size: 1.2em;margin: 2em 0 0 0;font-weight: 700;}

div.top02 a:hover{ background:#000; transition:0.5s;}
div.top03 {background: #e9e9e9;padding: 5vw 10%;}
div.top03 div.inner div.title_wrap {display: flex;align-items: center;justify-content: space-between;}
div.title h2 {font-size: calc(0.6vw + 0.5rem);line-height: 0;}
div.title p.heebo {font-size: calc(3.8vw + 0.5rem);font-weight: 600;}
div.top03 div.inner div.title_wrap a {background: #000000;color: #fff;border-radius: 50px;text-align: center;padding: 0.8em 3em;display: block;}
div.top03 dl.news {display: flex;flex-wrap: wrap;align-items: center;padding: 0;gap: 0;max-width: unset;width: 100%;margin: 0;background: none;}
div.top03 dl.news dt {width: 8%;padding: 1.5em 2%;border-top: 1px solid #000;text-align: center;color: #141414;}
div.top03 dl.news dd {width: 88%;/* display: flex; */padding: 1.5em 0;border-top: 1px solid #a5a5a5;}
div.top03 dl.news dd.category {width: 10%;text-align: center;color: #0e8acb;font-weight: 600;}
div.top03 dl.news dd.news_title {width: 88%;font-weight: 600;color: #000;}
div.top03 a{ display:block;}
div.top03 a:hover{background: #d2d5d9;}
div.top03 div.inner div.title_wrap a:hover{background: #F44336;transition:0.5s;}
div.top03 div.news_link a:last-child dt{border-bottom: 1px solid #000}
div.top03 div.news_link a:last-child dd{border-bottom: 1px solid #a5a5a5;}

div.top04 {width: 80%;margin: 0 auto;padding: 8vw 0;}

div.top04 h3 {font-size: calc(1.4vw + 0.5rem);margin: 0 0 1em 0;font-weight: 600;}
div.top04 img {border: 1vw #dbdbdb solid;box-sizing: border-box;width: 100%;}
div.top04 a {background: #0068b7;color: #fff;border-radius: 50px;padding: 1em 4em;font-size: calc(0.6vw + 0.5rem);font-weight: 700;float: right;margin: 1em 0;}
div.top04 a:hover{ background:#000;}

div.top05 {width: 90%;padding: 8vw 0 8vw 10%;}
div.top05 dl {display: flex;}
div.top05 dl dt {width: 35%;padding: 0 5% 0 0px;}

div.top05 dl dt p.content {font-size: calc(0.6vw + 0.5rem);line-height: 2;margin: 0 0 3em 0;}
div.top05 dl dt div.link a {display: flex;align-items: center;justify-content: space-between;color: #000;font-weight: 600;border-bottom: 1px solid #000;padding: 1.5em 0;}
div.top05 dl dt div.link a p {font-size: calc(0.8vw + 0.5rem);}
div.top05 dl dt div.link a i.fa-solid.fa-angle-right {font-size: calc(1vw + 0.5rem);color: gray;margin: 0 0.5em 0 0;}
div.top05 dl dd {width: 60%;}
div.top05 dl dd img {width: 100%;}
div.top05 dl dt div.link a:first-child{ border-top:#000 solid 1px;}
div.top05 dl dt div.link a:hover{background: #ededed;}
footer {width: 90%;margin: 0 auto;}
footer div.footer01 {
    display: flex;
}
footer div.footer01 div.info {width: 28%;}
footer div.footer01 div.info img {
    width: 33%;
}

footer div.footer01 div.info p {font-size: calc(0.6vw + 0.5rem);}
footer div.footer01 div.info p b {font-size: calc(0.8vw + 0.5rem);margin: 0.3em 0;display: block;}
footer div.footer01 div.info ul {

display: flex;
}
footer div.footer01 div.info ul li {margin: 0 1.2em 0 0;}
footer div.footer01 div.info ul li a {font-size: calc(1.5vw + 0.5rem);color: #0a305d;}

footer div.footer01 div.link {width: 34%;padding: 0 0 0 2%;}

footer div.footer01 div.link a img { transition:0.5s;width: 100%;height: 19em;object-fit: cover;border: 0.5em #d8d8d8 solid;box-sizing: border-box;}
footer div.footer01 div.link a img:hover{ opacity:0.8; transition:0.5s;}
footer div.footer01 div.link a p {color: #000;font-size: calc(0.5vw + 0.5rem);}
footer div.footer01 div.link a p b {font-size: calc(0.8vw + 0.5rem);color: #000;margin: 0.2em 0;display: block;}
footer div.footer02 {display: flex;justify-content: space-between;margin: 5em 0 0 0;}

footer div.footer02 div.menu ul li.bold a {font-weight: 600;font-size: var(--fs-5);}
footer div.footer02 div.menu ul li {margin: 1vw 3vw 1vw 0;}
footer div.footer02 div.menu ul li a {color: #000;font-size: var(--fs-4);}
footer div.footer02 div.link {width: 35%;}
footer div.footer02 div.link ul {display: flex;justify-content: flex-end;}
footer div.footer02 div.link ul li {width: 50%;margin: 0 0 0 1em;}
footer div.footer02 div.link ul li a {padding: 0.3vw 2.5vw;display: block;border: 2px solid #d3d3d3;}
footer div.footer02 div.link ul li a img {width: 100%;height: 4vw;object-fit: cover;}
footer p.c_r {font-weight: 100;margin: 1vw 0 5vw 0;}

}

body{
    overflow-x: hidden; /* ← 横スクロールだけ封じる */
  overflow-y: auto;   /* ← 縦スクロールは許可 */
}

div#top.top01.second {background: #edf4f7;padding: 10vw 0;height: auto;width: auto;position: relative;height: 0;}
div.h2 {display: flex;align-items: center;justify-content: flex-start;margin: 2em 0 1em 0;}
div.h2 h2 {position: relative;color: #000;text-shadow: none;bottom: 0;font-size: var(--fs-19);display: block;left: auto;margin: 0 1% 0 10%;}
div.h2 p{
    color: gray;
}
div.h2 img {width: 40%;position: absolute;top: -7em;right: -5em;}


div#area.sdgs div.sdgs01 {
    width: 85%;
    max-width: 1300px;
    margin: 0 auto;
}
div#area.sdgs div.sdgs01 dl {display: flex;margin: 5em 0;justify-content: space-between;align-items: center;}
div#area.sdgs div.sdgs01 dl dt {width: 50%;}
div#area.sdgs div.sdgs01 dl dt h3 {font-size: calc(0.25vw + 0.9rem);color: #0c4f9d;font-weight: 700;}
div#area.sdgs div.sdgs01 dl dt h4 {color: #0c4f9d;font-size: calc(2vw + 0.5rem);font-weight: 700;}
div#area.sdgs div.sdgs01 dl dt figure{
    margin: 1em 0;
    font-size: calc(0.7vw + 0.9rem);
    font-weight: 600;
}
div#area.sdgs div.sdgs01 dl dt p {font-size: calc(0.25vw + 0.9rem);line-height: 1.8;}
div#area.sdgs div.sdgs01 dl dd {width: 45%;}
div#area.sdgs div.sdgs01 dl dd img {width: 100%;}
div#area.sdgs div.sdgs02 dl {display: flex;align-items: center;}
div#area.sdgs div.sdgs02 dl dt {width: 50%;}
div#area.sdgs div.sdgs02 dl dt img {width: 100%;border-radius: 0 10px 10px 0;}
div#area.sdgs div.sdgs02 dt {width: 50%;}
div#area.sdgs div.sdgs02 dd figure {margin: 0;font-size: calc(0.7vw + 0.9rem);}

div#area.sdgs div.sdgs02 {
    margin: 7em 0;
}
div#area.sdgs div.sdgs02 dl dt img {height: 30vw;object-fit: cover;}
div#area.sdgs div.sdgs02 dl dd {width: 40%;padding: 0 10% 0 5%;}
div#area.sdgs div.sdgs02 dl dd figure.heebo {font-style: italic;color: #0c4f9d;font-weight: 700;border-bottom: 2px solid;display: inline;}
div#area.sdgs div.sdgs02 dl dd h3 {font-size: calc(1.2vw + 0.9rem);font-weight: 700;color: #0c4f9d;margin: 0.5em 0;}
div#area.sdgs div.sdgs02 dl dd ul.icon {display: flex;}
div#area.sdgs div.sdgs02 dl dd ul.icon li {margin: 0 1% 0 0;}
div#area.sdgs div.sdgs02 dl dd ul.icon li img {width: 100%;}
div#area.sdgs div.sdgs02 dl dd h4 {font-size: calc(0.5vw + 0.9rem);font-weight: 700;margin: 0.7em 0;}
div#area.sdgs div.sdgs02 dl dd ul.list {padding: 0 0 0 2em;}
div#area.sdgs div.sdgs02 dl dd ul.list li {font-size: calc(0.3vw + 0.9rem);list-style: disc;margin: 0.5em 0;}
div#area.sdgs div.sdgs02.reverse dl dt {order: 2;}
div#area.sdgs div.sdgs02.reverse dl dt img {border-radius: 10px 0 0 10px;}
div#area.sdgs div.sdgs02.reverse dl dd {order: 1;padding: 0 5% 0 10%;}



div.area.company {margin: 5em auto;background: url(../images/company_tx.webp) no-repeat left top;}
div.area.company div.company01,div.area.company div.company02 {margin: 5em auto;width: 80%;max-width: 1200px;}
div.area.company div.company01 h3 {font-size: 4rem;font-weight: 600;}
div.area.company div.company01 h4 {font-size: 7rem;font-weight: 700;color: #00a0de;line-height: 1.1em;}
div.area.company div.company01 h5 {font-size: 2rem;margin: 1em 0;}
div.area.company div.company01 p {line-height: 2;}
h3.en {color: #0c4f9d;font-size: 1rem;font-weight: 700;}
h4.ja {color: #0c4f9d;font-size: 2rem;font-weight: 600;margin: 0 0 1em 0;}
div.area.company table {width: 100%;}
div.area.company  table tbody {width: 100%;}
div.area.company  table tbody tr th {border-bottom: 2px solid #0c4f9d;white-space: nowrap;}
div.area.company  table tbody tr th,div.area.company  table tbody tr td{
    padding: 2em;
    font-size: 1.2rem;
}
div.area.company  table tbody tr td {border-bottom: 2px solid gray;}
div.area.company div.company02 ul {display: flex;margin: 2em 0;justify-content: space-between;}
div.area.company div.company02 ul li {width: 100%;width: 49%;}
div.area.company div.company02 ul li img {width: 100%;/* height: 22vw; */object-fit: cover;aspect-ratio: 4/3;}
div.area.company div.company03 {margin: 5em auto;width: 80%;max-width: 1200px;}
div.area.company div.company04 {background: #eff3f7;padding: 2rem 3rem;width: 80%;max-width: 1200px;margin: 0 auto;}
div.area.company div.company04 h3 {font-size: 2.5rem;font-weight: 700;color: #0c4f9d;}
div.area.company div.company04 p {margin: 1em 0;}
div.area.company div.company04 ul {display: flex;justify-content: space-between;gap: 1em;}

div.area.company div.company04 ul li img {width: 100%;}

div.area.strength {background: url(../images/strentth_tx.webp) no-repeat left top;}
div.area.strength div.inner {width: 80%;max-width: 1500px;margin: 5rem auto;}
div.area.strength div.inner div.strength01 {margin: 4em 0;}
div.area.strength div.inner div.strength01 dl {display: flex;gap: 4em;}

div.area.strength div.inner div.strength01 dl dt img {width: 100%;}

div.area.strength div.inner div.strength01 dl dd div {display: flex;align-items: center;gap: 1rem;}
div.area.strength div.inner div.strength01 dl dd div span.heebo {color: #0c4f9d;font-weight: 500;font-size: 3rem;}
div.area.strength div.inner div.strength01 dl dd div h3 {color: #0c4f9d;font-weight: 700;}
div.area.strength div.inner div.strength01 dl dd  h4 {border-left: 1px solid;padding: 0 0 1rem 1.5rem;font-weight: 700;font-size: 3rem;line-height: 1.3;margin: 0 0 1rem 0;}
div.area.strength div.inner div.strength01 dl dd h4 span {font-size: 1.5rem;}
div.area.strength div.inner div.strength01 dl dd p {line-height: 2;font-size: var(--fs-7);}
div.area.strength div.inner div.strength01.strength02 dl dt {order: 2;}
div.area.strength div.inner div.strength01.strength02 dl dd {order: 1;}
.second canvas{display: none;;}



div.area.field {
background: url(../images/field_tx.webp) no-repeat left top;}
div.area.field div.field01 {position: relative;width: 80%;max-width: 1200px;margin: 5em auto;}
div.area.field div.field01 h3 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 0 0 20px 20px;
  padding: 1em 4em;
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  }
div.area.field div.field01 h3 span.montserrat {display: block;text-align: center;font-weight: 400;color: #0c4f9d;font-size: 0.5em;}
div.area.field div.field01 img {width: 100%;border-radius: 20px;height: 22vw;object-fit: cover;}
div.area.field div.field01 h4 {text-align: center;font-size: 2.8rem;font-weight: 600;color: #0c4f9d;margin: 0.2em 0;}
div.area.field div.field01 h4 span {background: #0c4f9d;border-radius: 10px;color: #fff;padding: 0 0.2em;}
div.area.field div.field01 p {color: #0c4f9d;text-align: center;font-size: 1.2em;font-weight: 500;}



.area.business .business03 .wrap {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  position: relative;
}

.area.business .business03 .wrap .sub {
  width: 200px;
  position: sticky;
  top: 100px;
  flex-shrink: 0;
}

.area.business .business03 .wrap .main {
  flex: 1;
}


div.area.business { background: url(../images/business_tx.webp) no-repeat left top;
}
div.area.business div.business01 {width: 80%;max-width: 1500px;margin: 5vw auto;position: relative;}
div.area.business div.business01 img {border-radius: 20px;height: 26vw;object-fit: cover;width: 100%;}

div.area.business div.business01 h3 {position: absolute;z-index: 2;top: 13rem;font-size: 3rem;color: #fff;left: 4rem;line-height: 1;font-weight: 500;}
div.area.business div.business01 h3 span {font-size: 2rem;}
div.area.business div.business01 p {line-height: 2;font-size: 1.2rem;margin: 1rem 0 0 0;}
div.area.business div.business02 {width: 80%;margin: 0 auto;}
div.area.business div.business02 ul {display: flex;justify-content: space-between;}
div.area.business div.business02 ul li {width: 32%;}
div.area.business div.business02 ul li img {width: 100%;border-radius: 10px;height: 15vw;object-fit: cover;margin: 0 0 0.2rem 0;}
div.area.business div.business02 ul li h4 {color: #0c4f9d;font-weight: 600;font-size: 1.3rem;}
div.area.business div.business02 ul li p {font-size: 1.1rem;}
div.area.business div.business03 {margin: 5em 0;}
div.area.business div.business03 div.wrap div.sub ul li a {
    background: linear-gradient(to right, #0c4f9d, #0e8acb); /* 左→右グラデーション */
    color: #fff;
    border-radius: 200px;
    padding: 0.5em 2em;
    display: block;
    margin: 1em 0;
}
div.area.business div.business03 div.wrap div.sub ul li a:hover {
  background: linear-gradient(to right, #00b3e3, #0061b1); /* 右→左に反転 */
  color: #fff;
  opacity: 0.9;
}



.area.business .business03 .wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2em;
  max-width: 1500px;
  margin: 0 auto;
}

.area.business .business03 .wrap .sub {
  position: sticky;
  top: 0;
  align-self: start;
  height: fit-content;
}

.area.business .business03 .wrap .main {
  min-width: 0;
}


html {
  overflow-x: clip;     /* ← hiddenではなくclipが安全 */
  overflow-y: visible;  /* ← auto ではなく visible */
}

body {
  overflow-x: clip;     /* 必要ならこちらもclip */
  overflow-y: visible;
}

.area.business .business03 {
  overflow: visible !important;
}

.area.business .business03 .wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2em;
  max-width: 1200px; /* ← ここを入れ替え */
  margin: 0 auto;
  width: 100%; /* ← 明示的に追加 */
}

.area.business .business03 .wrap .sub {
  position: sticky;
  top: 0;
  align-self: start;
  z-index: 10;
}

.area.business .business03 .wrap .main {
  width: 100%;
}

div.area.business div.business03 div.wrap div.main div.business_inner dl dt .slider-for {
  width: 100%;
  margin-bottom: 1em;
}
div.area.business div.business03 div.wrap div.main div.business_inner dl dt .slider-for img {
  width: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

div.area.business div.business03 div.wrap div.main div.business_inner dl dt .slider-nav {
  width: 100%;
  display: flex;
  gap: 0.5em;
  justify-content: flex-end; /* 右寄せ */
}

div.area.business div.business03 div.wrap div.main div.business_inner dl dt .slider-nav img {
  width: 80px;
  height: 80px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: opacity 0.3s, border 0.3s;
  object-fit: cover;
}
div.area.business div.business03 div.wrap div.main div.business_inner dl dt .slider-nav .slick-current img {
  opacity: 1;
  border-color: var(--blue);
}
div.area.business div.business03 div.wrap div.main div.business_inner dl {margin: 0 0 5rem 0;}
div.area.business div.business03 div.wrap div.main div.business_inner dl dt div.slider-nav div {padding: 0 !important;}
div.area.business div.business03 div.wrap div.main div.business_inner dl dd div.h3 {display: flex;align-items: center;}
div.area.business div.business03 div.wrap div.main div.business_inner dl dd div.h3 span.montserrat {font-size: 5rem;color: #0c4f9d;}
div.area.business div.business03 div.wrap div.main div.business_inner dl dd div.h3 h3 {color: #0c4f9d;margin: 0 1em;font-size: 2rem;font-weight: 600;}
div.area.business div.business03 div.wrap div.main div.business_inner dl dd div.h3 p.montserrat {border-left: #0c4f9d 1px solid;padding: 1em 0 1em 2em;color: #0c4f9d;font-size: 1rem;}
div.area.business div.business03 div.wrap div.main div.business_inner dl dd p {font-size: 1.1rem;line-height: 2;}


div.area.business div.business03 div.wrap div.main div.business_inner dl dt {
  position: relative;
}

div.area.business div.business03 div.wrap div.main div.business_inner dl dt .slider-nav {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  transform: translateY(30%); /* 少し上に被せる */
   /* 背景薄く敷くと見やすい */
  padding: 0.5em;
  border-radius: 10px;
}
div.area.business div.business03 div.wrap div.sub {
  position: sticky;
  top: 150px; /* headerの高さぶんだけ下げる */
  z-index: 1;
}


/* CSS（矢印・見た目は据え置き。中身のモーションをより滑らかに） */
.faq {
  --faq-bg: #f7f7f8;
  --faq-border: #e6e6eb;
  --faq-text: #1a1a1a;
  --faq-accent: #4f46e5;
  margin: 2rem auto;
  color: var(--faq-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
.faq .title { font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem); font-weight: 700; margin: 0 0 1rem; }
.faq-item {
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  background: var(--faq-bg);
  margin: 0 0 .75rem;
  overflow: clip;
}

/* marker削除 & summary見た目 */
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary {
  list-style: none;
  display: flex; align-items: center; gap: .75rem;
  cursor: pointer; padding: 1rem 1.25rem; font-weight: 700;
  user-select: none; background: #fff;
}
.faq-item > summary:focus-visible {
  outline: 2px solid var(--faq-accent); outline-offset: 2px; border-radius: 10px;
}
.faq-item > summary span::before {
}
.faq-item > summary::after {
  content: ""; width:.6rem; height:.6rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-left: auto; transition: transform .2s ease;
}
.faq-item[open] > summary::after { transform: rotate(-135deg); }

/* パネル（土台） */
.faq-panel {
  padding: 0 1.25rem;
}
.faq-content {
  /* 高さはJSでアニメ。CSS側はフェード＋微小スライドのみ */
  overflow: hidden;
  border-top: 1px dashed var(--faq-border);
  padding: 0 0 1rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .24s ease, transform .24s ease;
}
.faq-item[open] .faq-content {
  opacity: 1;
  transform: translateY(0);
}

/* 低速端末配慮 */
@media (prefers-reduced-motion: reduce) {
  .faq-content { transition: none; transform: none !important; }
}


/* ===== FAQ（あなたのHTML構造に合わせた最適化） ===== */
#area.faq {
  --faq-border: #e6e6eb;
  --faq-accent: #4f46e5;
  --faq-text: #1a1a1a;
  margin: 2rem auto;
  color: var(--faq-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

#area .faq-item {
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  background: #fff;
  margin: 1em auto;
  overflow: clip;
  width: 80%;
  max-width: 800px;
}

/* 既定の▶︎を消す＋見た目調整 */
#area .faq-item > summary::-webkit-details-marker { display: none; }
#area .faq-item > summary {
  list-style: none;
  display: flex; align-items: center; gap:.75rem;
  cursor: pointer; padding: 1rem 1.25rem; font-weight: 700;
  user-select: none; position: relative;
}
#area .faq-item > summary:focus-visible {
  outline: 2px solid var(--faq-accent); outline-offset: 2px; border-radius: 10px;
}
/* 左のアクセントドット（不要なら削除OK） */
#area .faq-item > summary span::before {
  content: "●";
  border-radius:50%;
  display:inline-block;
  margin-right:.5rem;
  translate:0 1px;
  color: #0c4f9d;
  display: none;
}
/* 右端のシェブロン */
#area .faq-item > summary::after {
  content:""; width:.6rem; height:.6rem;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform: rotate(45deg); margin-left:auto; transition: transform .2s ease;
}
#area .faq-item[open] > summary::after { transform: rotate(-135deg); }

/* パネルの土台 */
#area .faq-panel { padding: 0 1.25rem; }
/* あなたのマークアップは .faq-panel > div が中身コンテナ */
#area .faq-panel > div {
  overflow: hidden;
  border-top: 1px dashed var(--faq-border);
  padding: 0 0 1rem;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .24s ease, transform .24s ease;
}
#area .faq-item[open] .faq-panel > div { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  #area .faq-panel > div { transition: none; transform:none !important; }
}

/*============================
#area
============================*/
section#area.faq {
    background: url(../images/faq_tx.webp) no-repeat left top;
}
section#area.faq details.faq-item {
}
section#area.faq details.faq-item summary {background: #cee4ff;}
section#area.faq details.faq-item summary span {color: #0c4f9d;}
section#area.faq details.faq-item div.faq-panel {
}
section#area.faq details.faq-item div.faq-panel div {
}
section#area.faq details.faq-item div.faq-panel div p {line-height: 1.8;padding: 1em;}



div.area.company.greeting {background: url(../images/message_tx.webp) no-repeat left top;}
div.area.company.greeting div.greeting01.company03 {
}
div.area.company.greeting div.greeting01.company03 h3.en.heebo {
}
div.area.company.greeting div.greeting01.company03 h4.ja {
}
div.area.company.greeting div.greeting01.company03 p {line-height: 2;}
div.area.company.greeting div.greeting01.company03 p.signeture{
    font-size: var(--fs-15);
    margin: 1em 0;
    text-align: right;
}

div.area.company.greeting div.company03 {
}
div.area.company.greeting div.company03 h3.en.heebo {
}
div.area.company.greeting div.company03 h4.ja {
}
div.area.company.greeting div.company03 table {
}
div.area.company.greeting div.company03 table tbody {
}
div.area.company.greeting div.company03 table tbody tr {
}
div.area.company.greeting div.company03 table tbody tr th {
}
div.area.company.greeting div.company03 table tbody tr td img {width: 100%;margin: 1em 0;max-width: 600px;}
div.area.company.greeting div.company04 {
}
div.area.company.greeting div.company04 h3 {
}
div.area.company.greeting div.company04 p {
}
div.area.company.greeting div.company04 ul {
}
div.area.company.greeting div.company04 ul li {
}
div.area.company.greeting div.company04 ul li img {
}



/* ===== Policy / Privacy block styling ===== */
.policy{
  --c-bg: #f8fafc;
  --c-card: #ffffff;
  --c-text: #111827;
  --c-muted:#6b7280;
  --c-line:#e5e7eb;
  --c-accent:#0ea5e9; /* ←サイト色に合わせてどうぞ */
  --radius: 14px;
  --shadow: 0 2px 6px rgb(0 0 0 / 6%), 0 12px 28px rgb(0 0 0 / 6%);
  color: var(--c-text);
  background: url(../images/policy_tx.webp) no-repeat left top;
  padding: clamp(16px, 3vw, 32px) 0;
}

/* 中央寄せ＆幅 */
.policy .privacy01,
.policy .h3{
  margin-inline: auto;
  width: 80%;
  max-width: 1200px;
}

/* セクション見出し（.h3クラス） */
.policy .h3{
  position: relative;
  display: inline-block;
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 700;
  letter-spacing: .02em;
  padding: 1em 2em;
  margin: 22px auto 12px;
  color: var(--c-text);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c-accent) 16%, #fff) 0%, #fff 50%);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  display: block;
  width: 77%;
  color: #0c4f9d;
  font-size: var(--fs-13);
}
.policy .h3::before{
  position:absolute;
  inset: 0 100% 0 -8px;
  width: 6px;
  background: var(--c-accent);
  border-radius: 999px;
}

/* カード */
.policy .privacy01{
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3.4vw, 28px);
  margin: 14px auto;
}

/* 小見出しブロック */
.policy .privacy02{
  position: relative;
  border-left: 4px solid #0c4f9d;
  padding: 6px 0 6px clamp(35px, 3vw, 18px);
  margin: clamp(14px, 2.4vw, 22px) 0 0;
}

/* 小見出し h3 */
.policy .privacy02 > h3{
  font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 6px;
}

/* 段落 */
.policy p{
  line-height: 1.85;
  font-size: var(--fs-5);
  color: var(
  --c-text);
  margin: 0.5em 0;
}
.policy .privacy02 p + p{ margin-top: .6em; }

/* リスト */
.policy ul{
  padding-left: 1.25em;
  margin: .4em 0 .2em;
  list-style: disc;
}
.policy li{
  margin: .35em 0;
  font-size: var(--fs-7);
  color: #515151;
}
.policy li::marker{
  color: var(--c-accent);
  font-weight: 700;
}
.policy h4{
    font-size: var(--fs-10);
    color: #0c4f9d;
    font-weight: 700;
}
/* リンク */
.policy a{
  text-decoration: underline;
  text-underline-offset: 2px;
  color: color-mix(in srgb, var(--c-accent) 90%, #000 10%);
  display: block;
  margin: 1em;
}
.policy a:hover,
.policy a:focus-visible{
  text-decoration-thickness: 2px;
}

/* アンカー飛びのズレ対策（固定ヘッダーがある想定） */
.policy [id]{
  scroll-margin-top: 84px;
}

/* アクセシビリティ：フォーカス見やすく */
.policy a:focus-visible{
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}





/*============================
#area
============================*/
section#area.sitemap {
}
section#area.sitemap div.menu {width: 80%;margin: 3vw auto;display: flex;gap: 1em;}
section#area.sitemap div.menu ul {
    width: 25%;
}
section#area.sitemap div.menu ul li.bold {font-weight: 600;font-size: var(--fs10);margin: 1em 0;}
section#area.sitemap div.menu ul li.bold a {border-radius: 10px;background: #cdcdcd;display: block;padding: 1em;}
section#area.sitemap div.menu ul li {
}
section#area.sitemap div.menu ul li a {border: 1px solid gray;padding: 1em;display: block;border-radius: 10px;margin: 1em 0;}



/* ================================
   Contact section
   スコープ：.contact 内のみ
================================ */
.contact {
  --radius: 14px;
  --gap: 16px;
  --bg: #f7f7f8;
  --line: #e6e6eb;
  --ink: #111;
  --muted: #666;
  --accent: #0a7ea4; /* 任意で変更可 */
  padding: 48px 16px;
  color: var(--ink);
  background: #fff;
}

.contact .contact-wrap {
  max-width: 1040px;
  margin: 0 auto;
}

/* タイトル */
.contact h3.title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 24px;
}

/* 小見出し */
.contact h4.subtitle {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  margin: 0 0 16px;
  color: #0c4f9d;
}

/* お電話ブロック */
.contact .contact-call {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
}

.contact .call-button {
  display: inline-flex;
  align-items: center;
  /* gap: 12px; */
  padding: 14px 18px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--line);
  background: #ffffff;
  text-decoration: none;
  color: var(--ink);
  transition: transform .06s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}

.contact .call-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 65%, transparent);
  outline-offset: 2px;
}

.contact .call-button:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transform: translateY(-1px);
}

.contact .call-icon svg {
  display: block;
}

.contact .call-text .label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
}

.contact .call-text .number {
  display: block;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: .04em;
  color: #2d2d2d;
}

.contact .note {
  margin: 10px 2px 0;
  font-size: 12px;
  color: var(--muted);
}

/* フォーム */
.contact .contact-form {
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}

.contact .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.contact .form-grid .full { grid-column: 1 / -1; }

/* ラベルの基本 */
.contact label {
  display: flex;          /* ← gridからflexに */
  flex-direction: column; /* デフォルトは縦積み */
  gap: 8px;
  font-size: var(--fs-5);
}

/* 見出し部分（テキスト＋必須/任意バッジ）を横並び */
.contact label span.req,
.contact label span.opt {
  margin-left: 6px;       /* ← テキストと少し間を空ける */
  font-size: var(--fs-1);
}

.contact label::first-line {
  display: inline;        /* inlineに */
}

/* ラベルのテキスト行（入力名＋必須バッジ）をまとめる */
.contact label > span.label-row {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: var(--fs-5);
  color: #3f3f3f;
}

.contact .req,
.contact .opt {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.8;
  vertical-align: middle;
}
.contact .req { background: #ffe9e6; color: #c5381f; }
.contact .opt { background: #eef3ff; color: #214fb1; }

/* 入力 */
.contact input[type="text"],
.contact input[type="email"],
.contact input[type="tel"],
.contact textarea {
  width: 98%;
  padding: 12px 1%;
  font-size: 16px;
  line-height: 1.6;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact textarea { resize: vertical; min-height: 160px; }

.contact input:focus-visible,
.contact textarea:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

/* ===== agree（同意チェック）を横並び・左揃えに強制 ===== */
.contact .form-grid > label.agree,
.contact label.agree {
  display: flex !important;        /* 縦積み指定を上書き */
  flex-direction: row !important;  /* 横並びにする */
  align-items: center;
  justify-content: flex-start;
  gap: 8px;                         /* チェックとテキストの間 */
  margin: 0;
}

.contact label.agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.contact label.agree .agree-text,
.contact label.agree > span {
  display: inline;                  /* ブロック化による改行を防ぐ */
  flex: 1 1 auto;
  line-height: 1.5;
}




/* 送信ボタン */
.contact .submit { margin-top: 6px; }
.contact .btn-submit {
  appearance: none;
  display: inline-block;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 75%, black 0%);
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease;
}
.contact .btn-submit:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transform: translateY(-1px);
}
.contact .btn-submit:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 50%, transparent);
  outline-offset: 2px;
}
.contact .btn-submit:active { transform: translateY(0); }





/* ===========================
   News List + Sidebar
   scope: .news だけ
   =========================== */

.news {
  /* ベースが reset 済みなので余白を明示 */
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr 320px; /* main | sub */
  gap: 2rem;
  width: 80%;
  margin: 0 auto;
  max-width: 1500px;
}

/* ---------------------------
   メイン（記事カード）
--------------------------- */
.news .main {
  min-width: 0; /* grid overflow対策 */
}

.news .main ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.news .main li {
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-radius: 10px;
}

.news .main a {
  display: block;
  color: inherit; /* ベースのリンク色に依存せず継承 */
  padding: 1rem;
}

.news .main li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: #ccc;
}

.news .main img {
  width: 100%;
  object-fit: cover;
  display: block;
  background: #eee; /* 画像未設定のときの土台 */
  margin-bottom: .6rem;
  border-radius: 2px;
  aspect-ratio: 16/9;
  height: auto;
}

.news .main .date {
  display: block;
  font-size: var(--fs-1);
  color: #777;
  margin-bottom: .2rem;
  letter-spacing: .02em;
}

.news .main h3 {
  font-size: var(--fs-4);
  line-height: 1.5;
  font-weight: 600; /* ベースでnormalなので太さを明示 */
  color: #0c4f9d;
}

/* フォーカスリング（全体の a は下線なしなので視認性を足す） */
.news .main a:focus-visible {
  outline: 2px solid #333;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------
   サイドバー
--------------------------- */
.news .sub {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-self: start;
  position: sticky;
  top: 10rem;
  /* 親に overflow があると sticky は効かない点に注意 */
}

.news .sub_content {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
}

.news .sub_content h4 {
  font-size: var(--fs-6);
  font-weight: 600;
  margin-bottom: .8rem;
  color: #0c4f9d;
  border-left: 4px solid #0c4f9d;
  padding-left: .6rem;
}

/* 最新のお知らせ（リスト） */
.news .sub_latest ul {
  display: grid;
  gap: .6rem;
}

.news .sub_latest li a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  color: #333;
}

.news .sub_latest .date {
  grid-column: 1 / -1;
  font-size: var(--fs-1);
  color: #777;
}

.news .sub_latest h5 {
  font-size: var(--fs-3);
  line-height: 1.5;
  font-weight: 600;
  color: #0c4f9d;
}

.news .sub_latest a:hover {
  text-decoration: underline; /* ベースが no-underline なので補強 */
}

/* タグ（ピル） */
.news .sub_tag ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.news .sub_tag a {
  display: inline-block;
  padding: .35rem .7rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: var(--fs-2);
  color: #333;
  background: #fff;
}

.news .sub_tag a:hover {
  border-color: #aaa;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  text-decoration: none;
}

/* ---------------------------
   検索ブロック（ダミーUI）
--------------------------- */
.news .sub_search {
  display: grid;
  gap: .6rem;
}

.news .sub_search form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem;
}

.news .sub_search input[type="search"],
.news .sub_search input[type="text"] {
  width: 100%;
  font-size: var(--fs-3);
  line-height: 1.2;
  padding: .6rem .7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.news .sub_search button {
  padding: .6rem 1rem;
  font-size: var(--fs-3);
  background: #272727;
  color: #fff;
  border: 1px solid #272727;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news .sub_search button:hover {
  opacity: .9; /* ベースの input:hover のopacityと競合しない軽い演出 */
}




/* ===== WP Pagination ===== */
.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 1.5rem 0;
  font-family: inherit;
}

/* 数字・ドット・前後ボタンを統一ボックス化 */
.navigation.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d9d9df;
  border-radius: 8px;
  background: #fff;
  color: #222;
  text-decoration: none;
  box-sizing: border-box;
  font-size: 0.95rem;
  line-height: 0; /* 上下ズレ防止 */
  font-variant-numeric: tabular-nums lining-nums; /* 数字を等幅に */
  transition: background-color .15s ease, border-color .15s ease;
}

/* hover/active */
.navigation.pagination .page-numbers:hover {
  background: #f5f6f8;
}

/* 現在ページ */
.navigation.pagination .page-numbers.current {
  background: #111;
  border-color: #111;
  color: #fff;
  pointer-events: none;
}

/* ドット（…） */
.navigation.pagination .page-numbers.dots {
  border-style: dashed;
  pointer-events: none;
  user-select: none;
}

/* 前へ・次へ → 矢印化（テキストは隠す） */
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  font-size: 0;
  position: relative;
  overflow: hidden;
}
.navigation.pagination .page-numbers.prev::before {
  content: "‹";
  font-size: 1rem;
  line-height: 1;
}
.navigation.pagination .page-numbers.next::before {
  content: "›";
  font-size: 1rem;
  line-height: 1;
}

/* フォーカス */
.navigation.pagination .page-numbers:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;   /* 折り返し許可 */
  justify-content: center;
  gap: 6px;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;   /* 折り返し許可 */
  justify-content: center;
  gap: 6px;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input[type="text"] {
  flex: 1;
  height: 38px;
  padding: 0 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.search-form input[type="text"]:focus {
  border-color: #111;
  outline: none;
}

.search-form button {
  padding: 0 1rem;
  height: 38px;
  border: none;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color .15s ease;
}

.search-form button:hover {
  background: #333;
}

/* アクセシビリティ用にラベルを隠す */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}




/* ===== News Detail Scoped ===== */
.news .news_detail {
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #222;
  font-family: inherit;
  width: 80%;
}

/* breadcrumb */
.news .news_detail .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .875rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.news .news_detail .breadcrumb a { color: #555; text-decoration: none; }
.news .news_detail .breadcrumb a:hover { text-decoration: underline; }
.news .news_detail .breadcrumb li+li::before {
  content: "›"; margin: 0 .25rem; color: #999;
}

/* header */
.news .news_detail .article__cats {
  display: flex; gap: .5rem;
  list-style: none; padding: 0; margin: 0 0 .75rem;
}
.news .news_detail .chip {
  display: inline-block;
  padding: .25rem .6rem;
  border: 1px solid #d9d9df;
  border-radius: 999px;
  background: #fff;
  color: #111; text-decoration: none; font-size: .8rem;
}
.news .news_detail .chip:hover { background: #f5f6f8; }

.news .news_detail .article__meta {
  display: flex; align-items: center; gap: .5rem;
  margin: 0 0 .5rem; color: #666; font-size: .875rem;
}
.news .news_detail .article__title {
  font-size: clamp(1.25rem, 2.5vw + .5rem, 1.8rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1rem;
}

/* hero */
.news .news_detail .article__hero { margin: 0 0 1.25rem; }
.news .news_detail .article__hero img {
  display: block; width: 100%; height: auto; border-radius: 12px;
}
.news .news_detail .article__hero figcaption {
  margin-top: .4rem; font-size: .8rem; color: #777;
}

/* body */
.news .news_detail .article__body { font-size: 1rem; line-height: 1.9; }
.news .news_detail .article__body p { margin: 0 0 1.1rem; }
.news .news_detail .article__body a {color: #0b5fff;text-decoration: underline;display: inline;padding: 0;}
.news .news_detail .article__body a:hover { text-decoration: none; }
.news .news_detail .article__body img{height:auto;aspect-ratio: auto;}
/* headings */
.news .news_detail .article__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.6rem 0 .6rem;
  padding-left: .8rem;
  border-left: 4px solid #0c4fac;
  background: #bed2e9;
  padding: 1em;
}
.news .news_detail .article__body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.2rem 0 .5rem;
  position: relative;
  padding-bottom: .35rem;
  color: #0c4f9d;
}
.news .news_detail .article__body h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 2px;
  background: #0c4f9d;
}

/* lists & quote */
.news .news_detail .article__body ul {
  padding-left: 1.2rem;
  margin: .4rem 0 1.1rem;
  display: block;
}
.news .news_detail .article__body li {list-style: disc;margin: .25rem 0;border: 0;box-shadow: none;transition: none;border-radius: unset;}
.news .news_detail .article__body blockquote {
  margin: 1.1rem 0;
  padding: .9rem 1rem;
  background: #fafafa;
  border: 2px solid #cfcfcf;
  border-radius: 8px;
}
.news .news_detail .article__body li:hover{
    transform: unset;
}

/* footer (記事内) */
.news .news_detail .article__foot {margin-top: 1.6rem;width: 100%;}
.news .news_detail .article__tags {
  display: flex; gap: .5rem; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0 0 1rem;
}
.news .news_detail .tag {
  display: inline-block;
  padding: 0.5em 1em;
  /* background: #f0f2f5; */
  color: #111;
  /* border-radius: 999px; */
  text-decoration: none;
  font-size: var(--fs-1);
}
.news .news_detail .tag:hover {  }

.news .news_detail .article__share {
  display: flex; gap: .5rem; margin-bottom: 1.25rem;
}
.news .news_detail .share {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid #d9d9df; text-decoration: none; color: #111;
  font-weight: 700; font-size: .85rem;
}
.news .news_detail .share:hover { background: #f5f6f8; }

/* prev/next/list nav */
.news .news_detail .article__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .75rem;
  align-items: center;
}
.news .news_detail .article__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .5rem 2.9rem;
  border: 1px solid #d9d9df;
  border-radius: 10px;
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.news .news_detail .article__nav a:hover { background: #f5f6f8; }
.news .news_detail .nav__prev { justify-self: start; }
.news .news_detail .nav__list { justify-self: center; }
.news .news_detail .nav__next { justify-self: end; }







section#area.equipment {
}
section#area.equipment h3 {
}
section#area.equipment p.date {
}
section#area.equipment table.equ01 {
}
section#area.equipment table.equ01 thead {
}
section#area.equipment table.equ01 thead tr {
}
section#area.equipment table.equ01 thead tr th {
}
section#area.equipment table.equ01 tbody {
}
section#area.equipment table.equ01 tbody tr {
}
section#area.equipment table.equ01 tbody tr td {
}
/* 設備一覧セクション全体 */
section#area.equipment {
  padding: 40px 20px;
  background: #fafafa;
  font-family: "Helvetica Neue", Arial, "ヒラギノ角ゴ ProN W3", sans-serif;
  color: #333;
}

/* 見出し */
section#area.equipment h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  border-left: 6px solid #0c4f9d;
  padding-left: 10px;
  font-weight: bold;
  color: #222;
  width: 80%;
  margin: 0 auto;
  max-width: 1200px;
}

/* 更新日 */
section#area.equipment p.date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  text-align: right;
  width: 80%;
  max-width: 1200px;
  margin: 1em auto;
  font-size: var(--fs-3);
}

/* テーブル全体 */
section#area.equipment table.equ01 {
  width: 80%;
  border-collapse: collapse;
  font-size: var(--fs-4);
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin: 0 auto;
  max-width: 1200px;
}

/* thead */
section#area.equipment table.equ01 thead {
  background: #0c4f9d;
  color: #fff;
}

section#area.equipment table.equ01 thead tr {
}

section#area.equipment table.equ01 thead tr th {
  padding: 12px 10px;
  border: 1px solid #ddd;
  text-align: center;
  font-weight: bold;
  font-size: var(--fs-5);
}

/* tbody */
section#area.equipment table.equ01 tbody {
}

section#area.equipment table.equ01 tbody tr {
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

section#area.equipment table.equ01 tbody tr:hover {
  background: #f9f9f9;
}

section#area.equipment table.equ01 tbody tr td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
}

/* レスポンシブ対応：スマホで横スクロール */
@media screen and (max-width: 768px) {
  section#area.equipment table.equ01 {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}


/* セクション全体 */
section#area.equipment {
  padding: 40px 20px;
  background: #fafafa;
  font-family: "Helvetica Neue", Arial, "ヒラギノ角ゴ ProN W3", sans-serif;
  color: #333;
  background: url(../images/equipment_tx.webp) no-repeat left top;
}

/* 見出し */
section#area.equipment h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  border-left: 6px solid #2a7ae2;
  padding-left: 10px;
  font-weight: bold;
  color: #222;
}

/* 更新日 */
section#area.equipment p.date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  text-align: right;
}

/* 画像付きリスト */
section#area.equipment ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
  width: 80%;
  margin: 3em auto;
  max-width: 1200px;
}

section#area.equipment ul li {
  flex: 1 1 calc(33.333% - 20px);
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-align: center;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section#area.equipment ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

section#area.equipment ul li img {
  width: 100%;
  height: auto;
  display: block;
}

section#area.equipment ul li figure {
  font-size: var(--fs-4);
  font-weight: bold;
  color: #333;
  background: #f8f8f8;
  border-top: 1px solid #eee;
}

/* テーブル */
section#area.equipment table.equ01 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

section#area.equipment table.equ01 thead {
  background: #2a7ae2;
  color: #fff;
}

section#area.equipment table.equ01 thead tr th {
  padding: 12px 10px;
  border: 1px solid #ddd;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
}

section#area.equipment table.equ01 tbody tr {
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

section#area.equipment table.equ01 tbody tr:hover {
  background: #f9f9f9;
}

section#area.equipment table.equ01 tbody tr td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  section#area.equipment ul li {
    flex: 1 1 100%;
  }
  section#area.equipment table.equ01 {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}



/* 横スクロールの器 */
.js-scrollable {
  position: relative;             /* ヒントの位置決めで安定 */
  overflow-x: auto;               /* 必須 */
  -webkit-overflow-scrolling: touch;
}

/* 中身は幅を縮めない（＝はみ出させる） */
.js-scrollable .scrollable {
  display: inline-block;          /* 内容幅をそのまま持たせる */
  min-width: 100%;                /* 伸縮の基準 */
}

/* テーブル自体を“画面より広く”する（はみ出させる） */
table.equ01 {
  border-collapse: collapse;
  min-width: 880px;               /* ここ重要：SP幅より大きく */
}
@media (max-width: 768px) {
  table.equ01 { min-width: 980px; }  /* スマホで確実にオーバーフロー */
}





section#area.access { background: url(../images/access_bg.webp) no-repeat left top;
}
section#area.access div.office {width: 80%;margin: 3em auto;max-width: 1300px;}
section#area.access div.office div.h3 {
}
section#area.access div.office div.h3 h3 {font-size: var(--fs-10);font-weight: 600;}
section#area.access div.office div.h3 p {
}
section#area.access div.office dl {display: flex;justify-content: space-between;}
section#area.access div.office dl dt {width: 40%;}
section#area.access div.office dl dt div.h4 {margin: 1em 0;}
section#area.access div.office dl dt div.h4 h4 {font-weight: 600;}
section#area.access div.office dl dt div.h4 ul {padding: 0 0 0 2em;}
section#area.access div.office dl dt div.h4 ul li {font-size: var(--fs-4);list-style: disc;margin: 0.5em 0;font-weight: 300;}
section#area.access div.office dl dd {width: 50%;}
section#area.access div.office dl dd img {border-radius: 10px;width: 100%;aspect-ratio: 4/3;object-fit: cover;}
section#area.access div.office iframe {width: 100%;margin: 2rem 0;}



section#area.flow {background: url(../images/flow_bg.webp) no-repeat left top;}
section#area.flow div {width: 80%;margin: 5rem auto;max-width: 1200px;
}
section#area.flow div dl {display: flex;margin: 3em 0;}
section#area.flow div dl dt {display: flex;width: 30%;align-items: center;}
section#area.flow div dl dt span.montserrat {background: #0c4f9d;border-radius: 50%;color: #fff;width: 100px;height: fit-content;text-align: center;padding: 1.5em 1em;font-weight: 500;}
section#area.flow div dl dt h3 {color: #0c4f9d;font-weight: 700;margin: 0 0 0 1em;}
section#area.flow div dl dd {width: 65%;}
section#area.flow div dl dd p {line-height: 2;}
section#area.flow div dl dd p a {color: #ff8a00;font-weight: 800;font-size: var(--fs-15);}
section#area.flow div dl dd p a.button{background: #ff8a00;color: #fff;font-size: var(--fs-5);font-weight: 400;border-radius: 300px;padding: 0.5em 2em;display: table;}
section#area.flow div dl dd p a.button:hover {
  background: #e67a00; /* ちょっと濃いオレンジに */
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}




section#area.casestudy {background: url(../images/casestudy_tx.webp) no-repeat left top;}
section#area.casestudy div.h3 {border-left: 5px solid #0c4f9d;padding: 1em;margin: 5em auto 3em auto;width: 80%;}
section#area.casestudy div.h3 span {color: gray;font-weight: 600;}
section#area.casestudy div.h3 h3 {font-size: var(--fs-15);font-weight: 600;color: #0c4f9d;}
section#area.casestudy div.casestudy01 {margin: 0 auto 3em  auto;width: 80%;}
section#area.casestudy div.casestudy01 div.h4 {
}
section#area.casestudy div.casestudy01 div.h4 h4 {background: #0c4f9d;color: #fff;padding: 0.5em 1em;font-size: var(--fs-10);border-radius: 10px;}
section#area.casestudy div.casestudy01 div.h4 p {margin: 1em 0;line-height: 2;}
section#area.casestudy div.casestudy01 div.h4 h4 i{
    margin: 0 0.5em 0 0;
}
section#area.casestudy div.casestudy01 ul { 

}
section#area.casestudy div.casestudy01 ul li {
  
position: relative;
  
background: #383838;
  
color: #fff;
  
padding: 1em 2em;
  
list-style: disc;
  
list-style-position: inside;
  
border-radius: 6px; /* 角丸あると吹き出し感UP */
  
margin: 1em 0;
}

section#area.casestudy div.casestudy01 ul li::after {
  content: "";
  position: absolute;
  bottom: -10px;  /* 三角の位置（下に出す） */
  left: 20px;     /* li左端からどの辺に付けるか */
  width: 0;
  height: 0;
  border-left: 10px solid transparent; 
  border-right: 10px solid transparent;
  border-top: 10px solid #383838;  /* liと同じ色 */
}
section#area.casestudy div.casestudy01 ul li::marker{color: #fff;}
/* end のときだけ三角を消す */
section#area.casestudy div.casestudy01 ul li.end::after {
  content: none;
}
section#area.casestudy div.casestudy01 ul li span {color: yellow;}
section#area.casestudy div.casestudy01 ul li.orange.end {background: #ff6c00;}

span.wpcf7-list-item label{
    display: flex;
    flex-direction: row;
}
span.wpcf7-list-item{margin: 0 2em 0 0;}
.wpcf7-checkbox{
	margin:1em 0;
}

div.sdgs{
	background: url(../images/sdgs_tx.webp) no-repeat left top;
}

section.error{
	width: 80%;
	max-width: 800px;
	margin: 5em auto;
	line-height: 2;
}

section#area.casestudy div.casestudy01 p{
    line-height: 2;
    margin: 3em 0 0 0;
}


h5.wp-block-heading{
    background: #dbdbdb;
    padding: 0.2em 1em;
    border-radius: 10px;}
figure.wp-block-image{}


.news .news_detail .article__body ol.wp-block-list{
    padding: 0 0 0 2em;
}
.news .news_detail .article__body ol.wp-block-list li{
    font-weight: 600;
    list-style: decimal;
}


div.ann60 {
}
div.ann60 dl {display: flex;align-items: center;margin: 0 0 1em 0;}
div.ann60 dl dt {
}
div.ann60 dl dt img {
}
div.ann60 dl dd {}
div.ann60 dl dd p.mnc {white-space: nowrap;font-size: 1.7em;margin: 0 0 0 1em;}
