@charset "UTF-8";
/*
 * care の固有スタイル。共通部分は /lp/_shared/css/lp-base.css にある。
 *
 * このファイルは lp-base.css / form-patch.css より後に読み込まれる。
 * どちらの :root 既定値にも勝つので、色の上書きはここだけで完結する。
 *
 * scripts/lp/split-lp-css.mjs が style.css からベースとの差分を抜き出して生成した。
 * ベースと一致する 215 ルールを落とし、171 ルールを残している
 * （うち 1 ルールは、落とすとカスケードの勝敗が変わるため戻した）。
 */

:root {
  /* フォーム UI のブランド色（/lp/_shared/css/form-patch.css が参照）。
     移行前は index.html のインライン <style> で指定。 */
  --lp-primary: #c97b3d;
  --lp-primary-hover: #c97b3d;
}

/*
  Noto Sans JP は Google Fonts Early Access (fonts.gstatic.com/ea/...) が廃止
  済みで 404 + CORS エラーになるため、style.css 内の @font-face 直リンクは撤去。
  代わりに index.html / thanks.html の <head> で
  https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap
  を <link> 経由で読み込む。
*/

/*============================================================
common
==============================================================*/

::selection {
	background: #B3E5F0;
}

::-moz-selection {
	background: #B3E5F0;
}

h1 {
	margin: 0;
}
/* スクロール出現演出。要素は常に opacity:1（消えない）にして、下からの
   スライドイン(translateY)だけで演出する。理由: 初期 opacity:0 だと
   Microsoft Clarity のヒートマップ/再生（記録時 DOM を JS 非実行で再構築）で
   inview が発火せず opacity:0 のまま残り、要素が非表示に見えてしまうため。 */

/* ファーストビュー（#main 内の .mv_hero_img）は従来どおりフェードイン演出を維持する。
   Clarity でも記録時に必ず表示される領域なので opacity:0 のフェードのままでよい。
   下部セクションの .scrollin は Clarity 対策で opacity:1 のまま据え置く。 */
#main .mv_hero_img.scrollin {
  opacity: 0;
}
#main .mv_hero_img.scrollin.fadeIn {
  opacity: 1;
}

