/* ヘッダー */
.nebuta-header {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.nebuta-header img {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
/*  margin-top: 50px;*/
  margin-top: 0px;
}

@media only screen and (min-width: 1024px) {
  .nebuta-header img {
    /* margin-top: 110px; */
    margin-top: 6px;
  }
}

@media only screen and (max-width: 600px) {
  .nebuta-header img {
    width: 100%;
    height: 250px;
/*    margin-top: 70px;*/
    margin-top: 0px;
    -o-object-fit: cover;
    object-fit: cover;
    text-align: center;
  }
}

/* タブ */
.nebuta-tabu-wrap {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
  display: flex;
  background-color: #6f89a3;
}

.nebuta-tab {
  width: calc(100% / 3);
  height: 40px;
  line-height: 40px;
  background-color: #b30000;
  font-size: 15px;
  text-align: center;
  display: block;
  float: left;
  order: -1;
  color: #ffffff;
  font-weight: bold;
}

input[name="nebuta-tab-name"] {
  display: none;
}

input:checked + .nebuta-tab {
  background-color: #02004d;
  color: #ffffff;
  font-weight: bold;
}

.nebuta-content {
  display: none;
  width: 100%;
}

input:checked + .nebuta-tab + .nebuta-content {
  display: block;
}

/* タブ背景 */

.nebuta-content-wrap {
  width: 100%;
}

.nebuta-content-haikei {
  width: 90%;
  padding: 16px;
  margin: 30px auto;
  border-radius: 10px 10px 10px 10px;
  background-color: white;
  background-image: url("/img/event/nebuta/aomori/nebuta-aomori-haikei.png");
/*  background-size: 100% auto;*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}

/* コンテンツ文字 */

h1 {
  width: 95%;
  height: 30px;
  background-color: #000000;
  text-align: center;
  padding: 0 auto;
  font-weight: bold;
  font-size: 1.4em;
  margin: 0 auto;
  color: #ffffff;
}

.hukudai {
  width: 95%;
  text-align: center;
  font-weight: bold;
  font-size: 0.9em;
  margin: 5px auto 0;
}
.hukudai a {
  color: #dc143c;
  text-decoration: none;
}
.hukudai a:hover {
  text-decoration: none;
}

.kigyou {
  width: 95%;
  text-align: center;
  font-size: 0.8em;
  font-weight: bold;
  margin-bottom: 30px;
}

.kigyou-bulue {
  color: #000080;
  text-decoration: none;
}
.kigyou-green {
  color: #006400;
  text-decoration: none;
}

.kigyou-bulue:hover {
  text-decoration: none;
}
.kigyou-green:hover {
  text-decoration: none;
}

h2 {
  width: 95%;
  height: 30px;
  background-color: #690006;
  text-align: center;
  padding: 0 auto;
  font-weight: bold;
  font-size: 1.2em;
  margin: 10px auto;
  color: #ffffff;
  line-height: 30px;
}
h2 a {
  color: #ffd700;
  text-decoration: none;
}
h2 a:hover {
  text-decoration: none;
}

.midashi {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  text-decoration: underline;
}
.text {
  font-size: 1em;
  text-align: left;
}
.text a {
  color: #dc143c;
  text-decoration: none;
}
.text a:hover {
  text-decoration: none;
}

.text2 {
  font-size: 1em;
  text-align: centers;
}
.text2 a {
  color: #dc143c;
  text-decoration: none;
}
.text2 a:hover {
  text-decoration: none;
}

.kome {
  width: 70%;
  margin: 0 auto;
  font-size: 0.8em;
  text-align: right;
}

.kome2 {
  width: 100%;
  margin: 0 auto;
  font-size: 0.8em;
  text-align: left;
}

/* ねぶたボーダー */
.nebuta-boder {
  width: 100%;
  text-align: center;
  border-bottom: 1px dotted;
  margin: 20px auto;
}

.nebuta-boder2 {
  width: 100%;
  text-align: center;
  border: 0;
  height: 10px;
  background-image: url("/img/event/nebuta/aomori/tyoutin.png");
  background-size: 10px auto;
  background-repeat: repeat-x;
  margin: 20px auto;
}

/* モーダル文字 */
h3 {
  width: 90%;
  margin: 0 auto 5px;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  text-decoration: underline;
  text-decoration-color: #000000;
}
h3 a {
  color: #ffd700;
  text-decoration: none;
}
h3 a:hover {
  color: #ffd700;
  text-decoration: none;
}
.modal-text {
  width: 90%;
  margin: 0 auto;
  font-size: 1em;
  text-align: left;
}
.modal-text a {
  color: #dc143c;
  text-decoration: none;
}

.modal-text a:hover {
  color: #dc143c;
  text-decoration: none;
}

.modal-text-midashi {
  width: 90%;
  margin: 0 auto;
  font-size: 1.1em;
  text-decoration: underline;
  font-weight: bold;
  text-align: center;
}

.modal-line {
  width: 90%;
  margin: 20px auto;
  text-align: center;
  border-bottom: 1px dotted;
}

.modal-kome {
  width: 90%;
  margin: 0 auto;
  font-size: 0.8em;
  text-align: left;
}

.modal-yohaku {
  height: 30px;
}

/* メイン */
.gaiyou {
  width: 95%;
  margin: 0 auto;
  text-align: center;
}

.gaiyou img {
  width: 70%;
  margin: 0 auto;
  text-align: center;
}

.top img {
  width: 95%;
  margin: 0 auto;
  text-align: center;
}

.free-area-botan img {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}
.free-area-botan img:hover {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  opacity: 0.5;
}

/* ボタン 青 */
.botan-blue {
  width: 90%;
  height: 30px;
  line-height: 30px;
  margin: 0 auto 5px;
  padding: 10px auto;
  text-align: center;
  background-color: #5f9ea0;
  border-radius: 3px 3px 3px 3px;
  font-size: 1em;
  font-weight: bold;
  color: #ffffff;
  box-shadow: 0 0 5px rgba(66, 87, 135, 0.5);
}
.botan-blue:hover {
  width: 90%;
  height: 30px;
  line-height: 30px;
  margin: 0 auto 5px;
  padding: 20px auto;
  text-align: center;
  background-color: #48d1cc;
  border-radius: 5px 5px 5px 5px;
  font-size: 1em;
  font-weight: bold;
  color: #ffffff;
  display: block;
  box-shadow: 0 0 5px rgba(66, 87, 135, 0.5);
}

.botan-blue a {
  text-decoration: none;
  display: block;
}

.botan-blue a:hover {
  text-decoration: none;
  display: block;
}

/* ボタン 赤 */
.botan-red {
  width: 90%;
  height: 30px;
  line-height: 30px;
  margin: 0 auto 5px;
  padding: 10px auto;
  text-align: center;
  background-color: #800000;
  border-radius: 5px 5px 5px 5px;
  font-size: 1em;
  font-weight: bold;
  color: #ffffff;
  box-shadow: 0 0 5px rgba(66, 87, 135, 0.5);
}
.botan-red:hover {
  width: 90%;
  height: 30px;
  line-height: 30px;
  margin: 0 auto 5px;
  padding: 20px auto;
  text-align: center;
  background-color: #cc0000;
  border-radius: 5px 5px 5px 5px;
  font-size: 1em;
  font-weight: bold;
  color: #ffffff;
  display: block;
  box-shadow: 0 0 5px rgba(66, 87, 135, 0.5);
}

.botan-red a {
  text-decoration: none;
  display: block;
}

.botan-red a:hover {
  text-decoration: none;
  display: block;
}

/* ボタン緑 */
.botan-green {
  width: 90%;
  height: 30px;
  line-height: 30px;
  margin: 0 auto 5px;
  padding: 10px auto;
  text-align: center;
  background-color: #6b8e23;
  border-radius: 5px 5px 5px 5px;
  font-size: 1em;
  font-weight: bold;
  color: #ffffff;
  box-shadow: 0 0 5px rgba(66, 87, 135, 0.5);
}
.botan-green:hover {
  width: 90%;
  height: 30px;
  line-height: 30px;
  margin: 0 auto 5px;
  padding: 20px auto;
  text-align: center;
  background-color: #99a931;
  border-radius: 5px 5px 5px 5px;
  font-size: 1em;
  font-weight: bold;
  color: #ffffff;
  display: block;
  box-shadow: 0 0 5px rgba(66, 87, 135, 0.5);
}

.botan-green a {
  text-decoration: none;
  display: block;
}

.botan-green a:hover {
  text-decoration: none;
  display: block;
}

/* モーダルウィンドウ*/
.popup_wrap input {
  display: none;
}
.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(95, 158, 160, 0.5);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}
.popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}
.popup_content {
  position: relative;
  align-self: center;
  width: 75%;
  max-width: 800px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transition: 0.5s;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(94, 94, 94, 0.7);
  margin-bottom: 20px;
}
.popup_content {
  padding: 20px 20px 5px 20px;
  text-align: center;
}
.close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 50px;
  cursor: pointer;
  color: #5f9ea0;
}
.popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

