@charset "utf-8";
/* CSS Document */

/*-----------------------------------*/
/*-----------COMMON STYLE------------*/
/*-----------------------------------*/
html {
  height: -webkit-fill-available;
  overflow-x: hidden;
  /* bodyに入れないとはみ出る */
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  /* mobile viewport bug fix */
  min-height: -webkit-fill-available;
}

@supports(-webkit-touch-callout: none) {

  /* iPhoneの表示のみ指定を上書き */
  div#Wrapper {
    height: -webkit-fill-available;
  }
}

div#Wrapper {
  text-align: center;
  height: auto;
  font-size: 18px;
  padding: 5px 0 0;
  margin: 0px;
  font-family: 'Zen Kaku Gothic', sans-serif;
  font-weight: normal;
}

div#Wrapper div.Container p {
  width: 95%;
  margin: auto;
  text-align: left;
  line-height: 1.8em;
}

div#Wrapper div.bgyellow {
  background-color: #FBD13D;
  padding: 15px;
  color: #FFF;
}

div#Wrapper div.Container img {
  width: 100%;
  margin: 0 auto 20px auto;
}


/*-----------------------------------*/


/*-----------------------------------*/
/*--------------LAYOUT---------------*/
/*-----------------------------------*/
div#Wrapper .image-text-box {
  position: relative;
  width: 100vw;
  overflow: hidden;
  display: block;
}

div#Wrapper .image-text-box img {
  width: 100%;
  height: auto;
  object-position: left;
  /* 蟾ｦ蛛ｴ繧定ｦ九○繧 */
  object-fit: cover;
}

div#Wrapper .overlay-text {
  position: absolute;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 50%;
  color: #000;
  text-align: center;
  padding: 1em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

div#Wrapper .Container {
  width: 1000px;
  margin: auto;
  display: block;
  text-align: center;
  padding-bottom: 50px;
}

div#Wrapper .slider {
  width: 1000px;
  margin: auto;
}

@media screen and (max-width: 1024px) {
  div#Wrapper .overlay-text h1 {
    font-size: 120% !important;
  }
}

@media screen and (max-width: 732px) {
  div#Wrapper .image-text-box {
    padding-top: 25vw;
    margin-top: 15px;
    background-color: #EBF0F3;
  }

  div#Wrapper .overlay-text {
    width: 95%;
    top: 40%;
    left: 50%;
  }

  div#Wrapper .overlay-text p {
    font-size: 90%;
  }
}

/*-----------------------------------*/
/*------------TEXT STYLE-------------*/
/*-----------------------------------*/
div#Wrapper h1 {
  font-size: 250%;
  font-weight: bold;
  font-family: "Lexend", sans-serif;
  line-height: 1.2em;
  text-align: left;
}

div#Wrapper div.Container h2 {
  font-size: 150%;
  font-weight: bold;
  margin: 40px auto;
  display: block;
  text-align: left;
  position: relative;
  color: #000;

}

div#Wrapper div.Container h2:first-child {
  margin-block-start:40px!important;
}

div#Wrapper h2:before {
  content: "";
  position: absolute;
  background: #9de5ff;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  top: 50%;
  /* border: dashed 1px white; */
  left: -15px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: -1;
}

div#Wrapper p {
  text-align: left;
}

div#Wrapper p span.center {
  text-align: center;
  width: 100%;
  display: block;
  font-weight: bold;
  margin-top: 1em;
  font-size: 120%;
}

div#Wrapper span.marker {
  background-color: #def6ff;
  /* 蛍光ペン */
  padding: 0.05em 0.1em;
  border-radius: 0.2em;
  font-weight: bold
}

div#Wrapper .bold {
  font-weight: bold;
}

div#Wrapper .big {
  font-size: 150%;
  display: inline-block;
  margin: 15px auto;
}

div#Wrapper .small {
  font-size: 14px;
  line-height: 14px;
}



/*-----------------------------------*/
/*------------計算ツール-------------*/
/*-----------------------------------*/
div#Wrapper .Calculator {
  display: block;
  width: 60%;
  margin: 15px auto 15px auto;
}