.nav_flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 15px 0;
}
.header_link_list {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.cta {
	display: block;
	  background: linear-gradient(90deg, rgba(25,167,206,1) 0%, rgba(11,36,71,1) 100%);
  box-shadow: 0px 5px 10px rgba(11,36,71,0.2);
	color: #fff;
	-mos-transition: .5s ease-out all;
		-webkit-transition: .5s ease-out all;
	transition: .5s ease-out all;
}

.cta:hover {
   box-shadow: 0px 5px 15px rgba(11,36,71,0.5);
}

/*============================================================
body
==============================================================*/
#main{
  margin-top: 53px;
  background: #fff;
  padding: 40px 160px 0;
  position: relative;
}
.mv_hero_img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(11,36,71,0.10);
}
@media screen and (min-width: 769px) {
  .mv_hero_img.sp {
    display: none;
  }
}
h1{
	margin: 0 auto 35px;
	font-size: 5rem;
	line-height: 1.4;
  text-shadow: 0 3px 6px rgba(0,0,0,0.16);
  color: #fff;
  letter-spacing: 3px;
}
h1+p{
	margin: 0 auto 44px;
	font-size: 2rem;
	line-height: 1.8;
  text-shadow: 0 3px 6px rgba(0,0,0,0.16);
  color: #fff;
}
.main_wrap{
	padding:136px 0 157px;
}
.mv_img{
  position: absolute;
  top: 0;
  right: -130px;
  z-index: 1;
}
#achievement{
  margin: 200px auto 102px;
}
#achievement .h2_text::before{
  content: "";
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  width: 1px;
  height: 78px;
  margin: auto;
  	  background: linear-gradient(180deg, rgba(25,167,206,1) 0%, rgba(11,36,71,1) 100%);
}
.h2_text{
  margin: 8px auto 30px;
font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-align: center;
  color: #19A7CE;
  letter-spacing: 3px;
}
.industry_text{
  margin-left: 40px;
  text-align: center;
  color: #19A7CE;
}
/* #case-studies: 事例カード（リンクなし表示のみ） */
#case-studies{
  padding: 72px 0;
  background: #EBF8FF;
}
/* スワイプ可能を示すヒント */
.case-hint{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 16px;
  padding: 8px 16px;
  background: rgba(25,167,206,0.06);
  color: #19A7CE;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 20px;
  width: fit-content;
}
/* キャリッジ + ナビボタン用ラッパ */
/* 端のフェード（次/前にコンテンツがあることを示唆） */
.case-carousel::before{
  left: 0;
  background: linear-gradient(90deg, #EBF8FF 0%, rgba(250,248,243,0) 100%);
}
.case-carousel::after{
  right: 0;
  background: linear-gradient(-90deg, #EBF8FF 0%, rgba(250,248,243,0) 100%);
}
.case-nav{
  position: absolute;
  top: calc(50% - 14px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #19A7CE;
  border: 1px solid #C8E6F7;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  transition: background .2s, color .2s, transform .15s;
}
.case-nav:hover{ background: #19A7CE; color: #fff; }
/* 横スクロールカルーセル: 1カードずつ snap で見せる単列レイアウト */
.case-grid{
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 24px;
  margin: 20px -20px 0;
  padding: 10px 20px 30px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #19A7CE transparent;
  list-style: none;
}
.case-grid::-webkit-scrollbar-thumb{
  background: #19A7CE;
  border-radius: 4px;
}
.case-card{
  flex: 0 0 380px;
  max-width: 380px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #C8E6F7;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  list-style: none;
  position: relative;
}
.case-card__body{
  position: relative;
  background: #fff;
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  z-index: 1;
}
.case-card__name{
  font-size: 1.8rem;
  font-weight: bold;
  color: #222;
  line-height: 1.4;
  margin: 0;
}
.case-card__client{
  font-size: 1.3rem;
  color: #666;
}
.case-card__desc{
  font-size: 1.4rem;
  line-height: 1.6;
  color: #333;
  flex: 1;
}
.case-card__tag{
  display: inline-block;
  padding: 4px 10px;
  background: rgba(25,167,206,0.08);
  color: #19A7CE;
  font-size: 1.1rem;
  border-radius: 12px;
  font-weight: 500;
}

/* #strength: ONLY ONE + about 統合セクション */
#strength{
  padding: 72px 0;
  background: #EBF8FF;
}
.strength_box__cover{
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #EBF8FF;
  overflow: hidden;
}

/* お悩みアイコンカード */

/* Before / After 比較 */

/* 3つのポイント: 横並びタイムライン */

/* 詳細アコーディオン */
.accent-mark{
  display: inline-block;
  background: linear-gradient(transparent 60%, rgba(25,167,206,0.25) 60%);
  padding: 0 2px;
}
#renewal-service{
  padding: 72px 0;
  background: #fff;
}
#renewal-service .h2_ttl{
  margin-bottom: 40px;
}
#renewal-service .service_lead{
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}
#renewal-service .service_cards{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 50px;
}
#renewal-service .service_card{
  flex: 1;
  min-width: 280px;
  padding: 32px;
  background: #fff;
  border-top: 6px solid #19A7CE;
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.08);
}
#renewal-service .service_card h3{
  font-size: 2rem;
  margin-bottom: 10px;
  color: #19A7CE;
  text-align: left;
}
#renewal-service .service_card p{
  color: #333;
}
#renewal-service .service_steps{
  padding: 36px 32px;
  background: #EBF8FF;
}
#renewal-service .service_steps h3{
  font-size: 2rem;
  margin-bottom: 18px;
  color: #333;
  text-align: left;
}
#renewal-service .service_steps ol{
  margin: 0;
  padding-left: 20px;
}
#renewal-service .service_steps li{
  margin-bottom: 18px;
}
#renewal-service .service_steps li:last-child{
  margin-bottom: 0;
}
#renewal-service .service_steps li span{
  display: inline-block;
  margin-bottom: 6px;
  font-weight: bold;
}
#renewal-service .service_steps li p{
  margin: 0;
}
.scheme-node{
  position: relative;
  flex: 1;
  min-width: 180px;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid rgba(25,167,206,0.2);
  border-radius: 12px;
  box-shadow: 0px 10px 24px rgba(0,0,0,0.05);
}
.scheme-node::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 18px;
  height: 1px;
  background: #19A7CE;
  transform: translateY(-50%);
}
.scheme-node::before{
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #19A7CE;
  border-right: 2px solid #19A7CE;
  transform: translateY(-50%) rotate(45deg);
}
.scheme-label{
  font-weight: bold;
  color: #19A7CE;
  margin-bottom: 6px;
}
.faq_icon {
  width: 28px;
  filter: brightness(0) saturate(100%) invert(55%) sepia(72%) saturate(460%) hue-rotate(163deg) brightness(96%);
}
.question img {
  width: 24px;
  margin: 3px;
  filter: brightness(0) saturate(100%) invert(55%) sepia(72%) saturate(460%) hue-rotate(163deg) brightness(96%);
}
.radio-input:checked + .radio_text::after{
  content: "";
  display: block;
  position: absolute;
top: 7px;
    left: 2px;
  width: 11px;
  height: 11px;
  background: #19A7CE;
  border-radius: 50%;
}
.checkbox + .checkbox-icon::before{
    content: "";
    display: block;
    position: absolute;
    top: -4px;
    bottom: 0;
    left: -29px;
    width: 18px;
    height: 18px;
    margin: auto;
    background: #fff;
    border: 1px solid #19A7CE;
}
.checkbox:checked + .checkbox-icon::before{
    content: "";
    display: block;
    position: absolute;
top: -4px;
    bottom: 0;
    left: -29px;
    width: 18px;
    height: 18px;
    margin: auto;
    background: #fff;
    border: 1px solid #19A7CE;
}
.checkbox:checked + .checkbox-icon::after{
    content: "";
    display: block;
    position: absolute;
    top: -9px;
    bottom: 0;
    left: -23px;
    width: 7px;
    height: 14px;
    margin: auto;
    transform: rotate(40deg);
    border-bottom: 3px solid #19A7CE;
    border-right: 3px solid #19A7CE;
}
.contact_req, .contact_any {
	position: absolute;
	top: 0;
	left: -70px;
	margin: auto;
	padding: 5px 11px;
	font-size: 1.4rem;
	font-weight: bold;
	color: #fff;
	background: #19A7CE;
}
.contact_any {
	background: #7D7D7D;
}
.contact_btn {
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, sans-serif;
	cursor: pointer;
}
.privacy_txt::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: -20px;
	width: 18px;
	height: 18px;
	margin: auto;
	background: #fff;
	border: 1px solid #19A7CE;
}
.checkbox_input:checked + .privacy_txt::after, .checkbox_input:checked + input + .privacy_txt::after {
	content: "";
	display: block;
	position: absolute;
	top: -5px;
	bottom: 0;
	left: -14px;
	width: 7px;
	height: 14px;
	margin: auto;
	transform: rotate(40deg);
	border-bottom: 3px solid #19A7CE;
	border-right: 3px solid #19A7CE;
}
label.radio {
	width         : 18px;
	height        : 18px;
	border        : 1px solid #19A7CE;
	border-radius : 100%;
}
.contact_btn{
	display: block;
  margin: 32px auto;
  padding: 15px 154px;
	  background: linear-gradient(90deg, rgba(25,167,206,1) 0%, rgba(11,36,71,1) 100%);
  box-shadow: 0px 5px 10px rgba(11,36,71,0.3);
  font-size: 2.4rem;
  font-weight: bold;
  border-radius: 50px;
  letter-spacing: 3px;
	color: #fff;
	-mos-transition: .5s ease-out all;
		-webkit-transition: .5s ease-out all;
	transition: .5s ease-out all;
}
.contact_btn:hover {
  box-shadow: 0px 5px 15px rgba(11,36,71,0.5);
}
#info{
  border-top: 2px solid rgba(25,167,206,0.2);
  margin: 40px auto 40px;
  letter-spacing: 0;
}
footer{
	padding: 15px 0;
	background: #0B2447;
	color: #fff;
	text-align: center;
}
.pagetop a {
  position: fixed;
  display: block;
  width: 205px;
  padding: 15px 0;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 50px;
  background: linear-gradient(90deg, rgba(25,167,206,1) 0%, rgba(11,36,71,1) 100%);
  letter-spacing: 3px;
  z-index: 1000;
  transition: 0.5s ease all;
}
.pagetop a:hover {
  box-shadow: 0px 5px 20px rgba(11,36,71,0.4);
}
/*============================================================
breakpoint 1700px
==============================================================*/
@media screen and (max-width: 1700px) {
	.mv_img{
		width:55.4vw;
	}
}
/*============================================================
breakpoint 1500px
==============================================================*/
@media screen and (max-width: 1500px) {
	.mv_img{
		width:52vw;
	}
}
/*============================================================
breakpoint 1000px
==============================================================*/
@media screen and (max-width: 1000px) {
  .mv_img{
    width: 52vw;
    top: 380px;
  }
  #renewal-service .legacy-issues{
    margin: 40px auto 30px;
  }
  #renewal-service{
    padding: 80px 0;
  }
  #renewal-service .service_cards{
    gap: 20px;
  }
}
/*============================================================
breakpoint 768px
==============================================================*/
@media screen and (max-width: 768px) {
  #main{
    background: #fff;
    margin: 36px auto 0;
    padding: 16px 16px 0;
  }
  .mv_hero_img{
    border-radius: 12px;
  }
	.header-cta{
    padding: 19.6px;
    	  background: linear-gradient(90deg, rgba(25,167,206,1) 0%, rgba(11,36,71,1) 100%);
    margin-right: 0;
	}
	.header-address{
                margin: 14px 0 0 10px;
        }
  .contact_tbl th{
    display: block;
  }
  .contact_tbl th{
    margin-left: 50px;
  }
  #renewal-service{
    padding: 80px 0;
  }
  #renewal-service .service_card{
    min-width: 100%;
    padding: 28px;
  }
  #renewal-service .service_steps{
    padding: 30px 24px;
  }
}
/*============================================================
breakpoint 680px-sp
==============================================================*/
@media screen and (max-width: 480px) {
h1{
    margin: 45px auto 15px;
    font-size: 2.8rem;
  }
  .mv_img{
    width: 302.5px;
    top: 132vw;
    right: -50px;
  }
  .contact_btn{
    width: 100%;
        padding: 15px;
  }
  .info_tel{
        letter-spacing: -2px;
  }
  #renewal-service .service_lead{
    margin: 0 auto 30px;
  }
  #renewal-service .service_card{
    padding: 24px;
  }
  #renewal-service .service_steps{
    padding: 24px 20px;
  }
}
/*============================================================
breakpoint 375px-sp
==============================================================*/
@media screen and (max-width: 375px) {
.mv_img{
    width: 280px;
    top: 150vw;
    right: -50px;
  }
}
/*============================================================
breakpoint 320px-SE
==============================================================*/
@media screen and (max-width: 320px) {
.mv_img{
    width: 280px;
    top: 175vw;
    right: -50px;
  }

    .h2_text {
      text-align: center;
      font-size: 0.875rem;
      letter-spacing: 0.25em;
      color: #19A7CE;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .service-item:hover {
      border-color: #19A7CE;
      box-shadow: 0 4px 20px rgba(25,167,206,0.15);
    }

    .service-icon {
      width: 64px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #EBF8FF 0%, #d0e8f8 100%);
      border: 2px solid #19A7CE;
      border-radius: 16px;
      margin-bottom: 16px;
      transition: all 0.3s ease;
    }

    .service-item:hover .service-icon {
      background: linear-gradient(135deg, #d0e8f8 0%, #b3e0f7 100%);
      border-color: #19A7CE;
      transform: scale(1.05);
    }

    .service-icon svg {
      width: 32px;
      height: 32px;
      color: #0B2447;
    }
  }

/*============================================================
Service List (15 Items / Image Style)
==============================================================*/
#service-list {
  background: #EBF8FF; /* 画像に合わせた薄いグレーの背景 */
  padding: 72px 0;
}

