@charset "UTF-8";

/* CSS Document */
/* トップページ
-------------------------------------------------------------------*/
.catch p {
	margin-bottom: 1em;
}
.catch__hosoku {
	font-size: 1.2rem;
	margin-top: 1em;
}
#nayami {
	background: #FFFDCB;
}

.nayami__catch {
	font-size: 2.4rem;
	font-weight: 700;
	color: #2F66CC;
	line-height: 1.4;
}

#nayami > div > p:nth-child(2) {
	font-size: 2.6rem;
	letter-spacing: 0.01em;
	font-weight: 700;
	color: #2F66CC;
	text-decoration: underline;
	margin-top: 4rem;
}

#nayami h2 {
	background: #2F66CC;
	color: #FFF;
	padding: 0.5rem 1rem;
	font-size: 2rem;
	display: flex;
	align-items: center;
	border-radius: 1rem;
	margin-top: 3rem;
	margin-bottom: 1rem;
}

#nayami h2 span {
	width: calc(100% - 4em);
}

#nayami h2::before {
	content: "";
	width: 4em;
	height: 4em;
	vertical-align: middle;
	background: url(../../img/think.png) left center no-repeat;
	background-size: contain;
	display: block;
	margin-right: 1rem;
}

#nayami figure {
	display: block;
	margin: 0.5rem auto;
}
.nayami__message {
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.4;
	margin-block: 2em;
}

#jisseki {
	background: #333;
}

#jisseki h2 {
	color: #FF0;
	font-size: 2.4rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.4;
	margin-bottom: 1rem;
}

#jisseki h2 span {
	text-decoration: underline;
	font-size: 1.5em;
}

#jisseki h2 br {
	display: none;
}

#jisseki h2 + p {
	color: #FFF;
}

#jisseki > div > div {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	margin-top: 2rem;
}

#jisseki ul {
	margin-top: 2rem;
}

#jisseki ul li {
	background: #FFF;
	margin-bottom: 1rem;
	padding: 1rem;
	border-radius: 1rem;
}

#jisseki ul li br {
	display: none;
}

#merit h2 {
	color: #CC2F2F;
	font-weight: 700;
	font-size: 2.4rem;
	line-height: 1.4;
	letter-spacing: 0.01em;
	margin-bottom: 2rem;
}

#merit > div > div:first-child {
	display: flex;
	align-items: center;
	flex-direction: column-reverse;
}

#merit > div > div:first-child > div {
	width: 100px;
	height: 100px;
	margin-top: 1rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: #CC2F2F;
	;
	padding: 1rem;
	display: flex;
	align-items: center;
}

#merit h3 {
	border-left: #CC2F2F 1rem solid;
	font-weight: 700;
	padding-left: 1rem;
	line-height: 1.4;
	margin-bottom: 1em;
}

#merit .merit-container {
	margin-bottom: 6rem;
}

#merit .merit-container figure {
	margin: 1rem auto;
}

#merit .merit-container figure img {
	border-radius: 1rem;
}

#merit .merit-container .pict {
	width: 80%;
}

#voice {
	background: #CBFFCB;
}

#voice h2 {
	color: #2FCC6B;
	font-size: 2.8rem;
	font-weight: 700;
	border-bottom: #2FCC6B 1px solid;
	margin-bottom: 2rem;
}

#voice ul {
	margin-bottom: 3rem;
}

#voice ul li {
	background: #FFF;
	border-radius: 2rem;
	padding: 1rem;
	box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
}

#voice ul li + li {
	margin-top: 2rem;
}

#voice ul li h3 {
	color: #2FCC6B;
	font-weight: 700;
	border-bottom: #2FCC6B 1px solid;
}

#voice .pict {
	width: 80%;
	display: block;
	margin-left: auto;
}

#cost h2 {
	color: #707070;
	border: #707070 1px solid;
	text-align: center;
	margin-bottom: 2rem;
}

#cost h2 span span {
	font-size: 0.6em;
}

#cost h3 {
	background: #D9D9D9;
	color: #606060;
	padding-left: 0.5rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

#cost ul li {
	margin-bottom: 2rem;
}

#cost .daytime dt {
	color: #FF7F00;
	border: #FF7F00 1px solid;
}

#cost .freetime dt {
	color: #009DFF;
	border: #009DFF 1px solid;
}