div#Wrapper .Calculator_wrap {
  border-radius: 15px;
  background-color: #DAF0FC;
  padding: 40px;
  width: 50%;
  margin: 15px auto 15px auto;
}

div#Wrapper label {
  margin-bottom: 8px;
  font-weight: bold;
  margin: auto 20px 20px auto;
}

div#Wrapper input[type="number"] {
  width: 100px;
  padding: 10px;

  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

div#Wrapper button {
  display: block;
  margin: auto;
  width: 100px;
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

div#Wrapper button:hover {
  background-color: #0056b3;
}

div#Wrapper .result {
  margin-top: 30px;
  padding: 15px;
  background-color: #e9f7ef;
  border: 1px solid #d4edda;
  border-radius: 4px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #155724;
}

div#Wrapper .error-message {
  color: #dc3545;
  margin-top: -10px;
  margin-bottom: 10px;
}

/*-----------------------------------*/
/*------------ Tab Style ------------*/
/*-----------------------------------*/


div#Wrapper .tab_label_left {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

div#Wrapper .tab_label_right {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}


div#Wrapper .tab_wrap .tab_area label {
    width: 50%;
    margin: 0;
    display: inline-block;
    padding: 15px 0;
    color: #007BFF;
    background: #E0E0E0;
    text-align: center;
    font-size: 24px;
    border: 0;
}


div#Wrapper .tab_area label.active {
    background: #007BFF;
    color: #fff;
}


div#Wrapper .tab_wrap h2 {
  font-size: 150%;
  font-weight: bold !important;
  display: block;
  text-align: left;
  margin-top: auto;
  position: relative;
  color: #000;
}

div#Wrapper .tab_wrap h2:first-child {
  margin-top: 30px;
}

div#Wrapper .tab_wrap h2:before {
  content: "";
  position: absolute;
  background: #9de5ff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 50%;
  /* border: dashed 1px white; */
  left: -15px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: -1;
}

div#Wrapper .tab_wrap .recommend h3 {
  line-height: 1.3em;
  font-weight: bold;
  ;
  font-size: 18px;
  letter-spacing: -0.05em;
  color: #003C88;
}

div#Wrapper .tab_wrap .recommend img {
  margin: 0 auto 10px;
}

div#Wrapper .tab_wrap .recommend p {
  margin: 10px 0;
  width: 100%;
  line-height: 1.4em;
  letter-spacing: -0.05em;
}

div#Wrapper .tab_wrap div.tag {
  display: block;
  text-align: left;
  font-size: 14px;
  margin: 5px 0 0 -3px;
  background-color: #FFF!important;
}

div#Wrapper .tag>span {
  background-color: #9DE5FF;
  margin-left: 5px;
  margin-bottom: 3px;
  padding: 0 0.4em 0 1.2em;
  border-radius: 5px;
  line-height: 2em;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  border-bottom: #9DE5FF solid 2px;
}

div#Wrapper .tag span::before {
  content: "・";
  position: absolute;
  left: 0em;
  /* 丸の位置調整 */
  top: 50%;
  transform: translateY(-50%);
  color: #FFF;
  font-size: 1.5em;
  line-height: 1;
}

div#Wrapper .tag span:has(a) {
  background-color: transparent;
  padding-left: 0em;
  border-bottom: none;
}

/* リンクがあるspan内の::beforeの調整 */
div#Wrapper .tag span:has(a)::before {
  left: 0em;
  color: #FFF;
}

/* リンクのスタイル */
div#Wrapper .tag>span a {
  background-color: pink;
  border-radius: 5px;
  font-weight: bold;
  color: inherit;
  display: inline-block;
  padding: 0 0.4em 0 1.2em;
  line-height: 2em;
  margin: 0 !important;
  width: 100%;
  box-sizing: border-box;
  border-bottom: #ff8095 solid 2px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-bottom-color 0.3s ease-in-out;
}

/* リンクのhoverスタイル */
div#Wrapper .tag span a:hover {
  background-color: #ff8095;
  border-bottom: pink solid 2px;
  color: #000;
}


/*---- 4つ並び -----*/
div#Wrapper div.contents-box4 {
  width: 24%;
  text-align: center;
  margin: 0 5px 30px 0;
  display: inline-block;
  vertical-align: top;
  font-size: 16px;
}