.service-grid-new {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5列構成 */
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-item-new {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  border: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
}

.service-icon-new {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-new svg {
  width: 44px;
  height: 44px;
}

.service-item-new h3 {
  font-size: 1.7rem;
  color: #0B2447; /* からくりネイビー */
  margin-bottom: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.service-item-new p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  text-align: left; /* 説明文は左寄せの方が見やすいため調整 */
}

/* レスポンシブ調整 */

/* 比較図（SVG画像）のコンテナ */

/* サービスカード */

/* カードサマリー（強調テキスト） */

/* 例ボックス */

/* 課題セクション（legacy-issuesを流用） */

/* 進め方（service_stepsを流用） */

/* フロー図（service-schemeを流用） */

/* レスポンシブ */

/*============================================================
  example-box スタイル
  ※ #renewal-service と #dev-process 共通で使用
  ※ style.css の末尾に追記してください
==============================================================*/

/* カードサマリー（強調テキスト） */
.card-summary {
  font-size: 1.6rem;
  font-weight: bold;
  color: #19A7CE;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* サブタイトル */
#renewal-service .service_card h3 small {
  font-size: 1.4rem;
  font-weight: normal;
  color: #666;
}

/* 例ボックス */
.example-box {
  background: #fafafa;
  border-left: 4px solid #19A7CE;
  padding: 18px 20px;
  margin-top: 20px;
}

.example-title {
  margin: 0 0 12px 0;
  font-weight: bold;
  color: #19A7CE;
  font-size: 1.4rem;
}

/* 課題セクションの補足テキスト */
.issues-note {
  margin-top: 20px;
  font-weight: bold;
  color: #19A7CE;
  font-size: 1.5rem;
}

/* レスポンシブ */


/*============================================================
MV Hero Image
==============================================================*/

/*============================================================
STRENGTH カード: SP は 1 列・画像左 + テキスト右（縦長解消）
既存の repeat(2,1fr) 指定が効いていないため #strength 詳細度で上書き
==============================================================*/
@media screen and (max-width: 600px) {
  #strength .strength_grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  #strength .strength_box{
    display: grid;
    grid-template-columns: 92px 1fr;
    grid-template-areas:
      "cover title"
      "cover text";
    column-gap: 14px;
    row-gap: 6px;
    align-items: center;
    text-align: left;
    padding: 14px;
  }
  #strength .strength_box__cover{
    grid-area: cover;
    width: 92px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    align-self: start;
  }
  #strength .strength_box__title{
    grid-area: title;
    text-align: left;
    padding: 0;
    margin: 0;
  }
  #strength .strength_box__text{
    grid-area: text;
    padding: 0;
  }
}

