@charset "UTF-8";
/*
 * common.css
 *
 */


/* !HTML5 elements
---------------------------------------------------------- */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
{ display: block;}
html {
  scroll-behavior: smooth;
}
/* !Reseting
---------------------------------------------------------- */
body {
	font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
	font-size: 16px;
	line-height: 1.5;
}
img {
	vertical-align:bottom;
	width: 100%;
}
.bold {
    font-weight: bold;
}
a {
	text-decoration: none;
	color: #000BFF;
}
a:hover {
	opacity:0.6;
	text-decoration: underline;
}
.red {
	color: red;
}
.kyocho {
	color: red;
	font-weight: bold;
}
.g-nav {
    display: none;
}
.phone-only {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    font-size: 26px;
}
.fNav {
    display: none;
}
/* ローディング全体を覆う */
#loading {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* シンプルなスピナー */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top: 5px solid #1d4492;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
.tokutei-br {
    display: none;
}
/*==================================
             common
==================================*/
#wrapper {
	width: 100%;
	margin: 0px 0px;
}
.more_btn {
    margin: 0px auto;
}
.more_btn a{
    display: block;
    width: fit-content;
    font-size: 12px;
    border-radius: 100px;
    background-color: #147fc1;
    padding: 4px 40px;
    letter-spacing: 3px;
    text-indent: 0px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    margin: 0px auto;
}
#headerIn,
section,
.tabs {
    width: 1100px;
    margin: 0px auto;
}
section {
    margin: 100px auto;
}
#main {
    position: relative;
}
.bg {
    position: absolute;
    width: 100%;
}
.sectionLv01 {
    margin-top: 0px;
    z-index: 100;
    position: relative;
}
/*==================================
             header
==================================*/
header {
    position: fixed;
    background: rgb(255, 255, 255, 0.9);
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
}
h1 {
    font-size: 10px;
    color: #828282;
    width: 100%;
}
#headerIn {
    display: flex;
    flex-wrap: wrap;
    align-items:center;
    justify-content: flex-end;
}
.head-home img {
    width: 170px;
    margin: 10px auto 13px;
}
#headerLinks {
    flex-grow: 1;
}
#headerLinks ul {
    font-size: 12px;
    display: flex;
    justify-content: end;
}
#headerLinks ul li a {
    display: block;
    padding: 20px 17px;
    color: #000;
}
#headerIn .contact {
    background-color: #000;
    color: #fff;
    padding: 6px 20px;
    border-radius: 5px;
    height: fit-content;
    font-size: 12px;
}
#headerLinks ul li {
    position: relative;
}
#headerLinks ul.sub-menu {
    position: absolute;
    left: 190px;
    visibility: hidden;
    opacity: 0;
    margin-left: -200px;
    top: 48px;
    padding: 14px;
    background-color: #EFEFEF;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, 
        opacity 0.3s ease, 
        visibility 0s 0.4s;
    flex-wrap: wrap;
    width: 470px;
    justify-content: flex-start;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
}
#headerLinks ul.sub-menu.open {
    visibility: visible;
    opacity: 1;
    max-height: 500px;
    transition: max-height 0.4s ease-out, 
        opacity 0.3s ease;
}
#headerLinks ul li>ul>li>a{
    padding: 5px 5px;
}
#headerLinks ul.sub-menu>li {
    width: 100px;
    margin-right: 10px;
}
#headerLinks ul.sub-menu>li a::before {
    content: "";
    display: inline-block;
    width: 95px;
    height: 70px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    left: 0px;
}
#headerLinks ul.sub-menu>li:nth-of-type(1) a::before { background-image: url('../img/service11.jpg'); }
#headerLinks ul.sub-menu>li:nth-of-type(2) a::before { background-image: url('../img/service/bokataishobutsutenken00.jpg'); }
#headerLinks ul.sub-menu>li:nth-of-type(3) a::before { background-image: url('../img/service13.jpg'); }
#headerLinks ul.sub-menu>li:nth-of-type(4) a::before { background-image: url('../img/service16.jpg'); }
#headerLinks ul.sub-menu>li:nth-of-type(5) a::before { background-image: url('../img/service20.jpg'); }
#headerLinks ul.sub-menu>li:nth-of-type(6) a::before { background-image: url('../img/service22.jpg'); }
#headerLinks ul.sub-menu>li:nth-of-type(7) a::before { background-image: url('../img/service24.jpg'); }
/*==================================
         ファーストビュー全体
==================================*/
.first-view {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
/* 左右のスライド */
.side-slide {
    width: 15%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.slide-track {
    display: flex;
    flex-direction: column;
}
.side-slide img {
    width: 100%;
    height: auto;
    display: block;
}
/* アニメーション */
.slide-track.running {
    animation: scroll-up 20s linear infinite;
}
.left .slide-track.running {
    animation-direction: reverse; /* 左側は下方向 */
}
@keyframes scroll-up {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}
/* 中央エリア */
.center-content {
    width: 70%;              /* 中央は 60% */
    display: flex;
    justify-content: center; /* 横並び */
    align-items: center;
    gap: 0;                  /* 画像の間の隙間なし */
}
.image-box {
    position: relative;
    flex: 1;
    height: 100%;
}
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* 隙間なく埋める */
    display: block;
    position: absolute;
}
#main-img-div,
#main-img-div2 {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
	height: 100vh;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
#main-img-div.active,
#main-img-div2.active {
    opacity: 1;
    transform: translateY(0);
}
#main-img-div>div,
#main-img-div2>div {
    padding: 20px 30px;
    background-color: rgb(255, 255, 255, 0.4);
    text-align: center;
}
#main-img-div h2,
#main-img-div2 h2 {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    width: 100%;
    padding-bottom: 20px;
}
#main-img-div>div a,
#main-img-div2>div a {
    width: fit-content;
    background-color: #fff;
    border-radius: 25px;
    padding: 3px 24px;
    color: #147fc1;
    font-size: 14px;
    font-weight: bold;
    display: inline-block; /* transformを効かせるために必要 */
    transition: transform 0.3s ease; /* アニメーションの設定 */
}
#main-img-div>div a:hover,
#main-img-div2>div a:hover {
    transform: scale(1.1); /* 1.1倍に拡大 */
    opacity: 1;
    text-decoration: none;
}

