body {
  font-family: "Noto Serif JP", YuMincho, "Hiragino Mincho ProN", serif !important;
  background-color: #f8f8f8 !important;
}

h1 {
  font-size: 2.3em;
  margin: 0 0 2em;
  font-weight: normal;
}

h2 {
  font-size: 21px;
  margin-top: 40px;
  margin-bottom: 10px;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 160px;
  padding: 170px 0 0;
}

.container section {
  padding: 0;
}

/*ヘッダー　ーーーーーーーーーーーーーーーーーーーーーーーー*/
header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  width: 100%;
  padding: 0 1.5em;
  box-sizing: border-box;
  z-index: 9999;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 2em;
}

.logo img {
  height: 90px;
}

/*他ページヘッダー　ーーーーーーーーーーーーーーーーーーーーーーーー*/
.other-header {
  background-color: #f8f8f8;
  display: flex;
  justify-content: space-between;
}

.other-header nav a {
  color: #222222;
}

/* ナビメニュー ーーーーーーーーーーーーーーーーーーーーーーーー*/
.hamburger {
  margin: auto 0;
  width: 100%;
  display: flex;
  align-items: center;
}

.hamburger .btn-gNav {
  position: fixed;
  top: 8px;
  right: 20px;
  width: 30px;
  height: 24px;
  z-index: 12;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

.hamburger .btn-gNav span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #04afcd;
  border-radius: 10px;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

.hamburger .btn-gNav span:nth-child(1) {
  top: 0;
}

.hamburger .btn-gNav span:nth-child(2) {
  top: 10px;
}

.hamburger .btn-gNav span:nth-child(3) {
  top: 20px;
}

.hamburger .btn-gNav.open span:nth-child(1) {
  background: #ffffff;
  top: 10px;
  transform: rotate(45deg); /* 時計回りに45度回転 */
}

.hamburger .btn-gNav.open span:nth-child(2) {
  background: transparent;
}

.hamburger .btn-gNav.open span:nth-child(3) {
  background: #ffffff;
  top: 10px;
  transform: rotate(-45deg); /* 反時計回りに45度回転 */
}

.btn-gNav {
  display: none;
}

.gNav {
  width: 100%;
}

.gNav .gNav-menu {
  display: flex;
  justify-content: space-between;
}

.gNav .gNav-menu li {
  margin: 0 auto;
  padding: 0 5px;
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 2em;
}

nav ul,
.add-list-sp ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2em;
  flex-wrap: nowrap;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: #04afcd;
}

/*外部リンクページーーーーーーーーーーーーーーーーーーーーーーーー*/
.link-info h4 {
  margin: 0.1em 0;
}

.link-title {
  letter-spacing: 0.4em;
}

.link-facility {
  letter-spacing: 0.2em;
}

.link-list {
  border-top: 1px solid #ccc;
}

.link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #dddddd;
}

.link-info {
  max-width: 70%;
}

.link-info .title {
  font-size: 16px;
  font-weight: bold;
}

.link-info .address {
  font-size: 14px;
  color: #777777;
  margin-top: 4px;
  padding-left: 20px;
  position: relative;
}

.address:before {
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("../img/icon/link-mapicon.png");
  left: 0;
  top: 3px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.link-button {
  width: 260px;
  background-color: #ffff;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  width: 32%;
  position: relative;
  padding: 1em 2em;
}

.link-button a {
  width: 100%;
  color: #00aac7;
  padding-left: 5px;
  text-decoration: none;
}

.link-button a::before {
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("../img/icon/browser-icon.png");
  left: 10px;
  top: 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/*サイトマップ　ーーーーーーーーーーーーーーーーーーーーーーーー*/

.sitemap h1 {
  font-size: 2.625em;
  margin: 0 0 2.3em;
  font-weight: normal;
}

.sitemap section {
  padding: 80px 0 0 0;
  max-width: 100%;
  margin: 0 auto;
}

.sitemap h2 {
  font-size: 1.75em;
  margin-top: 0;
  font-weight: normal;
}

.h2margin {
  margin-top: 60px;
}

.sitemap ul {
  list-style: none;
  padding: 0;
}

.sitemap li {
  font-size: 1.1em;
  background: #fff;
  margin: 0;
  padding: 1.5em 1.5em;
  border-bottom: 1px solid #dddddd;
}

.sitemap a {
  text-decoration: none;
  color: #222;
  position: relative;
}

.sitemap a:hover {
  color: #04afcd;
}

.sitemap a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #04afcd;
  bottom: -1px; /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1); /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}

