@charset "utf-8";

/* ===========================
 　　共通（レイアウト）
============================== */

/* images.cssの記述内容（改変）*/
body {
  background-image: url(../images/bg_body.png);
  background-color: #fefefe;
}
#header {
  background: url('../images/header.png') no-repeat center center;
}
section {
  margin-top: 30px;
}

/* メインエリア */
body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 16px;
}

section p {
  padding: 0 20px 0 10px;
}

.SentenceList {
  margin: 0 10px;
}

/* ヘッダー */
div#header h1 {
  padding: 0.5em;
}

div#header h1 a {
  color: #d60239;
  text-shadow: white 2px 0px, white -2px 0px, white 0px -2px, white 0px 2px, white 2px 2px, white -2px 2px, white 2px -2px, white -2px -2px, white 1px 2px, white -1px 2px, white 1px -2px, white -1px -2px, white 2px 1px, white -2px 1px, white 2px -1px, white -2px -1px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: 1px;
}

div#header h1 a:hover {
  color: #09f;
  text-shadow: white 2px 0px, white -2px 0px, white 0px -2px, white 0px 2px, white 2px 2px, white -2px 2px, white 2px -2px, white -2px -2px, white 1px 2px, white -1px 2px, white 1px -2px, white -1px -2px, white 2px 1px, white -2px 1px, white 2px -1px, white -2px -1px;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ヘッダー説明文の文字色 */
div#header p {
  color: #b36500;
  padding: 0 5px 0 20px;
}

/* Bootstrap5のレイアウト調整 */
#global_menu {
  padding-left: 1rem;
}

ul#global_menu li {
  font-size: 13px;
  width: 19.2%;
  display: inline-block;
  text-align: center;
  border: 1px solid #e1023c;
  border-radius: 5px;
  background: linear-gradient(to top, #e22d5c, #e88a9a);
  transition: all 0.3s ease;
  box-shadow: 0px 4px 0px #b12549;
}

ul#global_menu li a {
  display: block;
  padding: 10px 5px;
  color: #fff;
  text-decoration: none;
}

ul#global_menu li:hover,
ul#global_menu li.active {
  transform: translateY(2px);
  background: linear-gradient(to top, #d11a45, #e88a9a);
  box-shadow: none;
}

ul#global_menu li a:hover,
ul#global_menu li.active a {
  color: #111;
}

ul#global_menu li.active {
  background: linear-gradient(to top, #ccc, #eee);
  border: 1px solid #999;
}

/* Bootstrap 5用にカスタマイズしたパンくずリストのスタイル */
.breadcrumb {
  padding: 8px 15px;
  margin-bottom: 20px;
  list-style: none;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.breadcrumb a:hover {
  text-decoration: none;
}

div.ovh {
  overflow: hidden;
}

/* 広告 */
p.txt-ad {
  font-size: 14px;
  text-align: center;
}

@media (max-width: 600px) {
  p.txt-ad {
      font-size: 12px;
  }
}

p.txt-ad span {
  display: inline-block;
  background-color: rgba(1, 1, 1, 0.7);
  border-radius: 6px;
  padding: 5px 20px;
  color: #fff;
}

/* ===========================
 　　コンポーネント（見出し含）
============================== */
/* セクションごとのタイトル */
h3.sectionTitle {
  color: #1a398f;
  border-bottom: 2px solid #1a398f;
  padding: 0px;
  display: inline-block;
  line-height: 1.2;
  margin: 20px 0;
  font-size: 1.2em;
  display: block;
  font-weight: 700;
}

h3.sectionTitle span {
  font-size: 1.5em;
  color: #fff;
  background-color: #1a398f;
  padding: 5px;
  margin-right: 3px;
  position: relative;
  bottom: 3px;
}

/* FAQのタイトル */
h3.faqTitle {
  position: relative;
  background: #fbfdef;
  padding: 8px 5px 8px 40px;
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 1px;
  color: #7b6459;
  border-radius: 0 10px 10px 0;
}

h3.faqTitle i {
  color: white;
  background: #ff6363;
  border-radius: 50%;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.29);
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
}

/* 左にアイコン見出し */
h4.SubTitle {
  position: relative;
  padding-left: 5px;
  line-height: 1.4;
  color: #d52727;
  font-size: 1.2em;
  font-weight: 600;
  border-bottom: dotted 1px #ddd;
}

/* フッターメニュー */
h4.footerMenu {
  letter-spacing: 2px;
  background-color: #ccc;
  border-radius: 10px;
  padding: 8px 20px;
}

/* ランキングリスト*/
.RankingWrap {
  border: solid 1px #ccc;
  border-radius: 4px;
  margin: 0 auto;
  padding: 10px;
  background-color: #fff;
  margin-bottom: 60px;
}

