footer {padding:0 0 10px 0; position:relative; }
footer a { color:#fff; }
.fbox { width:100%; display: flex;justify-content: space-between;margin: 0 auto;flex-wrap:wrap; text-align:left; }
.footer_link_wrap { display:flex; font-size:14px; flex-wrap:wrap; }
.footer_link_wrap li { margin-right:20px; margin-bottom:10px; }
.fbox .footer_seed { width:100%; }
@media screen and (min-width:768px) {
  footer {padding:0;}
  .fbox { width:100%; position:relative; margin-top:120px;}
  .fbox strong { font-size:18px; margin-bottom:24px; display:inline-block; }
  .fbox p { font-size:15px; margin-top:10px; margin-bottom:0px; display:inline-block; }
  .footer_link_wrap { width:100%; margin:40px auto -60px auto; display:flex; justify-content: flex-end; font-size:14px; }
  .fbox .footer_seed { width:auto; position:absolute; bottom:-80px; left:0; }
}

.footer_link_wrap a.link-arrow {
  position: relative;
  display: inline-block;
  padding-left: 0.6em; /* 矢印分の余白 */
  text-decoration: none;
  font-size:14px;
  color: #fff;
}

.footer_link_wrap a.link-arrow::before {
  content: "›"; /* ＞に近い細めの記号（普通の > よりデザイン的） */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
}
.footer_link_wrap a.link-arrow:hover { text-decoration:underline;}


.link_box { width:100%; display:flex; flex-wrap:wrap; }
.link_box li { width:100%; border-top:2px solid #000000; }
@media screen and (min-width:768px) {
  .link_box li { width:50%; }
}
.link_box li a { width:100%; height:100%; display:block; background:#fff; }
.link_box li a:hover { background:#00FF13;} 

.link_box li:nth-child(1) { width:100%; }
@media screen and (min-width:768px) {
  .link_box { justify-content:space-between; }
  .link_box li:nth-child(1) { width:calc(50% - 2px); }
}
.link_box li:nth-child(1) a { width:100%; height:100%; display:block; background:#fff; transition: background-color 0.4s ease; }
.link_box li:nth-child(1) a:hover { background: #00FF13;}
.link_box li.long { width:100%; } 
.link_box li.long a { width:100%; height:100%; display:flex; padding:50px 0; background:#ffffff; transition: background-color 0.4s ease; }
.link_box li.long a:hover { background: #00FF13;} 
.link_box li.long a .link_box_long_inner { width:85%; margin:0 auto; display:flex; flex-wrap:wrap; }
.link_box li.long a .link_box_long_inner div { width:100%; }
.link_box li.long a .link_box_long_inner div:nth-child(1) {
  position: relative;
  display: inline-block; /* 擬似要素の基準になる */
  padding-right: 24px;   /* 矢印の分だけ余白を確保 */
}

.link_box li.long a .link_box_long_inner div:nth-child(1)::after {
  content: "";
  position: absolute;
  top: 50%;
  right:-3%;
  width: 16px;   /* 画像サイズに合わせて調整 */
  height: 16px;
  transform: translateY(-50%);
  background: url("/img/footer_arrow_black.svg") no-repeat center / contain;
  pointer-events: none;
}



.link_box li.long a .link_box_long_inner div img { width:65%; margin:0 0 10px 8%; display:block; }
.link_box li.long a .link_box_long_innerdiv:nth-child(1) { width:100%; color:#000; display:block; }
.link_box li.long a .link_box_long_inner div:nth-child(1) strong { width:100%; font-weight:bold; font-size:28px; color:#000; }
.link_box li.long a .link_box_long_inner div:nth-child(2) { width:100%; }
.link_box li.long a .link_box_long_inner div:nth-child(2) strong { width:85%; margin-left:8%;  color:#000; font-weight:bold; text-align:justify;}
.link_box li .link { width:70%; margin:0 auto; position:relative; padding:40px 0; }
.link_box li .link img { width:100%; }
.link_box li .link strong { width:100%; font-size:18px; display:block; font-weight:bold; text-align:left; position:absolute; top:25%; color:#000; }
@media screen and (min-width:768px) {
  .link_box li.long a .link_box_long_inner { width:85%; margin-left:8.5%; }
  .link_box li.long a .link_box_long_inner div { width:auto; margin-right:5%; }
  .link_box li.long a .link_box_long_inner div img { width:300px; margin-left:0; }
  .link_box li.long a .link_box_long_innerdiv:nth-child(1) { width:30%;}
  .link_box li.long a .link_box_long_inner div:nth-child(2) { width:auto; margin-top:20px; }
  .link_box li.long a .link_box_long_inner div:nth-child(2) strong { width:100%; font-size:20px; margin-left:0; }
  .link_box li .link { width:66%; margin:0 auto; position:relative; padding:40px 0;}
  .link_box li .link strong { font-size:28px; display:block; font-weight:bold; text-align:left; position:absolute; top:25%; color:#000; }
}

.link_box li:nth-child(1) a {
  position: relative;
  display: inline-block; /* 擬似要素の基準になる */
  padding-right: 24px;   /* 矢印の分だけ余白を確保 */
}

.link_box li:nth-child(1) a::after {
  content: "";
  position: absolute;
  top: 50%;
  right:5%;
  width: 16px;   /* 画像サイズに合わせて調整 */
  height: 16px;
  transform: translateY(-50%);
  background: url("/img/footer_arrow_black.svg") no-repeat center / contain;
  pointer-events: none;
}

.link_box li:nth-child(2) a {
  position: relative;
  display: inline-block; /* 擬似要素の基準になる */
  padding-right: 24px;   /* 矢印の分だけ余白を確保 */
}

.link_box li:nth-child(2) a::after {
  content: "";
  position: absolute;
  top: 50%;
  right:5%;
  width: 16px;   /* 画像サイズに合わせて調整 */
  height: 16px;
  transform: translateY(-50%);
  background: url("/img/footer_arrow_black.svg") no-repeat center / contain;
  pointer-events: none;
}






.fbox_inner { width:90%; display:flex; flex-wrap:wrap; margin:-50px auto 0 auto; font-weight:normal; }
.fbox_inner p { font-size:14px; }
.map-wrapper iframe  { width:100%; height:250px; display:block; }
.fbox_inner .fbox_inner_info strong { font-weight:bold; margin-bottom:16px; }
.fbox_inner .fbox_inner_info p small { font-size:14px; margin-top:15px; margin-bottom:10px; display:inline-block;}
.fbox_inner .map-wrapper iframe { height:250px; margin-bottom:10px; }
@media screen and (min-width:768px) {
.fbox_inner  { justify-content: space-between; margin-bottom:initial; }
.fbox_inner .fbox_inner_info { width:45%; margin-left:5%;  }
.fbox_inner .fbox_inner_info strong { font-weight:normal; }
.fbox_inner .fbox_inner_info p { font-size:15px; line-height:1.7; }
.fbox_inner .fbox_inner_info p small { font-size:15px; margin-top:0; }
.fbox_inner .map-wrapper { width:49%; margin:0; }
.fbox_inner .map-wrapper iframe  { width:100%; height:280px; display:block; }
}
@media screen and (min-width:768px) and (max-width:1100px) {
  .fbox_inner .fbox_inner_info { margin-left:0%;  }
}

/* 電話 */
@media (hover: hover) and (pointer: fine) {
  a.tel-link {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
    cursor: default;
  }
}


.map-wrapper { width:100%; filter: grayscale(100%); margin-top:20px; margin-bottom:10px; }
.map-wrapper p { font-size:14px; margin-bottom:10px; }
@media screen and (min-width:768px) {
  .map-wrapper {  }
  .map-wrapper p { font-size:16px; }
}
