@charset "UTF-8";

:root {
	--main-color-normal: #074469;
	--main-color-light: #3C8BB1;
	--accent-color1: #ec7272;
}

body {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 300;
	margin: 0;
	color: #444;
	counter-reset: number 0;
}

::placeholder {
  font-size: 0.9em;
}

body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    overflow-y: scroll;
}

main {
	display: block;
}

section {
	padding: 4rem 0;
}

section h2 {
	width: 100%;
    font-size: 2.4rem;
    font-weight: 700;
	text-align: center;
    color: var(--main-color-normal);
    line-height: 1.2;
}

@media screen and (max-width: 767px){
	section h2 {
		font-size: 1.6rem;
		margin-bottom: 2rem;
	}
}

section .head {
	margin-bottom: 4rem;
}

@media screen and (max-width: 767px){
	section .head {
		margin-bottom: 2rem;
	}
}

section .head span{
	display: block;
	font-family: 'Noto Serif JP';
	font-size: 2rem;
	font-weight: bold;
	text-align: center;
	color: color-mix(in srgb, var(--main-color-normal) 30%, #fff);
}

section .alpha {
	font-family: 'Noto Serif JP';
	font-weight: bold;
	font-size: 40px;
	text-align: center;
	color: #999;
}

@media screen and (max-width: 767px){
	section .alpha {
		font-size: 32px;
	}
}

address {
	font-style: normal;
}

a {
	text-decoration: none;
	color: var(--main-color-normal);
	transition: 0.3s;
}

a:hover {
	color: color-mix(in srgb, var(--main-color-normal) 80%, transparent);
	transition: 0.3s;
}

a img {
	opacity: 1;
	transition: 0.3s;
}

a img:hover {
	opacity: 0.7;
	transition: 0.3s;
}

p {
	font-size: 16px;
	line-height: 1.7;
}

@media screen and (min-width: 1440px){
	p {
		font-size: 16px;
	}
}

@media screen and (max-width: 768px){
	p {
		font-size: 14px;
		line-height: 2;
	}
}

h1 span {
	display: flex;
    align-items: center;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

table {
	border-collapse: collapse;
}

b,
strong {
	font-weight: bolder;
}

img {
	width: 100%;
	height: auto;
	border-style: none;
	vertical-align:top;
}

video {
    display: block;
    width: 100%;
    margin: auto;
}

button,
input[type="text"],
input[type="email"],
optgroup,
select,
textarea {
	/* -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; */
	display: inline-block;
	width: 100%;
    margin: 0;
    padding: 10px;
    font-size: 16px;
    line-height: 1;
	background: #fff;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #999;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
	background: #fafafa;
	border: 1px solid #4d6b9b;
	transition: 0.3s;
}

/* デフォルトの矢印をリセットしカスタマイズ */
.select-arrow {
	width: 100%;
    max-width: 200px;
    position: relative;
}

.select-arrow2 {
	width: 100%;
    position: relative;
}

.select-arrow::after,
.select-arrow2::after{
	content: "▼";
    position: absolute;
    font-size: 16px;
    line-height: 1;
    color: #999;
    margin: 0 10px;
    top: calc(50% - 8px);
    right: 0;
}

input[type="submit"],
input[type="button"],
input[type="reset"],
select{
	cursor: pointer;
}

select {
	background: #fff;
	transition: 0.3s;
}

select:hover {
	background: #eaf7ff;
	transition: 0.3s;
}

input[type="submit"]{
	color: #fff;
	background: #45a9c7;
	transition: 0.3s;
}

input[type="submit"]:hover{
	background: #1e7b97;
}

:focus {
    outline: none;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
	cursor: pointer;
}

button,
[type=button],
[type=reset],
[type=submit] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

textarea {
	font-family: sans-serif;
	line-height: 1.7;
	overflow: auto;
}

[type=checkbox],
[type=radio] {
	box-sizing: border-box;
	
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
	height: auto;
}

[type=search] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,form,legend,pre,iframe,hr,h1,h2,h3,h4,h5,h6 {
	padding: 0;
	margin: 0;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

html {
	box-sizing: border-box;
	font-family: var(--global--font-secondary);
	line-height: var(--global--line-height-body);
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

ol, ul {
	list-style-type: none;
}

input[type="text"],
textarea{
	width: 100%;
}

input[type="submit"],
button[type="submit"]{
	width: 90%;
	display: block;
    max-width: 450px;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 15px 0;
    border-radius: 100px;
    cursor: pointer;
	transition: 0.3s;
}

input[type="submit"]{
	background: #0c3472;
	margin: 30px auto 0;
}

button[type="submit"]{
	background: #999;
	margin: 30px auto;
}

input[type="submit"]:hover{
	background: #4d6b9b;
	transition: 0.3s;
}

input[type="submit"].disa{
	background: #999;
	cursor: not-allowed;
}

span.mwform-radio-field {
	display: flex;
	align-items: center;
}

.mwform-checkbox-field label,
.mwform-radio-field label {
	display: flex;
	align-items: center;
}

.btn_area {
	margin-bottom: 50px;
}

.btn_area label {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.btn_area label span {
	display: flex;
    position: relative;
	width: fit-content;
    align-items: center;
	margin: auto;
}


label input + span {
	display: flex;
	position: relative;
	align-items: center;
	cursor: pointer;
	line-height: 1;
}

label input + span::before {
	display: inline-block;
    content: "";
    height: 24px;
    width: 24px;
	background: #fff;
    border: solid 1px #999;
    margin-right: 10px;
    box-sizing: border-box;
}

label input[type="checkbox"] + span::before {
    border-radius: 5px;
}

label input[type="radio"] + span::before {
    border-radius: 100px;
}

label input[type="checkbox"] + span::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 2px;
    width: 10px;
    height: 15px;
    border: solid #0c3472;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    transition: 0.3s;
    opacity: 0;
}

label input[type="radio"] + span::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #0c3472;
    border-radius: 100%;
    transition: 0.3s;
    opacity: 0;
}

label input:checked + span::after {
    opacity: 1;
}

label span a {
	text-decoration: underline;
}

input[type="checkbox"],
input[type="radio"]{
    display: none;
}

.mw_wp_form_preview .btn_area label {
	display: none;
}

.mwform-radio-field {
	margin: 6px 0;
}

.mw_wp_form .error {
	width: fit-content;
	font-size: 0.8em!important;
	margin-top: 5px;
    color: #fff!important;
    background: #B70000;
    padding: 5px 15px;
    line-height: 1;
    border-radius: 100px;
	position: absolute;
	top: 12px;
    right: 0;
	z-index: 1;
}

@media screen and (max-width: 767px){
	.mw_wp_form .error {
		top: -36px;
    	right: 60px;
	}
}

.mw_wp_form .error::before {
    content: "※ ";
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.topbtn {
	display: flex;
    position: fixed;
    bottom: 10%;
    right: 2%;
    color: #fff;
	padding: 15px 15px 25px;
    background: rgba(12, 52, 114, 0.85);
	border: 1px solid #fff;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
	z-index: 1000;
}

@media screen and (max-width: 767px){
	.topbtn {
		bottom: 80px;
    	padding: 5px 10px 10px;
		border-radius: 5px;
	}
}

.topbtn:hover {
	color: rgba(12, 52, 114, 0.85);
	background: #fff; 
	border: 1px solid rgba(12, 52, 114, 0.85);
}

.topbtn span {
	position: relative;
	font-size: 14px;
}

@media screen and (max-width: 767px){
	.topbtn span {
		font-size: 12px;
	}
}

.topbtn span::before {
	display: block;
    text-align: center;
	font-family: "Font Awesome 5 Free";
    font-size: 1.2rem;
    content: '\f106';
    font-weight: 900;
}

@media screen and (max-width: 767px){
	.pc_only {
		display: none!important;
	}
}

@media screen and (min-width: 768px){
	.sp_only {
		display: none!important;
	}
}