/* メインビュー */
/* ===== Hero base ===== */
.hero{
  /* 背景は画像（差し替え） */
  background-image: url("../image/mv.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  height: 90vh;

  /* 高さは画面に応じて可変（320pxでも破綻しない） */
  position: relative;
}
@media (max-width: 1100px){
 .hero{
      height: initial;
  }
}

.hero__inner{
  /* もとのデザイン幅に合わせるなら 1360px */
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 48px);
  height: 100%;

  display: flex;
  align-items: center;
}

/* 左コンテンツ領域 */
.hero__content{
  /* width: min(620px, 100%); */
  padding: clamp(10px, 1.2vw, 18px);
}

/* ===== tagline image ===== */
.hero__tagline{
  width: min(520px, 100%);
  height: auto;
  display: block;
  margin: 0 0 clamp(10px, 1.5vw, 18px);
}

/* ===== Title (SNSで魅せる) ===== */
.hero__title{
  margin: 0 0 clamp(10px, 1.6vw, 18px);
  display: inline-block;
  background: rgba(255,255,255,0.20);
  padding: clamp(4px, 1.2vw, 0px) clamp(4px, 2.2vw, 0px);
}

.hero__titleText{
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #0a2a7a;

  /* 320pxでも収まるように可変 */
  font-size: clamp(45px, 9.0vw, 120px);
  line-height: 1.05;

}
.hero__titleText span{
	  font-size: clamp(30px, 5.0vw, 88px);
}

/* ===== Lead / Desc ===== */
.hero__lead{
  margin: 0 10px;
  padding-left: 25px;
  font-weight: 800;
  color: #222;
  font-size: clamp(16px, 2.0vw, 24px);
  line-height: 1.35;
  position: relative;
  margin-bottom: 10px;
}
.hero__lead::before {
	content: "";
	width: 15px;
	height: 1px;
	background-color: #171717;
	position: absolute;
	left: 0;
	top: 50%;
}

.hero__desc{
  margin: 0 0 clamp(18px, 2.2vw, 30px);
  color: #111;
  font-weight: 600;
  font-size: clamp(12px, 1.4vw, 15px);
  line-height: 1.9;

  /* 320pxで改行が強すぎるのを防ぐ */
  max-width: 56ch;
}

/* ===== CTA button ===== */
.hero__cta{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  background: #f29a23;
  color: #fff;
  border-radius: 999px;

  padding: clamp(12px, 1.6vw, 16px) clamp(16px, 2.2vw, 24px);
  min-width: clamp(220px, 40vw, 360px);

  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.hero__ctaText{
  font-weight: 800;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.02em;
}

.hero__ctaIcon{
  display: grid;
  place-items: center;

  width: clamp(44px, 7vw, 60px);
  height: clamp(34px, 6vw, 44px);

  background: rgba(255,255,255,0.95);
  color: #f29a23;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.08em;
}


/* ===== Responsive (<=1100px) ===== */
@media (max-width: 1100px){
  .hero{
    background-position: center bottom;
  }

  .hero__inner{
    align-items: flex-start;
    padding-top: clamp(18px, 5vw, 32px);
  }

  .hero__content{
    /* width: min(640px, 100%); */
  }
}

/* ===== Small devices (<=480px) ===== */
@media (max-width: 480px){
  .hero__desc br{
    display: none; /* 320pxで不自然な改行を防止 */
  }

  .hero__cta{
    width: 100%;
    min-width: 0;
  }
}



/* ===== Section base ===== */
.worries{
  background: #001b7a; /* 濃い紺 */
  padding: clamp(28px, 4vw, 0px, 0) 0;
}

.worries__inner{
  max-width: 1360px;     /* 元サイト幅想定 */
  margin: 0 auto;
  padding: 0 clamp(14px, 2.2vw, 24px);
  padding-top: 80px;
}
@media (max-width: 480px){
.worries__inner{
  padding-top: 40px;
}
}


/* ===== Bubble ===== */
.worries__bubble{
  position: relative;
  width: min(540px, 100%);
  margin: 0 auto clamp(22px, 3vw, 44px);
  padding: clamp(14px, 2.2vw, 22px) clamp(16px, 2.5vw, 28px);
  background: #fff;
  color: #0a2a7a;
  font-weight: 800;
  text-align: center;
  font-size: clamp(16px, 2.0vw, 26px);
  letter-spacing: 0.02em;
}

.worries__bubble::after{
  content:"";
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: -12px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #fff; /* 吹き出しのしっぽ */
}

/* ===== Layout ===== */
.worries__layout{
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 720px) 1fr;
  align-items: end;
  gap: clamp(10px, 2.2vw, 28px);
}

