* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
div,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form {
  margin-top: 0;
  margin-bottom: 1em;
}
p {
  font-size: 16px;
}
a:hover {
  opacity: 0.5;
}
img {
  max-width: 100%;
  display: block;
  margin: 15px 0;
}

h2,
h3,
h4 {
  font-size: 20px;
  border-left: 5px solid #4e1003;
}
h3,
h4 {
  padding: 5px 0 5px 5px;
}
h1 {
  text-align: center;
  font-size: 31px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0 25px;
}
h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid red;
  padding: 5px 0 0 9px;
  background-color: rgb(255, 233, 200);
}

.pc {
  display: block;
}
.sp {
  display: none;
}

/* ============================================================
   2. レイアウト（header / container / main / side / entry / footer）
   ============================================================ */
#header {
  padding: 0;
  margin: 0;
  background-image: url(/img/back-1.png);
  background-size: auto auto;
  background-position: center;
}
.header__imageArea {
  margin: 0 auto;
  text-align: center;
}
#header .header__imageArea img {
  margin: 0 auto;
  display: none;
}

#container {
  margin: 0 auto;
  width: 900px;
}
#main {
  width: 700px;
  float: none;
  margin: 0 auto;
}

#side {
  width: 170px;
  float: right;
  margin: 0;
}
#side::after {
  content: "";
  width: 100%;
  clear: both;
}
#side a {
  color: #333;
}
#side li {
  list-style: none;
  margin-bottom: 1rem;
  font-size: 0.75em;
}

.images {
  width: 200px;
  float: right;
  margin: 0 0 10px 20px;
}
.images img {
  width: 100%;
}

.entry {
  border-bottom: 1px dotted #ccc;
  padding: 0 0 20px;
  margin: 0 0 20px;
}
.entry p {
  line-height: 30px;
  font-size: 20px;
}
.entry:after {
  content: ".";
  display: block;
  height: 0;
  font-size: 0;
  clear: both;
  visibility: hidden;
}

#footer {
  text-align: center;
  padding: 20px 0;
  color: #fff;
  margin-bottom: 0;
  background: #fff8e8;
  border-top: 1px solid #d7b14f;
  float: left;
  width: 100%;
  position: relative;
}
#footer::before {
  content: "";
  position: absolute;
  height: 5px;
  width: 100%;
  background: linear-gradient(
    45deg,
    #ffc06e 25%,
    transparent 25%,
    transparent 50%,
    #ffc06e 50%,
    #ffc06e 75%,
    transparent 75%
  );
  top: 0;
  left: 0;
  background-repeat: repeat-x;
  background-size: 5px 5px;
}
#footer a {
  color: #333;
}
#footer p {
  color: #333;
}
#footer #copy {
  font-size: 14px;
}

/* ============================================================
   3. ページ共通パーツ（gaiheki_discover/css/style.css 由来）
   ============================================================ */
.big {
  font-size: 22px;
}
.little-big {
  font-size: 18px;
}
.flex {
  display: flex;
}
.aaa {
  margin-left: auto;
  margin-right: auto;
}
.ccc {
  margin: 0 auto;
}
.match-big {
  font-size: 22px;
}
.nuri-big {
  font-size: 24px;
}
.main {
  max-width: 800px;
  margin: 0 auto;
}
.header {
  max-width: 800px;
  padding: 0.5em 0;
  margin: 0 auto;
  color: #232323;
  background: #fff8e8;
  border-left: solid 10px #ffc06e;
}

.kome {
  font-weight: bold;
}
.offer {
  margin: 0 auto;
}
.text-offer {
  text-align: right;
}

.yu {
  background: linear-gradient(transparent 70%, yellow 0%);
}
.ru {
  background: linear-gradient(transparent 70%, red 0%);
}
.bu {
  background: linear-gradient(transparent 70%, rgb(167, 183, 255) 0%);
}
.red {
  color: red;
}
.blue {
  color: #1c6dd0;
}
.orange {
  color: orange;
  font-size: 18px;
}
.bold {
  color: #333;
  font-size: 18px;
}

.nuri-center {
  text-align: center;
}
.minute {
  margin-top: 0;
  margin-bottom: -5px;
  text-align: right;
  color: gray;
  font-size: 14px;
}

