@charset "utf-8";

/* ---------------------------------
全体
---------------------------------- */
html {
  scroll-behavior: smooth;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "hiragino kaku gothic pro", hiragino kaku gothic pro, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

body {
  margin: 0 auto;
  max-width: 360px;
  background-color: #ededed;
  letter-spacing: 0.05em;
}

:root {
  --main-color: #1e2e53;
  --sub-color: #0079c3;
  --white: #fcfcfc;
  --black: #333;
  --pale: #bbb;
}

h2 {
  text-align: center;
  margin: 1em 0;
  color: var(--main-color);
  border-top: 1px solid var(--pale);
  border-bottom: 1px solid var(--pale);
  padding: 0.5em;
}

h2::after {
  content: attr(data-title);
  display: block;
  font-size: 0.5em;
  font-weight: bold;
  color: var(--sub-color);
  letter-spacing: 2px;
}

h3.left-bar {
  border-left: 6px solid var(--main-color);
  padding: 0 0.25em 0 0.5em;
  margin: 2em 0 1em 10px;
  color: var(--main-color);
  font-size: 1em;
}

h3 span {
  font-size: smaller;
  letter-spacing: 0;
}

h4.normal {
  color: var(--sub-color);
  margin: 1em 0 0.5em;
}

p,
li {
  font-size: 0.85em;
  line-height: 1.75;
}

img {
  width: 100%;
}

i {
  padding-right: 3px;
}

section {
  padding: 2em 0;
}

section:first-child {
  padding: 0 0 2em;
}

.ta-c {
  text-align: center;
}

.fw-bold {
  font-weight: bold;
}

.mb1em {
  margin-bottom: 1em;
}

a:hover {
  text-decoration: none;
}

/* 基本ボタン */
a.button {
  border: 1px solid var(--main-color);
  border-radius: 5px;
  padding: 10px 30px;
  height: 4em;
  color: var(--main-color);
  vertical-align: middle;
  text-align: center;
  margin: auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-decoration: none !important;
  font-weight: bold;
}

/* 基本ボタンにマウスを乗せたとき */
a:hover.button {
  opacity: 1;
  transition: all 0.3s;
  background-color: #efefef;
}

/* 右向き矢印 */
.right-arrow {
  display: flex;
  position: relative;
}

/* 右向き矢印 */
.right-arrow:after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 8px;
  height: 8px;
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
  right: 15px;
  top: 40%;
  transform: rotate(-45deg);
}

/* 右向き矢印　マウスを乗せたとき  */
.right-arrow:hover:after {
  right: 10px;
  transition: all 0.15s;
}

/* ---------------------------------
ヘッダー
---------------------------------- */
header h1 {
  margin-block-end: -12px;
}

header img {
  max-width: 360px;
  margin: 0 auto;
  background-color: var(--white);
}

/* ---------------------------------
コンテンツ
---------------------------------- */
main {
  background-color: var(--white);
  padding: 10px;
}

#menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
}

#menu li {
  list-style-type: none;
  border: solid 1px var(--main-color);
  border-radius: 5px;
  display: block;
  transition: all 0.3s;
}

#menu li img {
  width: 104px;
}

#menu li:hover {
  background: #efefef;
}

/* ---------------------------------
施設情報
---------------------------------- */
/*アコーディオン全体*/
.accordion-area {
  list-style: none;
  width: 96%;
  max-width: 900px;
  margin: 0 auto;
}

.accordion-area li {
  margin: 10px 0;
  border: 1px solid var(--pale);
  border-radius: 5px;
  transition: all 0.3s;
}

.accordion-area li:hover {
  background-color: #efefef;
}

.accordion-area .title {
  position: relative;
  cursor: pointer;
  font-size: 1rem;
  font-weight: normal;
  padding: 5% 50px 5% 6%;
  transition: all 0.5s ease;
  color: var(--main-color);
  font-size: 0.9em;
  font-weight: bold;
}

/*アイコンの＋と×*/
.accordion-area .title::before,
.accordion-area .title::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 2px;
  background-color: var(--main-color);
}
.accordion-area .title::before {
  top: 48%;
  right: 15px;
  transform: rotate(0deg);
}
.accordion-area .title::after {
  top: 48%;
  right: 15px;
  transform: rotate(90deg);
}
/*　closeというクラスがついたら形状変化　*/
.accordion-area .title.close::before {
  transform: rotate(45deg);
}

.accordion-area .title.close::after {
  transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
  display: none; /*はじめは非表示*/
  margin: 0 3% 3% 3%;
  padding: 3%;
}

.accordion-area dl {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75em;
  justify-content: space-between;
}

.accordion-area dt {
  width: 30%;
  border-bottom: 1px dotted var(--pale);
  padding: 0.25em 5% 0.25em 0.25em;
}

.accordion-area dd {
  width: 70%;
  border-bottom: 1px dotted var(--pale);
  padding: 0.25em;
}

/* ---------------------------------
施設情報
---------------------------------- */
#facilities .box p {
  margin-top: 1em;
}

/* ---------------------------------
周辺観光情報
---------------------------------- */
#area .accordion-area dt {
  width: 70%;
}

#area .accordion-area dd {
  width: 30%;
}

#area .box p {
  font-size: 0.75em;
  text-align: center;
}

/* ---------------------------------
サークルバス・タクシー
---------------------------------- */
#bus-taxi table {
  font-size: 0.85em;
  width: 100%;
  text-align: left;
  border-top: 1px dotted var(--pale);
  margin: 0.5em 0;
}

#bus-taxi th {
  width: 50%;
  border-bottom: 1px dotted var(--pale);
  padding: 0.75em 1em;
  font-weight: normal;
}

#bus-taxi td {
  width: 50%;
  border-bottom: 1px dotted var(--pale);
}

/* ---------------------------------
宿泊約款・利用規則
---------------------------------- */
/* リストに数字 */
.numbering li {
  list-style-type: decimal;
  margin-left: 28px;
}

/* ---------------------------------
フッター
---------------------------------- */
footer {
  background-color: var(--main-color);
  color: var(--white);
  padding: 10px;
}

footer a {
  color: var(--white);
}

footer a:hover {
  color: var(--white);
}

footer ul li a {
  display: block;
  padding: 0.75em 0.5em;
  text-decoration: none;
  transition: all 0.3s;
}

footer ul li a:hover {
  padding-left: 10px;
}

footer li {
  border-bottom: 1px dotted var(--white);
  list-style: none;
  position: relative;
  padding-left: 10px;
  transition: all 0.3s;
}

footer li a:before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  position: absolute;
  top: 23%;
  left: 0;
  transition: all 0.3s;
}

footer li a:hover:before {
  left: 5px;
}

footer li:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.f-info {
  text-align: center;
  font-size: 0.8em;
  margin: 2em 0;
}

.f-info .back-to-top {
  margin-bottom: 2em;
  display: block;
}