/* キャラ */
.worries__chara{
  display:flex;
  align-items:flex-end;
  justify-content:center;
}


.worries__chara img{
  width: clamp(120px, 16vw, 150px);
  height: auto;
  display:block;
}

.worries__chara--right img{
	 width: clamp(120px, 16vw, 160px);
}

/* ===== List ===== */
.worries__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(16px, 2.0vw, 26px);
  min-width: 800px;
  padding-bottom: 80px;
}
@media (max-width: 480px){
.worries__list{
  padding-bottom: 40px;
}
}

.worries__item{
  display: grid;
  grid-template-columns: clamp(34px, 5vw, 54px) 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
}

.worries__check{
  width: clamp(30px, 5vw, 54px);
  height: auto;
  display: block;
}

.worries__text{
  color: #fff;
  font-weight: 800;
  line-height: 1.45;
  font-size: clamp(14px, 2.0vw, 24px);
  letter-spacing: 0.01em;

  /* 長文折り返し対策 */
  overflow-wrap: anywhere;
  word-break: keep-all;
}

/* ===== Responsive (<=1100px) ===== */
@media (max-width: 1100px){
  .worries__layout{
    grid-template-columns: 1fr; /* 1列に */
    align-items: start;
  }

  /* キャラは下に並べる（崩れない・見栄え維持） */
  .worries__chara--left,
  .worries__chara--right{
    display: none;
  }
  .worries__list{
    order: 1;
	min-width: inherit;
  }

  .worries__chara{
    justify-content: space-between;
    gap: 16px;
  }

  /* 2体を横並びにしたい場合 */
  .worries__chara--left,
  .worries__chara--right{
    justify-content: center;
  }
}

/* ===== Small devices (<=520px) ===== */
@media (max-width: 520px){
  .worries__bubble::after{
    bottom: -10px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
  }

  /* 320pxでも読みやすく */
  .worries__item{
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }
}
.worries__list{
  margin: 0 auto;          /* ← 中央寄せ */
  text-align: left;        /* ← 文章は左詰 */
}

/* 念のため li も左揃えを明示 */
.worries__item{
  justify-items: start;
}

/* ===== Section base ===== */
.strengths{
  background: #eef3f7; /* 薄いグレー */
  padding: clamp(30px, 4vw, 70px) 0;
  position: relative;
  overflow: hidden;
}

/* 背景の斜めパターン（画像があるなら差し替えOK） */
.strengths::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("pattern.png"); /* なければコメントアウト可 */
  background-size: cover;
  background-position: center;
  opacity: .25;
  pointer-events: none;
}

.strengths__inner{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2.2vw, 22px);
}

/* ===== Head ===== */
.strengths__head{
  text-align: center;
  margin-bottom: clamp(18px, 3vw, 34px);
}

.strengths__pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 999px;
  border: 2px solid #132b7c;
  color: #132b7c;
  background: #fff;
  font-weight: 800;
  letter-spacing: 0.25em;
  font-size: 13px;
}

.strengths__sub{
  margin: 14px 0 8px;
  font-weight: 700;
  color: #111;
  font-size: clamp(14px, 1.6vw, 18px);
}

.strengths__title{
  margin: 0;
  font-weight: 900;
  color: #132b7c;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.05;
}
.strengths__title{
  margin: 0;
  text-align: center;
  line-height: 1.05;
  color: #132b7c;
  font-weight: 900;
}

/* 数字「5」：一番強く */
.strengths__num{
  font-size: clamp(56px, 9vw, 100px);
}

