html {
  scroll-behavior: smooth;
}
body {
  margin: 0px;
  font-size: 20px;
  line-height: 1.75;
  font-feature-settings: "palt";
  font-family: YuGothic, "Yu Gothic Medium", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
img {
  border: none;
  margin: 0px auto;
  padding: 0px;
  height: auto;
  display: block;
  width: 100%;
}
a {
  text-decoration: none;
  color: black;
}
a img:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
  transform: translate(2px, 2px);
}
.pc {
  display: block;
}
.sp {
  display: none;
}
ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
p {
  font-size: 1em;
  line-height: 2;
}
h1,
h2,
h3,
h4 {
  text-align: center;
  letter-spacing: 0.1em;
}

header,
article {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
section h2 {
  border: 2px solid #3d624a;
  color: #3d624a;
  border-radius: 1em;
  display: table;
  padding: 0.15em 0em;
  margin: 2em auto 0;
  width: 60%;
}

section#main {
  background: url(img/main_bg.jpg) no-repeat;
  background-size: contain;
  margin-top: 2em;
}
#main h3 {
  font-weight: normal;
  font-size: 1.5em;
}

#main h1 {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝",
    "ＭＳ 明朝", serif;
  font-size: 2em;
  margin: 0 auto;
}
#main h1 b {
  font-size: 2em;
}
#main img {
  width: 88%;
  max-width: 1060px;
  margin: 0 auto 2em;
}

#map iframe {
  width: 88%;
  max-width: 1060px;
  margin: 0 auto 2em;
  display: block;
  height: 30em;
}
#map img {
  width: 24.5em;
  margin: 2em auto 0.5em;
}
#map h3 {
  font-size: 3.5em;
  margin: 0 auto 0.75em;
}
#map h3::before {
  content: "TEL.";
  display: inline-block;
  vertical-align: bottom;
  font-size: 0.75em;
  font-weight: normal;
}

#location h1 {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝",
    "ＭＳ 明朝", serif;
  font-size: 2em;
  margin: 1em auto;
  font-weight: normal;
}
#location ol {
  display: flex;
  justify-content: center;
  width: 80%;
  margin: 0 auto 2em;
}
#location ol li {
  width: 33%;
  border-right: 1px solid black;
  box-sizing: border-box;
}
#location ol li:last-of-type {
  border: none;
}
#location ol li h3 {
  font-size: 1.75em;
  margin: 0;
}
#location ol li h4 {
  font-size: 1.75em;
  font-weight: normal;
  margin: 0;
  line-height: 1;
}
#location ol li h4 b {
  font-size: 2.5em;
  color: #99c654;
  vertical-align: -10%;
  line-height: 1;
}

.location {
  background: url(img/location_bg.jpg) no-repeat;
  background-size: contain;
  padding-top: 31em;
}
.location ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.5em;
  row-gap: 1.5em;
  width: 80%;
  margin: 0 auto;
}
.location ul p {
  font-size: 1.25em;
  text-align: center;
  line-height: 1.35;
  margin: 0.5em 0 0;
}

section#gaiyou {
  background: url(img/gaiyou_bg.jpg) no-repeat;
  background-size: contain;
}
#gaiyou div {
  width: 80%;
  margin: 0 auto;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝",
    "ＭＳ 明朝", serif;
}
#gaiyou h3 {
  font-size: 2.75em;
  margin: 1.5em auto 0.5em;
  font-weight: normal;
  color: #99c654;
  border-bottom: 0.1em solid #99c654;
  letter-spacing: 0.4em;
}
#gaiyou h3 span {
  font-size: 0.85em;
}
#gaiyou p {
  font-size: 1.65em;
  line-height: 1.65;
  padding: 0;
}
.toshi table {
  margin: 0 auto;
}
.toshi table td {
  padding: 0em 1em;
  letter-spacing: 0.2em;
}
.toshi table td p {
  margin: 0;
}
.bukken p {
  display: table;
  margin: 0 auto;
}
.kaihatsu img {
  width: 80%;
}
.kaihatsu p {
  text-align: center;
  margin: 0.25em auto 0em;
  letter-spacing: 0.2em;
}
.hanbai h3 span {
  font-size: 0.75em;
}
.hanbai td {
  width: 50%;
  text-align: center;
}
.hanbai img {
  width: 90%;
  margin: 0 auto 1em;
}
.hanbai p {
  font-size: 0.75em;
  margin: 0.25em auto 0em;
}

.kaisya ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.5em;
  row-gap: 1.5em;
}

#kukaku {
  box-sizing: border-box;
  padding: 1em 5% 14em;
  background: #ffe264;
  margin-top: 4em;
}
#kukaku h1,
#kukaku h2 {
  font-size: 3em;
  letter-spacing: 0.2em;
  border: none;
  color: #3d624a;
  border-radius: 1em;
  display: table;
  padding: 0em 0em;
  margin: 1em auto 1em;
  background: white;
  width: 90%;
}
img.kukaku_logo {
  width: 50%;
  margin: 0em auto;
}
#kukaku h3 {
  font-size: 4em;
  margin: 0 auto 0.25em;
}
#kukaku h3::before {
  content: "TEL.";
  display: inline-block;
  vertical-align: bottom;
  font-size: 0.85em;
  font-weight: normal;
}
#kukaku ul li {
  width: 90%;
  margin: 0 auto 2em;
}

nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
}

@media (max-width: 1199px) {
  body {
    font-size: 1.66vw;
  }
}

@media (max-width: 899px) {
  .kukaku_map {
    height: auto;
    width: 100%;
    overflow-x: scroll;
    overflow-y: clip;
  }
  .kukaku_map::-webkit-scrollbar {
    background: #eee;
  }
  .kukaku_map::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 1em;
  }
  .kukaku_map img {
    width: 900px;
    height: auto;
  }
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  #kukaku h4 {
    font-size: 1.25em;
    background: rgba(255, 255, 255, 0.65);
    padding: 0.25em 2em;
    margin-top: 0.5em;
  }
}

/*------------------------------------------------------------
    モーダル
------------------------------------------------------------*/
body.fixed {
  overflow: hidden;
}

/* 歌詞を見るボタン */
.flex-child .kukaku-btn {
  /* background-color: #fff; */
  /* padding: 1em; */
  /* text-align: center; */
  /* margin-bottom: 0; */
  /* border: 1px solid #be3c00; */
  /* color: #be3c00; */
  /* margin: 0 1em 1em !important; */
}
/* .flex-child .kukaku-btn:hover {
  background-color: #be3c00;
  border: 1px solid #be3c00;
  color: #ffffff;
  transition: all 0.2s ease;
} */
button.kukaku-btn {
  /* background-color: #fff; */
  /* padding: 1.35em 1em !important; */
  width: 100%;
  padding: 0;
  border: none;
  background-color: #ffe264;
  /* margin: 0 auto 1em !important; */
  /* padding: 0 !important; */
  /* margin: 0 !important; */
}
/* 楽曲カラム */
[class^="flex-col"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flex-child {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  box-sizing: border-box;
  /* border: 1px solid #dadada; */
}

.flex-col3::after,
.flex-col3 .flex-child {
  width: calc((100% + 3px) / 3);
  margin-top: -1px;
  margin-left: -1px;
}
.flex-col3::after {
  content: "";
}

/* モーダル部分 */

.layer {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s linear, visibility 0.7s linear, z-index 0.7s linear;
}

.layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.layer.is-open {
  z-index: 999;
  opacity: 1;
  visibility: visible;
}

.layer.is-open .modal {
  opacity: 1;
  visibility: visible;
}

.modal-button-wrap {
  position: absolute;
  right: -1em;
  top: -1em;
  display: inline-flex;
  z-index: 3;
}

.close-button {
  position: relative;
  width: 39px;
  height: 39px;
  background: #fbce66;
  border-radius: 50%;
  padding: 0;
  border: transparent;
  cursor: pointer;
}

.close-button span {
  width: 25px;
  height: 2px;
  background: #fff;
  display: inline-block;
  position: absolute;
  left: calc(50% - 12px);
  top: 50%;
  border-radius: 20px;
}

.close-button span:nth-child(1) {
  transform: rotate(45deg) translate(-1px, -1px);
}

.close-button span:nth-child(2) {
  transform: rotate(-45deg) translate(1px, -1px);
}

.modal {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  width: 80%;
  max-width: 800px;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0.4s linear, opacity 0.4s linear;
}

.modal-inner {
  /* margin-top: 125px;
    margin-bottom: 125px; */
  position: relative;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 21px;
  display: block;
  padding: 21px 8px 21px;
  height: auto;
}

.modal .modal-text {
  padding-top: 15px;
  padding-bottom: 23px;
  overflow: scroll;
  overflow-y: auto;
  max-height: 800px;
}

.modal .modal-text h3 {
  text-align: center;
  background-color: #fff;
  color: #000;
  font-size: 21px;
  margin-bottom: 0;
}

.modal .modal-text p {
  text-align: center;
}

.modal-button-area {
  max-width: 843px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 17px;
  padding-top: 15px;
}

.button {
  background: orange;
  border-radius: 12px;
  box-shadow: 2px 4px 6px 3px rgba(0, 0, 0, 0.24);
  border: 1px solid orange;
  font-size: 16px;
  line-height: 1.6;
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .modal .modal-text {
    max-height: 740px;
  }
}

@media screen and (max-width: 575px) {
  .modal {
    width: 90%;
  }
  .modal-inner {
    margin-top: 40px;
  }
  .modal .modal-text {
    max-height: 550px;
  }
  .modal .modal-text h3 {
    font-size: 18px;
  }

  .modal .modal-text p {
    font-size: 14px;
  }
}

/* モーダルのリンクを開かない */
.is-link-out {
  pointer-events: none;
}