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

html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote {
	margin: 0;
	padding: 0;
}
body, td, th, h1, h2, h3, h4, h5, h6 {
	font-size: 12px;
	font-weight: normal;
	line-height: 20px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
ol, ul {
	list-style-type: none;
}
img {
	border: 0;
}

/* クリアフィックス */
.clearfix:after {
 content:".";
 display:block;
 clear:both;
 height:0;
 visibility:hidden;
}
.clearfix {
	display: inline-table;
	min-height: 1%;
	overflow: hidden;
}
/* Hides from IE-mac \*/
* html .clearfix { 
	height: 1%; 
}
.clearfix { 
	display: block; 
}
/* End hide from IE-mac */

article, aside, hgroup, header, footer, figure,  figcaption, nav, section {
	display: block;
	margin: 0;
	padding: 0;
}
img {
	vertical-align: bottom;
}

a:hover img {
	opacity:0.8;
	filter: alpha(opacity=80);
}
a:hover img.nop {
	opacity:1.0;
	filter: alpha(opacity=100);
}
input[type="text"] {
	margin: 0;
	padding: 5px 10px;
	background: #FFF;
    font-size: 14px;
    line-height: 20px;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    color: #555;
}
.w10 { width: 10%; }
.w20 { width: 20%; }
.w30 { width: 30%; }
.w40 { width: 40%; }
.w50 { width: 50%; }
.w60 { width: 60%; }
.w70 { width: 70%; }
.w80 { width: 80%; }
.w90 { width: 90%; }

input.w10, input.w20, input.w30, input.w40, input.w50, input.w60, input.w70, input.w80, input.w90 {
	height: 30px;
	padding: 5px;
	font-size: 14px;
	border: 1px solid #D6D6D6;
	border-radius: 3px;
	-webkit-border-radius: 3px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="datetime-local"]{
    font-size: 16px;
	margin: 0;
	padding: 5px 0;
    text-indent: 5px;
	background: #FFF;
	border: 1px solid #EEE;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

textarea {
    padding: 5px 0;
    text-indent: 5px;
	height: 100px;
	border: 1px solid #D6D6D6;
    border-radius: 0;
    font-size: 16px;
}

select {
	height: 30px;
	margin: 5px 0;
	border: 1px solid #D6D6D6;
}


header {
}
header h1 {
    display: block;
    width: 100%;
    background: url("../img/bg_01.png") no-repeat 50% 50% / cover;
    text-align: center;
    padding: 20px 0 130px;
}
header h1 img,
header p img{
    width: 100%;
    max-width: 800px;
    height: auto;
}
header p {
    display: block;
    width: 100%;
    text-align: center;
}
header p:first-of-type {
    width: 95%;
    max-width: 800px;
    margin: -130px auto 0;
    position: relative;
    z-index: 1;
}
header p:nth-child(3) {
    margin-top: -5px;
}
header p:nth-child(4) {
    width: 100%;
    max-width: 800px;
    margin: -10px auto 0;
}
header p:nth-child(5) {
    width: 95%;
    max-width: 800px;
    margin: 20px auto 0;
}
header p.txt01 {
    background-color: #B2CFF1;
    color: white;
    font-size: clamp(12px, 2vw, 22px);
    font-weight: bold;
    line-height: 1.5;
    padding: 1.0em;
    text-align: center;
    margin-top: 20px;
    box-sizing: border-box;
}
main {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
main h1 {
    text-align: center;
    position: relative;
    z-index: 1;
}
main h1 img {
    width: 80%;
    max-width: 500px;
    height: auto;
}
main ul.list01 {
    margin-top: -10px;
}
main ul.list01 li {
    padding: 0 10px 40px;
    background: url("../img/bg_02.png") no-repeat center top / 100% auto;
}
main ul.list01 li h2 {
    display: flex;
    align-items: center;
    min-height: calc(clamp(80px, 12vw, 140px) - 10px); /* 高さを可変に */
    position: relative;
    padding-left: clamp(100px, 12vw, 180px); /* 画像に合わせて余白も可変に */
    font-size: clamp(18px, 2.5vw, 30px); /* フォントサイズ可変 */
    font-weight: bold;
    line-height: 1.3; /* フォントに連動して可変に */
}

main ul.list01 li h2 img {
    width: auto;
    height: clamp(80px, 10vw, 120px); /* 画像の高さを可変に */
    margin-right: -20px;
    position: absolute;
    top: -10px;
    left: 0;
}

main ul.list01 li div.contents01 {
    padding: 10px 0 30px;
}
main ul.list01 li div.contents01 p.txt01 {
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    padding-bottom: 20px;
}
main ul.list01 li div.contents01 div {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* ← 16:9比率（9/16 = 0.5625） */
    height: 0;
    overflow: hidden;
}

main ul.list01 li div.contents01 div iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

main ul.list01 li div.contents01 p.txt02 {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.8;
    padding-top: 20px;
}
main div.formArea01 {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #F5F5F5;
    padding-bottom: 40px;
}
main div.formArea01 h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background-color: #FFBF00;
    color: white;
    text-align: center;
    font-size: 26px;
    line-height: 30px;
    font-weight: bold;
}
main div.formArea01 form {
    padding: 20px;
}
main div.formArea01 form dl {
}
main div.formArea01 form dl dt {
    font-size: 16px;
}
main div.formArea01 form dl dt label {
    display: block;
    padding-left: 50px;
    background: url("../img/img_13.png") no-repeat left 0 top 50% / 40px auto;
    cursor: pointer;
}
main div.formArea01 form dl dd {
    padding: 10px 0 20px;
}
main div.formArea01 form dl dd.min01 {
}

/*============================
#q3
============================*/
main div.formArea01 form dl dd input[type="text"],
main div.formArea01 form dl dd input[type="tel"],
main div.formArea01 form dl dd input[type="email"]{
    width: 100%;
    padding: 10px 5px;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #CCC;
    border-radius: 3px;
}

main div.formArea01 form dl dd.min01 input[type="text"],
main div.formArea01 form dl dd.min01 input[type="tel"],
main div.formArea01 form dl dd.min01 input[type="email"]{
    width: 48%;
}

/*============================
#q4
============================*/
main div.formArea01 form dl dd.min01 input#q4 {
}
main div.formArea01 form p.txt01,
main div.formArea01 form p.txt02,
main div.formArea01 form p.txt03 {
    line-height: 1.5;
    text-align: center;
}

main div.formArea01 form p.txt01 {
    margin-top: 20px;
    padding-bottom: 20px;
    font-size: clamp(14px, 2vw, 16px);
}

main div.formArea01 form p.txt02 {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: bold;
    color: red;
}

main div.formArea01 form p.txt03 {
    font-size: clamp(10px, 2vw, 16px);
    color: #333;
    margin-top: 20px;
}

/*============================
#zipcode
============================*/
main div.formArea01 form dl dd input#zipcode {
}

