@charset "UTF-8";

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	overflow-x: hidden;
    scroll-padding-top: 80px;
}

body {
	color: #333;
	font-family: "Noto Sans JP", "Noto Sans CJK JP", "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W6", ヒラギノ角ゴシック, "Hiragino Sans", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height: 1.5;
	overflow-wrap: break-word;
	position: relative;
	z-index: 1;
}

img {
	border: 0;
	display: block;
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

a {
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	display: inline-block;
}

/* 選択色 */
*::-moz-selection {
	background-color: #BDA762;
	color: #fff;
}
*::selection {
	background-color: #BDA762;
	color: #fff;
}

/* ========== Layout ========== */

/* スマホ幅のカラム */
.main {
	background: #FFF2F2;
	z-index: 1;
	margin-top: 60px; /* ヘッダー高さ分 */
}

.inner {
	box-sizing: content-box;
	margin: 0 auto;
	max-width: 600px;
	padding: 0; /* SP では余白なし（画像を画面いっぱいに） */
}

/* 画像ブロック（分割した画像を縦に並べるだけ） */
.box-img {
	margin-top: -1px; /* 画像の隙間消し */
}

/* フッター */
.footer {
	background: #F7AEAE;
	color: #fff;
	font-family: "Times New Roman", Times, "Georgia", "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
	font-size: 10px;
	letter-spacing: .1em;
	margin-top: 60px;
	padding: 8px 10px;
	text-align: center;
}

/* ========== Header（追従） ========== */

.head {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	padding: 0 15px;
	background-color: transparent;
	z-index: 100;
}

.head-logo {
	line-height: 1;
	width: 140px;
}

.head-btn {
	margin-left: auto;
}

/* ========== ボタン共通（ヘッダー＆途中CTA） ========== */

.cta-btn {
	margin: 0 auto;
	max-width: 292px;
}

.head-btn a,
.cta-btn a {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding: 11px 20px;
	border-radius: 999px;
	background: -webkit-linear-gradient(0deg, #FF9A9E 0%, #ffbbe9 100%);
	background: linear-gradient(90deg, #FF9A9E 0%, #ffbbe9 100%);
	color: #ffff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .18em;
	box-shadow: 0 0 0 1px rgba(125, 25, 32, 0.1);
}

/* ヘッダー内のアイコンを使う場合用（使っていなければ無視される） */
.head-btn a > ._icon {
	display: inline-block;
	margin-right: 7px;
	width: 20px;
}



.case-btn a:hover {
    transform: translateY(2px);
    opacity: 0.9;
}

/* スマホ用のサイズ微調整 */
@media screen and (max-width: 899px) {
    .case-btn a {
        font-size: 18px;
        min-width: 240px;
        padding: 14px 30px;
    }
}


/* ========== PC レイアウト（スマホ幅を中央に表示） ========== */

._pc { display: none; }
._sp { display: block; }

@media screen and (min-width: 900px) {

	body {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}

	body::before {
		content: '';
		position: fixed;
		inset: 0;
		background:url("../img/pc_bg.jpg") center center / cover no-repeat;
		z-index: -100;
	}

	.main {
		margin: auto;
		max-width: 600px;
		width: 40%;
		background: transparent;  /* ← 白カードをやめる */
	}

	.inner {
		padding: 0;               /* ← 左右の30px余白をなくす */
	}

	/* ▼ ヘッダーのPCレイアウト調整 ▼ */
	.head {
		padding: 0 30px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		top: 24px;
		height: auto;
	  }
	
	  .head-btn {
		margin-left: auto;
		flex: 0 0 auto;
	  }
	
	  .head-btn a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 20px;
		padding: 19px 40px 19px 32px; /* 上右下左 */
		min-width: 292px;            /* ★ 横幅を強制的に広げる */
		border-radius: 34px;
		letter-spacing: .08em;
		white-space: nowrap;
	  }


	/* ボタンのホバー */
	.cta-btn a {
		-webkit-transition: -webkit-transform .3s;
		transition: -webkit-transform .3s;
		transition: transform .3s;
		transition: transform .3s, -webkit-transform .3s;
	}
	.cta-btn a:hover {
		-webkit-transform: translateY(4px);
		transform: translateY(4px);
	}

	.side-logo {
		position: fixed;
		left: 0;
		top: 0;
		bottom: 0;
		width: 24%;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0 3%;
	}

	.side-logo img {
		max-width: 50%;   
		height: auto;
	}

	/* メインカラムを少し右に寄せる */
	.main {
		margin: auto;
		max-width: 600px;
		width: 40%;
	}


/* PC時：途中CTAボタンを大きく＆ど真ん中に */
.cta-area .cta-btn a {
    display: inline-block;     /* ヘッダーと切り離してシンプルに */
    text-align: center;
    font-size: 28px;
    padding: 26px 100px;        /* 上下20px 左右80px：左右対称 */
    border-radius: 60px;
    letter-spacing: .18em;
    white-space: nowrap;
    min-width: auto;           /* 横幅はpadding＋文字分だけ */
  }

  .cta-area .cta-btn {
    max-width: none;   /* ← 292px の制限を解除 */
    width: auto;       /* aタグの大きさに合わせる */
  }

  body::after {
    content: "";
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    max-width: 600px;
    top: 0;
    bottom: 0;
    background: #FFF2F2;
    z-index: -50;
  }


}


/* ========== SP専用調整（899px以下）：完成版を維持 ========== */
@media screen and (max-width: 899px) {
    ._pc { display: none; }
    ._sp { display: block; }

    /* ヘッダー */
    .head {
        background-color: #fff !important;
        padding: 0 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
        height: 60px !important;
        position: fixed !important;
        top: 0; left: 0; right: 0;
        z-index: 100;
        gap: 5px; /* ロゴとボタンの間の隙間を最小限に */
    }
    .head-logo._pc { display: block !important; width: 130px !important; }
    .head-logo._pc img { width: 100%; height: auto; }
    .head-btn { margin-left: auto !important; flex: 0 0 auto !important; }
    
    /* 完成済みのSPヘッダーボタン */
    .head-btn a {
        background: linear-gradient(90deg, #eab1b3 0%, #e6a4d1 100%) !important;
        border-radius: 8px !important;  /* 角丸をカプセルではなく「長方形」に */
        font-size: 14px !important;     /* 視認性を保つサイズ */
        padding: 12px 20px !important;   /* 適度な上下左右の余白 */
        color: #fff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        letter-spacing: 0.05em !important; /* ぎちぎちにならないよう微調整 */
        min-width: 190px !important;
        width: auto !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important; /* 軽い立体感 */
    }


    /* ロゴの横幅を固定してボタンの場所を確保 */
    .head-logo._pc {
        width: 150px !important;
        flex-shrink: 0;
    }

    .head-btn a > ._icon { display: none !important; }

    body { background: #FFF2F2 !important; }
    .main { background: transparent !important; margin-top: 60px !important; }

    /* 完成済みのSP用CTA */
    .participation-cta {
        background-image: url("../img/cta_bg_pink.png") !important;
        background-size: 100% auto !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        padding: 85px 10px !important;
        margin: 20px auto !important;
        width: 100% !important;
        font-family: "Zen Maru Gothic", sans-serif !important;
        text-align: center !important;
     }
    .cta-title {
        font-family: "Zen Maru Gothic", sans-serif !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        font-weight: 700 !important;
        color: #333 !important;
    }
    .cta-btn-wrap a {
        display: inline-block;
        font-family: "Zen Maru Gothic", sans-serif !important;
        font-size: 18px !important;
        min-width: 220px !important;
        padding: 14px 20px !important;
        border-radius: 12px !important;
        background: linear-gradient(180deg, #E8B7B7 0%, #D6A0A0 100%) !important;
        color: #fff !important;
/* アニメーションの設定をここに追加 */
animation: fluffy 2s infinite ease-in-out;
transition: transform 0.3s;    }
    .marker { background: linear-gradient(transparent 60%, #F4B8B8 40%) !important; }

    /* 完成済みのSP用症例ボタン */
    .case-btn-area {
        padding: 20px 0 40px !important;
        text-align: center !important;
        background: #FFF3F2 !important;
        width: 100% !important;
    }
    .case-btn a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 260px !important;
        padding: 16px 30px !important;
        border-radius: 12px !important;
        background: linear-gradient(180deg, #B5A696 0%, #D1C5B9 100%) !important;
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    }
}

/* ========== PC専用・共通設定：消えていた部分を確実に復旧（900px以上） ========== */
@media screen and (min-width: 900px) {
    /* PC版CTAのデザイン復旧 */
    .participation-cta {
        text-align: center;
        background-image: url("../img/cta_bg_pink.png");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        margin: 40px auto;
        max-width: 600px;
        padding: 100px 20px;
        font-family: "Zen Maru Gothic", sans-serif;
    }

    .cta-title {
        font-family: "Zen Maru Gothic", sans-serif;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.6;
        color: #333;
        margin-bottom: 25px;
    }

    .cta-btn-wrap a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 280px;
        padding: 16px 40px;
        background: linear-gradient(180deg, #E8B7B7 0%, #D6A0A0 100%);
        color: #fff;
        font-size: 22px;
        font-weight: 700;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        animation: fluffy 2s infinite ease-in-out !important;
    }

    .marker {
        background: linear-gradient(transparent 50%, #F4B8B8 50%);
        padding: 0 4px;
    }

    /* 【重要】PC版症例ボタンのデザイン復旧 */
    .case-btn-area {
        display: block !important;
        padding: 40px 0 60px !important;
        text-align: center !important;
        background-color: #FFF3F2 !important; /* ここで背景色を指定 */
    }
    .case-btn a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 292px;
        padding: 18px 40px;
        border-radius: 12px;
        background: linear-gradient(180deg, #B5A696 0%, #D1C5B9 100%);
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        transition: transform 0.3s;
    }
    .case-btn a:hover {
        transform: translateY(2px);
        opacity: 0.9;
    }
}

/* ========== 関連動画 埋め込み用設定 ========== */

.video-container {
    background-color: #FFF2F2; /* サイト全体の背景色と統一 */
    padding: 0 5% 40px;        /* 左右に余白、下に少しスペース */
    margin-top: -1px;          /* 画像との隙間を消す */
}

/* 16:9の比率を維持するレスポンシブ設定 */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;      /* 16:9比率 */
    margin: 0 auto;
    max-width: 540px;         /* 画像の文字幅に合わせるための調整 */
    border-radius: 8px;       /* 少し角を丸くして柔らかい印象に */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 軽い影で動画を目立たせる */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* PC時の動画サイズ微調整（広がりすぎ防止） */
@media screen and (min-width: 900px) {
    .video-container {
        padding: 0 30px 60px;
    }
}

/* 今すぐチェックボタンのスタイル */
.check-btn-wrap {
    text-align: center;
    padding: 50px 0;
    background-color: #FFF2F2; /* 背景色をLPと統一 */
}

.check-btn {
    display: inline-block;
    width: 90%;
    max-width: 450px;
    padding: 15px 0;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    background:#ce8d8d; 
    border-radius: 12px !important;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fluffy 2s infinite ease-in-out; /* ふわふわ動くアニメ */
}

/* ホバー時の動き */
.check-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(232, 183, 183, 0.4);
    opacity: 1; /* ベースの透明度変更を打ち消し */
}

/* 目立たせるためのアニメーション */
@keyframes fluffy {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* SP用のサイズ調整 */
@media screen and (max-width: 899px) {
    .check-btn {
        font-size: 20px;
        border-width: 4px;
    }
}

.access-map {
    width: 100%;
    margin-top: -1px; /* 上の画像との隙間を物理的に埋める */
    margin-bottom: 0;
    line-height: 0;
    background-color: #FFF2F2; /* 念のため背景色も合わせておく */
}

.access-map iframe {
    vertical-align: bottom; /* iframe下部の微細な隙間を防止 */
}