body {
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.2rem;
}
p {
  font-size: 18px;
}
li {
  list-style: none;
}
a {
  display: block;
  color: #000;
  text-decoration: none;
  font-size: 18px;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
}
/* --------
header
----------*/
#header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  align-items: center;
  height: 100px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.4);
}
.logo {
  width: 19%;
  padding-left: 32px;
}
.gnav {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.gnav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 45vw;
}
.gnav ul li a {
  color: #fff;
  position: relative; 
    display: inline-block;

}
.gnav ul li {
  position: relative;
}
.gnav ul li:last-of-type {
  margin-right: 3vw;
}
.gnav ul li a::after {
    position: absolute;
    content: "";
    background: #fff;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -19px;
    transition: 0.2s width ease-in;
}
.gnav ul li a.checked::after {
    width: 7px;
    height: 7px;
    border-radius: 50px;
}
.gnav .local-nav {
  display: none;
  position: absolute;
  top: 50px; /* 親要素の下に表示 */
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  width: 210px;
}
.gnav_item:hover .local-nav {
  display: block; /* ホバー時に表示 */
}
.local-nav li {
}
.local-nav li a {
  display: block;
  padding: 15px 0 15px 8px;
  letter-spacing: 0.2em;
}
.h_tel {
  padding: 16px 0px;
  border: 1px solid #ffffff;
  width: 440px;
  margin-right: 32px;
}
.h_tel_inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.h_tel_inner a {
  color: #fff;
  font-size: 30px;
  letter-spacing: 0.2rem;
}
.h_tel img {
  padding-right: 10px;
  width: 25px;
}

/* ----------
main
-------------*/
.pc {
  display: block;
}
.sp {
  display: none;
}
.ttl {
  text-align: center;
  position: relative;
}
.ttl h1 {
  font-size: 50px;
  color: #18346a;
  margin-bottom: 10px;
  letter-spacing: 0.2rem;
  font-weight: 600;
  font-family: "Noto Serif JP", serif;
}
.ttl h3 {
  font-size: 30px;
  color: #333333;
  font-family: "Noto Serif JP", serif;
}
.ttl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 36%;
  transform: translateY(-50%);
  height: 3px;
  width: 43%;
  background: #2f4b95;
}
.ttl::after {
  content: "";
  position: absolute;
  right: 0;
  top: 36%;
  transform: translateY(-50%);
  height: 3px;
  width: 43%;
  background: #2f4b95;
}
.c-30 {
  font-size: 30px;
}
.main-title-block {
  background: url(../img/main_bg.png) no-repeat center;
  background-size: cover;
  background-position: right bottom 43%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}
.main-title-block .main-title {
  font-family: "Noto Serif JP", serif;

  color: #fff;
  line-height: 1.3;
  text-align: center;
}
.main-title-block .cap {
  font-family: "Noto Serif JP", serif;
  padding: 0 0 1px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0;
  text-shadow: rgb(0, 0, 0, 0.5) 0 1px 8px;
}
.main-title-block .title {
  font-weight: 700;
  font-size: 34px;
  text-shadow: rgb(50, 38, 24, 0.5) 0 1px 24px;
  letter-spacing: 1.6px;
}
/* ----------
footer
-------------*/
#footer .container {
  background: url(../img/access_bg.jpg);
  background-size: cover;
}
#footer .flex {
  max-width: calc(1400px + 6%);
  padding: 150px 4%;
  margin: 0 auto;
  align-items: center;
}
#footer .map {
  width: 51%;
  height: 840px;
}
#footer .txt {
  width: 43.3%;
  font-family: "Noto Serif JP", serif;
}
#footer .txt p {
  text-align: center;
  margin-top: 40px;
  line-height: 2;
}
.f_kamoku {
  display: flex;
  justify-content: center;
  margin: 60px 0 80px;
  gap: 20px;
}
.f_box {
  padding: 10px;
  background: #18346a;
  text-align: center;
  display: flex;
  align-items: center;
  width: 52%;
  justify-content: center;
}
.f_tel a {
  font-size: 30px;
}
.f_reservation a {
  font-size: 20px;
}
.f_tel img {
  width: 25px !important;
  height: 25px;
  margin: 0 10px 0 0 !important;
}

.f_reservation img {
  width: 40px !important;
  margin: 0 10px 0 0 !important;
}
.f_box a {
  color: #ffffff;
}

#footer .time p {
  text-align: left;
}
.f_list {
  padding: 3% 0;
}
#footer .f_list .flex {
  max-width: 1280px;
  padding: 0;
  justify-content: flex-start;
  align-items: flex-start;
}

.f_ttl {
  font-size: 30px;
  padding-bottom: 40px;
  color: #18346a;
  font-family: "Noto Serif JP", serif;
}
.f_list_txt {
  width: 47%;
}
.f_list_txt ul {
  padding-left: 3rem;
}
.f_list_txt li {
  font-size: 18px;
  padding-left: 30px;
  margin-bottom: 30px;
  position: relative;
}
.f_list_txt li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  background: url(../img/arw_right.png) no-repeat top center / contain;
  width: 8px;
  height: 12px;
  transform: translateY(-50%);
}

.copy {
  background: #18346a;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  padding: 2rem 0;
}
.pc_flooting {
  position: fixed;
  right: 0;
  top: 200px;
}
.pageTop {
  background-color: #48b2f5;
  border-radius: 50px;
  width: 54px;
  height: 54px;
  position: fixed;
  bottom: 110px;
  right: 80px;
}
.pageTop a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pageTop img {
  width: 23px;
  height: 12px;
}