#cost .time {
	display: flex;
	justify-content: space-between;
}

#cost .time dl {
	width: calc(50% - 1rem);
	text-align: center;
}

#cost .hosoku {
	font-size: 0.8em;
}

#cost .hosoku dt::before {
	content: "*"
}

#cost .hosoku dd {
	margin-left: 0.5em;
}

#cost .hosoku p a {
	text-decoration: underline;
}

#contact {
	background: #CBFDFF;
	color: #7B7B7B;
}

#contact h2 {
	text-align: center;
	font-weight: 700;
}

#contact dl dd input[type="text"],
#contact dl dd input[type="tel"],
#contact dl dd input[type="email"],
#contact dl dd textarea {
	width: 100%;
	font-size: 1.2em;
	padding: 0.5rem;
}

#contact dl dd.date input[type="text"] {
	display: inline-block;
	width: 2em;
	margin-right: 0.5rem;
}

#contact dl dt {
	margin-top: 2rem;
	line-height: 1.3;
}

#contact dl dt span {
	font-size: 0.7em;
	color: #F00;
}

#contact button {
	font-size: 1.8rem;
	width: 100%;
	display: block;
	background: none;
	border: none;
	color: #FFF;
	/* padding: 2rem 0; */
	text-shadow: 0 -1px 1px rgba(122, 42, 0, 0.63);
	cursor: pointer;
}

#contact #contact-tel {
	text-align: center;
}

#contact #contact-tel a {
	font-size: 3.2rem;
	font-weight: 700;
	color: #2F66CC;
	display: block;
	max-width: 320px;
	border: 1px #2F66CC solid;
	background: #FFF;
	margin: 3rem auto;
}

#privacy {
	font-size: 0.8em;
}

.btn-wrapper {}

/*下記からは、フォームレイアウト*/
.top_formbox dl {
	display: flex;
	flex-wrap: wrap;
}

input[type="checkbox"] {
	border-radius: 10%;
}


/*下記はフッターのページリンク*/

footer {
	margin-bottom: 68px;
}

.ftr_pagelink_num01 {
	position: fixed;
	bottom: 0;
	right: 0;
	background-color: #fff;
	width: 100%;
	display: flex;
	padding: 10px;
}

.ftr_pagelink_num01 > p:nth-child(2),
.ftr_pagelink_num01 > p {
	margin: 10px auto;
	border-radius: 5px;
	padding: 12px 0;
	text-align: center;
	font-weight: 700;
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

	.ftr_pagelink_num01 > p:nth-child(2),
	.ftr_pagelink_num01 > p {
		font-size: 12px;
	}
}

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

	.ftr_pagelink_num01 > p:nth-child(2),
	.ftr_pagelink_num01 > p {
		font-size: 14px;
	}
}



