@charset "utf-8";

/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
body {
  background: url(../images/bg.png) #f0f0f0;
}

section {
  overflow: hidden;
}
body.aruru_page {
  font-size: 16px;
}

article {
  margin-bottom: 40px;
}

main.aruru_main {
  background-color: #fefefe;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 12px 0 rgba(0, 0, 0, 0.05);
}

header.aruru_header {
  background-color: #3b4675;
  padding: 0.2em 1em;
  border-bottom: 3px solid #212741;
}
header.aruru_header h1 {
  font-size: 1.4em;
  color: #fff;
}
div.catch_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
div.catch_image p.description {
  font-size: 16px;
  padding: 10px;
}
div.wrap {
  width: 100%;
  margin: auto;
}
article.aruru_article {
  padding: 8px;
}

.aruru_contents_area h1,
.aruru_contents_area h2 {
  background-color: #182877;
  font-size: 1.8em;
  letter-spacing: 1px;
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  border-bottom: 5px solid #fdfa25;
  font-weight: 800;
}

footer.aruru_footer {
  background-color: #3b4675;
  padding: 0.2em 1em;
  border-top: 3px solid #212741;
  text-align: center;
  color: #fff;
  margin-top: 1em;
  padding: 20px;
}
.aruru_contents_area p {
  line-height: 180%;
  margin-bottom: 1em;
  font-size: 1em;
  padding: 0 2px;
}
.aruru_contents_area ul,
.aruru_contents_area ol {
  margin: 1em 1em 1em 1.5em;
  list-style-position: outside;
}
.aruru_contents_area ul li,
.aruru_contents_area ol li {
  margin-bottom: 0.5em;
}
.aruru_contents_area dl {
  margin: 1em 0;
}
.aruru_contents_area dl dt {
  font-weight: bold;
}
/* .aruru_contents_area dl dd {
  padding-left: 3em;
} */
.aruru_contents_area table {
  width: 100%;
  margin: 1em 0;
  border: 1px solid #ccc;
}
.aruru_contents_area table th,
.aruru_contents_area table td {
  padding: 10px;
  border: 1px solid #ccc;
}
footer.aruru_footer a {
  color: #fff;
}

div.aruru_contents_area img {
  max-width: 100%;
  height: auto !important;
  border: none;
}

p.description_noimg {
  width: 100%;
  padding: 15px;
}

ul.sub_menu {
  text-align: center;
  font-size: 14px;
  list-style: none;
  margin: 0 1em;
}
ul.sub_menu li {
  background: #fff;
  border: 1px solid #734229;
  margin-top: -1px;
}
ul.sub_menu li a {
  text-decoration: none;
  display: block;
  padding: 1em 0;
}

ol.breadcrumb {
  list-style: none;
  font-size: 14px;
  margin: 1em;
}

ol.breadcrumb li {
  display: inline-block;
}

a.arrow:before {
  background: url(./images/arrow.gif) no-repeat left center;
}

@media (max-width: 767px) {
  /* 画像表示 */
  p > img {
    display: block;
    margin: auto !important;
    float: none !important;
  }
}

/* TOPへ戻る */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* 初期は非表示 */
  z-index: 100;
  font-size: 24px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#back-to-top:hover {
  background-color: #a51111;
}
/* -------------------------------------------- */
/* ▼タブレット用デザインとして付け足すデザイン */
/* -------------------------------------------- */
@media (min-width: 768px) {
}
/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media (min-width: 900px) {
  body.aruru_page {
    width: 100%;
    margin: auto;
  }
 
  div.wrap {
    max-width: 900px;
    margin: 0 auto;
  }

  main.aruru_main {
    margin: 0 auto;
    max-width: 900px;
  }

  article.aruru_article {
    padding: 0 30px;
  }

  header.aruru_header h1 {
    max-width: 900px;
    margin: auto;
  }
  div.catch_image {
    width: 100%;
    height: 400px;
    position: relative;
  }
  div.catch_image p.description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 24px;
    font-weight: bold;
  }
  p.description_noimg {
    width: 100%;
  }

  main.aruru_main p {
    padding: 0 10px;
    font-size: 1.15em;
  }

  ul.sub_menu li {
    display: inline-block;
    border: none;
    margin-top: 0;
    background: none;
  }
  ul.sub_menu li a {
    background: none;
    text-decoration: underline;
    display: inline;
    border: none;
    padding: 0;
  }

}