/* ジャンプするボタン */
.offer2 {
  animation: jump 2s infinite;
}
@keyframes jump {
  0% {
    transform: translate(0, 0);
  }
  15% {
    transform: translate(0, -20px);
  }
  30% {
    transform: translate(0, 0);
  }
  40% {
    transform: translate(0, -5px);
  }
  50% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}
.offer2 a {
  display: block;
  width: 98%;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  background: linear-gradient(0deg, #69a71b, #50cf02);
  border-radius: 999vh;
  box-shadow: 4px 5px 10px #384b00;
  margin: 0 auto 15px;
  padding: 2.5rem 0;
}

/* チェックリスト */
.check {
  display: block;
  width: 70%;
  text-align: left;
  background: #fff8e8;
  box-shadow: 0 1px 5px #e1e3c4;
  margin-top: 2rem;
  padding: 1rem 0;
}
.check ul {
  display: inline-block;
  list-style: none;
}
.check ul li {
  font-weight: bold;
  line-height: 2rem;
  text-indent: -2rem;
  padding-left: 3.5rem;
}
.check ul li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  color: #cf5760;
  content: "\f00c";
  margin-right: 1em;
}

/* ============================================================
   4. ページ内 <style> 由来
   ============================================================ */
.center {
  text-align: center;
}
.toggleBtn,
.toggleHidden {
  display: none;
} /* 検索BOX非表示 */

table {
  width: 80%;
  margin: auto;
  border-collapse: collapse;
}
td,
th {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}
th {
  background-color: #ffc06e;
}

#areaList h2 {
  background: none;
  text-align: center;
  color: #ff9b19;
  padding: 0;
  margin: 2em 0;
  text-indent: 0;
  border: none;
}
#areaList h2::before {
  content: "";
  display: none;
}
#areaList h3 {
  border-bottom: solid 1px #ccc;
  border-left-color: #ff9b19;
  padding-left: 0.7em;
}
#areaList ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 1.5rem;
}
#areaList ul li {
  display: inline-block;
  margin: 0;
  text-indent: 0;
  padding: 0;
}
#areaList ul li::before {
  content: "";
  display: none;
}

/* ============================================================
   5. tablesorter（tablesorter/style.css 由来）
   ============================================================ */
table.tablesorter {
  font-family: arial;
  background-color: #cdcdcd;
  margin: 10px 0 15px;
  font-size: 8pt;
  width: 100%;
  text-align: left;
}
table.tablesorter thead tr th,
table.tablesorter tfoot tr th {
  background-color: #e6eeee;
  border: 1px solid #fff;
  font-size: 8pt;
  padding: 4px;
}
table.tablesorter thead tr .header {
  background-image: url(/tablesorter/bg.gif);
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
}
table.tablesorter tbody td {
  color: #3d3d3d;
  padding: 4px;
  background-color: #fff;
  vertical-align: top;
}
table.tablesorter tbody td a {
  color: #0024ff;
  text-decoration: underline;
}
table.tablesorter tbody tr.odd td {
  background-color: #f0f0f6;
}
table.tablesorter thead tr .headerSortUp {
  background-image: url(/tablesorter/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
  background-image: url(/tablesorter/desc.gif);
}
table.tablesorter thead tr .headerSortDown,
table.tablesorter thead tr .headerSortUp {
  background-color: #8dbdd8;
}

/* ============================================================
   6. 検索・詳細画面（common/style_search.css 由来）
   ============================================================ */
#search_condition {
  border: 1px solid #ccc;
  padding: 5px;
  background-color: #f9f9f9;
  line-height: 1.5em;
  font-size: 12px;
  margin-bottom: 15px;
}
#search_condition h3.head {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 3px;
}
#search_condition span {
  font-size: 10px;
  display: inline-block;
  padding: 1px 4px;
  border: 1px solid #ccc;
  background-color: #fff;
  margin-right: 5px;
  color: #555;
  margin-bottom: 2px;
}

#sort {
  padding: 5px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  line-height: 1.5em;
}
#sort .sort_up,
#sort .sort_down {
  text-decoration: none;
  color: #37a3ff;
  border: 1px outset #ccc;
  display: inline-block;
  background-color: #fff;
  padding: 3px 4px;
  font-weight: normal;
  margin-top: 2px;
  font-size: 14px;
  transform: scale(0.75);
  width: 22px;
  text-align: center;
}
#sort .sort_up:hover,
#sort .sort_down:hover,
#sort .sort_up:active,
#sort .sort_down:active {
  background: #ccc;
}
#sort .sort_down {
  margin-left: 3px;
}
#sort h3 {
  font-size: 16px;
}