.sectionLv01 ul {
    display: flex;
    flex-wrap: wrap;
}
.sectionLv01 ul li {
    width: calc((100% - 160px) / 4);
    margin: 20px;
    border-radius: 10px;
}

h3 {
    font-size: 34px;
    font-weight: bold;
    padding: 20px 0px;
    position: relative;
    overflow: hidden;
    display: block;
    text-align: center;
    margin-bottom: 30px;
}
.fade-up {
    opacity: 0;
    transform: translateY(30px); /* 下にずらして非表示 */
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up {
    opacity: 1;
    transform: translateY(0); /* 元の位置に戻す */
}
.h3-en {
    font-size: 20px;
    color: #147fc1;
    line-height: 0.9em;
}
.h3-ja {
    line-height: 1;
    display: block;
    font-weight: bold;
}
.h3-en::after {
    content: "\a";
    white-space: pre;
}
h3::before {
    content: "";
    background: linear-gradient(90deg, #afcd14 0 20%, #147fc1 20% 100%);
    width: 160px;
    height: 4px;
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin: 0px auto;
}
h5 {
    background-color: #1382c1;
    padding: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.kenchikusetsubi-li h5 {
    background-color: #ea639b;
}
#kankyo_content h5 {
    background-color: #a7c622;
}
img.fade-target {
  opacity: 0;
  transition: opacity 1s ease-in;
}

img.fade-target.fade-in {
  opacity: 1;
}
/*==================================
          　news tabs
==================================*/
/*タブ切り替え全体のスタイル*/
.tabs {
  background-color: #fff;
  margin: 60px auto 40px;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/2);
  height: 60px;
  border-bottom:2px solid #1D4492;
  background-color: #EEE;
  line-height: 60px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  font-weight: bold;
  transition: all 0.2s ease;
  box-sizing:border-box;
  border-right:#ccc solid 1px;
}
.tab_item:last-of-type {
  border-right:none;
}
.tab_item:hover {
    cursor: pointer;
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}
/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 0;
  clear: both;
  overflow: hidden;
}
/*選択されているタブのコンテンツのみを表示*/
#kenchikusetsubi:checked ~ #kenchikusetsubi_content,
#kankyo:checked ~ #kankyo_content {
  display: block;
}
/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color:#1D4492;
  color: #fff;
}
.tab_content p {
    padding: 10px 20px 20px;
    color: #333;
    font-size: 12px;
}
.tab_content a:hover {
    text-decoration: none;
}
.tab_content_description li {
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}
.tab_content_description img {
    height: 200px;
    object-fit: cover;
}
.dangumi-2 {
    display: flex;
}
.dangumi-2>* {
    width: 50%;
}
.dangumi-2 p,
.dangumi-2 img {
    margin: 20px;
}
.dangumi-2 p {
    line-height: 2em;
}
.hover-up {
  display: inline-block; /* ブロック要素でなくてもアニメーションしやすく */
  transition: transform 0.3s ease; /* スムーズに移動 */
  cursor: pointer; /* マウスオーバーを視覚的に示す */
}

.hover-up.hovered {
  transform: translateY(-10px); /* 少し上に移動 */
}


.sectionLv02 img {
    border-radius: 10px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    object-fit: cover;
}
.sectionLv02 a,
.sectionLv05 a {
    display: inline-block; /* transformを効かせるために必要 */
    transition: transform 0.3s ease; /* アニメーションの設定 */
}
.sectionLv02 a:hover,
.sectionLv05 a:hover {
    transform: scale(1.1); /* 1.1倍に拡大 */
    opacity: 1;
    text-decoration: none;
}

.slider-for img {
    object-fit: cover;
    height: 260px;
}
/*==================================
          　news
==================================*/
.sectionLv03 ul {
    margin: 10px 50px;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}