/* 「つの」：やや小さく */
.strengths__unit{
  font-size: clamp(26px, 4vw, 48px);
}

/* 「強み」：中サイズ・太字 */
.strengths__text{
  font-size: clamp(40px, 6vw, 100px);
  margin-left: -10px;
}


/* ===== Point cards ===== */
.point{
  margin-top: clamp(18px, 3vw, 28px);
}

.point__card{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  /* overflow: hidden; */
}


/* 2カラムの中身 */
.point__grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  padding: clamp(18px, 3vw, 34px);
}

/* テキスト側 */
.point__body{
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← 縦中央 */
}
.point__label {
	position: absolute;
	top: -75px;
    left: -60px;
}

.point__label{
  width: min(230px, 60%);
  height: auto;
  display: block;
  margin-bottom: clamp(12px, 2vw, 18px);
}

/* 見出し */
.point__heading{
  margin: 0 0 12px;
  font-weight: 900;
  color: #132b7c;
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.35;
}

/* オレンジの下線 */
.point__line{
  width: 100%;
  height: 2px;
  background: #f29a23;
  margin: 0 0 14px;
}

/* 説明 */
.point__text{
  margin: 0;
  color: #111;
  font-weight: 600;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.9;
  max-width: 56ch;
}

/* 画像側 */
.point__media{
  margin: 0;
}

.point__media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* ===== PC交互（evenだけ左右逆） ===== */
.point--even .point__grid{
  grid-template-columns: 1fr 1.05fr;
}
.point--even .point__media{ order: 1; }
.point--even .point__body{ order: 2; }

/* ===== Responsive: <=1100px 全て「画像→テキスト」 ===== */
@media (max-width: 500px){
  .point__grid{
    grid-template-columns: 1fr;
    padding: clamp(16px, 3.5vw, 26px);
  }

  /* 交互を無効化して、常に画像→テキスト */
  .point__media{ order: 1; }
  .point__body{ order: 2; }

  .point__label{
    width: min(170px, 70%);
	top: -50px;
  }

  .point__line{
    width: 100%;
  }
}

/* ===== Small devices: <=480px ===== */
@media (max-width: 480px){
  .point__text{
    max-width: none;
  }
}
@media (max-width: 600px){

  /* どのpointでも強制的に1カラム */
  .point .point__grid{
    grid-template-columns: 1fr !important;
  }

  /* 交互（even）の並び替えを完全無効化して、画像→テキスト固定 */
  .point .point__media{
    order: 1 !important;
  }
  .point .point__body{
    order: 2 !important;
  }
}
@media (max-width: 800px){
  .point__body{
    min-height: 200px;
  }
  .point__label {
	left: 0;
  }
}

/* ===== Service section ===== */
.service{
  background: #fff;
  padding: clamp(28px, 4vw, 64px) 0;
}

.service__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2.2vw, 22px);
}

/* ===== Head ===== */
.service__head{
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.service__pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 34px;
  border-radius: 999px;
  border: 2px solid #132b7c;
  color: #132b7c;
  background: #fff;
  font-weight: 800;
  letter-spacing: 0.25em;
  font-size: 13px;
}

.service__title{
  margin: 16px 0 0;
  font-weight: 900;
  color: #132b7c;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
}

/* ===== Grid ===== */
.service__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
}

/* ===== Card (link) ===== */
.serviceCard{
  display: block;
  text-decoration: none;
  color: inherit;

  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  border: 2px solid transparent;

  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.serviceCard__media{
  aspect-ratio: 16 / 10;      /* スクショの比率感 */
  background: #f3f5f8;
}

.serviceCard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.serviceCard__foot{
  background: #eef3fb;        /* 薄い水色の帯 */
  text-align: center;
  padding: 14px 10px;
  font-weight: 800;
  color: #111;
  font-size: clamp(16px, 1.5vw, 16px);
}

/* hover / focus */
.serviceCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

.serviceCard:focus-visible{
  outline: none;
  border-color: #1f64ff;      /* キーボード操作の視認性 */
}


/* ===== Responsive ===== */
/* 700px以下で徐々に縦並び：3→2→1 */
@media (max-width: 900px){
  .service__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px){
  .service__grid{
    grid-template-columns: 1fr;
  }

  /* スマホで押しやすく */
  .serviceCard__foot{
    padding: 16px 12px;
  }
}


/* ===== FAQ Section ===== */
.faq{
  background: #eef2f6;
  padding: clamp(28px, 4vw, 64px) 0;
}

.faq__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2.2vw, 22px);
}

