/** --------------------------------------------------
 * ベースのリセット
 */

@media (min-width: 641px) {
  /* PC */
  html,
  body {
    font-size: 18px;
    font-size: calc(18 * (100 / 1100) * 1vw);
  }
}
@media (min-width: 1100px) {
  /* PC上限以上 */
  html,
  body {
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  /* スマホ */
  html,
  body {
    font-size: 24px;
    font-size: calc(24 * (100 / 640) * 1vw);
  }
}

/** --------------------------------------------------
 * テンプレートのリセット
 */
#wrapper {
  min-width: initial;
}
#wrapper * {
  box-sizing: border-box;
}

.content {
  width: 100%;
}

#sqex-header-main {
  max-width: 900px;
  width: 100%;
}
@media (min-width: 641px) {
  /* PC */
  #sqex-header-main {
    padding-left: 10px;
  }
}

/**
 * エラー表示
 */
.caution-box-main {
  margin-top: 0;
  text-align: center;
}
@media (min-width: 641px) {
  /* PC */
  .caution-box {
    width: 70%;
  }
}
@media (max-width: 640px) {
  /* スマホ */
  .caution-box {
    width: 100%;
  }
}

/** --------------------------------------------------
 * メディアクエリ
 */
@media (min-width: 641px) {
  /* PC */
}
@media (max-width: 640px) {
  /* スマホ */
}

/** --------------------------------------------------
 * ユーティリティ
 */

/* display */
@media (min-width: 641px) {
  /* PC */
  .md\:none {
    display: none;
  }
}
@media (max-width: 640px) {
  /* スマホ */
  .sm\:none {
    display: none;
  }
}

/* 中央揃え */
.text-center {
  text-align: center;
}

/* テキストサイズ */
.text-lg {
  font-size: 1.33rem;
}

/* 注意 */
.text-caution {
  color: #c85e00;
}

/* リンク */
.text-link {
  color: #cc0000;
}
.text-link:hover {
  text-decoration: none;
}

/* インデント */
.h-indent.indent-double {
  text-indent: -1.5em;
  padding-left: 1.5em;
}

/* 行間 */
.leading-normal {
  line-height: 1.5;
}

/* カーソル */
.cursor-pointer {
  cursor: pointer;
}

/* z-index */
.z-1000 {
  z-index: 1000;
}

.relative {
  position: relative;
}

/** --------------------------------------------------
 * 以降姿見企画用
 */

/**
 * コンテナ
 */
.sugatami-container {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  background-image: url(../../../img/event/sugatami/dqisland/bg.jpg);
}
.sugatami-container img {
  max-width: 100%;
}

@media (min-width: 641px) {
  /* PC */
  .sugatami-container {
    max-width: 1100px;
    border-left: 2px solid #efda9e;
    border-right: 2px solid #efda9e;
  }
  .sugatami-container img {
    width: 100%;
  }
}
@media (max-width: 640px) {
  /* スマホ */
}

/**
 * ガッター
 */
.sugatami-gutter {
  position: relative;
}
@media (min-width: 641px) {
  /* PC */
  .sugatami-gutter {
    padding-left: 4.5%;
    padding-right: 4.5%;
  }
}
@media (max-width: 640px) {
  /* スマホ */
  .sugatami-gutter,
  .sm\:sugatami-gutter {
    padding-left: 3%;
    padding-right: 3%;
  }
}

/**
 * ボタン
 */