/* ===== Header Nav (added from lp-app-01) ===== */
.header-nav {
  display: flex;
  align-items: center;
  margin-right: 40px;
}
.header_link_list {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header_link_list > li {
  margin: 0;
}
/* header 内 a の既定色（#fff）を上書き。白背景ヘッダー上で読めるように */
.header_link_list a.header_link {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s ease;
}
.header_link_list a.header_link:hover {
  color: #0350a0;
}
/* hover で下線（CTA は除外） */
.header_link_list a.header_link:not(.header_link--cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(54, 193, 214, 1) 0%, rgba(3, 80, 156, 1) 100%);
  transition: width 0.25s ease;
}
.header_link_list a.header_link:not(.header_link--cta):hover::after {
  width: 100%;
}
/* CTA ボタン（.cta のグラデ背景を流用） */
.header_link_list a.header_link--cta {
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  white-space: nowrap;
}
.header_link_list a.header_link--cta:hover {
  color: #fff;
}

/* SP ハンバーガー / メニューは PC では非表示 */
.header-toggle {
  display: none;
  align-items: center;
  margin-left: 18px;
  margin-right: 20px; /* 画面右端に密着しないようロゴ左(20px)と対称の余白 */
}
.btn-trigger {
  position: relative;
  width: 30px;
  height: 22px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.btn-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #0350a0;
  transition: 0.3s ease;
}
.btn-trigger span:nth-of-type(1) { top: 0; }
.btn-trigger span:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
.btn-trigger span:nth-of-type(3) { bottom: 0; }
.btn-trigger.active span:nth-of-type(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.btn-trigger.active span:nth-of-type(2) { opacity: 0; }
.btn-trigger.active span:nth-of-type(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.menu {
  display: none; /* 広いデスクトップは非表示。≤1100px で block にして max-height で開閉 */
  position: fixed;
  top: 80px; /* PC ヘッダー高 80px のすぐ下。SP(≤768) では 60px に上書き */
  left: 0;
  width: 100%;
  background: #fff;
  /* 閉時は max-height:0 で完全に畳む（高さに依存せず確実に非表示・影も出さない） */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  z-index: 99;
}
.menu.open {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.menu ul {
  margin: 0;
  padding: 6px 0;
  list-style: none;
}
.menu li {
  margin: 0;
}
.menu li a.header_link {
  display: block;
  padding: 16px 24px;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid #eee;
}
.menu li a.header_link--cta {
  margin: 14px 24px 18px;
  padding: 15px;
  text-align: center;
  color: #fff;
  border-radius: 999px;
  border-bottom: none;
}

/* タブレット幅以下では横並びナビをハンバーガー + スライドメニューに切替
   （横並びナビはロゴと干渉するため余裕のある広いデスクトップ専用にする） */
@media screen and (max-width: 1100px) {
  .header-nav {
    display: none;
  }
  .header-toggle {
    display: flex;
  }
  .menu {
    display: block;
  }
}

/* 中〜狭デスクトップではロゴ右の住所がナビ/ハンバーガーを圧迫して折り返すため隠す
   （≤1024px・SP でも非表示。広い画面でのみ住所を表示する） */
@media screen and (max-width: 1240px) {
  .header-address {
    display: none;
  }
}

/* SP: ロゴ・CTA アイコンが出る幅。ヘッダー高 60px に合わせてメニュー位置を調整し、
   お問い合わせアイコン + ハンバーガーを右側にまとめる */
@media screen and (max-width: 768px) {
  .header-cta {
    margin-left: auto;
  }
  .menu {
    top: 60px;
  }
  .menu.open {
    max-height: calc(100vh - 60px);
  }
}

/* SP: ハンバーガーメニューを右下固定のフロートボタンにする
   （画面上部のヘッダー行から切り離し、常に見える位置でタップ可能にする） */
@media screen and (max-width: 768px) {
  .header-toggle {
    position: fixed;
    right: 16px;
    bottom: 16px;
    margin: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    justify-content: center;
    background: linear-gradient(90deg, rgba(54,193,214,1) 0%, rgba(3,80,156,1) 100%);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    z-index: 1001;
  }
  .header-toggle .btn-trigger span {
    background: #fff;
  }
}

/*============================================================
ISSUES（#pain）: メインビジュアル直下の課題提起セクション
実績(#achievement)より前に「読み手自身の課題」を置き、第2スクリーンでの
離脱を防いで自分ごと化させるのが狙い。文言は LP ごとに差し替える。

配色は各 LP のブランド 3 色（navy / accent / white）だけで構成する。
本文のグレーや背景のトーンも navy / accent の不透明度違いで表現し、
4 色目を足さない。LP 別の値は下の :root ではなく #pain のカスタム
プロパティ（--pain-navy / --pain-accent）だけを差し替えて切り替える。

演出は周辺セクションと同じ .scrollin（下からのスライドイン）に揃える。
.scrollin は opacity:1 起点（FV のみフェードイン）に統一しているため、
Microsoft Clarity の再生・ヒートマップでも非表示にはならない。
==============================================================*/
#pain {
  --pain-navy: #031d36;
  --pain-navy-rgb: 3, 29, 54;
  --pain-accent: #f14a00;
  --pain-accent-rgb: 241, 74, 0;
  margin: 70px auto 44px;
}
#pain .h2_ttl {
  margin-bottom: 24px;
  color: var(--pain-navy);
}
#pain .pain_bridge {
  margin-top: 40px;
  padding: 30px 24px;
  text-align: center;
  border-radius: 10px;
  background: var(--pain-navy);
  box-shadow: 0 6px 20px rgba(var(--pain-navy-rgb), 0.18);
}
#pain .pain_bridge__ttl {
  margin: 0 0 10px;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.6;
  color: #fff;
}
#pain .pain_cta {
  display: inline-block;
  min-width: 340px;
  padding: 16px 40px;
  font-size: 1.9rem;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 1px;
  color: #fff;
  border-radius: 45px;
  background: var(--pain-accent);
  box-shadow: 0 5px 12px rgba(var(--pain-accent-rgb), 0.35);
  transition: 0.3s ease all;
}
#pain .pain_cta:hover {
  box-shadow: 0 5px 18px rgba(var(--pain-accent-rgb), 0.55);
}

