@charset "utf-8";


body {
	/***	フォント関連設定	***/
	font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "A-OTF 新ゴ Pro", A-OTF Shin Go Pro, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 112.5%;	/* 18px */
	font-size: 125%;	/* 20px */
	line-height: 1.7;

	/***	背景＆文字色設定	***/
	background: url(../images/bg.jpg) center center / 100% auto fixed;
	color: #222;
	
	font-feature-settings: "palt";
	text-align: justify;
}

@media (max-aspect-ratio: 3000/2001) {
	body {
		background: url(../images/bg.jpg) center center / auto 100% fixed;
	}
  }

h1 {	
}

h2 {
	margin: 2.5em auto;
	text-align: center;
}

a {cursor: pointer;}

img {
	display: block;	/*	ブロック要素としてふるまう：中揃えで表示	*/
	margin: 0 auto;
	max-width: 100%;
}

strong {
	font-weight: bold;
}

#wrapper {
	margin: 0 auto;
	width: 480px;
}

footer {
	margin: 0 auto;
	padding: 1em 0;
	background: #50a7d0;
	color: #fff;
	text-align: center;
	font-size: 75%;
}

footer a {
	color: #fff;
	text-decoration: underline;
}

footer a:hover {
	color: #fff;
}

address {
	font-style: normal;
}



/***	テキスト装飾設定	***/

.large {
	font-size: 120%;
}

.xlarge {
	font-size: 144%;
}

.xxlarge {
	font-size: 172.8%;
}

.small {
	font-size: 82.5%;
}

.xsmall {
	font-size: 62.5%;
}

.xxsmall {
	font-size: 56.25%;
}

.u {
	text-decoration: underline;
}

.red {
	color: red;
}

.highlight {
	background-color: #fff266;
}

.redhigh {
	color: red;
	background-color: #fff266;
}


/***	画像右寄せ設定	***/

.pic_right {
	float: right;
	margin: 10px -15px 10px 10px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}


/***	PC・スマホ改行設定	***/

.pconly {
	display: block;
}

.sponly {
	display: none;
}



/*
 *		class-name
 */

.class-name {
}

.wrap_class-name {
	margin: 0 auto;
	width:820px;
	max-width: 96%;
}

.con_class-name {
}

.con_class-name p {
}


/*
 *		cta
 */

.cta01 {	/***	高さ指定不要：ボタン高さ＋2em	***/
	padding: 1em 0;
	background: #ffffeb;
}

.cta01 a img {
	width: calc( 450 / 480 * 100% );	/***	幅480pxの時、ボタン幅450px	***/
}

.cta02 {	/***	高さ指定タイプ	***/
	padding-top: calc( 101 / 480 * 100% ) ;
	background: url(../images/bg_cta02.png) center center / 100% 100% no-repeat;
	aspect-ratio: 480 / 267;
}

.cta02 a img {
	width: calc( 450 / 480 * 100% );	/***	幅480pxの時、ボタン幅450px	***/
}

.btn {
	display: block;

	animation-name: btn-animation;
	animation-iteration-count: infinite;
	animation-duration: 2s;
}

.btn:hover {
	animation-duration: 0.8s;
}



/*
 *		pc_objects
 */

.pc_logo {
	position: fixed;
	top: 1em;
	left: 1em;
}

.pc_contents {
	position: fixed;
	top: 0;
	left: 0.5em;
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc( ( 100% - 480px ) / 2 - 1em );
	height: 100vh;
}

.pc_contents ul {
	list-style: none;
	line-height: 2.5;
	font-size: 1.2em;
	font-weight: bold;
}

.pc_contents ul a {
	color: #222;
	transition: all 0.3s 0s ease;
}
.pc_contents ul a:hover {
	color: #C00;
}


/*
 *		pc_objright
 */

 .pc_objright {
	position: fixed;
	top: 0;
	right: 0.5em;
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc( ( 100% - 480px ) / 2 - 1em );
	height: 100vh;
}


.pc_cta {
	display: block;
	width: fit-content;
}

.pc_cta .btn img {
}

.pc_cta .btn {
	animation: none;
}

.pc_cta .btn:hover {
	opacity: 0.66;
}



/***	常時表示ボタン設定	***/

 .flbtn {
	position: fixed;
	bottom: 0.5em;
	right: 0.5em;
	z-index: 9999;
}

