@charset "UTF-8";

html {
  margin: 0px;
  padding: 0px;
  height: 100%;
  -webkit-font-smoothing: aliased;
  font-size: 62.5%;
  /* remにて計算しやすくした。例：16px = 1.6rem = 1.6em*/
}

body {
  margin: 0px;
  padding: 0px;
  height: 100%;
  font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, YuGothicM, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#wrapper {
  display: flex;
  /* フレックスボックスに有効に */
  flex-flow: column;
  /* 要素を縦に並べる */
  min-height: 100vh;
  /* bodyの最小の高さを画面の高さに設定します。 */
  margin: 0 auto;
  padding: 0;
  clear: both;
  text-align: center;
}

#container {
  display: flex;
  /* フレックスボックスに有効に */
  flex-flow: column;
  /* 要素を縦に並べる */
  min-height: 100vh;
  /* 最小でも画面の高さ分のbodyの高さを担保する */
  padding: 0;
  margin: 0 auto;
  background-image: url('../img/backgroundimg.png'), linear-gradient(180deg, #030c19 90%, #3f7bae 100%);
  /*グラデーション背景に画像を重ねる*/
  /*background-color:#020a17;*/
  background-size: cover;
  /* 画像を画面全体に覆う*/
  background-position: top;
  /* 画像を中央に配置*/
  background-repeat: no-repeat;
  /* 画像を繰り返さない*/
  /*background-attachment: fixed;    /* スクロール時に画像を固定*/
  /*min-height: 100vh;     /* 最小高さを画面全体に*/
  background-size: 100% auto;
}

/*================================================
 *     テキスト
 ================================================*/
 h1 {
  margin: 0 auto;
  padding: 0.8rem;
  font-size: 2.4rem;
  color: midnightblue;
  line-height: 150%;
  text-align: center;
}

h2 {
  margin: 0;
  padding: 0.8rem 3rem;
  letter-spacing: 0.1rem;
}

.h2-bg-color {
  font-size: 1.8rem;
  line-height: 1.8rem;
  color: #0e2a49;
  background-color: #b0c4de;
}

h3 {
  margin: 0 2rem;
  padding: 1rem 2rem;
  display: inline-block;
  font-size: 1.8rem;
  letter-spacing: -0.1rem;
  color: teal;
  background-color: greenyellow
}

h4 {
  color: #1a3441;
  margin: 0 auto;
  padding: 0.6rem 0;
  font-size: 1.6rem;
}

p {
  margin: 0;
  padding: 1.8rem;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

/*最小値:1.1rem → 可変（0.9rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.6rem*/
.font-size-S {
  font-size: clamp(1.1rem, calc(0.9rem + 0.625vw), 1.6rem);
}

/*最小値:1.2rem → 可変（1rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.7rem*/
.font-size-M {
  font-size: clamp(1.2rem, calc(1rem + 0.625vw), 1.7rem);
}

/*最小値:1.6rem → 可変（2.2rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:2.9rem*/
.font-size-L {
  font-size: clamp(2.4rem, calc(2.2rem + 0.625vw), 2.9rem);
}

.font-text-noto400 {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #000;
}

.font-text-noto600 {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.font-size-M {
  text-align: left;
  line-height: 1.6;
}

.font-size-L {
  margin: 0 auto;
  padding: 0;
  font-weight: 600;
  font-size: 1.8rem;
}


/*================================================================================================
 *     ヘッダー
 ================================================================================================*/
.header-image {
  margin: 0;
  padding: 0;
  line-height: 0;
  /* ブラウザのデフォルトで行間（line-height）が３px設定されているのをクリアする */
  width: 100%;
}

.top-background-img {
  /* 背景画像 */
  width: 100%;
}

h1.font-size-M.font-text-noto700 {
  /* 沖縄のゲイ情報＆交流プラットフォーム */
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  white-space: nowrap;
}


/*================================================================================================
 *     main コンテンツ
 ================================================================================================*/
 #main {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0.8rem 0 0 0;
  background-color: aliceblue;
}

#content-yohaku {
  width: 90%;
  padding: 0;
  margin: 0 auto;
}

/*================================================
 * 目次リスト
  ================================================*/

.index {
  /* 目次 */
  width: 40%;
  margin: 2rem auto;
  padding: 0.6rem;
  background-color: aliceblue;
  border-top: solid 5px #174b8f;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.mokuji {
  margin: 0;
  padding: 0.4rem;
  font-size: 1.2rem;
  line-height: 1.2rem;
  letter-spacing: 0.05rem;
  text-align: left;
  list-style-type: custom-counter-style;
  text-decoration: none;
  color: #0a2d55;
}

.mokuji a {
  text-decoration: none;
}

/*================================================
 * バナー広告：バナーボタンの並び
  ================================================*/