/* アコーディオン */

.readmore {
  position: relative;
  box-sizing: border-box;
  /*以下お好み*/
  /* ボーダーを付ける場合 */
  padding: 5px;
  border: none;
}

.readmore-content {
  position: relative;
  overflow: hidden;
  /*以下お好み*/
  /*高さの初期値*/
  height: 70px;
}
.readmore-content::before {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  content: "";
  /*以下お好み グラデーションの色と高さ 高さはreadmoreのheight以下にすること*/
  height: 50px;
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.8) 50%,
    #fff 100%
  );
  background: linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.8) 50%,
    #fff 100%
  );
}

/* 続きを読むボタン */
.readmore-label {
  display: table;
  bottom: 5px;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  margin: 0 auto;
  z-index: 2;
  padding: 0 10px;
  background-color: #5f9ea0;
  border-radius: 10px;
  color: #fff;
}
.readmore-label:before {
  content: "非会員の方 続きを読む";
}

.readmore-check {
  display: none;
}
/*チェック時にボタンを非表示*/
.readmore-check:checked ~ .readmore-label {
  position: static;
  transform: translateX(0);
  -webkit-transform: translateX(0);
  /* 「続きを読む」を押した後、元に戻す必要がない場合は、上のオプションを消してこの1行だけにする */
  /* display: none; */
}
.readmore-check:checked ~ .readmore-label:before {
  content: "閉じる";
}
/*チェック時に高さを自動に戻す*/
.readmore-check:checked ~ .readmore-content {
  height: auto;
}
/*チェック時グラデーション等を削除*/
.readmore-check:checked ~ .readmore-content::before {
  display: none;
}