@media screen and (max-width: 1000px) {
  #pain {
    margin: 50px auto 34px;
  }
}

@media screen and (max-width: 768px) {
  #pain {
    margin: 40px auto 24px;
  }
  #pain .pain_bridge {
    margin-top: 26px;
    padding: 24px 18px;
  }
  #pain .pain_bridge__ttl {
    font-size: 1.8rem;
  }
  #pain .pain_cta {
    display: block;
    min-width: 0;
    width: 100%;
    padding: 15px 20px;
    font-size: 1.6rem;
  }
}

/* 介護LPの #pain は LP 共通ブランド 3 色（navy #0B2447 / cyan #19A7CE / white）で構成 */
#pain {
  --pain-navy: #0b2447;
  --pain-navy-rgb: 11, 36, 71;
  --pain-accent: #19a7ce;
  --pain-accent-rgb: 25, 167, 206;
}

/*============================================================
#pain の課題リスト
第 2 スクリーンでは読ませるより「当てはまる数」を見せた方が
自分ごと化が速いため、説明を持たせず一人称の課題 3 件だけを並べる。
==============================================================*/
#pain .pain_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#pain .pain_list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.6;
  color: var(--pain-navy);
  background: #fff;
  border-left: 4px solid var(--pain-accent);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(var(--pain-navy-rgb), 0.08);
}
#pain .pain_list li::before {
  content: "✓";
  flex: none;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--pain-accent);
}

@media screen and (max-width: 1000px) {
  #pain .pain_list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media screen and (max-width: 768px) {
  #pain .pain_list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #pain .pain_list li {
    padding: 14px 16px;
    font-size: 1.5rem;
  }
  #pain .pain_list li::before {
    font-size: 1.4rem;
  }
}

