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

html {
scroll-behavior: smooth;
margin: 0;
padding: 0;
}

body {
margin: 0;
padding: 0;

font-family: "Noto Sans JP", sans-serif;
font-optical-sizing: auto;
font-style: normal;
color: #333;
}

a {
text-decoration: none;
}

/* header */

header {
width: 100%;
height: 66px;
background: #e6eef7;
margin: 0;
padding: 0;

color: #004094;
font-size: 15px;
font-weight: 500;

display: flex;
align-items: center;
justify-content: center;
}

header img {
width: auto;
height: 19px;
margin-right: 10px;
padding-top: 6px;
}

/* 全体 */
.container {
width: 1000px;
margin: 0 auto;
}

/* 区切り */
.hr-custom {
border: none;
height: 1px;
background: #ccc;
margin: 40px 0;
}

.hr-blue {
border: none;
height: 1px;
background: #6295e3;
margin: 40px 0;
}

/* MAIN */
.main {
width: 1100px;
height: 100%;
background: url("img/bg-main.webp") no-repeat right bottom;
background-size: auto 120%;
padding: 50px 0;
}

h1 {
font-size: 38px;
font-family: "Zen Old Mincho", serif;
font-style: normal;
font-weight: 600;
color: #004094;
margin-top: 30px;
margin-bottom: 30px;
line-height: 1.6;
letter-spacing: -0.05em;	
}

.service-title {
font-size: 14px;
color: #333;
font-weight: 400;
text-align: left;
}

.service-text {
font-size: 20px;
margin-bottom: 40px;
font-weight: 600;
line-height: 1.8;
text-shadow: 0 0 3px rgba(255,255,255,1);
}


.h3-text {
font-size: 26px;
font-weight: 500;
text-align: left;
position: relative;
padding-left: 20px; /* 棒＋余白 */
margin-bottom: 20px;
}

.h3-text::before {
content: "";
position: absolute;
left: 0;
top: 50%;
width: 4px; /* ← 横幅をここで変更 */
height: 1.2em;
background: #004094;
transform: translateY(-50%);
}

/* MAINの申し込みボタン */
.btn-info {
width: 260px;
height: 55px;
margin-top: 20px;
margin-bottom: 0;
margin-left: 10px;
padding: 0;
color: #fff;
background: #2f5fa8;
font-size: 20px;
font-weight: 500;
text-align: center;
align-content: center;
border-radius: 8px;
}

.btn-info:hover {
background: #004094;
}