/* -------------------------------------------- */
/* ▼ 追加デザイン */
/* -------------------------------------------- */
/* 会話 */
.chat-bubble {
  position: relative;
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 10px;
  display: inline-block;
  max-width: 80%;
  vertical-align: top;
}
.chat-bubble::before {
  content: '';
  position: absolute;
  top: 15px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}
.chat-bubble.received {
  background-color: #fbeded;
}
.chat-bubble.received::before {
  left: -10px;
  border-right-color: #fbeded;
  border-left: 0;
}
.chat-bubble.sent {
  background-color: #f0f0f0;
  align-self: flex-end;
}
.chat-bubble.sent::before {
  right: -10px;
  border-left-color: #f0f0f0;
  border-right: 0;
}
.chat-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: top;
}
.chat-message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.chat-message.sent {
  justify-content: flex-end;
}
.chat-message.sent .chat-avatar {
  margin-right: 0;
  margin-left: 10px;
}

/* おすすめ */
.recommend-box {
  margin: 30px 0;
  border: solid 2px #a51111;
  border-radius: 4px;
  padding: 20px;
}

.recommend-box-title {
  font-size: 1.4em;
  font-weight: 800;
  background-color: #a51111;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
}

/* 斜線タイトル */
.nya-title-container-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  margin: 0;
}

.nya-title-container {
  position: relative;
  text-align: center;
}

.nya-title-with-lines {
  position: relative;
  display: inline-block;
  padding: 0 20px;
  font-size: 1.2em;
  text-align: center;
}

.nya-title-with-lines::before,
.nya-title-with-lines::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 2px;
  height: 100%;
  background: black;
  transform: translateY(-50%);
}

.nya-title-with-lines::before {
  left: -30px;
  transform: rotate(-35deg) translateY(-50%);
}

.nya-title-with-lines::after {
  right: -30px;
  transform: rotate(35deg) translateY(-50%);
}

/* スマートフォン用のメディアクエリ */
@media (max-width: 767px) {
  .nya-title-with-lines {
    font-size: 1em;
    padding: 0 10px;
  }

  .nya-title-with-lines::before {
    transform: rotate(-25deg) translateY(-50%);
  }

  .nya-title-with-lines::after {
    transform: rotate(25deg) translateY(-50%);
  }
}

/* 押されたようになるボタン */
.nya-btn-container a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e69400;
  color: white;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 5px;
  box-shadow: 0 5px 0 rgba(179, 115, 0, 1);
  opacity: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.nya-btn-container a:hover {
  box-shadow: 0 2px 0 rgba(179, 115, 0, 1);
  transform: translateY(3px);
  opacity: 0.9;
}

/* 動く画像 */
.float-img img {
  transition: all 0.3s ease;
}

.float-img a:hover img {
  transform: translateY(-4px);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

/* ランキング */
.ranking-box {
  border: solid 3px #182877;
  border-radius: 20px;
  padding: 20px;
}

.ranking-box h4 {
  font-size: 1.6em;
  font-weight: 900;
  color: #182877;
  /* border-bottom: solid 2px #a51111; */
  position: relative;
  margin-bottom: 1em;
}

.ranking-box h4:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 80px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #a51111;
  border-radius: 2px;
}

.ranking-box .score {
  font-size: 2em;
  font-weight: 900;
  color: #ed6a01;
  margin: 0;
}

.ranking-box .catch-phrase {
  font-size: 1.4em;
  font-weight: 700;
  color: #a51111;
}

.ranking-box .dl-row {
  border-bottom: dotted 1px #ccc;
}

.ranking-box .dl-row dt,
.ranking-box .dl-row dd {
  font-size: 1.1em;
}

/* ボタンを光らせる */
.shainy-btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  box-shadow: 1px 1px 5px gray;
  padding: 20px 0;
}

.shainy-btn span {
  position: relative;
  z-index: 1;
}

.shainy-btn::before {
  position: absolute;
  content: '';
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-45deg);
  animation: shiny-btn 2.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) infinite;
  z-index: 0;
  transition: all 0.4s;
}

