body {
  counter-reset: number 0; /* numberを0に 目次のセット名ナンバリング用 */
}
.text_mincho {
  font-family: serif;
  font-weight: bold;
  font-size: 1.8em;
}
.bg-page-wrapper {
  padding: 0;
  background: #ddd;
  background: url(images/bg.jpg?v=);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}
.bg-page-review {
  background: #fff;
}
.container {
  padding: 1.4rem 0 3.4rem;
}
.shadow {
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
}
header {
  background: white;
}

/* ①ボタン見た目 */
a .btn,
a.btn {
  color: #000;
  font-size: 1.3em;
  font-weight: bold;
  background: #fff;
  background: linear-gradient(
    42deg,
    rgba(224, 175, 39, 1) 0%,
    rgba(255, 229, 89, 1) 20%,
    rgba(224, 175, 39, 1) 40%,
    rgba(255, 229, 89, 1) 75%
  );
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
}
/* ②ヘッダー下の色　*/
.summary_block {
  background-color: #2e2e2e;
  background: linear-gradient(
    90deg,
    rgba(180, 0, 0, 1) 0%,
    rgba(255, 51, 51, 1) 100%
  ); /* ①　通常時 #2e2e2e */
  color: white;
  margin: 0;
  padding: 3rem 0;
}

/* ③目次タイトル */
.overview {
  color: red;
  font-size: 16px;
  text-align: left;
}
/* ④各記事ボックス背景透明度 */
.bg-section {
  background: rgba(255, 255, 255, 0.8);
  max-width: 1080px;
  margin: 2em auto 0;
  padding: 0;
  color: black; /* ページ内文字色 */
  /*background: url(images/bg.png)/*, linear-gradient(rgba(255, 255, 255, 1), rgba(255, 224, 179, 0.5), rgba(255, 224, 179, 1) );*/
  /*background-position: center bottom;*/
  /*background-repeat: no-repeat;*/
}
/* ⑤目次タイトル */
.bg-section > h2 {
  background-color: #2e2e2e;
  background: linear-gradient(
    90deg,
    rgba(180, 0, 0, 1) 0%,
    rgba(255, 51, 51, 1) 100%
  );
  color: white;
  padding: 20px 0;
  margin: 0;
}

.btn {
  border-radius: 10px;
  border: 2px solid #380003;
}
.btn div {
  width: 100%;
  display: flex;
  position: relative;
}
.btn span {
  padding: 0 40px;
}
.btn div .before {
  position: absolute;
  left: 0;
}
.btn div .after {
  position: absolute;
  right: 0;
}