a:hover::after {
  transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}

.blue-line {
  position: relative;
}

.blue-line::before {
  content: "";
  position: absolute;
  top: 0px;
  width: 11%;
  height: 2px;
  background: #04afcd;
}

/* プライバシーポリシー   ーーーーーーーーーーーーーーーーーーーーーーーー*/

.privacy-section h1 {
  font-weight: normal;
  margin: 0 0 2.3em;
  font-size: 2.3em;
  letter-spacing: 0.2em;
}

.privacy-section h2 {
  font-size: 1.5em;
  font-weight: normal;
}

.privacy-section p {
  font-size: 1em;
  line-height: 200%;
  padding: 0.4em 0 0.3em 1em;
}

.privacy-section ul {
  font-size: 1em;
  line-height: 200%;
  padding: 1em 0 0.4em 1em;
  margin: 0;
}

.privacy-section li {
  list-style: none;
  padding: 0.4em 0 0.4em 1.8em;
}

.privacy-intro {
  text-align: center;
}

.underline,
.underline02 {
  padding-bottom: 13px;
  font-weight: bold;
  position: relative;
  border-bottom: 2px solid #dddddd;
}

.underline::before,
.underline02::before {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 10%;
  height: 3px;
  background: #04afcd;
}

.contact-caption {
  text-align: center;
  margin: 90px 0 1.4em 0;
}

.contact-box {
  max-width: 1100px;
  width: 100%;
  height: 300px;
  background-color: #fff;
  display: flex;
  align-items: center;
  margin-bottom: 160px;
}

.contact-img {
  width: 40%;
  object-fit: cover;
  height: 300px;
}

.contact-box p {
  font-size: 1.32em;
  font-weight: bold;
  letter-spacing: 0.3em;
  margin: 1.2em 0 0.8em 0;
}

.contact-info {
  margin: 0 auto;
}

.contact-title {
  font-size: 1.8em;
  font-weight: bold;
  letter-spacing: 0.2em;
}

.contact-address {
  font-size: 0.94em;
}

.contact-details {
  font-size: 0.9em;
  padding-top: 0.4em;
  display: flex;
  gap: 30px;
}

.contact-details div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  width: 16px;
  height: 16px;
}

/* 各施設利用の注意事項 ーーーーーーーーーーーーーーーーーーーーーーーー*/

.attention-section h2 {
  font-size: 1.5em;
  font-weight: normal;
}

.attention-section ol {
  font-size: 1em;
  line-height: 170%;
}

.attention-section ul {
  padding: 0;
}

.before_attention_dot {
  list-style: none;
  text-indent: -1em;
  padding-left: 1em;
}

.before_attention_dot::before {
  content: " ・ "; /* 要素の中身指定 */
}

.attention-section li {
  font-size: 1em;
  line-height: 170%;
  margin-top: 0.4em;
}

.attention-section ul li {
  list-style: none;
}

.attention-footer {
  margin-top: 160px;
}

/* 会社概要 ーーーーーーーーーーーーーーーーーーーーーーーー*/

.company-section h1 {
  font-weight: normal;
  margin: 0 0 2.3em;
  font-size: 2.3em;
  letter-spacing: 0.2em;
}

.company-section h2 {
  font-size: 1.5em;
  font-weight: normal;
  margin: 0;
}

.company-section dl {
  margin: 0;
}

.company-section dd {
  margin: 0;
}

.information {
  margin-top: 4.375em;
}

.information h2 {
  margin: 0;
}

.flex {
  display: flex;
  padding: 2.25em 0;
  border-bottom: 1px solid #dddddd;
  width: 100%;
}

.flex dt {
  width: 30%;
}