.RankingWrap h2.RankingTitle {
  position: relative;
  padding-left: 1.8em;
  line-height: 1.2;
  color: #7b6459;
  font-weight: bold;
  border-bottom: dotted 1px #ddd;
}

.RankingWrap h2.RankingTitle:before {
  content: url(../images/icon_crown.png);
  position: absolute;
  font-size: 1em;
  left: 0;
  top: 0;
  color: #ff938b;
  padding-left: 10px;
}

.RankingWrap h4.MeritTitle {
  font-size: 1.2em;
  color: #333367;
  padding-left: 15px;
  font-weight: bold;
  line-height: 1.25;
  margin: 10px 0;
}

.RankingWrap table tr {
  border-bottom: solid 1px #ccc;
}

.RankingWrap table tr th {
  width: 110px;
}

.RankingWrap table tr th,
.RankingWrap table tr td {
  line-height: 1.5;
  padding: 4px;
}

/* プロフィール */
.ProfielList {
  border: 2px solid #ffa84c;
  border-radius: 5px;
  padding: 20px;
  margin: 0 0 20px 0;
  box-shadow: 0px 4px 0 #eee;
  -webkit-box-shadow: 0px 4px 0 #eee;
  -moz-box-shadow: 0px 4px 0 #eee;
}

/* 通常使うテーブル */
table.tableList {
  border-collapse: collapse;
  border: solid 2px #a77424; /*表全体を線で囲う*/
  margin: 0 5px;
}

.tableList tr th {
  background-color: #fdf6ea;
  padding: 10px;
  border: dashed 1px #a77424;
}

.tableList tr td {
  padding: 5px;
  border: dashed 1px #a77424;
}

/* ===========================
 状態（ステータス）
============================== */
/* FAQのマウスオーバー */
.accordion-button:hover {
  background-color: #e3eeff !important;
}

/* フッターメニューのマウスオーバー */
.list-group-item:hover {
  background-color: #f9cad3;
}

/* ===========================
 　　メディアクエリー（レスポンシブ）
============================== */

@media (min-width: 768px) {
  /* BootStrapのcontainer対策 */
  div#header {
    height: 250px;
    margin-left: calc(-1 * var(--bs-gutter-x) / 2);
    margin-right: calc(-1 * var(--bs-gutter-x) / 2);
    width: calc(100% + var(--bs-gutter-x));
    margin-bottom: 0.5em;
  }

  div.container {
    width: 900px;
    background: #fefefe;
    border-left: 1px solid #acc3e1;
    border-right: 1px solid #acc3e1;
  }

  section {
    padding: 0 20px;
  }

  div.beginningSentence {
    margin-top: 10px;
    padding: 10px 25px 10px 25px;
  }

  /* ソーシャルボタン */
  div#socialbuttons {
    overflow: hidden;
    clear: both;
  }
  div#socialbuttons > div {
    float: left;
  }
}

/* タブレット・スマホ向けのスタイル: 768px 以下 */
@media (max-width: 768px) {
  body {
    background-image: none !important;
    font-size: 14px;
  }
  #header {
    background: url('../images/header_tab.png') no-repeat center center;
    height: 221px;
    margin-bottom: 0.5em;
  }
}

@media (min-width: 601px) and (max-width: 767px) {
  /* .containerや.container-smの最大幅調整 */
  .container,
  .container-sm {
    max-width: 760px;
  }
}

/* スマートフォン向けのスタイル: 600px 以下 */
@media (max-width: 600px) {
  div#contents img {
    max-width: 100%;
    height: auto !important;
    display: inline-block;
    float: none !important;
  }
  #header {
    background: url('../images/header_sp.png') no-repeat center center;
    height: 190px;
    margin-bottom: 0.5em;
    margin-left: calc(-1 * var(--bs-gutter-x) / 2);
    margin-right: calc(-1 * var(--bs-gutter-x) / 2);
    width: calc(100% + var(--bs-gutter-x));
  }
  div#header h1 a {
    font-size: 18px;
  }

  div#header p {
    padding: 5px !important;
  }

  ul#global_menu {
    display: none;
  }

  /* テーブルを縦に表示 */
  .tableList,
  .tableList tbody,
  .tableList tr,
  .tableList td,
  .tableList th {
    display: block;
    width: 100%;
  }
  .tableList tr {
    margin-bottom: 8px;
  }
  .tableList th {
    background-color: #fdf6ea;
    border: none !important;
  }
  .tableList td {
    border: none !important;
    position: relative;
    padding-left: 50%;
  }

  /* MENUの見出しをセンターに */
  h4.footerMenu {
    text-align: center;
  }

  .display_sp {
    display: inline-block;
  }
  .display_pc {
    display: none;
  }
}

/* ===========================
 　　ユーティリティ（表示／非表示）
============================== */

/* デスクトップで表示させる */
@media (min-width: 768px) {
  .display_sp {
    display: none;
  }
  .display_pc {
    display: inline-block;
  }
}