/* ===== Head ===== */
.faq__head{
  text-align: center;
  margin-bottom: clamp(18px, 3vw, 34px);
}

.faq__pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 42px;
  border-radius: 999px;
  border: 2px solid #132b7c;
  color: #132b7c;
  background: #fff;
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 13px;
}

.faq__title{
  margin: 16px 0 0;
  font-weight: 900;
  color: #132b7c;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
}

/* ===== List ===== */
.faq__list{
  display: grid;
  gap: clamp(16px, 2.2vw, 22px);
}

/* ===== Item Card ===== */
.faqItem{
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  overflow: hidden;
}

/* Question row */
.faqItem__q{
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 22px);
  padding-bottom: 14px;
}

/* ? icon image */
.faqItem__icon{
  width: 56px;
  height: 56px;
  display: block;
}

/* question text */
.faqItem__qText{
  margin: 0;
  font-weight: 900;
  color: #111;
  font-size: clamp(16px, 2.0vw, 20px);
  line-height: 1.5;
}

/* Answer box */
.faqItem__a{
  background: #eef3fb;
  margin: 0 clamp(18px, 2.2vw, 22px) clamp(18px, 2.2vw, 22px);
  border-radius: 6px;
  padding: clamp(14px, 2.0vw, 18px);
}

.faqItem__a p{
  margin: 0;
  color: #111;
  font-weight: 600;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.9;
}

/* ===== Responsive (small) ===== */
@media (max-width: 700px){
  .faqItem__q{
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }

  .faqItem__icon{
    width: 46px;
    height: 46px;
  }
}

/* ===== Very small (<=360px) ===== */
@media (max-width: 360px){
  .faqItem__q{
    grid-template-columns: 46px 1fr;
  }

  .faqItem__a{
    margin: 0 14px 16px;
  }
}

/* =========================
   NEWS section
========================= */
.newsSec{
  background: #fff;
  padding: clamp(30px, 4vw, 70px) 0;
}

.newsSec__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2.2vw, 22px);
}

/* head */
.newsSec__head{
  text-align: center;
  margin-bottom: clamp(18px, 3vw, 34px);
}

.newsSec__pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 48px;
  border-radius: 999px;
  border: 2px solid #132b7c;
  color: #132b7c;
  background: #fff;
  font-weight: 800;
  letter-spacing: 0.25em;
  font-size: 13px;
}

.newsSec__title{
  margin: 16px 0 0;
  font-weight: 900;
  color: #132b7c;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.2;
}

/* list */
.newsSec__list{
  width: min(980px, 100%);
  margin: 0 auto;
}

/* row (link) */
.newsRow{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(12px, 2vw, 22px);
  align-items: center;

  padding: clamp(18px, 2.3vw, 26px) 0;
  border-bottom: 1px solid #d7d7d7;

  text-decoration: none;
  color: inherit;
}

.newsRow__date{
  font-weight: 800;
  color: #111;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.newsRow__title{
  font-weight: 800;
  color: #111;
  font-size: 18px;
  line-height: 1.6;

  /* 画像のように1行で末尾… */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.newsRow:hover .newsRow__title{
  text-decoration: underline;
}

/* empty */
.newsSec__empty{
  text-align: center;
  color: #666;
  margin: 24px 0 0;
}

/* =========================
   Responsive
========================= */
@media (max-width: 700px){
  .newsRow{
    grid-template-columns: 120px 1fr;
  }
  .newsRow__date,
  .newsRow__title{
    font-size: 15px;
  }
}

@media (max-width: 420px){
  .newsRow{
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .newsRow__title{
    white-space: normal; /* 超小型では2行OKの方が読みやすい */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