.sectionLv03 li {
    border-bottom: 1px solid #ccc;
    padding: 10px 0px;
}
.oshirase-time {
    width: 140px;
    display: inline-block;
}
/*==================================
          　area
==================================*/
.sectionLv04 p {
    padding-left: 40px;
    z-index: 1;
    position: relative;
}
.area01 {
    font-size: 42px;
    font-weight: bold;
    padding-bottom: 13px;
    display: block;
}
.area02 {
    font-size: 24px;
}
.area03 {
    font-size: 16px;
}
.sectionLv04 p>span::after {
    content: "\a";
    white-space: pre;
}
.area-div {
    display: flex;
}
.area-div>*:nth-of-type(1) { width: 30%; }
.area-div>*:nth-of-type(2) { width: 70%; }
:root{
    --ripple-duration: 1400ms; /* 1回の波紋アニメーション時間（CSS fallback） */
}
.map-wrap{
    position: relative;
    /* max-width: 900px; 必要に応じて調整 */
    margin: 0 auto;
    overflow: visible;
}
.map-img{
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}
/* 波紋発生点のコンテナ（位置指定） */
  .ripple-point{
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    transform: translate(-50%, -50%);
    pointer-events: auto; /* マーカーはクリック可能に */
  }
  /* ピン本体（小さな丸） */
  .ripple-point .pin{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pin-color, #ff0000);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
    transform: translateZ(0);
  }
  /* 生成される波紋要素 */
  .ripple {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.2);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    /* width/height はインライン style (JS) で設定 */
    box-shadow: 0 0 0 0 rgba(0,0,0,0.08) inset;
    animation-name: ripple-effect;
    animation-timing-function: cubic-bezier(.25,.8,.25,1);
    animation-fill-mode: forwards;
  }
  @keyframes ripple-effect {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0.9;
    } 40% {
        opacity: 0.6;
    } 100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}
  /* 小さめのスクリーンで波紋が大きすぎないよう調整（任意） */
  @media (max-width: 480px) {
    .ripple-point .pin { width: 10px; height: 10px; }
  }
/*==================================
          　partner
==================================*/
.sectionLv05 {
    padding: 20px 50px;
    margin: 100px auto;
    width: 800px;
    border-radius: 20px;
}
.sectionLv05 img {
    border-radius: 10px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    object-fit: cover;
}
.sectionLv05 .dangumi-2 p {
    font-size: 14px;
    line-height: 1.6em;
}
.scroll-down {
    position: fixed;
    z-index: 1000;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #fff;
    opacity: 0.6;
    animation: updown 1.5s infinite;
}

.scroll-down .arrow {
    font-size: 12px;
}
/* バウンドアニメーション */
@keyframes updown {
0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: 
    cubic-bezier(.8, 0, 1, 1);
} 50% {
    transform: none;
    animation-timing-function: 
    cubic-bezier(0, 0, .2, 1);
}}

/*==================================
          　contact
==================================*/
.contact>p {
    text-align: center;
}
.contact ul {
    display: flex;
    justify-content: center;
    margin: 30px 0px;
}
.contact ul li {
    width: 200px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    padding: 20px;
    text-align: center;
}
.contact ul li:nth-of-type(1) {
    margin-right: 30px;
}
.contact ul li img {
    width: 50px;
    height: 50px;
}
.contact-span {
    padding: 10px 0px;
    display: block;
    font-size: 21px;
    font-weight: bold;
}

.contact-time {
    font-size: 12px;
}
.contact-how {
    color: #147fc1;
    font-weight: bold;
}
.contact ul li img.mail-img-b {
    height: 23px;
    width: 100%;
    padding: 0px 0px 5px 0px;
}
/*==================================
          　footer
==================================*/
#footer {
    background-color: #ebebec;
    padding: 20px 20px 0px;
    position: relative;
    z-index: 1000;
}
.mail-img {
    height: 13px;
    width: auto;
    padding: 0px 0px 3px 1px;
}
#footerIn {
    width: calc(1100px - 40px);
    margin: 0px auto;
}
.footer-p {
    width: 180px;
    font-size: 10px;
    padding: 10px 0px;
}
footer figure {
    width: 100%;
}
footer figure:nth-of-type(1) img { width: 170px; }
footer figure:nth-of-type(2) img { width: 230px; margin-top: 20px; }
#footerIn {
    position: relative;
}
#footerDiv {
    width: 280px;
    position: absolute;
    top: 10px;
    right: 0px;
}
#footerDiv p {
    font-size: 12px;
    position: relative;
}
.footer-address::before,
.footer-tel::before,
.footer-mail::before {
    content: "\f3c5";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 16px;
    padding: 0px 15px 0px 0px;
    position: relative;
    top: 2px;
    color: #707070;
    left: -22px;
    margin-right: -27px;
}
.footer-tel::before {
    content: "\f095";
    margin-right: -30px;
}
.footer-mail::before {
    content: "\f0e0";
    margin-right: -30px;
}
#copyright {
    width: 100%;
    font-size: 10px;
    color: #959595;
    padding: 20px 0px;
}
.footer-link {
    position: absolute;
    bottom: 20px;
    right: 0px;
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
}
.footer-link li {
    margin-right: 20px;
}
.footer-link a {
    color: #333;
    text-decoration: none;
}
#footer .contact-time {
    display: block;
}