/*============================
#tel
============================*/
main div.formArea01 form dl dd input#tel {
}

/*============================
#email
============================*/
main div.formArea01 form dl dd input#email {
}
main div.formArea01 form button {
    width: 80%;
    max-width: 400px;
    height: 80px;
    margin: 20px auto 0;
    background-color: red;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    line-height: 30px;
    border-radius: 40px;
    cursor: pointer;
}
footer {
}
footer div {
    background: url("../img/bg_03.png") no-repeat 50% 50% / cover;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}
footer div img {
    width: 95%;
    max-width: 500px;
    height: auto;
}
footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(60px, 2vw, 80px);
    background-color: #EFEFEF;
    font-size: clamp(12px, 2vw, 16px);
    line-height: 30px;
    color: #333;
}

/* overlay: 画面全体を黒背景で透過させる */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 半透明の黒 */
    z-index: 1000;
    animation: fadeIn 0.5s ease forwards;
    cursor: pointer;
}

/* ポップアップ本体: 画面中央に白枠で表示 */
#popupWrap01 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    padding: 30px 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    z-index: 1001;
    max-width: 90%;
    width: 400px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

/* Flashメッセージ（成功） */
#popupWrap01 h2 {
    color: #007b2e;
    font-weight: bold;
    font-size: 2.0em;
    text-align: center;
    margin-bottom: 20px;
}

#popupWrap01 p {
    font-size: 1.3em;
    line-height: 1.5;
}

/* エラーメッセージ（失敗） */
.errorTxt01 {
    color: red;
    font-weight: bold;
    font-size: 1.3em;
    line-height: 1.3;
    margin-bottom: 5px;
}

/* アニメーション定義 */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
