@import url("https://fonts.googleapis.com/css2?family=Kosugi+Maru&family=Zen+Kaku+Gothic+New&display=swap");

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.kosugi-maru-regular {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ====== reset ====== */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-style: normal;
  border: 0;
  border-style: solid;
  box-sizing: border-box;
}
html {
  font-size: 10px;
  line-height: 1;
  scroll-padding-top: 100px;
  overflow-y: scroll;
  height: -webkit-fill-available;
  scroll-behavior: smooth;
}
body {
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #212929;
  line-height: 2;
  overflow: hidden;
  position: relative;
  counter-reset: number 0;
  /* word-break: auto-phrase; */
  overflow-wrap: break-word;
}

/* デバイス別フォントサイズ調整 */
@media screen and (max-width: 1081px) {
  html {
    scroll-padding-top: 80px;
  }
  body {
    font-size: calc(100vw / 64);
  }
}
@media screen and (max-width: 821px) {
  body {
    font-size: calc(100vw / 54);
  }
}
@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 20vw;
  }
  body#index {
    padding-top: 0;
  }
  body {
    font-size: calc(100vw / 30);
    padding-top: 12vw;
  }
}
/* @media screen and (orientation: landscape) {
  body {
    font-size: calc(100vw / 40);
  }
} */
@media screen and (max-width: 415px) {
  body {
    font-size: calc(100vw / 27);
    padding-top: 13vw;
  }
}

/* htmlサイト初期設定 */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: normal;
}
div,
dd,
dt,
ul,
li,
section {
  line-height: 1.4;
}
p {
  line-height: 1.8;
}
ul,
ol {
  list-style: none;
  line-height: 2;
}
a {
  color: #333333;
  text-decoration: none;
}
a:active,
a:invalid,
a:hover {
  color: #4eb5b8;
  text-decoration: none;
}
img {
  width: 100%;
}
small {
  font-size: 80%;
}
/* ====== 共通css ====== */
.txt-c {
  text-align: center;
}
.txt-l {
  text-align: left;
}
.txt-r {
  text-align: right;
}
br {
  height: 0;
  line-height: 0;
  margin: 0;
  padding: 0;
}
.br_pc {
  display: inline;
  overflow: hidden;
}
.br_sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .br_pc {
    display: none;
    overflow: hidden;
  }
  .br_sp {
    display: inline;
  }
}

