@charset "utf-8";

.title {
  height: 310px;
  background-image: url("../img/common/bg-main.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
}

.title h1 {
  font-family:"Shin Maru Go Regular",Georgia,sans-serif;
  font-size: 32px;
  font-weight: bold;
  margin-top: 140px;
}

.title p {
  font-size: 14px;
  margin-top: 15px;
}

.title h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
  padding: 10px 15px;
  margin-top: 15px;
  border-left-width: 10px;
  border-left-color: #000080;
  border-left-style: solid;
  border-top-color: #000080;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-color: #000080;
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-color: #000080;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.article {
  width: 960px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
}

.article img {
  width: 360px;
}

.article-title {
  width: 960px;
  max-width: 90%;
  margin-left: 40px;
  line-height: 30px;
}

.article-title h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
  padding: 10px 15px;
  margin-top: 15px;
  border-left-width: 5px;
  border-left-color: #000080;
  border-left-style: solid;
  border-top-color: #000080;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-color: #000080;
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-color: #000080;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.article-text {
  width: 960px;
  max-width: 90%;
  margin-left: 40px;
  line-height: 30px;
}

.reverse {
  flex-direction: row-reverse;
}

.reverse .article-text {
  margin-right: 40px;
  margin-left: 0;
}

.article-text h3 {
  background-color: #f8f8f8;
  font-size: 18px;
  font-weight: bold;
  line-height: 30px;
  padding: 15px 15px;
  margin-top: 36px;
  margin-left: auto;
  margin-right: auto;
}

.article-text p {
  width: 600px;
  max-width: 90%;
  font-size: 15px;
  line-height: 28px;
  margin-top: 25px;
}

/* 追加cssここから */

.article dt {
  padding: 15px 15px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1em;
  margin-top: 15px;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-color: #4169e1;
  border-bottom-color: #4169e1;
  border-top-style: solid;
  border-bottom-style: solid;
}

.article dd {
  padding: 15px 0;
  font-size: 15px;
  line-height: 30px;
}

.section {
  width: auto;
  max-width: 90%;
  text-align:right;
  line-height: 20px;
}

.link-button-area {
  text-align: center;
  margin-top: 40px;
}

.link-button {
  background-color: #f4dd64;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.link-button:hover {
  background-color: #d8b500;
}

.item-list {
  width: 930px;
  max-width: 90%;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, 150px);
  column-gap: 20px;
  row-gap: 10px;
  justify-content: center;
}

.item-list dl {
  margin-top: 20px;
}

.item-list dt {
  font-weight: bold;

}

.item-list dd {
  width: 150px;
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  line-height: 20px;
  margin-top: 10px;
text-align: center;
}

.item-list li {
  position: relative;
}

.item-list .item-label {
  position: absolute;
  top: 0;
  left: calc(100% + 18px);
  font-size: 10px;
  white-space: nowrap;
  transform-origin: top left;
  transform: rotate(90deg);
}

.item-list2 {
  width: 930px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 75px;
  display: grid;
  grid-template-columns: repeat(auto-fit, 150px);
  column-gap: 95px;
  row-gap: 70px;
  justify-content: center;
}

.item-list2 dl {
  margin-top: 20px;
}

.item-list2 dt {
  font-weight: bold;
}

.item-list2 dd {
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  margin-top: 10px;
text-align: center;
}

.item-list2 li {
  position: relative;
}

.item-list2 .item-label {
  position: absolute;
  top: 0;
  left: calc(100% + 18px);
  font-size: 10px;
  white-space: nowrap;
  transform-origin: top left;
  transform: rotate(90deg);
}

/* テーブル横スクロール */
.scroll_table {
  max-width: 800px;
  overflow-x: auto;
}
 
table {
  white-space: nowrap;
  margin: 10px 0;
}
 
.scroll_table::-webkit-scrollbar {
  height: 10px; /* スクロールバーの高さ */
}
 
.scroll_table::-webkit-scrollbar-thumb {
  background: #aaa; /* ツマミの色 */
}
 
.scroll_table::-webkit-scrollbar-track {
  background: #ddd; /* トラックの色 */
}

/* 追加cssここまで */

.footer {
  margin-top: 100px;
}

@media (max-width: 800px) {

  /* 追加ここから */
  .title {
    height: 200px;
    background-image: url("../img/common/bg-main.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-shadow: 1px 1px 10px #4b2c14;
  }

  .title h1 {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: bold;
    margin-top: 60px;
  }

  .title p {
    font-size: 14px;
    margin-top: 15px;
  }

  /* 追加ここまで */

  .feature {
    display: block;
    width: 500px;
    margin-top: 45px;
  }

  .feature-text {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .reserve .feature-text {
    margin-right: 0;
  }

  .feature img {
    width: 100%;
    height: auto;
    margin-top: 25px;
  }
}