.search_result {
  border: 2px solid #ddd;
  margin-bottom: 15px;
}
.search_result h3.head {
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  border-bottom: 2px solid #82c6ff;
  font-size: 16px;
  padding: 5px;
  color: #0666b7;
  text-shadow: 0 1px 0 #bbb;
}
.detail_info h4,
.search_result .inner h4 {
  margin: 0 0 3px;
}
.detail_info h4 .mark,
#search_form .inner h4 .mark,
.search_result .inner h4 .mark {
  color: #1795ff;
  font-size: 12px;
  margin-right: 6px;
  vertical-align: top;
  display: inline-block;
  padding-top: 1px;
}
.detail_info p,
.search_result .inner p {
  border-bottom: 1px solid #ccc;
  margin-bottom: 7px;
  padding-bottom: 5px;
}
.search_result .inner {
  padding: 8px;
}

.search_result .conveni span {
  display: inline-block;
  padding: 2px 4px;
  margin-bottom: 2px;
  color: #fff;
  font-size: 12px;
  text-shadow: none;
}
.conveni .seven {
  background-color: #f60;
}
.conveni .lowson {
  background-color: #007eff;
}
.conveni .famima {
  background-color: #4dbb27;
}
.conveni .thanks {
  background-color: #fb5757;
}
.conveni .mstop {
  background-color: #f0d102;
}

.search_result .feature span {
  display: inline-block;
  border: 1px solid #0787ff;
  padding: 1px 2px;
  color: #0787ff;
  margin: 1px 1px 1px 0;
  font-size: 12px;
}

.search_result .btn_official {
  background: linear-gradient(to bottom, #ffa443 0%, #ff7400 100%);
  border: 1px solid #ff7022;
}
.search_result .btn_detail {
  background: linear-gradient(to bottom, #85c4ff 0%, #1483f5 100%);
  border: 1px solid #0d87dc;
}
.search_result .btn_official,
.search_result .btn_detail {
  display: block;
  width: 90%;
  padding: 7px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  margin: 0 auto 8px;
  text-shadow: none;
  border-radius: 10px;
}
.search_result .btn_detail span,
.search_result .btn_official span {
  color: #fff;
}
.search_result .btn_detail:hover,
.search_result .btn_detail:active {
  background: #1483f5;
}
.search_result .btn_official:hover,
.search_result .btn_official:active {
  background: #ff7400;
}

.sub_head {
  margin: 5px auto;
  text-align: center;
  color: #0666b7;
  font-size: 18px;
  font-weight: bold;
}

#paging {
  list-style: none;
  text-align: center;
  margin-bottom: 20px;
}
#paging li {
  display: inline-block;
  border: 1px solid #ccc;
}
#paging li.active {
  padding: 3px 8px 4px 7px;
  background-color: #54a3fc;
  color: #fff;
  border: none;
}
#paging li a {
  display: inline-block;
  text-decoration: none;
  padding: 3px 7px;
  background-color: #fff;
  border-bottom: 1px solid #aaa;
  border-right: 1px solid #aaa;
}
#paging li a:hover {
  background-color: #54a3fc;
  color: #fff;
  border: none;
  padding-right: 8px;
  padding-bottom: 4px;
}