.cotns_box {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

/* 見出し */
.cntns_hl1 {
  width: fit-content;
  margin: 60px auto;
  padding-bottom: 10px;
  font-family: "Kosugi Maru", serif;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cntns_hl1::before {
  content: "";
  display: block;
  margin: 0 auto;
  height: 30px;
  width: 30px;
  background: url(../images/common/point_icon.png) no-repeat;
  background-size: cover;
  position: absolute;
  top: -40px;
  left: calc(50% - 15px);
  z-index: -1;
}
.cntns_hl1::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: #4eb5b8;
  position: absolute;
  bottom: 0;
  left: 0;
}
.cntns_hl1.is-active::after {
  width: 100%;
  transition: all 1.5s ease 0s;
}
.cntns_hl2 {
  width: 100%;
  margin: 20px 0 10px;
  padding: 6px 10px 10px 20px;
  font-size: 28px;
  font-weight: bold;
  position: relative;
}
.cntns_hl2::before {
  content: "";
  display: block;
  margin: auto;
  height: 3px;
  width: 0;
  background: #00a99d;
  position: absolute;
  bottom: 0;
  left: 0;
}
.cntns_hl2::after {
  content: "";
  display: block;
  margin: auto;
  height: 100%;
  width: 20%;
  background: url(../images/common/h2_bg.png) no-repeat;
  background-size: contain;
  position: absolute;
  bottom: 0;
  left: 0;
}
.cntns_hl2.is-active::before {
  width: 100%;
  transition: all 1.5s ease 0s;
}

.cntns_hl2 .ruby {
  font-family: "Kosugi Maru", serif;
  font-weight: bold;
  font-size: 70%;
  color: #00a99d;
  display: block;
  margin: -10px 0 0 auto;
  width: fit-content;
}
/*中の要素*/
.cntns_hl2_items {
  opacity: 0;
}
.cntns_hl2_items.is-active {
  animation-name: cntnshl2items;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden;
}

@keyframes cntnshl2items {
  0%,
  50% {
    opacity: 0;
  }
  50.001%,
  100% {
    opacity: 1;
  }
}

.whitemarker {
  position: relative;
}
.whitemarker.is-active::before {
  animation-name: whitemarker;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 5;
}

@keyframes whitemarker {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

.cntns_hl3 {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 160%;
  font-weight: bold;
  position: relative;
}
.cntns_hl3 .bgextend {
  border-bottom: 3px solid #4eb5b8;
  padding: 10px;
}
.cntns_hl3::before,
.cntns_hl3::after {
  content: "";
  width: calc(1em + 10px);
  height: calc(1em + 10px);
  display: inline-block;
  background: url(../images/common/logo_il.png) no-repeat center center;
  background-size: contain;
}
@media screen and (max-width: 1081px) {
  .cntns_hl1 {
    font-size: calc(90vw / 26);
    margin: 6vw auto;
  }
  .cntns_hl2 {
    font-size: calc(90vw / 36);
    margin: 0 auto 3vw;
  }
}
@media screen and (max-width: 768px) {
  .cntns_hl1 {
    font-size: calc(90vw / 14);
    margin: 10vw auto;
  }
  .cntns_hl2 {
    font-size: calc(90vw / 20);
    margin-bottom: 6vw;
    line-height: 1.6;
  }
  .cntns_hl2::before {
    width: 7vw;
  }
  .cntns_hl3 {
    font-size: 140%;
    line-height: 1.4;
  }
}

/* 共通ボタンデザイン */
.main_btn a {
  display: block;
  width: fit-content;
  margin: 20px auto;
  padding: calc(2rem - 12px) 3.5rem 2rem;
  background: #b4d246;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  transition: all 0.3s;
  text-align: center;
  letter-spacing: 0.1em;
  color: #212929;
  border-radius: 5px;
  position: relative;
}
.main_btn a::before {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 100%;
  height: 100%;
  content: "";
  transition: all 0.3s ease;
  border: 3px solid #212929;
  border-radius: 5px;
}

.main_btn a:hover {
  padding: calc(2rem - 6px) 3rem;
  transition: all 0.3s;
}

.main_btn a:hover:before {
  top: 0;
  left: 0;
}
/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
}

header {
  display: flex;
  justify-content: end;
  padding: 20px 5%;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 999;
}
header .main_menu {
  width: fit-content;
  display: flex;
}
header h1 {
  line-height: 0;
  max-width: 120px;
  width: 30%;
}
header h1 .lower_logo {
  display: none;
}
header .menu_pc h1,
#menu_nav h1 {
  line-height: 0;
  max-width: 120px;
  width: 30%;
}

/* header menu */
#menu_sp {
  display: none;
}
.menu_pc.flort_nav nav.main_menu {
  position: fixed;
  top: 70px;
  right: 0;
  z-index: 999;
}
nav.main_menu ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: end;
  width: fit-content;
}
nav.main_menu li {
  width: fit-content;
  margin-left: 20px;
  padding: 10px 15px 10px;
  color: #212929;
  letter-spacing: 2px;
  border: 0;
  border-top: 1px #212929 solid;
  border-bottom: 1px #212929 solid;
  position: relative;
}
nav.main_menu li:after,
nav.main_menu li:before {
  position: absolute;
  width: 2px;
  height: 0;
  content: "";
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  background: #606a6a;
}
nav.main_menu li:before {
  top: 0;
  left: 0;
}
nav.main_menu li:after {
  right: 0;
  bottom: 0;
}
nav.main_menu li:hover:before,
nav.main_menu li:hover:after {
  height: 100%;
}

nav.main_menu li a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  color: #212929;
  transition: all 0.3s ease 0s;
}
nav.main_menu li a span {
  color: #4eb5b8;
  font-size: 60%;
  margin-right: 5px;
}

nav.main_menu li:hover {
  background: #ffffff88;
  transition: all 0.5s ease 0s;
}
@media screen and (max-width: 1081px) {
  header {
    padding: 3vw 0 0;
  }
  header h1 {
    width: 25%;
    margin-top: 20px;
    margin-left: 30px;
  }
  header .main_menu {
    flex-wrap: wrap;
  }
  nav.main_menu ul {
    padding-right: 0;
    padding-right: 20px;
  }
  nav.main_menu ul li a {
    font-size: calc(11vw / 6);
  }
}