@media (max-width: 600px) {
  .shainy-btn {
    width: 100% !important;
  }
}
@keyframes shiny-btn {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* 吹出しタイトル */
.title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.title-container h3 {
  padding: 10px 15px;
  background: #ddffe2;
  border-radius: 20px;
  position: relative;
  display: inline-block;
  font-size: 1.6em;
  letter-spacing: 1px;
}

.icon-small {
  position: absolute;
  left: -40px;
  bottom: 0;
  font-size: 15px;
  color: #ddffe2;
}

.icon-large {
  position: absolute;
  left: -23px;
  bottom: 0;
  font-size: 23px;
  color: #ddffe2;
}

/*  */
.dl-section {
  padding: 0 20px;
}

.dl-section dt {
  padding: 10px 20px;
  border: solid 2px #a51111;
  display: inline-block;
  color: #a51111;
  font-size: 1.05em;
  margin: 0;
}

.dl-section dd {
  font-size: 1.1em;
  margin: 0;
  margin-left: 1em;;
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.dl-row dt {
  flex: 0 0 100px;
}

.dl-row dd {
  flex: 1;
}

/* GIF埋め込み */
.gif-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('../images/img_cycle-pc.gif'); /* デスクトップ用GIF画像のパスを指定 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 557px;
}

/* 768px以下の画面幅で表示するスマホ用GIF */
@media (max-width: 768px) {
  .gif-image {
    background-image: url('../images/img_cycle-sp.gif'); /* スマホ用GIF画像のパスを指定 */
    height: 313px;
  }
}

.gif-image-moudas {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('../images/img_compare-moudas-pc.gif'); /* デスクトップ用GIF画像のパスを指定 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 456px;
}

/* 768px以下の画面幅で表示するスマホ用GIF */
@media (max-width: 768px) {
  .gif-image-moudas {
    background-image: url('../images/img_compare-moudas-sp.gif'); /* スマホ用GIF画像のパスを指定 */
    height: 256px;
  }
}

.gif-image-other {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('../images/img_compare-other-pc.gif'); /* デスクトップ用GIF画像のパスを指定 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 456px;
}

/* 768px以下の画面幅で表示するスマホ用GIF */
@media (max-width: 768px) {
  .gif-image-other {
    background-image: url('../images/img_compare-other-sp.gif'); /* スマホ用GIF画像のパスを指定 */
    height: 256px;
  }
}

/* テーブル */
.table th,
.table td {
  /* font-size: 15px; */
  text-align: center;
  border-color: #182a52;
  vertical-align: middle;
}
.table thead th {
  color: #ffffff;
  background-color: #182a52;
  font-size: 1.1em;
}
.table tbody th {
  background-color: #eaf1fe;
  font-weight: bold;
}

/* リンクカード */
.point-card {
  background-color: #f5f7fa;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.point-card h5 {
  margin-top: 15px;
  font-weight: bold;
  position: relative;
  padding-left: 25px; /* アイコン分のスペースを確保 */
}
.point-card h5::before {
  content: '\F271'; /* Bootstrap Iconsのチェックマーク */
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: #a51111; /* チェックマークの色（Bootstrapのsuccess色） */
  font-size: 1.2em; /* チェックマークのサイズ */
}
.point-card img {
  width: 150px;
  height: auto;
}
.section-title {
  background-color: #182a52;
  color: #ffffff;
  text-align: center;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* リストを記述するボックス */
.custom-box {
  border: 2px solid #a51111;
  padding: 20px;
  margin-top: 20px;
  position: relative;
}
.custom-box-title {
  position: absolute;
  top: -20px;
  left: 20px;
  background-color: white;
  padding: 0 10px;
  color: #a51111;
  font-weight: bold;
  font-size: 1.2em;
}
.custom-box ul {
  list-style-type: none;
  padding-left: 0;
}
.custom-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 16px;
}
.custom-box ul li::before {
  content: '\F30B';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 0;
  color: #2e4ce4;
  font-size: 1.2em;
}

/* 小見出し */
h3.sub-title {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 7px;
  margin-left: 5px;
  color: #333;
  background-image: linear-gradient(90deg, transparent 4px, #b74e4e 4px);
  background-size: 8px 2px;
  background-repeat: repeat-x;
  background-position: bottom;
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 30px;
}

h3.sub-title::before {
  content: '';
  margin-right: 5px;
}

h3.sub-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 25%;
  height: 2px;
  border-bottom: 2px solid #b74e4e;
}

.chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
canvas {
  width: 400px !important;
  height: 400px !important;
}