.sugatami-nav-btn {
  position: relative;
  z-index: 100;
}
.sugatami-nav-btn.btn-disabled {
  opacity: 0.3;
  cursor: default;
}
/* 大サイズ */
.sugatami-nav-btn.btn-lg,
.sugatami-nav-btn.btn-md {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
/* 中サイズ */
@media (min-width: 641px) {
  /* PC */
  /* 大サイズ */
  .sugatami-nav-btn.btn-lg {
    width: 50%;
  }

  /* 中サイズ */
  .sugatami-nav-btn.btn-md {
    width: 36.6%;
  }
}
@media (max-width: 640px) {
  /* スマホ */
  /* 大サイズ */
  .sugatami-nav-btn.btn-lg {
    width: 96.6%;
  }

  /* 中サイズ */
  .sugatami-nav-btn.btn-md {
    width: 83.3%;
  }
}

.sugatami-round-btn,
.sugatami-round-btn--green {
  display: block;
  line-height: 1;
  box-shadow: 0px 4px #984700;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
  font-weight: bold;
  background-color: #c85e00;
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  padding-top: 0.8rem;
  padding-bottom: 0.5rem;
  border-radius: 3rem;
  text-align: center;
}
.sugatami-round-btn--green {
  padding-top: 1.8rem;
  padding-bottom: 1.4rem;
  box-shadow: 0px 4px #3f8f00;
  background-color: #4db000;
}

/**
 * ボタンコンテナ
 */
.sugatami-nav-btnbox {
  display: flex;
}
.sugatami-nav-btnbox .sugatami-nav-btn.btn-md {
  position: relative;
}

@media (min-width: 641px) {
  /* PC */
  .sugatami-nav-btnbox {
    justify-content: center;
  }
  .sugatami-nav-btnbox .sugatami-nav-btn.btn-md {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (max-width: 640px) {
  /* スマホ */
  .sugatami-nav-btnbox {
    flex-direction: column-reverse;
  }
  .sugatami-nav-btnbox .sugatami-nav-btn.btn-md:nth-of-type(1) {
    top: 1.4rem;
  }
}

/**
 * 見出し
 */
.sugatami-headline.headline-lg {
  position: relative;
  background-repeat: no-repeat;
  background-size: contain;
}
.sugatami-headline .headline-lg-label {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-weight: bold;
  color: #fff;
  text-align: center;
  font-size: 1.33rem;
  line-height: 1.2;
}
@media (min-width: 641px) {
  /* PC */
  /* 大見出し */
  .sugatami-headline.headline-lg {
    padding-top: 8.39%;
    background-image: url(../../../img/event/sugatami/dqisland/misc/headline/lg_md.png);
  }
  .sugatami-headline .headline-lg-label {
    padding-left: 9%;
    padding-right: 9%;
  }
}
@media (max-width: 640px) {
  /* スマホ */
  /* 大見出し */
  .sugatami-headline.headline-lg {
    padding-top: 25.46%;
    background-image: url(../../../img/event/sugatami/dqisland/misc/headline/lg_sm.png);
  }
  .sugatami-headline .headline-lg-label {
    padding-left: 3%;
    padding-right: 3%;
  }
  /* 大見出し１行 */
  .sugatami-headline.sm\:headline-lg-thin {
    padding-top: 17.81%;
    background-image: url(../../../img/event/sugatami/dqisland/misc/headline/lg_thin_sm.png);
  }
}

/**
 * トップへ戻る
 */
.sugatami-scrolltop {
  pointer-events: none;
  justify-content: flex-end;
  z-index: 100;
  width: 100%;
}
@supports (position: sticky) {
  .sugatami-scrolltop {
    position: sticky;
    bottom: 0;
  }
}
@supports (position: -webkit-sticky) {
  .sugatami-scrolltop {
    position: -webkit-sticky;
    bottom: 0;
  }
}
/* アイコン部分 */
.sugatami-scrolltop-ico {
  pointer-events: initial;
  cursor: pointer;
  display: block;
  position: relative;
  padding-bottom: 2%;
  right: 0;
  opacity: 0;
  margin: 0 0 0 auto;
}
@media (min-width: 641px) {
  /* PC */
  .sugatami-scrolltop-ico {
    margin-right: 2.8%;
    width: 6.8%;
  }
}
@media (max-width: 640px) {
  /* スマホ */
  .sugatami-scrolltop {
    flex-direction: column;
  }
  .sugatami-scrolltop-ico {
    margin-right: 3%;
    width: 17%;
  }
}

/**
 * モーダル
 */
.sugatami-modal {
  z-index: 1000;
  background-color: rgba(255, 255, 255, 1);
}
/* 一覧ページ用モーダル */
.sugatami-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  text-align: center;
}
/* ボーダー */
.sugatami-modal-frame {
  display: inline-block;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}
/* 見出し */
.sugatami-modal-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
.sugatami-modal-close {
  position: absolute;
  right: 0;
}
/* 中身 */
.sugatami-modal-body {
  position: relative;
  height: 100%;
}
/* 画像と次へ前へ */
.sugatami-modal-nav {
  /*display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;*/
}
.sugatami-modal-nav-prev,
.sugatami-modal-nav-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  bottom: 0;
}
.sugatami-modal-nav-next {
  right: 0;
}
.sugatami-modal-nav-prev img,
.sugatami-modal-nav-next img {
  cursor: pointer;
}
/* 無効状態 */
.sugatami-modal-nav-prev.disabled,
.sugatami-modal-nav-next.disabled {
  display: none;
}
/* 画像 */
.sugatami-modal-image {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}
.sugatami-modal-image-imgcontainer {
  position: relative;
  display: inline-block;
}
.sugatami-modal-image img {
  margin-right: auto;
  margin-left: auto;
  width: auto;
  max-height: 100vh;
  max-height: calc(var(--vh, 1vh) * 100);
}
/* キャプション */
.sugatami-modal-caption {
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
  z-index: 100;
}
/* 開閉ボタン　 */
.sugatami-modal-caption-toggle-btn {
  cursor: pointer;
  display: block;
  background-color: #b67626;
  color: #fff;
  font-weight: bold;
  font-size: 20rem;
  width: 50%;
  margin-right: auto;
  margin-left: auto;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.sugatami-modal-caption-detail-toggle {
  overflow: hidden;
}
.sugatami-modal-caption-detail {
  background-color: rgba(255, 255, 255, 0.8);
  padding-top: 3%;
  padding-bottom: 2%;
  padding-left: 4%;
  padding-right: 4%;
}
.sugatami-modal-caption table {
  width: 100%;
}
.sugatami-modal-caption th {
  color: #b67626;
}
.sugatami-modal-caption td {
  text-align: left;
}
.sugatami-modal-caption textarea {
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  /* リサイズ機能の要不要にあわせて設定 */
  resize: none;
  color: #000;
  -webkit-text-fill-color: black;
  opacity: 1;
}
/* 閉じるボタン */
.sugatami-modal-close {
  width: 50px;
}
.sugatami-modal-close {
  cursor: pointer;
}
.sugatami-modal-close img {
  pointer-events: none;
}
/* モーダル内ボタン */
.sugatami-modal-nav-btn {
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 641px) {
  /* PC */
  .sugatami-modal-frame {
  }
  .sugatami-modal-frame {
  }
  .sugatami-modal-close {
    right: 10px;
    top: 10px;
  }
  /* キャプション */
  .sugatami-modal-caption {
  }
  .sugatami-modal-caption * {
    font-size: 14px;
  }
  /* モーダル内ボタン */
  .sugatami-modal-nav-btn {
    width: 61%;
  }
  .sugatami-modal-nav-prev,
  .sugatami-modal-nav-next {
    width: 60px;
    flex: 0 0 60px;
  }
  .sugatami-modal-nav-prev img,
  .sugatami-modal-nav-next img {
    width: 50%;
  }
}
@media (max-width: 640px) {
  /* スマホ */
  .sugatami-modal-frame {
  }
  .sugatami-modal-frame {
    border-width: 2%;
    border-radius: 10px;
  }
  .sugatami-modal-close {
    right: 6px;
    top: 6px;
  }
  .sugatami-modal-caption * {
    font-size: 14px;
  }
  /* モーダル内ボタン */
  .sugatami-modal-nav-btn {
    width: 66.6%;
  }
  .sugatami-modal-nav-prev,
  .sugatami-modal-nav-next {
    width: 16%;
    flex: 0 0 16%;
  }
  .sugatami-modal-nav-prev img,
  .sugatami-modal-nav-next img {
    width: 50%;
  }
  .sugatami-modal-close {
    width: 16%;
  }
}

/**
 * 姿見プレーンモーダル
 */
@media (min-width: 641px) {
  /* PC */
  .sugatami-plain-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100vw;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
  }
  .sugatami-plain-modal-image {
  }
  .sugatami-plain-modal-image img {
    max-width: 100%;
  }
  .sugatami-plain-modal-frame {
    padding-top: 10%;
    margin-right: auto;
    margin-left: auto;
    width: 376px;
  }
  .sugatami-plain-modal-body {
    margin-right: auto;
    margin-left: auto;
    width: 300px;
  }
  .sugatami-plain-modal-caption {
    text-align: center;
  }
  /* 閉じる */
  .sugatami-plain-modal-close {
    cursor: pointer;
    width: 38px;
    height: 38px;
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  /* スマホ */
  .sugatami-plain-modal {
    display: none;
  }
}

/**
 * 一覧ページ
 */
.sugatami-image-list {
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
}
.sugatami-image-item {
}
/* キャプション */
.sugatami-image-item-caption {
  text-align: center;
}

@media (min-width: 641px) {
  /* PC */
  .sugatami-image-list {
    width: 95.8%;
  }
  .sugatami-image-item {
    width: 20%;
    padding-top: 3%;
    padding-left: 1%;
    padding-right: 1%;
  }
  /* 画像：PC版は押下可能 */
  .sugatami-image-item-image img {
    cursor: pointer;
  }
  /* キャプション */
  .sugatami-image-item-caption {
  }
}
@media (max-width: 640px) {
  /* スマホ */
  .sugatami-image-list {
    justify-content: space-between;
  }
  .sugatami-image-item {
    padding-top: 6%;
    width: 47%;
  }
  /* 画像 */
  .sugatami-image-item-image {
    margin-right: auto;
    margin-left: auto;
  }
  /* キャプション */
  .sugatami-image-item-caption {
  }
}

/**
 * ページ内バナー
 */
.sugatami-bnr {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 641px) {
  /* PC */
  .sugatami-bnr {
    width: 60%;
  }
}

@media (max-width: 640px) {
  /* スマホ */
}

/**
 * 専用
 */
.sugatami-howto {
  position: relative;
}

@media (min-width: 641px) {
  /* PC */
  .sugatami-howto {
    display: flex;
  }
  .sugatami-howto-text {
    width: 70%;
    padding-right: 1.5rem;
  }
  .sugatami-howto-image {
    width: 30%;
  }
  /* にぎやかし */
  .sugatami-howto-image-chara-md {
    position: absolute;
    width: 16% !important;
    right: 0;
    top: 0;
    margin-top: 16%;
  }
  .sugatami-howto-note {
  }
}

@media (max-width: 640px) {
  /* スマホ */
  .sugatami-howto-image {
    margin-top: 1.5rem;
    position: relative;
    padding-bottom: 4%;
  }
  .sugatami-howto-image-ss {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
  }
  /* にぎやかし */
  .sugatami-howto-image-chara-sm {
    position: absolute;
    width: 30%;
    bottom: 0;
    right: 0;
  }
}

/**
 * エリア選択
 */
.sugatami-form-select {
  text-align: center;
}
.sugatami-form-select select {
  padding-top: 0.5rem;
  padding-bottom: 0.3rem;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}

@media (min-width: 641px) {
  /* PC上限以上 */
  .sugatami-form-select select {
    width: 40%;
  }
}
@media (max-width: 640px) {
  /* スマホ */
  .sugatami-form-select select {
    width: 100%;
    font-size: 16px;
  }
}

/**
 * ページネーション
 */
.sugatami-pagination {
  display: flex;
  justify-content: center;
}
.sugatami-page-item {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background-color: #ffe8c3;
  box-shadow: 0 2px 0 0 #d0a25a;
  border-radius: 0.4rem;
  cursor: pointer;
  margin-left: 4px;
  margin-right: 4px;
}
.sugatami-page-item.active {
  pointer-events: none;
  cursor: default;
  font-weight: bold;
  color: #c85e00;
}
.sugatami-page-item.clear {
  cursor: default;
  font-weight: bold;
  box-shadow: none;
  background-color: transparent;
  width: auto;
}
.sugatami-page-item.mute {
  pointer-events: none;
  cursor: default;
  filter: grayscale(1);
  opacity: 0.5;
}
.sugatami-page-item.prev,
.sugatami-page-item.next {
  color: #fff;
  font-weight: bold;
  background-color: #c85e00;
  box-shadow: 0 2px 0 0 #984700;
}
.sugatami-page-item.prev::before,
.sugatami-page-item.next::before {
  transform-origin: center middle;
  transform: scale(0.5, 1.5);
  line-height: 1;
}
.sugatami-page-item.prev::before {
  content: '<';
}
.sugatami-page-item.next::before {
  content: '>';
}

/**
 * 罫線
 */
.sugatami-divider {
  height: 2px;
  background-color: #997300;
}
@media (min-width: 641px) {
  /* PC上限以上 */
  .sugatami-divider-container {
    padding-left: 3%;
    padding-right: 3%;
  }
}

/**
 * 告知ボックス
 */
.sugatami-info-box {
  overflow: hidden;
  border-radius: 20px;
  border: 2px solid #d3b457;
  color: #fff;
}
.sugatami-info-box a {
  color: #ff7070;
  text-decoration: underline;
}
.sugatami-info-box a:hover {
  text-decoration: none;
}
.sugatami-info-box-content {
  overflow: hidden;
  border-radius: 18px;
  border: 3px solid #fff;
}
.sugatami-info-box-header {
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
  padding-top: 0.3rem;
  padding-bottom: 0.1rem;
  background-color: #482704;
}
.sugatami-info-box-body {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 1.2rem;
  padding-left: 1.2rem;
  background-color: #684118;
}

/**
 * イベント一覧
 */
.sugatami-events {
}
.sugatami-events h2,
.sugatami-events h3,
.sugatami-events h4,
.sugatami-events h5 {
  font-weight: bold;
  text-align: center;
}
.sugatami-events h2 {
  color: #e00101;
}
.sugatami-events h3 {
}
.sugatami-events h4 {
  color: #997300;
  display: flex;
  flex-direction: column;
}
.sugatami-events h4::after {
  content: '';
  display: block;
  height: 4px;
  background-color: #997300;
}
.sugatami-events h5 {
  font-weight: bold;
}

/* 過去イベント */
.sugatami-events-past-events {
}
.sugatami-events-past-events li {
  text-align: center;
}
.sugatami-events-past-events a {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
@media (max-width: 641px) {
  .sugatami-events-past-events a {
    width: min((100 / 640) * 480 * 1vw, 480px);
  }
}
@media (min-width: 641px) {
  .sugatami-events-past-events ul {
    display: flex;
  }
  .sugatami-events-past-events li {
    width: 50%;
  }
  .sugatami-events-past-events a {
    width: min((100 / 900) * 300 * 1vw, 300px);
  }
}

@media (max-width: 641px) {
  .sugatami-events h2 {
    font-size: 1.57rem;
  }
  .sugatami-events h3 {
    font-size: 1.14rem;
  }
  .sugatami-events h4 {
    font-size: 1.14rem;
  }
  .sugatami-events h5 {
  }
}
@media (min-width: 641px) {
  .sugatami-events h2 {
    font-size: 1.66rem;
  }
  .sugatami-events h3 {
    font-size: 1.22rem;
  }
  .sugatami-events h4 {
    font-size: 1.22rem;
  }
  .sugatami-events h5 {
  }
}

/**
 * アイランドとは？
 */
.sugatami-about-island-images ul {
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 641px) {
  .sugatami-about-island-images li {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sugatami-about-island-images li:nth-of-type(n + 2) {
    margin-top: 1rem;
  }
}
@media (min-width: 641px) {
  .sugatami-about-island-images li {
    width: 50%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sugatami-about-island-images li:nth-of-type(n + 3) {
    margin-top: 1rem;
  }
}