div#Wrapper div.contents-box4 img {
  width: 95%;
  transition-duration: 0.5s;
  margin: auto;
  display: block;
  border: solid 1px #DDD;
}

div#Wrapper div.contents-box4 div.contents-info p {
  margin: 0;
  padding: 0;
}


/* --- スマートフォン向けのスタイル (画面幅が768px以下の場合) --- */
@media (max-width: 768px) {

  /* ----------BASIC----------- */
  html {
    -webkit-text-size-adjust: 100%;
    /* iOSの自動拡大を防ぐ */
    height: -webkit-fill-available;
    /* iOS Safariでの高さ調整 */

  }

  body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow-x: hidden;
    /* 横スクロール防止 */
  }

  /* コンテナや共通ブロック */
  div#Wrapper .Container {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;
  }

  div#Wrapper .Container .slider {
    width: 150%;
    margin-left: -25%;
  }

  /* リンクの装飾リセット */
  a {
    color: inherit;
    text-decoration: none;
  }

  /* 画像のサイズ制御 */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  div#Wrapper h2 {
    margin: 20px auto;
  }

  h2:before {
    content: "";
    position: absolute;
    background: #9de5ff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    /* border: dashed 1px white; */
    left: -15px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: -1;
  }

  /* ボタン系 */
  input,
  select,
  textarea {
    font: inherit;
    background: #FFF;
    border: none;
    outline: none;
  }

  div#Wrapper .Calculator {
    width: 95%;
    margin: 10px auto 10px auto;
  }

  div#Wrapper .Calculator_wrap {
    border-radius: 15px;
    background-color: #DAF0FC;
    padding: 10px;
    width: 90%;
    margin: 15px auto 15px auto;
  }

  /* タップ時のハイライト色を消す */
  a,
  button {
    -webkit-tap-highlight-color: transparent;
  }

  div#Wrapper .tab_wrap .tab_area {
    margin: 48px auto 0px;
    width: 100%;
    font-size: 18px;
  }

  div#Wrapper .tab_wrap .tab_area label {
    font-size: 18px;
  }

  div#Wrapper .tab_panel {
    width: 100%;
  }


  
  /* スクロールバー非表示 */
  html::-webkit-scrollbar {
    display: none;
  }

  /*--------------------------------*/

  /*---- 4つ並び -----*/
  div.contents-box4 {
    width: 48%;
  }

}

/*--------------------------------*/
/*------------Swiper--------------*/
/*--------------------------------*/

/* 1. ラッパー: 矢印の絶対位置の基準 */
.slider-container-wrapper {
    position: relative;
}

/* 2. スライダー本体: 幅設定と見切れの許可 */
.mySwiper {
    width: calc(100% - 100px); 
    margin: 0 auto; 
    overflow: visible; 
    padding: 0;
}

/* 3. 矢印ボタン本体: デザインと位置の優先度設定 */
.swiper-button-prev.custom-prev,
.swiper-button-next.custom-next {
    width: 30px; 
    height: 30px; 
    background-color: #007BFF; 
    color: white; 
    border-radius: 50%;
    cursor: pointer;
    
    /* 位置の再定義 */
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 100;
    
    /* Swiperデフォルトスタイルをリセット */
    margin-top: 0 !important;
    background-image: none !important;
}

/* 4. 矢印の位置 */
.custom-prev {
    left: 10px; 
}
.custom-next {
    right: 10px; 
}

/* 5. デフォルトアイコンの非表示 */
.swiper-button-prev:after,
.swiper-button-next:after {
    content: none !important; 
}

/* 6. カスタムアイコンのスタイルとコンテンツ */
.custom-prev::before,
.custom-next::before {
    /* アイコンの共通スタイル */
    font-family: sans-serif;
    font-size: 18px; 
    font-weight: bold;
    
    /* ボタン内での位置調整 */
    line-height: 30px; 
    text-align: center;
    display: block; /* contentを中央配置するために追加 */
}

.custom-prev::before {
    content: '\276E';
}
.custom-next::before {
    content: '\276F';
}