/* =========================
   全体
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "游ゴシック体", YuGothic, sans-serif;
  margin: 0;
  padding: 0;
  background: #EBF9FC;
  color: #333;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

@media screen and (max-width:767px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }
}



/* ===============================
   メインコンテンツラッパー
=============================== */
.content-wrapper {
  max-width: 1100px;
  margin: 20px auto 50px;
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0, 142, 165, 0.1);
}

/* ===============================
   シミュレーター画像
=============================== */
.simulator-image {
  text-align: center;
  margin-bottom: 30px;
  overflow: hidden;
  /* 親要素からはみ出さない */
}

.simulator-image img {
  max-width: 100%;
  /* 親要素幅を超えない */
  height: auto;
  /* 縦横比を維持 */
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  /* 角を少し丸める（任意） */
}



/* ===============================
   タイトル部分
=============================== */
.page-title {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid #76C7EA;
  color: #333;
}


.container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
}

/* ===============================
   本文
=============================== */
.text-area {
  font-size: 16px;
  line-height: 1.8;
}

.text-area p {
  margin-bottom: 20px;
}

/* ===============================
   計算機部分
=============================== */
.calc_box form{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-weight: normal;
}
.calc_box form .input_box{
  width: 48.5%;
  box-shadow: 0 3px 5px rgba(0,0,0,0.2);
  background-color: #f1f1f1;
  text-align: center;
  padding-bottom: 40px;
  margin-bottom: 50px;
}
.calc_box form .submit_box{
  width: 60%;
  margin: auto;
}
.calc_box form .input_box h3{
  text-align: center;
  padding: 15px 0;
  color: #fff;
  margin-bottom: 30px;
  font-size: 20px;
  letter-spacing: 1px;
}
.calc_box form .input_box h4{
  margin: 40px auto 35px;
  font-size: 20px;
  position: relative;
}
.calc_box form .input_box h4+p{
  display: block;
  margin-bottom: 30px;
  font-weight: normal;
}
.calc_box form .input_box h4::after{
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #F9CE8A;
  border-radius: 2px;
}
.calc_box form .input_box.pink h3{
  background-color: #8EC15A;
}
.calc_box form .input_box.blue h3{
  background-color: #F49AAD;
}
.calc_box form .input_box.yellow h3{
  background-color: #F9C764;
}
.calc_box form .input_box input[type="radio"]{
  display: none;
}
.calc_box form .input_box input[type="number"]{
  padding: 10px;
  border: 1px solid #323232;
  border-radius: 5px;
  margin-inline: 8px;
  display: inline-block;
  width: 150px;
  font-size: 20px;
  text-align: center;
}
.calc_box form .input_box.yellow input[type="number"]{
  width: 60px;
}
.calc_box form .input_box label{
  border: 1px solid #323232;
  font-size: 20px;
  color: #323232;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  box-sizing: border-box;
  margin-inline: 8px;
  padding: 5px 10px;
  font-weight: normal;
  box-sizing: border-box;
}
.calc_box form .input_box input:checked+label{
    background: #5fc2f5;
    color: #fff;
    border: 2px solid #2b90c2;
    font-weight: bold;
}

.calc_box form .input_box .lil_flex{
  display: flex;
  justify-content: center;
  gap: 10px;
}
.calc_box form .input_box .lil_flex h4{
  font-size: 15px;
}
.calc_box form .input_box .lil_flex h4+div{
  margin-bottom: 10px;
}
.calc_box form .submit_box input[type="button"]{
  display: block;
  width: 100%;
  background-color: #cc5e58;
  margin-bottom: 30px;
  padding: 27px 0;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 21px;
  font-weight: bold;
  border-radius: 3rem;
  box-shadow: 0px 2px 2px rgb(0 0 0 / 29%);
  cursor: pointer;
}
.calc_box form .submit_box .result{
  background-color: #F9F0D8;
  border-radius: 5px;
  padding: 50px 0;
  position: relative;
  height: auto;
  min-height: 150px;
  text-align: center;
}
.calc_box form .submit_box .result h3{
  font-size: 25px;
  margin-bottom: 30px;
}
.calc_box form .submit_box .result .result_txt{
  line-height: 2.3;
  display: none;
}
.calc_box form .submit_box .result .result_txt span{
  font-weight: bold;
  font-size: 1.8em;
  color: #ff0000;
}
.calc_box form .submit_box .result .result_txt span input{
  display: inline;
  font-weight: bold;
  font-size: 1.4em;
  color: #ff0000;
}


/* ==========================
   info-block 共通
========================== */
.info-block {
  margin-bottom: 30px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: #fff;
}