.flex dd {
  width: 70%;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.company-map {
  position: relative;
  width: 100%;
  padding-top: 42.85%; /* 16:9のアスペクト比 */
  height: 0;
  margin-bottom: 2em;
}

.flex-column iframe {
  margin-top: 1.25em;
  max-width: 820px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.link-box {
  background-color: #fff;
  padding: 2em;
  background-image: url("../img/icon/new_window.png");
  background-position: right 30px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.link-box a {
  color: #04afcd;
}

/* お問い合わせ ーーーーーーーーーーーーーーーーーーーーーーーー*/

.form-section h1 {
  font-weight: normal;
  margin: 0 0 2.3em;
  font-size: 2.3em;
  letter-spacing: 0.2em;
}

.form-section p {
  margin: 0 0 3.1em;
  font-size: 0.9em;
  text-align: center;
}

.form-section a {
  text-decoration: none;
}

.input-form {
  display: flex;
  align-items: center;
  margin-bottom: 1.9em;
}

.input-form02 {
  display: flex;
  align-items: top;
  margin-bottom: 1.9em;
}

.input-form label,
.input-form02 label {
  width: 25%;
  font-size: 0.9em;
}

.input-form input,
.input-form02 input {
  width: 75%;
  height: 70px;
  border: #dddddd;
}

.input-form textarea,
.input-form02 textarea {
  width: 75%;
  height: 300px;
  border: #dddddd;
}

.button-form {
  width: 330px;
  height: 60px;
  margin: 70px auto 0;
  border-radius: 100px;
  background-color: #04afcd;
  box-shadow: 0px 0px 15px 6px rgb(24, 223, 238, 0.28);
  background-image: url("../img/icon/button_arrow.png");
  background-position: right 23px center;
  background-repeat: no-repeat;
  background-size: 13px 13px;
}

.button-form p {
  color: #fff;
  text-align: center;
  font-weight: bold;
  line-height: 60px;
  height: 60px;
}

input::placeholder {
  color: #ddd;
  padding-left: 0.8em;
}

textarea::placeholder {
  color: #ddd;
  padding: 1.5em 0.8em;
}

.must {
  color: #fd0d11;
}

/*お問い合わせ確認*/
.confirm-area {
  width: 100%;
}

.confirm-area table {
  width: 100%;
}

.confirm-area th {
  text-align: start;
  width: 25%;
}

.confirm-area td {
  padding: 40px 0;
  font-size: 16px;
}

.message {
  vertical-align: top;
  padding: 40px 0;
}

/*お問い合わせかんりょう*/
.form-complete {
  width: 100%;
  margin: 150px auto;
  text-align: center;
}

.form-complete h2 {
  font-size: 1.8em;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 0.5em;
}

.form-complete p {
  font-size: 16px;
  line-height: 32px;
}

/* @media (max-width: 1200px) ーーーーーーーーーーーーーーーーーーーーーーーー*/

@media (max-width: 1200px) {
  header {
    padding: 0 1em 0 0;
    height: 80px;
  }

  nav {
    padding-right: 0;
    font-size: 1em;
  }

  nav ul {
    gap: 1em;
  }

  ul .gNav {
    padding-right: 0;
  }

  .logo img {
    height: 60px;
  }
}

/* @media (max-width: 1025px) ーーーーーーーーーーーーーーーーーーーーーーーー*/

@media (max-width: 1025px) {
  header {
    padding: 0;
    justify-content: space-between;
  }

  nav {
    margin-left: auto;
    width: auto;
  }

  .other-header nav a,
  .other-header a {
    color: #fff;
    text-decoration: none;
  }

  .btn-gNav {
    display: block;
  }

  .gNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100dvh;
    background-color: rgba(4, 175, 205, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    font-size: 16px;
    box-sizing: border-box;
    z-index: 1;
    padding-top: 0;
    transition: 0.3s;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .gNav {
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .gNav.open {
    right: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
  }

  .gNav.open .nav-links {
    display: flex;
  }

  .gNav-menu {
    padding: 0;
    width: 100%;
    height: auto;
    display: block;
    flex-direction: column;
    font-size: 1.1em;
  }

  .gNav .gNav-menu li {
    width: 85%;
    padding: 12px;
  }

  .gNav img {
    max-width: 100px;
    padding: 1.5em 2em;
  }

  .nav-logo {
    width: 100%;
  }

  .add-list-sp {
    display: flex;
    justify-content: space-between;
    border-top: solid 1px #fff;
    padding-top: 2em;
    width: 85%;
    margin: auto;
    font-size: 0.9em;
  }

  .add-list-sp ul {
    display: flex;
    flex-direction: column;
    color: #fff;
    width: 44%;
    gap: 5px;
  }

  .gnav-contact-box {
    position: relative;
  }

  .gnav-contact-box a {
    display: block;
    background-color: #ffffff6b;
    color: #fff;
    padding: 0.8em;
    width: 82%;
    margin: 1.5em auto;
    text-align: center;
  }

  .gNav-address {
    margin: 2em auto 1.5em;
    width: 85%;
    color: #fff;
  }

  .gNav-address h4 {
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 0.2em 0;
  }

  .gNav p {
    margin: 0;
    font-size: 0.9em;
  }

  .gNav span {
    font-size: 0.9em;
  }

  .gNav-address img {
    margin: 2px 0 0;
    padding: 2px !important;
  }

  .gNav-tell {
    display: flex;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  /* プライバシーポリシー  */
  .contact-details {
    flex-direction: column;
    gap: 0.5em;
  }

  .contact-title {
    font-size: 1.6em;
  }

  .contact-box p {
    font-size: 1.2em;
    letter-spacing: 0.1em;
  }
}

/* @media (max-width: 700px) ーーーーーーーーーーーーーーーーーーーーーーーー*/

@media (max-width: 700px) {
  .container {
    padding-top: 110px;
  }

  h1 {
    font-size: 1.7em;
    margin-bottom: 1.8em;
  }

  .logo {
    margin-left: 1.2em;
    margin-top: 1em;
  }

  .link-item {
    flex-direction: column;
    justify-content: flex-start;
  }

  .link-info {
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.5em 0.2em;
  }

  .link-button {
    width: 90%;
  }

  .sp-center {
    text-align: center;
    font-size: 1.4em;
  }

  /* サイトマップ */

  .sitemap h1 {
    font-size: 1.75em;
    margin-bottom: 20px;
  }

  .sitemap h2 {
    font-size: 1.1em;
    margin-bottom: 0px;
  }

  .sitemap li {
    font-size: 0.9em;
    background: #fff;
    margin: 0;
    padding: 1.3em 1.1em;
    border-bottom: 2px solid #f8f8f8;
  }

  .sitemap section {
    padding: 40px 0 0 0;
    max-width: 100%;
    margin: 0 auto;
  }

  .sitemap ul {
    list-style: none;
    margin: 10px 0;
    padding: 0;
  }

  .underline::before,
  .underline02::before {
    content: "";
    position: absolute;
    bottom: -10px;
    width: 15%;
    height: 2px;
    background: #04afcd;
  }

  /* プライバシーポリシー */

  .privacy-section h1 {
    font-size: 1.7em;
    margin-bottom: 1.8em;
  }

  .privacy-section p {
    line-height: 170%;
    padding: 0;
    letter-spacing: -0.01em;
  }

  .privacy-section h2 {
    font-size: 1.3em;
    font-weight: normal;
    margin-top: 50px;
  }

  .privacy-section ul {
    font-size: 1em;
    line-height: 170%;
    padding: 0.5em 0;
    margin: 0;
  }

  .privacy-section li {
    list-style: none;
    padding: 0.3em 0;
  }

  .contact-caption {
    text-align: center;
    margin-top: 70px;
    font-size: 0.85em;
  }

  .contact-box {
    flex-direction: column;
    height: auto;
  }

  .contact-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .contact-title {
    font-size: 1.4em;
    text-align: center;
  }

  .contact-box p {
    font-size: 1.15em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.1em;
    margin: 1em 0 0.8em 0;
  }

  .contact-info {
    padding: 1.5em 1em;
  }

  .contact-details {
    font-size: 0.9em;
    padding-top: 0.4em;
    flex-direction: column;
    gap: 5px;
  }

  .underline::before,
  .underline02::before {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 15%;
    height: 2px;
    background: #04afcd;
  }

  .icon {
    width: 16px !important;
    height: 16px !important;
  }

  /* 各施設利用の注意事項 */
  .attention-section h2 {
    font-size: 1.25em;
    font-weight: normal;
  }

  .attention-section ol {
    width: 92%;
    font-size: 1em;
    line-height: 170%;
    padding: 0;
    margin-left: auto;
  }

  .attention-footer {
    margin-top: 160px;
  }

  /* 会社概要 */
  .company-section h1 {
    font-size: 1.7em;
    margin-bottom: 1.8em;
  }

  .company-section h2 {
    font-size: 1.25em;
    font-weight: normal;
  }

  .company-section dt {
    font-size: 0.8em;
    margin-bottom: 0.8em;
  }

  .link-box {
    font-size: 0.9em;
    padding: 2em 1em;
    background-image: url(../img/icon/new_window.png);
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
  }

  .flex {
    flex-direction: column;
    padding: 1.9em 0;
  }

  .flex dt {
    width: 100%;
  }

  .flex dd {
    width: 100%;
  }

  .company-map {
    position: relative;
    width: 100%;
    padding-top: 100%; /* InstagramなどSNSでよく使われる比率です。 */
    height: 0;
    margin-bottom: 2em;
  }

  .flex-column iframe {
    margin-top: 1.25em;
    max-width: 820px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* お問い合わせ */

  .form-section h1 {
    font-size: 1.7em;
    margin-bottom: 1.8em;
  }

  .form-section p {
    margin: 0 0 2.5em;
    font-size: 0.9em;
    text-align: center;
  }

  .input-form {
    flex-direction: column;
    margin-bottom: 2.5em;
  }

  .input-form label {
    width: 100%;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 0.8em;
  }

  .input-form input {
    width: 100%;
    height: 50px;
    border: #dddddd;
  }

  .input-form textarea {
    width: 100%;
    height: 312px;
    border: #dddddd;
  }

  .button-form {
    width: 333px;
    height: 50px;
    margin: 50px auto 0;
    border-radius: 100px;
    background-color: #04afcd;
    box-shadow: 0px 0px 15px 6px rgb(24, 223, 238, 0.28);
    background-image: url("../img/icon/button_arrow.png");
    background-position: right 13px center;
    background-repeat: no-repeat;
    background-size: 7px 11px;
  }

  .button-form p {
    color: #fff;
    text-align: center;
    font-weight: bold;
    line-height: 50px;
    height: 50px;
  }

  /*お問い合わせ確認*/
  .confirm-area table,
  .confirm-area tbody,
  .confirm-area tr,
  .confirm-area th,
  .confirm-area td {
    display: block;
    width: 100%;
  }

  .confirm-area th {
    padding: 8px 0;
    font-size: 11px;
  }

  .confirm-area td {
    padding-top: 0;
    padding-bottom: 1.5em;
  }

  .confirm-area tr {
    margin-bottom: 1em;
  }

  .message {
    padding: 8px 0;
  }

  .form-complete h2 {
    font-size: 24px;
  }
}

/* @media (max-width: 520px) ーーーーーーーーーーーーーーーーーーーーーーーー*/

@media (max-width: 520px) {
  .gNav .gNav-menu li {
    width: 90%;
    padding: 12px;
  }

  .gNav img {
    max-width: 80px;
    padding: 1.2em;
  }

  .add-list-sp {
    width: 90%;
    margin-top: 1em;
    padding-top: 2em;
  }

  .add-list-sp li {
    padding: 4px;
  }

  .gNav .gNav-menu li {
    padding: 8px;
  }

  .gnav-contact-box a {
    display: block;
    background-color: #ffffff6b;
    color: #fff;
    padding: 0.6em;
    width: 85%;
    margin: 2em auto;
    text-align: center;
    font-size: 0.9em;
  }

  .gNav-address {
    margin: 1.5em auto 1em;
    width: 90%;
    color: #fff;
  }

  .gNav-address h4 {
    font-size: 15px;
    font-weight: normal;
    margin: 0 0 0.2em 0;
  }

  input::placeholder {
    font-size: 14px;
  }

  textarea::placeholder {
    font-size: 14px;
    padding: 0.8em 0.8em;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 768px) {
    .gNav {
      height: calc(100vh - env(safe-area-inset-bottom));
    }
  }
}