.menu {
  list-style: none;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  background: #fff;
}
.menu li {
  border-bottom: 1px solid #ccc;
}
.menu li.last {
  border-bottom: none;
}
.menu li.menu_head {
  text-align: center;
  color: #fff;
  font-weight: bold;
  background: linear-gradient(to bottom, #99ceff 0%, #3fa2ff 100%);
  padding: 7px;
  text-shadow: none;
}
.menu li a {
  text-decoration: none;
  display: block;
  padding: 7px;
}
.menu li a:hover {
  text-decoration: underline;
}

/* 詳細画面 */
#detail_head {
  border-bottom: 2px solid #82c6ff;
  padding-bottom: 3px;
  margin-bottom: 10px;
  font-size: 18px;
}
#detail_img {
  text-align: center;
  margin-bottom: 10px;
}
#detail_img img {
  width: 300px;
}
.detail_info {
  border: 2px solid #d3d3d3;
  padding: 10px;
  margin-bottom: 15px;
}
.detail_info .conveni span {
  display: inline-block;
  padding: 2px 4px;
  margin-bottom: 2px;
  color: #fff;
  font-size: 14px;
  text-shadow: none;
}
.detail_info #feature span {
  display: inline-block;
  border: 1px solid #0787ff;
  padding: 1px 2px;
  color: #0787ff;
  margin: 1px 1px 1px 0;
  font-size: 14px;
}
#detail_sub_head {
  border-bottom: 2px solid #82c6ff;
  padding-bottom: 3px;
  padding-top: 3px;
}
.detail_info .conveni,
.detail_info .last {
  border-bottom: none;
  margin-bottom: 0;
}
#detail_btn_official {
  background: linear-gradient(to bottom, #ffa443 0%, #ff7400 100%);
  border: 1px solid #ff7022;
  display: block;
  width: 97%;
  padding: 7px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  margin: 0 auto 8px;
  text-shadow: none;
  border-radius: 10px;
}
#detail_btn_official:hover,
#detail_btn_official .btn_official:active {
  background: #ff7400;
}

.page_header {
  border-color: #ddd;
  color: #333;
  text-shadow: 0 1px 0 #eee;
  font-weight: bold;
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  border-top: 3px solid #82c6ff;
  padding-bottom: 2px;
}

#form_table {
  border-collapse: collapse;
}
#form_table th {
  width: 100px;
  font-size: 14px;
  padding: 7px;
  background: #e0f6ff;
  color: #3479bf;
}
#form_table td {
  padding: 7px;
}

/*
 * ※貼付けのCSSには form#s_form{font-size:0;display:none;} がありましたが、
 *   このURLの実際の表示ではフォームは非表示になっていない（display:block・高さ0）ため、
 *   見た目を合わせる目的で無効にしています。必要な場合は下の行のコメントを外してください。
 */
/* form#s_form{font-size:0;display:none;} */
form#s_form select {
  width: 34%;
}
form#s_form select:nth-of-type(odd) {
  margin-right: 2%;
}
form#s_form select:nth-of-type(even)::after {
  content: "\A";
  white-space: pre;
}
form#s_form label {
  width: 15%;
  display: inline-block;
}
form#s_form label,
form#s_form select {
  font-size: 0.75rem;
  margin-bottom: 0.2em;
}
p#btn_space {
  margin-top: 1%;
  margin-bottom: 1%;
  text-align: right;
}

/* ============================================================
   7. レスポンシブ
   ============================================================ */

/* ---- 600px以下（common/style_m_sp.css） ---- */
@media screen and (max-width: 600px) {
  body {
    font-family:
      Verdana, Roboto, "Droid Sans", YuGothic, Meiryo,
      "Hiragino Kaku Gothic ProN", sans-serif;
  }
  .pc {
    display: none;
  }

  #header {
    background-size: cover;
  }
  .header__imageArea {
    margin-bottom: 1%;
  }
  #container {
    padding: 0 2%;
    width: 96%;
  }
  #main {
    width: 100%;
  }

  #side {
    width: 100%;
    float: none;
    display: none;
  }
  #side ul {
    display: none;
  }
  #side h4 span {
    transition-duration: 0.25s;
    display: inline-block;
  }
  #side h4.rotate span {
    transform: rotate(180deg);
  }

  .images {
    width: 100%;
    float: none;
    margin: 10px 0;
    text-align: center;
  }
  .images img {
    width: 98%;
    margin: 0 auto;
  }
  .entry {
    display: none;
    padding: 0 0 5px;
    margin: 0 0 5px;
  }
  .entry p {
    line-height: 25px;
    font-size: 18px;
  }

  #footer {
    padding: 10px;
  }
}

/* ---- 480px以下 ---- */
@media screen and (max-width: 480px) {
  .check {
    width: 96%;
  }
  #areaList h2 {
    font-size: 4.7vw;
    margin: 2em -10%;
  }
}

/* ---- 450px以下 ---- */
@media (max-width: 450px) {
  h1 {
    font-size: 18px !important;
  }
  #container {
    width: 100%;
  }
  .sp {
    display: block;
  }
  .match-big {
    font-size: 18px;
  }
  .offer2 a {
    font-size: 20px;
    box-shadow: 2px 3px 7px #384b00;
    padding: 1.5rem 0;
  }
}