/* hamburger menu */
nav.main_menu_sp {
  display: block;
  position: fixed;
  top: 0;
  left: -240px;
  bottom: 0;
  width: 240px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all 0.5s;
  z-index: 3;
  opacity: 0;
}
.open nav.main_menu_sp {
  left: 0;
  opacity: 1;
  transition: all 0.5s;
}
nav.main_menu_sp .inner {
  padding: 25px;
}
nav.main_menu_sp .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main_menu_sp .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}
nav.main_menu_sp .inner ul li:last-child {
  border: 0;
}
nav.main_menu_sp .inner ul li a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav.main_menu_sp .inner ul li a:hover {
  background: #e4e4e4;
}
nav.main_menu_sp .inner ul li.main_menu_sp_sns a {
  width: 80px;
}
.toggle_btn {
  display: block;
  background: #ffffffcc;
  padding: 5px;
  position: fixed;
  top: 10px;
  left: 20px;
  width: 40px;
  height: 40px;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 3;
}
#index .toggle_btn {
  position: fixed;
  top: 30px;
  left: 20px;
  width: 40px;
  height: 40px;
}
.open .toggle_btn {
  left: 250px !important;
}
.toggle_btn span {
  display: block;
  position: absolute;
  right: 5px;
  width: 30px;
  height: 2px;
  background-color: #4eb5b8;
  border-radius: 4px;
  transition: all 0.5s;
}
.toggle_btn span:nth-child(1) {
  top: 10px;
}
.toggle_btn span:nth-child(2) {
  top: 20px;
}
.toggle_btn span:nth-child(3) {
  bottom: 8px;
}
.open .toggle_btn span {
  background-color: #212929;
  right: 0px;
}
.open .toggle_btn {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.open .toggle_btn span:nth-child(1),
.open .toggle_btn span:nth-child(3) {
  width: 36px;
}
.open .toggle_btn span:nth-child(1) {
  top: 16px;
  -webkit-transform: translate(-1px, 4px) rotate(-45deg);
  transform: translate(-1px, 4px) rotate(-45deg);
}
.open .toggle_btn span:nth-child(2) {
  display: none;
}
.open .toggle_btn span:nth-child(3) {
  bottom: 13px;
  -webkit-transform: translate(-1px, -4px) rotate(45deg);
  transform: translate(-1px, -4px) rotate(45deg);
}
#mask {
  display: none;
  transition: all 0.5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #212929;
  opacity: 0.8;
  z-index: 2;
  cursor: pointer;
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  .main_menu {
    display: none;
  }
  header h1 {
    width: 40vw;
    max-width: 200px;
    margin: 2vw auto;
  }
  header h1 .index_logo {
    display: none;
  }
  header h1 .lower_logo {
    display: block;
  }
  #index header h1 {
    width: 40vw;
    max-width: 200px;
    margin: auto;
    margin-top: 8vw;
    left: 3vw;
  }
  #index header h1 .lower_logo {
    display: none;
  }
  #index header h1 .index_logo {
    display: block;
  }
  #menu_pc {
    display: none;
  }
  #menu_sp {
    position: fixed;
    background: #ffffff;
    display: block;
    height: auto;
    padding: 1vw 0;
    box-shadow: 0 0 3px #888888cc;
  }
  #index #menu_sp {
    position: absolute;
    background: transparent;
    display: block;
    height: auto;
    padding: 1vw 0;
    box-shadow: none;
  }
}
@media screen and (max-width: 415px) {
}
@media screen and (max-width: 391px) {
}

/* ====== nav ====== */
#menu_nav {
  position: fixed;
  top: -80px; /* メニュー高さ分 */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background: #ffffff;
  z-index: 9999;
  box-shadow: 0 0 7px #66666699;
}
#menu_nav .nav_menu ul {
  width: fit-content;
  margin: auto;
  padding: 10px 0 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}
#menu_nav .nav_menu ul li a {
  display: block;
  padding: 10px 20px 20px;
}
#menu_nav .nav_menu ul li a:hover {
  color: #4eb5b8;
  animation: poyoyon 0.5s cubic-bezier(0.12, 0, 0.3, 0) 1 forwards;
}

@keyframes poyoyon {
  0% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(0);
  }
  65% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}
@media screen and (max-width: 768px) {
  #menu_nav {
    display: none;
  }
}
/* ====== footer ====== */
.entry {
  background: #ffffff88;
  width: 100%;
  height: auto;
  position: fixed;
  bottom: 0;
  z-index: 10;
}
.entry ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10%;
}
.entry ul li {
  width: 40%;
  max-width: 240px;
  height: 60px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.entry ul li:nth-of-type(odd) {
  background: #4eb5b8;
}
.entry ul li:nth-of-type(even) {
  background: #009245;
}
.entry ul li a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}
.entry ul li a small {
  font-size: 70%;
  margin: auto 10px;
}
.entry ul li:before {
  position: absolute;
  top: 0;
  left: calc(-100% + 1px);
  width: 100%;
  height: 100%;
  content: "";
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: translateX(0) translateY(0);
  transform: translateX(0) translateY(0);
  background: #b4d246;
  z-index: -1;
}
.entry ul li:after {
  position: absolute;
  top: 0;
  right: calc(-100% + 1px);
  width: 100%;
  height: 100%;
  content: "";
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: translateX(0) translateY(0);
  transform: translateX(0) translateY(0);
  background: #b4d246;
  z-index: -1;
}