/* 紹介 */
.section-container {
width: 100vw;
margin: 0 auto;
padding: 20px 0;
margin-left: calc(50% - 50vw);
background: linear-gradient(to right, #e6f2ff, #e6eef7);
}

.service-text-row {
text-align: center;
margin-top: 30px;
margin-bottom: 40px;
padding: 0 0 20px 0;
}

/* 紹介エリアは常に表示 */
.section-container .service-text-row {
display: block;
}

/* 紹介（idなし）は表示 */
.section-container .service-text-row {
display: block;
}

/* 下の3つ（idあり）は最初は非表示 */
.service-text-row[id] {
display: none;
}

/* active だけ表示 */
.service-text-row[id].active {
display: block;
}

.section-container-2 {
width: 100vw;
margin: 0 auto;
padding: 20px 0 40px 0;
margin-left: calc(50% - 50vw);
background: linear-gradient(to right, #f5faff, #f7f7f7);
}

/* 見出し */
.copy-title {
display: inline-block;
font-size: 24px;
font-weight: 700;
padding-bottom: 10px;
margin-bottom: 20px;
color: #004094;
}

.info-row .copy-title{
margin-bottom: 40px;	
} 

.copy-title:not(.notBorder) {
position: relative;
}

.copy-title:not(.notBorder)::before {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%; /* テキスト幅に一致 */
height: 4px;
background-color: #6295e3;
border-radius: 2px;
}

.copy-text {
font-size: 18px;
font-weight: 500;
margin-top: 40px;
margin-bottom: 20px;
line-height: 1.9;
}

/* こんなお悩みありませんか？ */
.vague {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
margin: 30px auto 0 auto;
}

.vague img {
height: 270px;
width: auto;
margin: 20px 0 0 0;
}

.vague-list {
font-family: "Zen Kurenaido", sans-serif;
font-weight: 400;
font-style: normal;
margin: 0 auto;
align-items: center;
}

.vague-list li {
font-size: 20px;
margin-bottom: 20px;
}

/* 動画案内ボタン */
.movie-row {
display: flex;

margin: 45px auto 0 auto;
gap: 50px;
justify-content: center;
}

.movie-box {
width: 250px;
height: 250px;
border-radius: 12px;
border: 3px solid #f5faff;
background: linear-gradient(to bottom, #fff, #f5f9ff);
text-align: center;
box-shadow: 0 10px 0 rgba(163,189,227,0.5);
font-weight: 600;
font-size: 24px;
color: #004094;

display: flex;
flex-direction: column;
align-items: center;

transition: all .3s ease;
}

.movie-box:hover {
border-radius: 12px;
background: #fff;
border: 3px solid #ffd96e;
box-shadow: 0 5px 0 rgba(163,189,227,0.9);
}

.movie-box img {
width: 190px;
height: auto;
transition: all .3s ease;
}

.movie-box img:hover {
width: 195px;
height: auto;
}

/* 無料個別相談：案内 */
.text-row {
width: 1000px;
margin: 50px auto 0 auto;
text-align: center;
}

/* 基本テキスト */
.text-p {
width: 470px;
font-size: 18px;
font-weight: 400;
text-align: left;
line-height: 1.8;
}

.text.bg {
background-color: #ffffff;
display: inline-block;
padding: 0.8em 1em;
border-radius: 8px;
}


.strong-blue {
font-weight: 800;
color: #004094;
}

.strong-red {
font-weight: 700;
color: #ff5e5e;
}

.big-text {
font-size: 26px;
font-weight: 400;
font-family: "Zen Old Mincho", serif;
font-style: normal;
margin: 30px auto;
}

/* YouTube動画 */
.yt-row {
display: flex;
align-items: center;
justify-content: center;
gap: 30px;
margin: 0 auto;
padding: 0;
}

.yt {
position: relative;
border-radius: 10px;
overflow: hidden;
width: 450px;
height: 253px;
}

.yt iframe {
width: 100%;
height: 100%;
}

.yt-text {
font-size: 13px;
text-align: right;
margin-right: 10px;
}

.yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  z-index: 2;
}

.section-guider {
width: 1000px;
margin: 30px auto;
padding: 0;

align-content: center;
text-align: center;
}

/* 無料個別相談：案内 */
.fp-row {
justify-content: center;
width: 1000px;
display: flex;
align-items: center;
gap: 30px;
margin: 0 auto 80px auto;
}

.fp-row img {
width: 390px;
height: auto;
}

.fp-text {
text-align: left;
font-size: 18px;
line-height: 1.8;
}

.service-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}

.service-list ul {
margin: 0;
padding: 0;
}

.service-list li {
list-style: none;
font-size: 18px;
margin-bottom: 16px;
background: #fff;
box-shadow: 0 0 4px rgba(163,189,227,0.3);
padding: 12px;
border-radius: 4px;
}

.service-list li.li-title {
font-weight: 600;
font-size: 20px;
margin-bottom: 12px;
background: #6395e3;
color: #ffffff;
border-radius: 4px;
}

.service-list li.li-title-r {
font-weight: 600;
font-size: 20px;
margin-bottom: 12px;
background: #ff7a93;
color: #ffffff;
border-radius: 4px;	
}


/* 無料個別相談申込書 */
.section-flyer {
margin: 30px auto;
padding: 0;
background: #fff;
}

.flyer-inner {
width: 1000px;
margin: 0 auto;
padding: 0;
margin-bottom: 100px;

align-content: center;
text-align: center;
}

.text {
font-size: 22px;
margin: 30px;
line-height: 1.8;
color: #004094;	
}

.pdf-row {
display: flex;
justify-content: center;
}

.pdf-view {
display: flex;
gap: 60px;
list-style: none;
padding: 0;
margin: 25px 0 0 0;
}

.pdf-view img {
width: 200px;
height: auto;
border: none;
border: 1px solid #ccc;
box-shadow: 4px 4px 0 rgba(163,189,227,0.3);
cursor: zoom-in;
transition: transform 0.2s ease;
}

.pdf-view img:hover {
transform: scale(1.1);
}

/* ダウンロードする */
.download-row {
width: 100%;
display: flex;
justify-content: center;
margin: 30px auto;
}

.download-btn {
width: 600px;
height: 66px;
padding: 7px 0 0 0;
background: #f58c8c;
color: #fff;
font-size: 21px;
font-weight: 500;
border-radius: 10px;
align-content: center;
padding-bottom: 10px;
box-shadow: 0 8px 0 rgba(0,0,0,0.1);
transition: transform 0.2s ease;
}

.download-btn img {
width: 18px;
height: auto;
margin-left: 10px;
padding-top: 10px;
}

.download-btn:hover {
background: #f06e6e;
box-shadow: 0 5px 0 rgba(0,0,0,0.3);
}

/* 個人情報のお取り扱いについて */

.info-row {
font-size: 15px;
line-height: 1.6;
text-align: center;
}

.info-row .info-text {
text-align: left;
}

.info-row .info-box {
text-align: left;
}

.info-text {
padding: 0 20px;
margin-bottom: 30px;
}

ul {
list-style: none;
margin: 0 0 20px 0;
padding: 0;
}

li {
margin: 0 0 5px 0;
padding: 0;
}

.info-box {
width: 100%;
max-width: 1000px;
height: 250px;
min-height: 200px;
max-height: 80vh;
padding: 20px;
border: 1px solid #ccc;
overflow: auto;
resize: vertical; /* 縦方向だけサイズ変更 */
box-sizing: border-box;

font-size: 14px;
line-height: 1.5;
}

h3 {
font-size: 17px;
font-weight: 600;
padding: 0;
margin: 0 0 10px 0;
}

h4,
h5 {
font-size: 17px;
font-weight: 600;
padding: 0;
margin: 15px 0 10px 0;
}

h3,
h4 {
padding-bottom: 10px;
border-bottom: 1px solid #ccc;
}

address {
font-optical-sizing: auto;
font-style: normal;
margin: 0;
padding: 0;
}

/* 申し込みボタン */
.wrap {
max-width: 520px;
margin: 20px auto;
background: var(--card);
border: 1px solid var(--border);
border-radius: 14px;
padding: 24px;

display: flex;
flex-direction: column;
align-items: center; /* 水平中央 */
}

.agree {
display: flex;
align-items: center;
gap: 10px;
user-select: none;
margin: 10px 0 18px 0;
text-align: center;
font-size: 20px;
}

.agree input {
width: 18px;
height: 18px;
}

.btn {
width: 100%;
padding: 12px 14px;
border: none;
border-radius: 10px;
font-size: 20px;
font-weight: 600;
cursor: pointer;
margin: 50px auto;
text-align: center;
}

.btn:disabled {
opacity: .45;
cursor: not-allowed;
}

.btn:hover {
background: #2f5fa8;
color: #fff;
}

.hint {
margin: 10px 0 40px 0;
font-size: 15px;
}

/* TOPに戻るボタン */
.to-top {
position: fixed;
margin-right: 20px;
right: 20px;
bottom: 30px;
width: 60px;
height: 60px;
border-radius: 50%;
background: #2f5fa8;
border: none;
cursor: pointer;
opacity: 0;
pointer-events: none;
transition: .3s;
z-index: 999;
}

.to-top img {
width: 20px;
height: auto;
}

.to-top.show {
opacity: 1;
pointer-events: auto;
}

.text-pc {
display: inline;	
}

.br-sp {
display: none;
}

@media (max-width: 768px) {
.br-sp {
display: inline;
}
.text-pc {
display: none;	
}
	
}

/* =========================
スマホ最適化（〜768px）
既存CSSの一番下に追記
========================= */
@media (max-width: 768px) {

/* ベース */
html,
body {
overflow-x: hidden;
}	
	
body {
font-size: 16px;
}

.container {
width: 100%;
padding: 0;
box-sizing: border-box;
}
	

/* header */
header {
height: 56px;
font-size: 12px;
padding: 0;
margin: 0 auto;
}

header img {
height: 12px;
margin-right: 8px;
padding-top: 4px;
}

/* MAIN */
.main {
width: 100vw;
height: 100%;
padding: 28px 0;
margin: 0;	
background-position: 72% bottom;
background-size: auto 110%;
}
	
.main .service-text{
margin-left: 15px;		
}	

h1 {
font-size: 24px;
margin: 15px 0 0 15px;
line-height: 1.6;
padding: 0; 
}

.service-title {
font-size: 13px;
margin-left: 15px;
}

.service-text {
font-size: 14px;
margin-top: 140px;
margin-bottom: 0;
line-height: 1.8;
text-align: left;
padding: 0 12px;	
}

.btn-info {
width: 80%;
height: 52px;
margin: 20px auto 20px auto;
font-size: 20px;
}

/* 見出し */
.copy-title {
font-size: 19px;
line-height: 1.6;
margin-bottom: 10px;
margin-top: 20px;
}


	
.copy-text {
font-size: 17px;
margin-top: 18px;
margin-bottom: 18px;
line-height: 1.8;
}

.h3-text {
font-size: 24px;
padding-left: 16px;
}

/* こんなお悩み */
.vague {
gap: 14px;
width: 90%;
padding: 0 10px 0 10px;
margin: 0 auto;
}

.vague img {
width: 65%;
max-width: 320px;
height: auto;
margin-top: 10px;
}

.vague-list {
width: 100%;
text-align: center;
margin-top: 10px;
word-break: keep-all;	
}

.vague-list ul {
  display: inline-block;
  text-align: left;
  list-style: disc;
  padding-left: 1.2em;	
}
	
.vague-list li::marker {
  color: #004094;
}
	
.vague-list li {
font-family: "Noto Sans JP", sans-serif;
font-size: 15px;
margin: 0 auto 20px auto;
text-align: left;
line-height: 1.7;
word-break: keep-all;	
}
	
/* 動画ボタン（横3→縦） */
.section-guider {
width: 100%;
margin: 30px auto;
}

.movie-row {
flex-direction: column;
gap: 14px;
align-items: center;
}

.movie-box {
margin: 0 auto;
width: 90%;
max-width: 360px;
height: 80px;
margin-bottom: 20px;
flex-direction: row;
justify-content: center;
gap: 12px;
font-size: 24px;
box-shadow: 0 8px 0 rgba(163,189,227,0.5);
border: 3px solid #E5F2FE;
background: #E5F2FE;	
}

.movie-box img {
width: 28%;
height: auto;
margin-right: 10px;
}

.movie-box img:hover {
width: 28%;
} /* スマホはhover無効化寄り */

/* 動画＋テキスト（横→縦） */
.yt-row {
flex-direction: column;
gap: 12px;
align-items: stretch;
}

.text-p {
width: 100%;
font-size: 15px;
line-height: 1.8;
}

.hr-blue {
display: none;		
}	
	
.yt {
width: 95%;
height: auto;
aspect-ratio: 16 / 9;
}

.yt iframe {
width: 100%;
height: 100%;
}

.yt-text {
font-size: 15px;
margin: 10px 0;
text-align: left;	
}

/* セクション幅100vwの左右ズレ対策 */
.section-container,
.section-container-2 {
width: calc(100% + 32px);
margin-left: -16px;
margin-right: -16px;
left: 0;
transform: none;
padding-left: 0;
padding-right: 0;
}



/* 相談案内（横→縦） */
.text-row {
width: 100%;
margin: 28px auto 0 auto;
}

.fp-row {
width: 100%;
flex-direction: column;
gap: 14px;
margin: 0 0 44px 0;
padding: 0;
text-align: center;
}


.fp-row img {
width: 100%;
max-width: 320px;
margin:0;
text-align: center;	
padding: 0;
}

.fp-text {
width: 80%;
font-size: 17px;
line-height: 1.8;
text-align: center;
margin: 0;
}

/* 相談できること：2列→1列 */
.service-list{
margin-top: 20px;
margin-bottom: 20px;
padding-left: 10px;
padding-right: 10px;
grid-template-columns: 1fr;	
}	

.service-list li {
font-size: 15px;
padding: 16px auto;
border-radius: 999px;
margin: 0 auto 10px auto;
}
	
.li-title-r,.li-title-r{
font-size: 17px;
}
	
.service-text-row {
padding-bottom: 0;
margin-bottom: 50px;
margin-top: 0;
padding: 0 20px;
}	

/* PDFエリア */
.flyer-inner {
width: 100%;
margin-bottom: 60px;
}

.text {
font-size: 17px;
margin: 18px 0;
}

.pdf-row {
overflow-x: auto;
}

.pdf-view {
gap: 14px;
justify-content: flex-start;
padding: 0;
margin-top: 18px;
}

.pdf-view img {
width: 140px;
}

/* ダウンロードボタン */
.download-row {
margin-top: 30px;
margin-bottom: 22px;
width: 100%;	
}

.download-btn {
margin-bottom: 22px;	
height: 70px;
font-size: 14px;
padding: 0 12px;
box-sizing: border-box;
}

.download-btn img {
width: 12px;
padding-top: 3px;
}

/* 個人情報ボックス */
.info-box {
max-width: 100%;
height: 320px;
padding: 14px;
font-size: 13px;
}

.info-text {
padding: 0;
}

/* 同意〜ボタン */
.wrap {
max-width: 100%;
padding: 16px;
}

.agree {
font-size: 16px;
gap: 8px;
}

.btn {
font-size: 18px;
margin: 18px auto;
}

.info-row {
padding: 0 20px;		
}	
	
.info-container {
width: 100%;
margin-bottom: 70px;
}	
	
/* TOPに戻る */
.to-top {
width: 60px;
height: 60px;
font-size: 16px;
bottom: 16px;
margin-right: 0;
}
}

/* 吹き出し */	
/* 吹き出し */
.balloon-up {
position: relative;
	display: inline-block;
	padding: 12px 18px;
	background: #fff6c2;
	color: #333;
	font-size: 15px;
	font-weight: 600;
	border-radius: 10px;
	text-align: center;
	margin-right: auto;
	margin-left: -40px;
}


.balloon-up::before {
content: "";
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
border-width: 0 10px 12px 10px;
border-style: solid;
border-color: transparent transparent #fff6c2 transparent;
}


/* フッター */
/* フッター */	
#footer-benefit {
text-align: center;
background: #f0f2f5;
margin: 100px 0 0 0;
padding: 40px 0;
}

#footer-benefit .m-footer-logo-link {
display: inline-block;
}


.footer-copyright-text span{
font-size: 11px;	
}