.ftr_pagelink_num01 > p:nth-child(2) {
	text-shadow: 0 -1px 1px rgb(122 42 0 / 63%);
	text-align: center;
	border: 1px solid #e58b38;
	border-right-color: #bf7938;
	border-bottom-color: #a76529;
	border-radius: 3px;
	background-color: #ff7200;
	background-image: linear-gradient(to top, #ff7200 0%, #f9a72b 100%);
	box-shadow: 0 1px 0 0 rgb(255 255 255 / 36%) inset, 0 2px 3px 0 rgb(73 73 73 / 23%);
}

.ftr_pagelink_num01 > p:nth-child(2),
.ftr_pagelink_num01 > p > a {
	color: #fff;
	text-decoration: none;
}

.ftr_pagelink_num01 > p {
	text-shadow: 0 -1px 1px rgb(122 42 0 / 63%);
	text-align: center;
	border: 1px solid #67abb6;
	border-right-color: #568890;
	border-bottom-color: #447178;
	border-radius: 3px;
	background-color: #59cad0;
	background-image: linear-gradient(to top, #6b9dca 0%, #59cad0 100%);
	box-shadow: 0 1px 0 0 rgb(255 255 255 / 36%) inset, 0 2px 3px 0 rgb(73 73 73 / 23%);
}

@media screen and (min-width: 768px) {
	footer {
		margin-bottom: 0;
	}

	.ftr_pagelink_num01 {
		width: auto;
		flex-direction: column;
		background-color: transparent;
		padding: 0;
		max-width: 200px;
		bottom: 162px;
	}

	.ftr_pagelink_num01 {
		width: 28%;
	}

	.ftr_pagelink_num01 > p:nth-child(2),
	.ftr_pagelink_num01 > p
	{
		width: 100%;
	}
}

@media screen and (min-width: 1223px) {
	.ftr_pagelink_num01 {
		bottom: 134px;
	}
}

.top_linkcursor_num01{
	cursor: pointer;
	color: #59cad0;
	text-decoration: underline;
}

.pbottom_inlneblocktext_num01{
	display: block;
	color: #000;
	text-decoration: none;
	margin-top: 4rem;
	font-size: 2.4rem;
    margin-bottom: 2rem;
	font-weight: 700;
}

/*20211024編集*/

.hd_logolink_num01{
	width: 20%;
    max-width: 240px;
}

.hd_logolink_num01 a,
.hd_logolink_num01 img{
	display: block;
	width: 100% !important;
	object-fit: fill !important;
	height: auto !important;
}

.top_linkcursor_num02,
.top_linkcursor_num03,
.top_linkcursor_num04{
	cursor: pointer;
    color: #59cad0;
    text-decoration: underline;
}
#campaign {
	background: #FFFDCB;
}
#campaign p {
	margin-block: 1em;
}
#campaign ul {
	background: #FFF;
	padding: 10px;
	color: #CC2F2F;
	font-weight: 700;
	border-radius: 10px;
}
#campaign ul li span {
	text-decoration: underline;
}
.campaign__title--h2 {
	font-size: 2.4rem;
  font-weight: 700;
  color: #2F66CC;
  line-height: 1.4;
  margin-bottom: 1em;
}
.campaign__description--img {
	background: #FFF;
	padding: 10px;
	line-height: 1;
}
@media screen and (min-width: 768px) {
	#campaign {
		padding-block: 40px;
	}
	.campaign__title--h2 {
		text-align: center;
		font-size: 3rem;
	}
	.campaign__title--h2 br {
		display: none;
	}
	.campaign__description--wrapper {
	display: flex;
	grid-column-gap: 20px;
	align-items: flex-start;
	}
}
@media screen and (min-width: 1200px) {
	#campaign ul {
		font-size: 2rem;
	}
}


/* 右下固定バナーボタン */
.sidebtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebtn p {
    margin: 0;
}

.sidebtn a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    min-width: 220px;
}

.sidebtn a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* キャンペーンボタン（赤系） */
.btn--campaign a {
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: #fff;
    border: 2px solid #ff3838;
}

.btn--campaign a:hover {
    background: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%);
}

.btn--campaign a::before {
    content: "🎉 ";
    font-size: 16px;
}

/* 教習案内ボタン（青系） */
.btn--guide a {
    background: linear-gradient(135deg, #1e90ff 0%, #0080ff 100%);
    color: #fff;
    border: 2px solid #0080ff;
}

.btn--guide a:hover {
    background: linear-gradient(135deg, #4da6ff 0%, #1e90ff 100%);
}

.btn--guide a::before {
    content: "📋 ";
    font-size: 16px;
}

/* 電話ボタン（緑系） */
.btn--tel a {
    background: linear-gradient(135deg, #2ecc71 0%, #00d68f 100%);
    color: #fff;
    border: 2px solid #00d68f;
}

.btn--tel a:hover {
    background: linear-gradient(135deg, #55efc4 0%, #2ecc71 100%);
}

.btn--tel a::before {
    content: "📞 ";
    font-size: 16px;
}

/* アニメーション効果（オプション） */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebtn {
    animation: slideInRight 0.6s ease-out;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .sidebtn {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .sidebtn a {
        min-width: 180px;
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .sidebtn {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        padding: 10px;
        background: rgba(255, 255, 255, 0.95);
        border-top: 1px solid #ddd;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .sidebtn a {
        min-width: auto;
        width: 100%;
    }
    .btn--campaign br {
    	display: none;
    }
    footer {
    	padding-bottom: 140px;
    }
}

/* スクロール時の表示調整（オプション） */
@media screen and (max-height: 600px) {
    .sidebtn {
        bottom: 10px;
        gap: 8px;
    }
    
    .sidebtn a {
        padding: 10px 16px;
        font-size: 13px;
    }
}