@charset "UTF-8";

/* --- 基本設定 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* PCの最大幅を基準とした計算用変数 */
  --pc-max-width: 800px;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  font-size: min(calc(100vw * 15 / 375), 16px);
}

/* PCレイアウト（768px以上） */
@media screen and (min-width: 768px) {
  body {
    max-width: var(--pc-max-width);
    margin: 0 auto;
    font-size: 16px;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* --- 画像サイズ調整用の汎用クラスを追加 --- */

/* デフォルト（スマホ）は100% */
.img-responsive {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* PCレイアウト（768px以上）の時は80% */
@media screen and (min-width: 768px) {
  .img-responsive {
    width: 80%;
  }
}

.inner {
  width: 100%;
  padding: 0 min(calc(100vw * 15 / 375), 15px);
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .inner {
    max-width: var(--pc-max-width);
    padding: 0 min(calc(100vw * 10 / 375), 10px);
  }
}

/* --- ヘッダー（ロゴ） --- */
.header {
  background: #fff;
  position: relative;
  width: 100%;
  z-index: 100;
}

.header .hero-image-wrapper {
  max-width: var(--pc-max-width);
  margin: 0 auto;
}

.header-logo {
  width: 15%;
  height: auto;
  display: block;
  padding: 15px 0;
}

/* スマホ表示（767px以下）の設定 */
@media screen and (max-width: 767px) {
  .header-logo {
    /* スマホで小さくなりすぎないよう調整 */
    width: min(calc(100vw * 85 / 375), 100px);
    padding: min(calc(100vw * 10 / 375), 10px);
  }
}

/* --- タイトルセクション --- */
.title-section {
  padding: min(calc(100vw * 15 / 375), 15px) 0;
  background-color: #edf4fc;
}

@media screen and (min-width: 768px) {
  .title-section {
    width: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}
h1{
    line-height: 1.25;
}
.title-sub {
  font-size: min(calc(100vw * 22 / 375), 22px);
  color: #004bb1;
  margin-bottom: min(calc(100vw * 10 / 375), 10px);
  font-weight: bold;
}

.title-main {
  font-size: min(calc(100vw * 32 / 375), 32px);
  color: #004bb1;
  font-weight: bold;
  margin-bottom: min(calc(100vw * 10 / 375), 10px);
}

@media screen and (max-width: 767px) {
  .title-sub {
   font-size: min(calc(100vw * 22 / 375), 22px);
   font-weight: bold;
  }
  .title-main {
   font-size: min(calc(100vw * 28 / 375), 28px);
   font-weight: bold;      
  }
}

/* --- ヒーロー画像セクション --- */
.hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  display: block;
}

/* --- 記事本文セクション --- */
.article-section {
  padding: min(calc(100vw * 10 / 375), 10px) 0;
}

.article-date {
  font-size: min(calc(100vw * 12 / 375), 12px);
  color: #666;
  margin-bottom: min(calc(100vw * 20 / 375), 20px);
  text-align: right;
}

.article-text {
  font-size: min(calc(100vw * 16 / 375), 16px);
  line-height: 1.7;
  margin-bottom: min(calc(100vw * 25 / 375), 25px);
  color: #333;
}

/* 悩みボックス */
.concern-boxes {
  margin: min(calc(100vw * 20 / 375), 20px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: min(calc(100vw * 8 / 375), 8px);
}

.concern-box-dark {
  background-color: #777;
  color: #fff;
  padding: 1px min(calc(100vw * 5 / 375), 5px);
  font-weight: bold;
  font-size: min(calc(100vw * 14 / 375), 14px);
  border-radius: 2px;
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .concern-box-dark {
    font-size: min(calc(100vw * 14 / 375), 14px);
  }
}

/* --- 悩み深掘りセクション --- */
.problem-deepen {
  padding: min(calc(100vw * 10 / 375), 10px) 0;
}

.problem-title {
  font-size: min(calc(100vw * 28 / 375), 28px);
  color: #004bb1;
  border-left: min(calc(100vw * 8 / 375), 8px) solid #004bb1;
  padding: 5px 0 5px min(calc(100vw * 15 / 375), 15px);
  margin-bottom: min(calc(100vw * 30 / 375), 30px);
  line-height: 1.3;
}

@media screen and (max-width: 767px) {
  .problem-title {
    font-size: min(calc(100vw * 24 / 375), 24px);
      letter-spacing: -1px;
  }
}

.check-list li {
  position: relative;
  padding-left: min(calc(100vw * 35 / 375), 35px);
  margin-bottom: min(calc(100vw * 12 / 375), 12px);
  font-weight: bold;
  color: #004bb1;
  font-size: min(calc(100vw * 18 / 375), 18px);
}

/* --- メッセージボックス --- */
.message-box {
  text-align: left;
  padding: min(calc(100vw * 20 / 375), 20px) 0;
}

.message-main {
  font-size: min(calc(100vw * 36 / 375), 36px);
  color: #004bb1;
  font-weight: bold;
  line-height: 1.4;
  margin: min(calc(100vw * 10 / 375), 10px) 0;
}

@media screen and (max-width: 767px) {
  .message-main {
    font-size: min(calc(100vw * 22 / 375), 22px);
  }
  .message-box.blue-accent .message-intro {
    font-size: min(calc(100vw * 16 / 375), 16px);
  }
}

/* --- 目次セクション --- */
.toc-container {
  background-color: #fff;
  border-radius: min(calc(100vw * 40 / 375), 40px);
  padding: min(calc(100vw * 10 / 375), 10px) min(calc(100vw * 20 / 375), 20px);
  max-width: 600px;
  margin:0 auto min(calc(100vw * 40 / 375), 40px) ;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08); 
}

.toc-heading {
  font-size: min(calc(100vw * 26 / 375), 26px);
  margin-bottom: min(calc(100vw * 30 / 375), 30px);
    text-align: center;
}

.toc-items li {
  margin-bottom: min(calc(100vw * 18 / 375), 18px);
  font-size: min(calc(100vw * 18 / 375), 18px);
  list-style: none;
}

.toc-items li a{
    color: #333;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
  .toc-container {
    border-radius: min(calc(100vw * 20 / 375), 20px);
    margin: 0 min(calc(100vw * 15 / 375), 15px) min(calc(100vw * 35 / 375), 35px);
  }
  .toc-heading {
    font-size: min(calc(100vw * 22 / 375), 22px);
  }
  .toc-items li {
    font-size: min(calc(100vw * 16 / 375), 16px);
  }
}

/* --- CTAエリア --- */
.cta-inner-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 min(calc(100vw * 0 / 375), 0px);
}
@media screen and (max-width: 767px) {
    .cta-inner-box {
    max-width: 800px;
  margin: 0 auto;
  }
}

.cta-lead {
  margin: 0 auto;
  text-align: center;
}

.cta-button-main {
  margin-bottom: min(calc(100vw * 10 / 375), 10px);
}

.cta-button-sub {
  display: flex;
  justify-content: space-between;
}

/* --- フッター --- */
.footer {
  background: #333;
  color: #fff;
  padding: min(calc(100vw * 20 / 375), 20px) 0;
  text-align: center;
  font-size: min(calc(100vw * 12 / 375), 12px);
  margin-top: min(calc(100vw * 40 / 375), 40px);
}

@media screen and (min-width: 768px) {
  .footer {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}



/* --- カルーセルセクション--- */

.custom-carousel-section {
  padding: min(calc(100vw * 20 / 375), 20px) 0;
  background-color: #fff; 
  overflow: hidden;
}

.mySwiper {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 50px !important;
}

.swiper-slide {
  transition: opacity 0.3s;
  opacity: 0; 
}

.swiper-slide-active {
  opacity: 1; 
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* スマホでのサイズ微調整 */
@media screen and (max-width: 767px) {
  .mySwiper {
    max-width: 85%;
  }
}



/* ページ内リンク*/

.try-features-section {
  padding: 0 0 min(calc(100vw * 40 / 375), 40px);
}

.features-container {
  max-width: 600px;
  margin: 0 auto;
}

.features-base {
  position: relative;
  width: 100%;
}

.features-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* ボタンを配置するエリアの調整 */
.features-links {
  position: absolute;
  top: 36.5%; 
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  display: flex;
  flex-direction: column;
  gap: min(calc(100vw * 10 / 375), 32px);
}

.feature-btn {
  display: block;
  background-color: #004bb1;
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  padding-right: 50px;
  padding: 10px 50px 10px 30px;
  border-radius: 50px;
  font-size: min(calc(100vw * 26 / 375), 26px);
  text-align: left;
  position: relative;
  transition: opacity 0.3s;
  box-shadow: 0 4px 0 #003380;
}
.feature-btn::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px; 
  height: 24px; 
  background-color: #fff; 
  border-radius: 50%;
  border: none; 
}
.feature-btn::before {
  content: "";
  position: absolute;
  right: 21px; 
  top: calc(50% + 2px); 
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #004bb1; 
  z-index: 1;
}

.feature-btn:hover {
  opacity: 0.8;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #003380;
}
@media screen and (max-width: 767px) {
  .feature-btn {
    padding-right: 40px;
    font-size: min(calc(100vw * 16 / 375), 16px);  
  }
  .feature-btn::after {
    right: 10px;
    width: 20px;
    height: 20px;
  }
  .feature-btn::before {
    right: 15px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #004bb1;
  }
}
@media screen and (max-width: 767px) {
  .features-links {
    top: 37.5%;
    gap: 11px;
  }
  .feature-btn {
    padding: 8px 15px;
  }
}

@media screen and (min-width: 768px) {
  .custom-carousel-section {
      padding: min(calc(100vw * 20 / 375), 20px) 0;
  }
  .carousel-title-img {
    width: 100%;
  }
}


/****************** その他共通パーツ ******************/
.text-blue-bold {
  color: #004bb1;
  font-weight: bold;
  font-size: 1.2em;
}
.fukidashi-wrapper{
    text-align: center;
    margin: 0 auto;
    width: 30%;
}
@media screen and (max-width: 767px) {
.fukidashi-wrapper{
    text-align: center;
    margin: 0 auto;
    width: 45%;
}
}
.article-text .highlight-bold {
    font-size: 120%;
    font-weight: bold;
    padding: 0 2px;
}
.article-text .highlight-yellow-bold {
    background: linear-gradient(transparent 20%, #fcf8bb 20%);
    font-weight: bold;
    padding: 0 2px;
}
.full-image {
  width: 100%;
  margin: 0 0 min(calc(100vh * 20 / 375), 20px);
}
.pB60{
  padding:0 0 min(calc(100vw * 60 / 375), 60px) ;  
}
.pB40{
  padding:0 0 min(calc(100vw * 40 / 375), 40px) ;  
}
.pB20{
  padding:0 0 min(calc(100vw * 20 / 375), 20px) ;  
}
.img80{
    width: 80%;
    display: block;
    margin: 0 auto;
}
.img60{
    width: 60%;
    display: block;
    margin: 0 auto;
}
.img40{
    width: 40%;
    display: block;
    margin: 0 auto;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  .sp-only {
    display: none;
  }

  .sp-only {
    display: inline-block;
  }
}