@media screen and (max-width: 1400px) {
  .h_tel_inner a {
    font-size: 24px;
  }
  .ttl::before,
  .ttl::after {
    width: 39%;
  }
}
@media screen and (max-width: 1280px) {
  .gnav {
    width: 60%;
  }
  .h_tel {
    width: 290px;
  }
}
@media screen and (max-width: 768px) {
  body {
    letter-spacing: 0.1rem;
  }
  #header {
    justify-content: space-between;
    display: block;
    height: 54px;
  }

  p {
    font-size: 16px;
    line-height: 1.6;
  }
  .logo {
    width: 55%;
    padding: 10px 0 0 15px;
  }
  .gnav {
    background-color: #18346a;
    display: none;
    height: 100vh;
    position: absolute;
    top: 0;
    width: 100%;
  }
  .gnav ul {
    display: block;
    margin: 0;
    padding: 64px 0 0 22px;
    width: 100%;
  }
  .gnav ul li {
    padding: 10px;
    position: relative;
  }
  .gnav ul li:last-of-type {
    margin-right: 0;
  }
  .gnav ul li a {
    position: static;
    display: unset;
  }
  .gnav ul li a::after {
    content: "";
    width: 14px;
    height: 12px;
    display: inline-block;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: url(../img/arw_w_r.png) no-repeat center center / contain;
    bottom: unset;
    left: unset;
  }
  .gnav .local-nav {
    display: none;
    padding-left: 16px;
    position: static;
    padding: 20px 15px;
    width: auto;
    background: unset;
  }
  .gnav .local-nav a {
    padding: 0;
  }
  .gnav .local-nav a::after {
    content: unset;
  }
  .gnav ul li:nth-of-type(4) a::after {
    content: unset;
  }
  .plus {
    position: absolute;
    top: 14px;
    width: 14px;
    height: 14px;
    right: 70px;
    color: #fff;
     transition: transform 0.3s ease; /* 回転用 */
  }
  .plus::before,
  .plus::after {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    background-color: currentColor;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    width: 14px;
    height: 2px;
  }
  .gnav_item.open .plus {
    transform: rotate(90deg);
  }
  .plus::after {
    width: 2px;
    height: 14px;
  }
.gnav_item.open .plus::after {
  opacity: 0; /* 縦棒を消す（横棒だけ残る）*/
}  .menu-btn {
    display: block;
    pointer-events: all;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 1001;
    background-color: #18346a;
    border: unset;
  }
  .menu-btn .bar {
    display: block;
    position: absolute;
    width: 22px;
    height: 2px;
    left: 8px;
    background: #fff;
  }
  .menu-btn .bar:nth-of-type(1) {
    top: 11px;
    transition: 0.3s;
  }
  .menu-btn .bar:nth-of-type(2) {
    top: 19px;
  }
  .menu-btn .bar:nth-of-type(3) {
    top: 27px;
    transition: 0.3s;
  }
  .menu-btn.active .bar:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
    transition: 0.3s;
  }
  .menu-btn.active .bar:nth-child(2) {
    top: 22px;
    opacity: 0;
  }
  .menu-btn.active .bar:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
    transition: 0.3s;
  }

  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .c-30 {
    font-size: 20px;
  }
  .ttl h1 {
    font-size: 30px;
  }
  .ttl h3 {
    font-size: 20px;
  }
  .ttl::before {
    width: 20%;
    top: 34%;
  }
  .ttl::after {
    width: 20%;
    top: 34%;
  }
  #footer .container {
    background: url(../img/access_bg_sp.jpg);
    background-size: contain;
    background-position: 100% 82%;
  }
  #footer .flex {
    padding: 0 0 60px;
  }
  #footer .map {
    width: 100%;
    height: 380px;
  }
  #footer .txt {
    width: auto;
    margin: 80px 0 0;
  }
  #footer .txt img {
    width: 360px;
  }
  #footer .txt p {
    margin-top: 30px;
  }
  .f_kamoku {
    display: block;
    margin: 30px 0 40px;
  }
  .f_box {
    width: 270px;
    margin: 0 auto;
  }
  .f_tel {
    margin-bottom: 40px;
  }
  .f_reservation a {
    font-size: 18px;
  }
  #footer .time p {
    margin-top: 10px;
  }
  .sp_flooting {
    position: fixed;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 75px; /* 最後だけ固定幅 */
    background-color: #fff;
    width: 100%;
    padding: 3px;
    gap: 3px;
  }
  .sp_flooting .sp_tel_btn {
    background-color: #18346a;
    padding: 5px 0;
  }
  .sp_flooting .sp_web {
    background-color: #003eb5;
    padding: 5px 0;
  }
  .sp_flooting .sp_web_interview {
    background-color: #2a75f1;
    padding: 5px 0;
  }
  .sp_flooting .sp_tel_btn a,
  .sp_flooting .sp_web a,
  .sp_flooting .sp_web_interview a {
    color: #fff;
    text-align: center;
    display: block;
  }
  .sp_flooting .sp_tel_btn p,
  .sp_flooting .sp_web p,
  .sp_flooting .sp_web_interview p {
    font-size: 18px;
  }
  .sp_flooting .sp_tel_btn img {
    width: 25px;
    margin: 0 auto;
  }

  .sp_flooting .sp_web img,
  .sp_flooting .sp_web_interview img {
    width: 30px;
    height: 30px;
    margin: 0 auto;
  }
  .copy {
    margin: 0 0 73px;
  }
  .page_top {
    background-color: #48b2f5;
  }
  .page_top img {
    width: 30px;
    margin: 0 auto;
    padding: 25px 0 0;
  }
}