.flbtn a {
	display: block;
	width: 240px;
	height: calc( 240 / 450 * 142px );
	background: url(../images/button.png) no-repeat;
	background-size: 100%;
	text-indent: -9999px;

	animation-name: btn-animation;
	animation-iteration-count: infinite;
	animation-duration: 2s;
	animation-delay: 0.6s;

	filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

@keyframes btn-animation {
	0% {
		transform: translateY(0.75em);
	}

	50% {
		transform: translateY(-0.25em);
	}

	100% {
		transform: translateY(0.75em);
	}
}


@media screen and (max-width: 1200px) {	/***	幅1200px以下に適用	***/

	/* .pc_contents {
		width: 40vw;
		height: 40vw;
	} */
	

}


@media screen and (max-width: 979px) {	/***	幅979px以下に適用	***/


	footer {
		position: relative;
	}

	.xlarge {
		font-size: 125%;
	}

	.xxlarge {
		font-size: 150%;
	}

	/***	PC・スマホ改行設定	***/

	.pconly {
		display: none;
	}

	.sponly {
		display: block;
	}

	.flbtn {
		display: none;
	}


	.pc_objects,
	.pc_objright {
		display: none;
	}


}


@media screen and (max-width: 479px) {

	footer {
		font-size: 66%;
	}

	
}


@media screen and (max-width: 599px) {	/***	幅599px以下に適用：スマホ	***/}

/*
 *		特商法
 */

.page_laws #wrapper {
	margin: 0 auto 2em;
	padding: 3em;
	width: 800px;
	max-width: 100%;
	background: #fff;
	font-size: 75%;
}

.page_laws #wrapper h2 {
	margin: 0 auto;
	font-size: 2em;
	text-align: center;
}

.page_laws #wrapper h3 {
	margin-top: 2em;
	font-size: 1.25em;
}

.page_laws #wrapper h4 {
	margin-top: 2em;
}

.page_laws table {
	margin: 1.5em auto;
	width: 720px;
	max-width: 100%;
	border-collapse: separate;
	border-spacing: 1px;
	background: #ccc;
}

.page_laws th {
	padding: 0.5em;
	width: 28%;
	border-top: 1px solid #fff;
	background-color: #EBEBEB;
}

.page_laws td {
	padding: 0.5em;
	font-size: 0.8em;
	background-color: #FFFFFF;
}

@media screen and (max-width: 599px) {/*特商法*/

	.page_laws #wrapper {
		padding: 0;
	}

	.page_laws table {
		margin-top: 0;
		width: 98vw;
	}

	.page_laws th,
	.page_laws td {
		display: block;
		width: 100%;
	}
}


/* ベース：画像は横幅いっぱい、にじみ防止 */
.section-img img,
.cta-wrap > img {
  display:block;
  width:100%;
  height:auto;
  -webkit-font-smoothing: antialiased;
  image-rendering: auto;
}

/* LINE背景 + ボタン重ね */
.cta-wrap {
  position: relative;
  overflow: hidden;
}
.cta-wrap .cta-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;     /* 中央にボタン画像を置く */
  text-decoration: none;
}
.cta-wrap .cta-overlay img {
  width:min(480px, 80vw);  /* 画像ボタンを可変に */
  height:auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.18));
  transition: transform .08s ease;
}
.cta-wrap .cta-overlay:active img { transform: translateY(1px) scale(.995); }