/* 見出し部分 */
.info-header {
  padding: 14px 20px;
  text-align: center;
}

.info-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: bold;
  color: #fff;
}

.blue-header {
  background-color: #76C7EA;
  /* 用語について */
}

.red-header {
  background-color: #ED7674;
  /* 免責事項 */
}

/* 本文部分 */
.info-body {
  padding: 20px;
  background: #fff;
}

.blue-body {
  background: #EBF9FC;
  /* 用語について：水色背景 */
}

.yellow-body {
  background: #fffcf4;
  /* 免責事項：薄い黄色背景 */
  border: 1px solid #fffaeb;
}

/* 用語の項目 */
.item {
  margin-bottom: 15px;
}

.item-title {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 18px;
  color: #222222;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.item-title .dli-search {
  display: inline-block;
  color: #222222;
  font-size: 20px;
  font-weight: bold;
  width: 16px;
  height: 16px;
  line-height: 20px;
  border-radius: 50%;
  text-align: center;
  margin-right: 8px;
}

.item-text {
  font-size: 16px;
  line-height: 1.6;
}

.item-text a {
  color: #e45b5b;
  text-decoration: underline;
}

.dli-search {
  display: inline-block;
  vertical-align: middle;
  color: #222222;
  line-height: 1;
  width: 0.7em;
  height: 0.7em;
  border: 0.1em solid currentColor;
  border-radius: 50%;
  box-sizing: content-box;
  position: relative;
}

.dli-search::before {
  content: '';
  position: absolute;
  top: calc(85.35534% + 0.07071em);
  left: calc(85.35534% + 0.07071em);
  width: 0.336em;
  height: 0.1em;
  background: currentColor;
  border-radius: 0 0.1em 0.1em 0;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: left center;
}

/* 免責事項の文章 */
.intro {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
  border-bottom: 2px solid #e45b5b;
  padding: 3px 3px 18px 3px;
}

/* 注意事項 */
.note {
  margin-bottom: 20px;
}

.note-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.note-title .icon {
  display: inline-block;
  background: #222222;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 50%;
  text-align: center;
  margin-right: 8px;
}

.note-text {
  font-size: 16px;
  line-height: 1.8;
  color: #222222;
  padding-left: 28px;
}

.note2 {
  margin-bottom: 20px;
}

.note-title2 {
  font-size: 18px;
  font-weight: bold;
  color: #555555;
  margin-bottom: 5px;
}

.note-text2 {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
}


/* ===============================
   cta部分
=============================== */
.section__cs--conversion {
  text-align: center;
  margin: 40px 0;
}

.section__cs--conversion p {
  font-size: 1.7rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

.section__cs--conversion p span {
  color: #76C7EA;
}

.section__cs--conversion .btn__line a {
  display: inline-block;
  padding: 30px 90px;
  background: #06C655;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 60px;
  text-decoration: none;
  /* 下線を削除 */
  transition: 0.3s;
}

.section__cs--conversion .btn__line a:hover {
  opacity: 0.8;
}

@media (max-width: 480px) {
  .section__cs--conversion .btn__line a {
    padding: 20px 40px;
    font-size: 1.2rem;
  }
}

/* ===============================
   レスポンシブ対応（スマホ用）
=============================== */
@media screen and (max-width: 768px) {

  /* シミュレーター画像周り */
  .simulator-image {
    margin-bottom: 20px;
  }

  /* ページ全体の余白を少し詰める */
  .content-wrapper {
    padding: 1px;
  }

  .page-title {
    font-size: 20px;
  }

  .note-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
  }

  .section__cs--conversion p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
  }

  .info-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
  }

  .calc_box form,
  .calc_box form .input_box .lil_flex{
    display: block;
  }
  .calc_box form .input_box,
  .calc_box form .submit_box{
    width: 100%;
  }
  .calc_box form .input_box.yellow input[type="number"]{
    width: 90px;
  }
}


.simulator_ttl{
  text-align: center;
  color: #5fc2f5;
  font-size: 26px;
  padding: 15px 0;
}
.simulator_ttl+p{
  display: block;
  text-align: center;
  font: 18px;
  margin-bottom: 20px;
}
.calc_box form .input_box .child>div+div{
  margin-top: 10px;
}


header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.8);
  padding: 10px;
  z-index: 5;
}
header img{
  display: inline-block;
  width: 300px;
}
@media screen and (max-width: 768px) {
  header{
    padding: 3px 10px;
    text-align: center;
  }
  header img{
    width: 200px;
  }
  .simulator_ttl{
    font-size: 20px;
  }
}