@import url(common.css);

/* お知らせセクションの書式設定 */

main section.osirase {
  padding-top: 76px;
  padding-bottom: 129px;
  background-image: url(../img/top/yugelogo1.png);
  background-repeat: no-repeat;
  background-position: 650px 20px;
}

main section.osirase dl {
  display: flex;
  justify-content: center;
  padding-bottom: 56px;
  gap: 72px;
}

main section.osirase div {
  flex-basis: 310px;
}

main section.osirase div dt {
  padding-bottom: 18px;
}

main section.osirase div dt a {
  transition: 0.1s;
}

main section.osirase div dt a:hover {
  opacity: 0.7;
}

main section.osirase div dd {
  line-height: normal;
}

main section.osirase div dd a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: 0.1s;
}

main section.osirase div dd a:hover {
  opacity: 0.6;
}

/* お知らせ一覧に行くボタンの設定 */
main section.osirase p.osiraseitiran a {
  text-align: center;
  font-size: 16px;
  background-color: #e2e0d5;
  background-image: url(../img/top/yajirushi.png);
  background-repeat: no-repeat;
  background-position: 150px 20px;
  display: block;
  max-width: fit-content;
  margin: 0 auto;
  padding: 13px 53px 13px 26px;
  transition: 0.1s;
}

main section.osirase p.osiraseitiran a:hover {
  transform: translate(1.5px, 1.5px);
}