/* ボタン行（メール用の下置きなどに） */
.btn-row {
  display:flex; justify-content:center; gap:12px; margin:16px auto 40px;
}
.btn {
  display:inline-block; padding:14px 22px; border-radius:9999px;
  font-weight:700; text-decoration:none; line-height:1; border:2px solid #ddd; color:#111; background:#fff;
}
.btn:hover { background:#f6f7f9; }
.btn--ghost { border-color:#ddd; }

/* Instagram埋め込みを見栄えよく */
.embed--insta {
  max-width: 720px;
  margin: 24px auto;
  padding: 0 16px;
}

/* Googleマップをレスポンシブに（16:9） */
.embed--map {
  margin: 24px auto 48px;
  padding: 0 16px;
}
.embed--map iframe {
  width:100%;
  aspect-ratio:16/9;       /* ブラウザ対応が足りなければ高さをcalcで指定 */
  border:0;
  display:block;
}

/* 余白の統一（画像セクション） */
.section-img { margin: 0; }  /* 画像LPは余白を画像側でデザインしている想定 */
.site-footer {
  text-align:center; font-size:12px; color:#666; padding:24px 16px 40px;
}


/* sec4-3の上にボタンを重ねるための親要素 */
.cta-overlay-parent {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

/* 重ねボタン本体 */
.cta-over-sec4 {
  position: absolute;
  left: 50%;
  bottom: 30px; /* ←ここを調整すると位置が変わる */
  transform: translateX(-50%);
  display: block;
  text-decoration: none;
}

.cta-over-sec4 img {
  width: 85%;
  max-width: 750px; /* 枠からはみ出さないための安全装置 */
  height: auto;
}


/* sec4-3 の重ねボタンを親幅(=750px)の85%に */
#sec4-3 { 
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

#sec4-3 .cta-over-sec4{
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 100%;                 /* 親幅を基準にするため */
  display: flex;
  justify-content: center;
}

#sec4-3 .cta-over-sec4 > img{
  width: 85% !important;       /* 旧ルールを上書き */
  max-width: none !important;  /* min()/max-width の影響を消す */
  height: auto;
}


/* sec5 の重ねボタン（統合版） */
#sec5 {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

#sec5 .cta-over-sec5 {
  position: absolute;
  left: 50%;
  bottom: 70px; /* 下からの距離 */
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 2; /* 必要なら前面へ */
}

#sec5 .cta-over-sec5 img {
  width: 85% !important;  /* sec4-3 と揃える */
  height: auto;
  max-width: none;        /* ほかの img 共通CSSの max-width 影響を受けないように */
}



/* sec9-mail の重ねボタン */
#sec9-mail {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

#sec9-mail img:first-of-type {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none; /* ← 背景画像がクリックを奪わない */
}

#sec9-mail .cta-over-sec9mail {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;

  z-index: 20;         /* ← 前面に出す（重要） */
  pointer-events: auto;
  cursor: pointer;
}

#sec9-mail .cta-over-sec9mail img {
  width: 85% !important;
  height: auto;
  pointer-events: none; /* ← クリック判定を a タグへ渡す */
}



/* sec9b の重ねボタン（中央配置） */
#sec9b {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

#sec9b .cta-over-sec9b {
  position: absolute;
  left: 50%;
  top: 50%;                  /* ← 高さの中央に配置 */
  transform: translate(-50%, -50%);  
  width: 100%;
  
  display: flex;
  flex-direction: column;     /* 縦並び */
  align-items: center;        /* ボタンの中央揃え */
  gap: 20px;                  /* ボタン間の余白 */
}

#sec9b .cta-over-sec9b img {
  width: 85% !important;
  height: auto;
}



/* ---- sec9 のGoogleマップ重ね ---- */
#sec9 {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

/* マップの位置：画像の“下に揃えて”配置 */
#sec9 .map-over-sec9 {
  position: absolute;
  left: 50%;
  bottom: 0;  /* ← 下に揃える */
  transform: translateX(-50%);
  
  width: 100%;
  display: flex;
  justify-content: center;
}

/* マップサイズ：700×455を維持しつつ縮む */
#sec9 .map-over-sec9 iframe {
  width: 710px;
  height: 300px;
  max-width: 90%;        /* スマホでは縮む */
  border: 0;
}



.embed--insta {
  margin: 30px auto;
}



/* ▼ 重ねCTAたちにテンプレのアニメーションを適用する */
.cta-overlay img,
.cta-over-sec5 img,
.cta-over-sec9mail img,
#sec9b .cta-over-sec9b img {
  animation-name: btn-animation;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
}

@keyframes btn-animation {
  0% { transform: translate(-50%, -50%) translateY(3px); }
  50% { transform: translate(-50%, -50%) translateY(-3px); }
 100% { transform: translate(-50%, -50%) translateY(3px); }
}


/* 縦にふわっと揺れるだけ（横方向は触らない） */
@keyframes btn-animation {
  0%   { transform: translateY(3px); }
  50%  { transform: translateY(-3px); }
  100% { transform: translateY(3px); }
}