h2 {
  font-size: 2em;
  line-height: 1.5em;
}
.h2-wrapper {
  max-width: 1200px;
  margin: 30px auto 0;
  /*color: #FFF;*/
  /*background: #000000;*/
}
.events-header {
  background: url(images/header-bg.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.main_summary {
  font-weight: bold;
  font-size: clamp(1.2em, 2.5vw, 1.8em);
  text-align: center;
  padding: 0 10px 10px;
  letter-spacing: 1.5px;
}
.sub_summary {
  display: inline-block;
  font-size: 0.9em;
  text-align: center;
  padding: 0 10px;
  margin: 0 0 10px;
}
.set_period {
  color: #efe900;
  padding: 0 10px;
  text-align: center;
}
.title {
  color: white;
  display: block;
  font-size: 1.4em;
  margin: 5px 0 10px;
}
.period {
  display: block;
  font-size: 1.2em;
  font-weight: normal;
  padding: 0 20px;
  text-align: center;
}
.bg-info {
  background-color: #2e2e2e;
  background: linear-gradient(
    90deg,
    rgba(180, 0, 0, 1) 0%,
    rgba(255, 51, 51, 1) 100%
  ); /* ② テキストboxカラー */
}

.index_wrapper {
  padding: 1rem;
}
.index_title {
  font-size: 1.2em;
  font-weight: bold;
  padding: 20px 0;
  text-align: center;
}
.page_index {
  max-width: 550px;
  margin: 0 auto;
  font-size: 1em;
  color: #2f2f2f; /* ④ 目次一覧 */
  line-height: 1.6em;
  text-align: left;
  width: 90%;
}
.index_names {
  font-weight: bold;
  font-size: 1em;
}
li span.index_names:before {
  counter-increment: number 1;
  content: "" counter(number) "：";
  font-weight: normal;
  font-size: 90%;
  text-decoration: none;
}
.index_detail {
  font-weight: normal;
  font-size: 90%;
}
.about_sale {
  font-weight: bold;
}

.btn-wrapper,
.btn-wrapper3 {
  padding: 2.7rem;
}
.btn-wrapper2 {
  padding: 1rem;
}

img.sub-banner {
  margin-top: 10px;
  max-width: 680px;
  width: 100%;
}

.panel {
  background: #2e2e2e; /* テキストboxカラー */
  color: white;
  padding: 1em 2em;
  text-align: left;
  line-height: 1.7em;
  width: 100%;
  max-width: 680px;
  margin: 1rem auto;
}
.panel-title {
  line-height: 1.8em;
  padding: 0.5em 2em;
  text-align: center;
}
.eother-title {
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.5em;
  text-align: center;
  margin: 0px auto 20px;
  padding: 20px 10px;
  border-radius: 10px;
}
.adafes-news {
  margin-bottom: 3em;
}
.news-title {
  border-left: white 7px solid;
  font-size: 1.2em;
  padding-left: 10px;
}
.bg-page {
  padding: 1.4rem 0;
}
.bg-wrapper {
  margin-top: 1.4rem;
  padding: 0;
  color: black; /* ページ内文字色 */

  /*background: url(images/bg.png)/*, linear-gradient(rgba(255, 255, 255, 1), rgba(255, 224, 179, 0.5), rgba(255, 224, 179, 1) );*/
  /*background-position: center bottom;*/
  /*background-repeat: no-repeat;*/
}
.bg-overview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.bg-red {
  color: #fff;
  background: #9a081f;
}
.bg-brown {
  background: #361005;
}
.bg-orange {
  background: #ff9501;
}
.bg-yellow {
  background: rgba(248, 182, 46, 0.9);
}
.bg-purple {
  background: #2e001c;
}
.bg-ocher {
  background: rgba(162, 139, 63, 0.85);
}
.bg-brown {
  background: #231815;
}

.content-wrapper {
  padding: 3em 2em;
}
.content-wrapper .af-d-flex {
  align-items: flex-start;
}
.flex-between {
  justify-content: space-between;
}

/* -------------------------------------- */
ul,
ol,
p {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
hr {
  margin-top: 2em;
  margin-bottom: 2em;
  border: 0;
  border-bottom: 3px solid #fff;
}

.w800 {
  width: 100%;
  max-width: 680px;
  margin: 1rem auto;
}
.mt-0 {
  margin-top: 0;
}
.text-white {
  color: #fff;
}
.font-serif {
  font-family: Georgia, serif;
}
.main-title {
  font-size: 1.5em;
  font-weight: bold;
}

/* 最下段フェスタニュース用 */
.festanews_wrapper {
  margin-bottom: 50px;
}
.festanews_flex {
  flex-wrap: wrap;
  margin-top: 50px;
}
.festanews_wrapper > p {
  display: inline-block;
  text-align: center;
  font-weight: bold;
  font-size: 1em;
  line-height: 1em;
  margin-bottom: 7px;
  padding: 0 7px;
  color: darkred;
  border-bottom: 0.5px dotted;
}
.festanews_box {
  background: rgb(79, 79, 79);
  background: radial-gradient(
    circle,
    rgba(79, 79, 79, 1) 0%,
    rgba(38, 38, 38, 1) 100%
  );
  color: #fff;
  font-size: 0.9em;
  line-height: 1.7em;
  text-align: left;
  padding: 10px;
}
a.lnk_btn {
  background: white;
  border-radius: 5px;
  color: #ff196a;
  display: inline-block;
  font-weight: bold;
  line-height: 1.4em;
  margin-right: 5px;
  padding: 0 5px;
}
a.lnk_btn:hover {
  background: yellow;
  text-decoration: underline;
}
/* 最下段フェスタニュース終 */

a {
  text-decoration: none;
  color: #2e2e2e;
}
a.underline {
  text-decoration: underline;
  color: white;
}
* > a:hover {
  opacity: 0.7;
  text-decoration: none;
}

section:last-child {
  padding-bottom: 50px;
}

/* セールボタンのレイアウト */
.sales-btn-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.sales-btn-left {
  display: flex;
  flex-direction: column;
  width: 48%;
  gap: 10px;
}

.sales-btn-right {
  display: flex;
  flex-direction: column;
  width: 48%;
  align-items: flex-start;
  gap: 10px;
}

.sales-btn-right .btn {
  width: 100%;
  height: fit-content;
}

.sp_none {
  display: block;
}
.pc_none {
  display: none;
}

@media (max-width: 680px) {
  header,
  main {
    text-align: left;
  }
  .flex-1-2 a {
    text-align: center;
  }
  .content-wrapper {
    padding: 2em 1em;
  }
  .festanews_wrapper {
    margin-bottom: 20px;
  }
  h2 {
    font-size: 1.5em;
    line-height: 1em;
    color: #332a12;
  }

  /* セールボタンをスマホで縦並びに */
  .sales-btn-container {
    flex-direction: column;
    gap: 10px;
  }

  .sales-btn-left,
  .sales-btn-right {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .sp_none {
    display: none;
  }
  .pc_none {
    display: block;
  }

  header,
  main {
    text-align: left;
  }
  h2 {
    font-size: 1.5em;
    line-height: 1.3em;
    text-align: center;
  }
  .flex-1-2 a {
    text-align: center;
  }
  .content-wrapper {
    padding: 1em 1em;
  }
  .title {
    font-size: 1.5em;
    line-height: 1.6em;
  }
  .period {
    font-size: 1em;
    font-weight: bold;
    padding: 0 20px;
  }
  .eother-title {
    margin-top: 10px;
  }
  .index_wrapper {
    padding: 0 2rem;
  }
  .index_title {
    margin: 10px 0 20px;
  }
  .page_index {
    font-size: 1em;
    line-height: 1em;
  }
  ul.page_index li {
    margin-bottom: 10px;
  }
  .index_names {
    font-size: 1.1em;
  }
  .index_detail {
    font-size: 0.9em;
  }
}

@media only screen and (max-width: 400px) {
  h2 {
    font-size: 1.3em;
    padding: 5px 0;
  }
  .text_mincho {
    font-family: sans-serif;
    font-size: 1em;
  }
  a .btn,
  a.btn {
    font-size: 1.2em;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
  }
  .eother-title {
    font-size: calc(0.6em + 2vw);
    margin: 20px auto;
    padding: 15px 10px;
    border-radius: 5px;
  }
  .about_sale {
    font-weight: normal;
    font-size: 0.9em;
  }
  .dn400 {
    display: none !important;
  }
  .fs_sp {
    font-size: 1em;
  }
  .btn {
    line-height: 1.5em;
  }
  .btn span {
    padding: 0 10px;
  }
  .btn-wrapper,
  .btn-wrapper3 {
    padding: 2rem 1rem;
  }
  .title {
    font-size: 1.2em;
    line-height: 1.5em;
  }
  ul.page_index {
    font-size: 0.9em;
    width: auto;
  }
  ul.page_index li {
    margin-bottom: 15px;
  }
  .panel {
    padding: 1em;
    line-height: 1.5;
  }
  .set_linktxt {
    font-weight: normal;
    font-size: 1em;
  }
  .festanews_wrapper:first-child {
    margin-top: 20px;
  }
  .festanews_flex {
    margin-top: 0px;
  }
}

/* 言語切り替えボタンのスタイル */
.lang-switcher {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.58);
  padding: 6px 10px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
}

.lang-switcher a {
  color: white;
  text-decoration: none;
  padding: 5px 12px;
  margin: 0 3px;
  border-radius: 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.lang-switcher a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-switcher a.active {
  background: #e44a95;
  font-weight: bold;
}

/* スマホ表示用 */
@media screen and (max-width: 768px) {
  .lang-switcher {
    padding: 4px 6px;
    top: 5px;
    right: 5px;
  }

  .lang-switcher a {
    padding: 3px 8px;
    margin: 0 2px;
    font-size: 12px;
  }
}

/* 小さい画面用 */
@media screen and (max-width: 480px) {
  .lang-switcher {
    padding: 6px 10px;
  }

  .lang-switcher a {
    padding: 2px 6px;
    font-size: 10px;
  }
}