/* ゆらくるで心ゆくまでの書式設定 */
main section.shoukai h2 {
  font-family: "BIZ UDPMincho";
  font-size: 50px;
  text-align: center;
  background-image: url(../img/top/yurakurudekokoroyukumade.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 319px;
  padding-bottom: 242px;
  color: #fff;
  text-shadow: #212121 2px 1px 10px;
  margin-bottom: 180px;
  &::after {
    content: "";
    display: block;
    background-color: #fff;
    max-width: 927px;
    margin: 13.5px auto 4.5px auto;
    height: 2px;
    border-radius: 1px;
  }
}

/* ゆらくる紹介の書式設定 */
/* フレックスボックス */
main section.shoukai {
  padding-bottom: 308px;
}

main section.shoukai .flex {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding-bottom: 120px;
}

.flexcontents {
  max-width: 411px;
}

main section .shoukai p img {
  flex-basis: 651px;
}

/* タイトルと紹介文の書式設定 */
main section.shoukai .flex h3 {
  font-family: "BIZ UDPMincho";
  font-size: 39px;
  padding-bottom: 51px;
  &::after {
    content: "";
    display: block;
    background-color: #000;
    max-width: 382px;
    margin: 13.5px 0 4.5px 0;
    height: 1px;
    border-radius: 1px;
  }
}

main section.shoukai .flex p {
  font-size: 22px;
  line-height: 40px;
  padding-bottom: 57px;
}

/* リラクゼーションの詳しく見るボタンだけ位置を上にずらす */
main section.shoukai .flex p.riraku {
  margin-bottom: -40px;
}

main section.shoukai .flex p a {
  font-size: 16px;
  background-color: #e2e0d5;
  background-image: url(../img/top/yajirushi.png);
  background-repeat: no-repeat;
  background-position: 115px 23px;
  display: block;
  max-width: fit-content;
  padding: 4px 54px 4px 22px;
  transition: 0.1s;
}

main section.shoukai .flex p a:hover {
  transform: translate(1.5px, 1.5px);
}

/* コンテンツを交互に表示する */
main section.shoukai .flex:nth-child(odd) {
  flex-direction: row-reverse;
}

/* ゆらくるのコンセプトパートの書式設定 */
main section.concept {
  text-align: center;
  padding-top: 227px;
  padding-bottom: 226px;
  margin-bottom: 118px;
  background-image: url(../img/top/onsen_background.png);
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

main section.concept h2 {
  font-family: "BIZ UDPMincho";
  font-size: 40px;
  padding-bottom: 30px;
}

main section.concept p {
  line-height: 42px;
  padding-bottom: 46px;
}

main section.concept p a {
  font-size: 16px;
  color: #000;
  background-color: #e2e0d5;
  background-image: url(../img/top/yajirushi.png);
  background-repeat: no-repeat;
  background-position: 145px 23px;
  display: block;
  max-width: fit-content;
  margin: 0 auto;
  padding: 4px 54px 4px 22px;
  transition: 0.1s;
}

main section.concept p a:hover {
  transform: translate(1.5px, 1.5px);
}

/* アクセスの書式設定 */
main section.access {
  text-align: center;
  padding-bottom: 200px;
  padding-top: 61px;
  background-image: url(../img/top/yugelogo1.png);
  background-repeat: no-repeat;
  background-position: 650px 0px;
}
main section.access .juusho {
  padding-bottom: 122px;
}

main section .juusho p:first-child {
  padding-bottom: 15px;
  font-size: 18px;
}

main section.access img {
  padding-bottom: 122px;
}

main section.access .maplink {
  display: flex;
  justify-content: center;
  gap: 58px;
}

main section.access .maplink p {
  flex-basis: 258px;
  white-space: nowrap;
}
main section.access .maplink p a {
  font-size: 16px;
  background-color: #e2e0d5;
  display: block;
  max-width: fit-content;
  padding: 14px 73px 14px 48px;
  transition: 0.1s;
}

main section.access .maplink p:first-child a {
  background-image: url(../img/top/yajirushi.png);
  background-repeat: no-repeat;
  background-position: 190px 18px;
}

main section.access .maplink p:last-child a {
  background-image: url(../img/top/yajirushi.png);
  background-repeat: no-repeat;
  background-position: 215px 18px;
}

main section.access .maplink p a:hover {
  transform: translate(1.5px, 1.5px);
}

/* 料金案内の書式設定 */
section.fee {
  padding-top: 130px;
  padding-bottom: 185px;
  background-image: url(../img/top/yugelogo1.png);
  background-repeat: no-repeat;
  background-position: 600px 0px;
}

/* テーブルの書式設定 */

main table {
  max-width: 1140px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: "BIZ UDPMincho";
  margin-bottom: 52px;
}

thead {
  background-color: #254c7a;
}

thead td {
  width: 500px;
}

thead th {
  width: 327px;
}

th {
  color: #fff;
  padding-bottom: 8px;
  padding-top: 8px;
}

.tdleft {
  text-align: left;
  padding-left: 3em;
  white-space: nowrap;
}

.gray td {
  background-color: #e3e1d6;
  padding-bottom: 30px;
  padding-top: 30px;
  font-size: 28px;
}
.blue td {
  background-color: #b1cbe9;
  padding-bottom: 30px;
  padding-top: 30px;
  font-size: 28px;
}

table span {
  font-size: 16px;
}
.fee p a:last-child {
  font-size: 16px;
  background-color: #e2e0d5;
  display: block;
  max-width: fit-content;
  margin: 0 auto;
  padding: 14px 73px 14px 48px;
  transition: 0.1s;
  background-image: url(../img/top/yajirushi.png);
  background-repeat: no-repeat;
  background-position: 215px 18px;
}

.fee p a:last-child:hover {
  transform: translate(1.5px, 1.5px);
}

/* レスポンシブ(767px以下) */
@media (max-width: 767px) {
  main section.osirase dl {
    display: block;
    text-align: center;
    padding-bottom: 49px;
  }

  main section.osirase dt img {
    object-fit: cover;
    height: 180px;
    width: 100%;
    object-position: 0 35%;
  }

  main section.osirase div dd {
    padding-bottom: 65px;
    text-align: left;
  }

  main section.osirase div dd a {
    text-decoration: none;
  }

  main section.shoukai {
    padding-bottom: 0;
  }

  main section.shoukai h2 {
    font-size: 32px;
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #225c9f;
    color: #fff;
    text-shadow: #212121 2px 1px 10px;
    margin-bottom: 39px;
    &::after {
      max-width: 321.5px;
      height: 1px;
    }
  }
  main section.shoukai .flex {
    display: block;
  }

  .flexcontents {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  main section.shoukai .flex h3 {
    text-align: center;
    font-size: 30px;
  }

  main section.shoukai .flex p a {
    margin-left: auto;
    margin-right: auto;
  }

  main section.shoukai .flex p.riraku {
    margin-bottom: 0px;
  }

  main section.concept p {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  main section.access {
    padding-bottom: 100px;
  }

  main section.access .maplink {
    display: block;
  }
  main section.access .maplink p:first-child {
    margin-bottom: 38px;
  }
  main section.access .maplink p a {
    margin-left: auto;
    margin-right: auto;
  }

  th {
    font-size: 16px;
  }
  .tdleft {
    padding-left: unset;
    text-align: center;
  }
  table span {
    display: block;
    font-size: 12px;
  }

  .gray td {
    font-size: 20px;
  }

  .blue td {
    font-size: 20px;
  }
}
