* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* HERO */
.hero {
  background: url("images/fv.jpg") center/cover no-repeat;
  text-align: left;
  padding: 180px 0 80px 120px;
  color: #fff;
  position: relative;
}

.hero h1 {
  font-size: 44px;
  font-weight: normal;
  line-height: 1.8;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 60px;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.menu a {
    font-size: 18px;
    color: #fff;
}

.message {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    padding: 160px 0 60px;
}

.message-m {
    text-align: center;
}

.previous {
    /* margin: 0 auto; */
    margin: 80px 0 120px;
    text-align: center;
}

.previous a {
    color: #323232;
    position: relative;
    padding-right: 30px;
    display: inline-block;
}

.previous a:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 2px #333;
    border-right: solid 2px #333;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.form-container {
    max-width: 960px;
	width: 100%;
    background-color: #f9f9f9;
    margin: 80px auto;
    border-radius: 8px;
    padding: 60px 80px;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
	border: 1px solid #ccc;
}

.form-command-a {
    background: #f18184;
    color: #fff;
    font-size: 11px;
    padding: 0px 10px;
    border-radius: 2px;
    margin-left: 14px;
}

.form-flex {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.form-items {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
	padding: 15px 20px;
    font-size: 16px;
	border: 1px solid #ccc;
}

span.wpcf7-form-control.wpcf7-acceptance.optional {
    font-size: 14px;
}

.form_btn {
    text-align: center;
}

span.wpcf7-spinner {
    display: none;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    font-size: 16px;
    padding: 15px;
    width: 280px;
    color: #fff;
    background-color: #ed573a;
    border: none;
}

.form-items:nth-child(6) {
    border: none;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 40px;
}

span.wpcf7-list-item-label a {
    color: #333;
    text-decoration: underline;
}

/* FOOTER */
.footer {
  background: #363636;
  color: #fff;
  text-align: center;
  padding: 50px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-top a {
    width: 48px;
}

.footer-top a img {
    width: 100%;
}

.copy {
    font-size: 11px;
    color: #a9a9a9;
}

.sp {
    display: none;
}

@media (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    .menu {
        display: none;
    }
    .hero {
        text-align: center;
        padding: 80px 0 40px;
    }
    .hero h1 {
        font-size: 24px;
        font-weight: normal;
    }
    .hero-inner {
        width: 100%;
        padding: 0 25px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        font-size: 13px;
    }
    .message {
        font-size: 20px;
        padding: 80px 0 30px;
    }

    .message-m {
        font-size: 13px;
        text-align: left;
		padding: 0 25px;
    }

    .previous {
        margin: 40px 0 80px;
    }

    .previous a {
        font-size: 14px;
        padding-right: 20px;
    }

    .previous a:before {
        width: 6px;
        height: 6px;
        border-top: 1px solid #333;
        border-right: 1px solid #333;
    }
	.form-container {
		background: none;
		padding: 25px;
		margin: 40px 0;
	}

	.form-flex {
		font-size: 14px;
	}

	input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
		font-size: 14px;
	}
}