/* バナー広告 tableの余白調整 */
.table {
  margin: 0;
  padding: 1.8rem 0 0 2.6rem;
  text-align: left;
  line-height: 160%;
  color: #000;
}

/* バナー広告のボックスを並べる */
.banner-box {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;

  @media (max-width: 768px) {
    justify-content: center;
    flex-direction: column;
  }
}

.banner-box-left img {
  width: 270px;
  height: 90px;
}

.banner-box-right img {
  width: 270px;
  height: 90px;
}

.banner-box-right {
  margin: 1rem;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}

.banner-box-right:hover {
  background-color: #696969
}

.banner-box-left {
  margin: 1rem;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}

.banner-box-left:hover {
  background-color: #696969
}

/*================================================
 * 広告条件項目内にある番号つきリスト
  ================================================*/

/*番号付箇条書きタグ ol につけたクラス名*/
.list {
  margin: 0;
  padding: 1.8rem 4rem;
  padding-left: 4rem;
  color: #000;
}

/* olの直下リスト: ol li */
.list li {
  padding-left: 0.8rem;
  line-height: 160%;
  list-style-type: custom-counter-style;
}

/*最下層のリスト ol li ol*/
.list li ol {
  padding-left: 1.2rem;
}

/*最下層のリスト ol li ol li*/
.list li ol li {
  padding-left: 1.2rem;
  list-style-type: custom-counter-style;
}

/*番号付箇条書きと同じ階層のP*/
.list-p {
  margin: 0 auto;
  padding: 1.8rem 2.6rem;
  text-align: left;
  line-height: 160%;
  color: #000;
}

/*番号なし箇条書き*/
.payment-nonlist {
  margin: 0;
  padding: 1.8rem;
  color: #000;
}

/* olの直下リスト: ol li */
.payment-nonlist li {
  padding-left: 0;
  line-height: 160%;
  list-style-type: none;
}

.list-p a {
  color: darkorange;
}

#section2+p {
  padding-bottom: 0;
}



/*================================================
 *      フッター
 ================================================*/

.footer p {
  margin: 0;
  padding: 0;
  line-height: 3.1rem;
  height: 3.1rem;
  color: #fff;
  font-size: 1.4rem;
  background-image: -moz-linear-gradient(left, #fff, #274d79, #fff);
  background-image: -webkit-linear-gradient(left, #fff, #274d79, #fff);
  background-image: linear-gradient(left, #fff, #274d79, #fff);
}

.copyright {
  width: 100%;
  line-height: 3.1rem;
  height: 3.1rem;
  font-size: 1.4rem;
  display: grid;
  place-content: center;
}

@media screen and (max-width: 480px) {

  /*================================================
    *  画面サイズが480pxからはここを読み込む
  ================================================*/

  .h2-cbd-item {
    font-size: 1.4rem;
  }

  .h2-cbd {
    font-size: 1.6rem;
  }

  .greeting {
    padding: 1rem 1.4rem;
    line-height: 1.5;
  }

  /* 利用規約の番号付箇条書きタグ ol につけたクラス名*/
  .list {
    margin: 0;
    padding-left: 2rem;
  }

  /* olの直下リスト: ol li */
  .list li {
    padding-left: 0.4rem;
    list-style-type: custom-counter-style;
  }

  /* 利用規約の最下層のリスト ol li ol*/
  .list li ol {
    padding-left: 0.6rem;
  }

  /* 利用規約の最下層のリスト ol li ol li*/
  .list li ol li {
    padding-left: 0.6rem;
    list-style-type: custom-counter-style;
  }

  /* 利用規約の番号付箇条書きと同じ階層のP*/
  .list-p {
    margin: 0 auto;
    padding-left: 1.8rem;
    padding-right: 1.8rem;
    padding-bottom: 2rem;
  }

  .list-p a {
    color: darkorange;
  }

  .index {
    /* 目次 */
    width: 80%;
    margin: 1.6rem auto;
    padding: 0;
    color: #2c2c2f;
    background-color: aliceblue;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
  }

}

@media screen and (max-width: 480px) {

  /*================================================
    *  画面サイズが480pxまではここを読み込む
  ================================================*/
  .index {
    /* 目次 */
    width: 90%;
    margin: 0.8rem auto;
    padding: 0.4rem 0;
    background-color: aliceblue;
    border-top: solid 5px #174b8f;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
  }


}
@media screen and (max-width: 600px) {

  /*================================================
    *  画面サイズが600pxまではここを読み込む
  ================================================*/
  .index {
    /* 目次 */
    width: 70%;
    margin: 0.8rem auto;
    padding: 0.4rem 0;
    background-color: aliceblue;
    border-top: solid 5px #174b8f;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
  }

}

@media screen and (min-width: 840px) {

  /*================================================
  *           840px以上 
================================================*/
  #wrapper {
    width: 840px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
  }

}