/* 重ねCTAの画像に適用（横センタリングは親が担当） */
.cta-overlay img,
.cta-over-sec5 img,
.cta-over-sec9mail img,
#sec9b .cta-over-sec9b img {
  animation: btn-animation 2.4s ease-in-out infinite;
}


/* すべての line.cta-bg 上のボタンを下げる */
.cta-wrap .cta-overlay{
  transform: translateY(36px);
}



#sec9-mail {
  position: relative;
  z-index: 5; /* ← ボタンが前面 */
}

#sec9-mail .cta-over-sec9mail {
  z-index: 10;         /* ← ボタンを最前面に固定！ */
  pointer-events: auto;
}

#sec9-mail img:first-of-type {
  pointer-events: none; /* ← 背景画像はクリックを奪わない */
}


/* ▼ sec4-3 の重ねボタン（下30px・中央・幅85%） */
#sec4-3 {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

#sec4-3 .cta-over-sec4-3 {
  position: absolute;
  left: 50%;
  bottom: 30px;            /* ← ここが “下から30px” */
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 20;
}

#sec4-3 .cta-over-sec4-3 img {
  width: 85%;
  height: auto;
}


/* ▼ sec4-3 のCTAボタンにもアニメーションを適用 */
#sec4-3 .cta-over-sec4-3 img {
  animation: btn-animation 2.4s ease-in-out infinite;
}

/* 背景画像はクリックを奪わない（=aに譲る） */
#sec4-3 > img:first-child,
#sec9-mail > img:first-child { pointer-events: none; }

/* クリックさせたいaを最前面＆有効に */
#sec4-3 .cta-over-sec4-3,
#sec9-mail .cta-over-sec9mail {
  position: absolute;      /* 既にabsoluteでも念のため明示 */
  z-index: 99;             /* 前面へ */
  pointer-events: auto;    /* クリック可 */
  display: flex;           /* 念のため */
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
}

/* 直後のInstagram埋め込みがかぶらないように下げる */
.embed--insta { position: relative; z-index: 1; }
/* 対象セクション自体は上げておく */
#sec4-3, #sec9-mail { position: relative; z-index: 2; }


/* 1) 器を可変化：画面幅に合わせて縮む＆中央寄せ */
#wrapper{
  width: min(750px, 100%);   /* 750pxを上限に、端末幅いっぱいまで縮む */
  margin: 0 auto;            /* 中央寄せ */
}

/* 2) 余白と横スクロールの元凶を封じる */
html, body { margin: 0; overflow-x: hidden; }

/* 3) 画像・埋め込みの横はみ出し防止 */
.section-img img,
.cta-wrap > img,
img, video, canvas { display:block; width:100%; height:auto; }

/* Instagram埋め込みがmin-widthで飛び出す対策 */
.instagram-media,
.embed--insta blockquote { max-width:100% !important; min-width:0 !important; }

/* Googleマップを端末幅に合わせる（aspect-ratioで比率維持） */
.map-over-sec9 iframe { width:100% !important; height:auto; aspect-ratio:700/455; }


/* === karadalab1 を karadalab2 と同じ幅に統一（最下部に追加）=== */
:root { --lp-max: 750px; }                 /* PC上限幅を750pxに */

html, body { margin:0; overflow-x:hidden; }/* 余白＆横スク防止 */

#wrapper{
  width: min(var(--lp-max), 100%) !important;  /* 480px固定を上書き */
  margin: 0 auto;                               /* 中央寄せ */
}

/* セクションの箱幅も750pxに統一 */
.section-img,
.cta-wrap,
.embed--insta,
.cta-overlay-parent,
#sec4-1, #sec4-2, #sec4-3, #sec5, #sec6, #sec7, #sec8, #sec9, #sec9-mail, #sec9b {
  max-width: var(--lp-max);
  margin: 0 auto;
}

/* 画像・埋め込みは箱の中でフィット */
.section-img img,
.cta-wrap > img,
img, video, canvas { display:block; width:100%; height:auto; }

/* Instagramのmin-width問題を封じる */
.instagram-media,
.embed--insta blockquote { max-width:100% !important; min-width:0 !important; }

/* Googleマップも比率維持で可変 */
.map-over-sec9 iframe { width:100% !important; height:auto; aspect-ratio:700/455; }


/* === karadalab2 と同じ 480px 固定LPにそろえる === */
#wrapper {
  width: 480px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}