/*
Theme Name: LP Theme
Author: Plusbon
Description: LP専用のシンプルなテーマ
Version: 1.0
*/

/* ====================================
// リセット
// ==================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ====================================
// LP用デザイン
// ==================================== */

html, body {
    height:100%;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    margin:0;
    padding:0;
}

.bg {
    background-image: url('images/bg.webp');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    padding-top: 50px;
}

.bgleft {
    position: fixed;
    top: 0;
    right: calc(50vw + 250px);
    width: calc(50% - 250px);
    height: 100%;
    padding: 80px 3% 0;
    box-sizing: border-box;
    text-align: right;
}

.bgright {
    position: fixed;
    top: 0;
    left: calc(50vw + 250px);
    width: calc(50% - 250px);
    height: 100%;
    padding: 0 4% 20px;
    box-sizing: border-box;
    text-align: left;
}

.bgleft img, .bgright img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.lp-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.lp-container img {
    width: 100%;
    height: auto;
    display: block;
}
.section {
    position: relative;
}
.gmap {
    padding: 0 5% 60px;
    background-color: #fff;
}
.gmap.oncta {
	padding-bottom: 160px;
}
.gmap iframe {
    width: 100%;
    height: 260px;
}

@media (max-width: 1500px) {
    .lp-container {
        margin: 0 auto 0 9%;
    }
    .bgleft {
        display: none;
    }
    .bgright {
        left: calc(9% + 500px);
        width: calc(91% - 500px);
        text-align: center;
    }
}

@media (max-width: 767px) {
    .bg {
        background-attachment: scroll;
        padding-top: 0;
    }
    .bgright {
        display: none;
    }
    .lp-container {
        margin: 0 auto;
    }
}

/* 追従CTAボタン */
.lp-cta-floating {
    position: fixed;
    bottom: 20px;
    display: flex;
    justify-content: center;
    z-index: 999;
    width: 100%;
    max-width: 500px;
}
.lp-cta-floating a {
    display: block;
    width: 94.4%;
    margin: 0 auto;
}
.lp-cta-floating a img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
    transition: opacity 0.2s ease;
    margin: 0 auto;
}

.lp-cta-floating a img:hover {
    opacity: 0.5;
}

/* LINE簡単シミュレーション CTA */
.cta-line {
    width: 100%;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
}
.cta-line img {
    width: 94.4%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
    transition: opacity 0.2s ease;
    margin: 0 auto;
}
.cta-line img:hover {
    opacity: 0.5;
}

/* LINE・メール・電話 CTA */
.cta-group {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 99;
    width: 93.2%;
}

.cta-group-top img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
    transition: opacity 0.2s ease;
    margin: 0 auto 3.2%;
}
.cta-group-top img:hover {
    opacity: 0.5;
}

.cta-group-bottom {
    display: flex;
    gap: 3.2%;
    width: 100%;
    justify-content: center;
}
.cta-group-bottom a {
    flex-grow: 1;
}
.cta-group-bottom img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
    transition: opacity 0.2s ease;
}
.cta-group-bottom img:hover {
    opacity: 0.5;
}

/* ====================================
// お問い合わせフォーム
// ==================================== */

#contact, #confirm, #thanks {
	padding: 0 5%;
	background-color: #fff;
}
.cf7-item-title {
	font-weight: 700;
	font-size: 18px;
	margin: 30px 0 15px;
	line-height: 1.6;
}
.must {
	color: #A9313B;
	border: 1px solid #A9313B;
	font-size: 15px;
	padding: 0 5px;
	margin-left: 10px;
	display: inline-block;
}
.optional {
	color: #136096;
	border: 1px solid #136096;
	font-size: 15px;
	padding: 3px 5px;
	margin-left: 10px;
	display: inline-block;
}
.wpcf7-list-item {
	display: block;
	margin: 0 0 0.5em 0;
	font-weight: 500;
	font-size: 18px;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #7D7D7D;
	border-radius: 5px;
	background-color: #F2F2F2;
	padding: 0.5em 0.75em;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 500;
}
.address-input {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 8px;
}
.zip-input {
	display: flex;
	align-items: center;
}
.zip-input .mark {
	font-size: 18px;
	margin-right: 10px;
	flex-shrink: 0;
}
.zip-input .wpcf7-form-control-wrap {
	flex-grow: 1;
}
.wpcf7-form-control-wrap input[type="text"]:placeholder,
.wpcf7-form-control-wrap input[type="tel"]:placeholder,
.wpcf7-form-control-wrap input[type="email"]:placeholder,
.wpcf7-form-control-wrap select:placeholder,
.wpcf7-form-control-wrap textarea:placeholder {
	color: #B3B3B3;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 500;
}
.privacy-policy {
	margin: 40px 0 50px;
}
.privacy-policy-content {
	font-size: 15px;
	font-weight: 500;
	border: 1px solid #7D7D7D;
	border-radius: 5px;
	padding: 1em;
	overflow: scroll;
	height: 150px;
}
.privacy-policy-content p {
	font-size: 15px;
	line-height: 1.5;
	margin-bottom: 10px;
}
.privacy-policy-content .privacy-policy-title {
	text-align: center;
	margin-bottom: 10px;
	font-size: 18px;
}
.privacy-policy .wpcf7-list-item {
	margin: 1em 0 0 0;
	text-align: center;
}
.wpcf7-not-valid-tip {
	margin-top: 1em;
}
.wpcf7 .wpcf7-submit,
.wpcf7 .wpcf7-previous {
	background-color: #466778;
	border: 0;
	border-radius: 5px;
	font-size: 20px;
	font-weight: 700;
	font-family: "Noto Sans JP", sans-serif;
	color: #fff;
	width: 100%;
	box-sizing: border-box;
	padding: 1.2em;
	cursor: pointer;
	margin-bottom: 20px;
}
.wpcf7 .wpcf7-previous {
	background-color: #5d5d5d;
}
.wpcf7 .wpcf7-submit:disabled {
	opacity: 0.5;
}
#confirm p {
	line-height: 1.6;
}
.thanks-title {
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 20px;
	color: #394752;
}
.thanks-text {
	font-size: 18px;
	line-height: 1.6;
	font-weight: 500;
}
.thanks-tel {
	text-align: center;
	font-size: 24px;
	line-height: 1.6;
	font-weight: 500;
}
.thanks-back a {
	display: block;
	background-color: #466778;
	border: 0;
	border-radius: 5px;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	width: 100%;
	box-sizing: border-box;
	padding: 1.2em;
	transition: 0.3s;
	text-decoration: none;
	text-align: center;
	margin-top: 30px;
}
.thanks-back a:hover {
	opacity: 0.5;
}