.entry ul li:hover:before {
  -webkit-transform: translateX(50%) translateY(0);
  transform: translateX(50%) translateY(0);
}
.entry ul li:hover:after {
  -webkit-transform: translateX(-50%) translateY(0);
  transform: translateX(-50%) translateY(0);
}
.entry ul li:hover a {
  color: #212929;
  transition: all 0.3s ease-in-out;
}
.entry ul li:hover a small {
  margin: auto 2px;
  transition: all 0.3s ease-in-out;
}
/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  .entry ul {
    gap: 2%;
  }
  .entry ul li {
    width: 46%;
  }
  .entry ul li a {
    font-size: 1em;
  }
}
@media screen and (max-width: 430px) {
}

footer {
  padding: 0 0 80px;
  width: 100%;
  position: relative;
}
footer h1 {
  width: 30%;
  max-width: 160px;
  margin: auto;
}

footer .footer_menu {
  width: 95%;
  max-width: 1560px;
  margin: 0 auto;
  padding-bottom: 30px;
}
footer .footer_menu .footer_adrs {
  width: 100%;
  margin-right: 10px;
}
footer .footer_menu .footer_adrs .main_btn {
  margin: 0 auto 30px;
  text-shadow: none;
}
footer .footer_menu .footer_adrs address ul {
  width: fit-content;
  margin: 15px auto 0;
  font-size: 18px;
  text-align: center;
}
footer .footer_menu .footer_adrs address ul li {
  width: fit-content;
  margin: 0 auto 10px;
}
footer .footer_sitemap ul {
  width: fit-content;
  margin: 20px auto;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
footer .footer_sitemap ul li {
  /* font-size: 18px; */
  position: relative;
  padding-left: 26px;
}
footer .footer_sitemap ul li a {
  display: block;
  transition: all 0.5s;
}
footer .footer_sitemap ul li a:hover {
  color: #4eb5b8;
  transition: all 0.5s;
}
footer .footer_sitemap ul li a span {
  color: #4eb5b8;
  font-size: 60%;
  margin-right: 5px;
}
.copyright {
  padding: 5px 0;
  text-align: center;
  font-size: 16px;
}
@media screen and (max-width: 1081px) {
  footer .footer_sitemap ul {
    padding: 15px 10px;
  }
}
@media screen and (max-width: 768px) {
  footer {
    padding: 0 0 20vw;
  }
  footer h1 {
    width: 50%;
    margin: auto;
  }

  footer .footer_contact .footer_btn a {
    min-height: 50px;
  }
  footer .footer_contact .footer_btn a span {
    width: 25px;
  }
  footer .footer_contact .footer_btn a span::after {
    width: 10px;
  }
  footer .footer_menu {
    display: block;
    padding-bottom: 1vw;
  }
  footer .footer_menu .footer_adrs {
    width: 100%;
  }
  footer .footer_menu .footer_adrs address ul {
    width: 100%;
    font-size: calc(100vw / 28);
  }
  footer .footer_sitemap ul {
    width: 90%;
    width: fit-content;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    gap: 6vw 0;
    margin: 4vw auto 8vw 5vw;
  }
  footer .footer_sitemap ul li {
    width: fit-content;
  }
  footer .footer_sitemap .footer_icon {
    font-size: calc(100vw / 26);
    padding-left: 4vw;
  }
  footer .footer_sitemap .footer_icon::before {
    content: " ";
    width: 4vw;
    height: 4vw;
    top: calc(50% - 2vw);
    left: -2%;
  }
  .copyright {
    font-size: calc(100vw / 32);
  }
}
.tel {
  display: flex;
}

/* トップへ戻るボタン */
#page_top {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4eb5b8;
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 40px;
  right: 40px;
  font-size: 70%;
  text-align: center;
  color: #fff;
  cursor: pointer;
  z-index: 990;
  border-radius: 10px;
}
@media screen and (max-width: 1081px) {
  #page_top {
    font-size: 100%;
  }
}
@media screen and (max-width: 768px) {
  #page_top {
    width: 16vw;
    height: 16vw;
    max-width: 80px;
    max-height: 80px;
    position: fixed;
    bottom: 10vw;
    right: 5vw;
  }
}

/* svgの設定 */
/* メールアイコン */
svg {
  width: 100%;
  height: auto;
}
.mail_icon {
  display: inline-block;
  width: 20px;
  height: 17px;
}
.mailicon_b {
  fill: #212929;
}
.mailicon_g {
  fill: #4eb5b8;
}
