/* ---------- 各ページ見出し ---------- */
main > article {
	background: transparent
		linear-gradient(
			146deg,
			#ffffff 0%,
			#ffffff 1%,
			#d9dfe2 100%,
			#e7f7fd 100%,
			#50c1e9 100%
		)
		0% 0% no-repeat padding-box;
}
.home main > article {
	background: transparent;
}
main header {
	position: relative;
	background: #fff;
	padding: clamp(24px, 5vw, 30px);
}
main header::before,
main header::after {
	content: "";
	width: 24px;
	height: 24px;
	position: absolute;
}
main header::before {
	border-left: solid 12px #fec300;
	border-top: solid 12px #fec300;
	top: 0;
	left: 0;
}
main header::after {
	border-right: solid 12px #fec300;
	border-bottom: solid 12px #fec300;
	bottom: 0;
	right: 0;
}
main header h1 {
	display: grid;
	justify-items: center;
	font-size: clamp(26px, 5vw, 38px);
	line-height: 48px;
}
main header h1 small {
	/* display: grid; */
	justify-items: center;
	font-size: 12px;
	color: #666666;
	font-weight: 400;
	line-height: clamp(24px, 5vw, 30px);
}
.home #over > header {
	position: absolute;
	z-index: 200;
	/* top: 0; */
}
.home main header {
	padding: 0;

	width: 100%;
	/* background: rgb(162, 203, 206); */
	/* min-height: 100vh; */
	max-height: 100vh;
	position: relative;
	overflow: hidden;
	/* padding-top: 130px; */
}
/* .home main header::before, */
.home main header::after {
	display: none;
}
.home main header > div:first-child {
	position: absolute;
	z-index: 10;
	/* top: 130px; */
	/* margin-top: 130px; */
	width: 100%;
	display: grid;
	align-content: center;
	max-height: 100vh;
}
.home main header > div:last-child {
	position: relative;
	max-height: 100vh;
}
.home main header > div:last-child p {
	padding-bottom: 216.5%;
}
.home main header > div:last-child::after {
	content: "";
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background: transparent
		linear-gradient(120deg, #ffffff 0%, #ffffff min(30vw, 70%), #50c1e9 100%)
		no-repeat;
	border: none;
	z-index: 1;
	opacity: 0.7;
}
.home main header > div:last-child::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background: url(../images/wave.png) no-repeat;
	background-position: bottom 24% left 63%;
	background-size: 700% auto;
	bottom: 0;
	opacity: 1;
	z-index: 5;
}
.home main header img {
	position: absolute;
	min-width: 100%;
	min-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.home main header > div:first-child .container {
	display: grid;
	row-gap: 70px;
}
.home main header h2 {
	font-family: source-han-serif-japanese, serif;
	font-weight: 700;
	color: #121b74;
	text-shadow: 0px 3px 20px #ffffffb9;
	font-size: clamp(36px, 8vw, 46px);
	line-height: clamp(51px, 12vw, 66px);
	display: grid;
	text-align: center;
}
.home main header h2 small {
	font-family: source-han-sans-japanese, sans-serif;
	font-weight: 900;
	font-size: clamp(16px, 3vw, 20px);
	line-height: clamp(24px, 4vw, 29px);
	display: block;
}
.home main header h2 span {
	display: inline-block;
}
body:not(.home) #over > header {
	position: relative;
	/* overflow: hidden; */
}
/* body:not(.home) #over > header .hCover{
	width: 100%;
	height: 70px;
} */
/* body:not(.home) #over > header .hCover p {
	padding-bottom: 216.5%;
} */
body:not(.home) #over > header > p {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	overflow: hidden;
}
body:not(.home) #over > header > p img {
	position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: 500%;
    height: 500%;
    object-fit: cover;
    object-position: center center;
    display: block;
    z-index: -2;
    bottom: -226%;
    left: -197%;
}
/* body:not(.home) #over > header .hCover p img {
	position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: 410%;
    height: 410%;
    object-fit: cover;
    object-position: 65% 50%;
    display: block;
    z-index: -2;
    bottom: -126%;
    left: -157%;
} */
body:not(.home) #over > header > p::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background: url(../images/wave.png) no-repeat;
	background-position: bottom 33% left 62%;
	background-size: 510% auto;
	bottom: 0;
	opacity: 1;
	z-index: 5;
}
body:not(.home) #over > header > p::before {
	content: "";
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	padding-bottom: 216.5%;
	background: transparent linear-gradient(120deg, #ffffff 0%, #50c1e9 100%)
		no-repeat;
	border: none;
	z-index: 1;
	opacity: 0.7;
}
/* ---------- トップニュース ---------- */
.home main header article > p {
	background: #0dc9f7;
	color: #fff;
	padding: 18px 30px;
	display: inline-block;
}
.home main header article > ul {
	background: #fff;
	padding: 21px 10px 20px 20px;
	box-shadow: 0px 3px 6px #00000029;
}
.home main header article > ul li {
	list-style-type: none;
}
.home main header article > ul li a {
	text-decoration: none;
}
.home main header article > ul li time {
	font-size: 14px;
	color: #666;
}

/* ---------- 各ページ見出し ---------- */
main header + * p {
	margin-top: 30px;
	margin-bottom: 30px;
}
main header + * h2,
main header + * h3,
main header + * h4 {
	margin-top: 30px;
	margin-bottom: clamp(20px, 7vw, 30px);
}
main header + * h2 {
	font-size: clamp(20px, 4vw, 28px);
	position: relative;
	padding: 24px;
	background: #fff;
	box-shadow: 0px 1px 5px #00000029;
	margin-top: clamp(45px, 11vw, 60px);
}
main header + * h2::after {
	content: "";
	width: 16px;
	height: 16px;
	position: absolute;
	border-left: solid 8px #121b74;
	border-bottom: solid 8px #121b74;
	bottom: 0;
	left: 0;
}
main header + * h3 {
	font-size: clamp(18px, 3vw, 20px);
	position: relative;
	border-bottom: 1px solid #121b74;
	padding-top: 15px;
	padding-bottom: 18px;
	padding-left: 16px;
	padding-right: 15px;
}
main header + * h4 {
	font-size: clamp(18px, 3vw, 20px);
	border-left: 4px solid #fec300;
	padding: 10px 0 10px 15px;
}
/* ---------- 補足情報・他 ---------- */
main header + * .blockquote,
main header + * blockquote {
	border: 2px solid #cccccc;
	border-radius: 10px;
	position: relative;
	padding: 0 20px;
	z-index: 2;
	margin-bottom: clamp(30px, 6vw, 45px);
}
main header + * .blockquote::before,
main header + * .blockquote::after,
main header + * blockquote::before,
main header + * blockquote::after {
	content: "";
	position: absolute;
	width: 45px;
	height: 34px;
	background-size: contain;
	z-index: -1;
}
main header + * .blockquote::before,
main header + * blockquote::before {
	top: 20px;
	left: 20px;
	background: url(../images/quote__top.svg) no-repeat;
}
main header + * .blockquote::after,
main header + * blockquote::after {
	right: 20px;
	bottom: 20px;
	background: url(../images/quote__down.svg) no-repeat;
}
main header + * .blockquote > *:first-child,
main header + * blockquote > *:first-child {
	margin-top: 30px;
}
main header + * .blockquote > *:last-child,
main header + * blockquote > *:last-child {
	margin-bottom: 30px;
}
main header + * cite,
main header + * blockquote cite {
	display: block;
	color: #666666;
	font-size: 14px;
	line-height: 24px;
	font-style: normal;
	margin-top: 20px;
	margin-bottom: 30px;
	position: relative;
	padding-left: 18.5px;
}
main header + * cite::before,
main header + * blockquote cite::before {
	position: absolute;
	content: '';
	width: 12px;
	height: 1px;
	background: #666666;
	left: 0;
	top: 12px;
}
main header + * blockquote cite a {
	color: #666666;
	text-decoration: none;
}
main header + * figure cite {
	margin: 0 auto;
	max-width: 800px;
	margin-top: 9px;
}
/* ---------- リスト ---------- */
main header + * ul,
main header + * ol {
	margin-top: 20px;
	margin-bottom: 30px;
}
main header + * ol {
	margin-left: 30px;
}
main header + * ul li,
main header + * ol li {
	margin-bottom: clamp(10px, 2vw, 16px);
}
main header + * ul li {
	position: relative;
	list-style-type: none;
	padding-left: 20px;
	margin-left: 12px;
}
main header + * ul li {
	position: relative;
}
main header + * ul li::before {
	content: "";
	position: absolute;
	background: url(../images/ul_li_circle.svg) no-repeat;
	background-size: contain;
	left: 0;
	width: 10px;
	height: 10px;
	top: clamp(7.5px, 1vw, 10px);
}
main header + * ol li {
	padding-left: 5px;
}
.txtRight {
	text-align: right;
}
.txtCenter {
	text-align: center;
}
/* ---------- 写真とキャプション ---------- */
.gMap{
	padding-bottom: 62.5%;
    position: relative;
    height: 0;
    overflow: hidden;
}
#over > main header + * iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.img-box {
	max-width: 800px;
	width: 100%;
	/* height: 100%; */
	height: auto;
	margin: 0 auto;
}
.img-box.left {
	margin: 0 auto 0 0;
}
.img-box.right {
	margin: 0 0 0 auto;
}
body #over main header + * p.img-wrapper {
	padding-bottom: 62.5%;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	display: grid;
	justify-items: center;
	align-items: center;
	margin: 0;
	height: max-content;
}
body #over main header + * .four-three p.img-wrapper {
	padding-bottom: 75%;
}
.img-box img {
	min-width: 100%;
	min-height: 100%;
	width: 100%;
	height: 100%;
	position: absolute;
	display: block;
	object-fit: cover;
	background: #aaaaaa;
}
#over main figure figcaption {
	font-style: normal;
	/* margin: 0 auto; */
	font-size: clamp(13px, 2vw, 14px);
	color: #666666;
	line-height: 24px;
	margin-top: 9px;
	max-width: 800px;
}

/* ---------- 表（table） ---------- */
main .x-scroll {
	overflow-x: auto;
	margin-top: 30px;
	margin-bottom: 30px;
	margin: 0 calc(50% - 50vw) 0 0;
	margin-top: 20px;
	margin-bottom: clamp(30px, 6vw, 45px);
	margin-left: var(--bs-gutter-x, -1.25rem);
	margin-right: var(--bs-gutter-x, -1.25rem);
}
main table {
	font-size: 1rem;
	border: 0px none;
	caption-side: bottom;
	width: max-content;
	margin-left: var(--bs-gutter-x, 1.25rem);
	min-width: calc(100% + var(--bs-gutter-x, -2.5rem));
	border-collapse: separate;
	border-spacing: 1px 0;
}
main table th,
main table td {
	border: none;
	padding: 14px 16px;
	min-width: 245px;
	max-width: 35%;
}
main table th {
	min-width: 180px;
}
main table td {
	min-width: 133px;
	max-width: 367px;
}
main table tbody td {
	border-bottom: 1px solid #999999;
}
main table thead {
	background: #666666;
	color: #fff;
}
main table thead th {
	font-weight: 400;
	border-bottom: 2px solid #fec300;
}
main table tbody th {
	text-align: start;
	font-weight: 400;
	width: 25%;
}
main table thead {
	border: none;
}
main table tbody tr:first-child > * {
	border-top: 1px solid #999999;
}
main table tbody tr:last-child {
	border-bottom: none;
}
main table tbody th {
	border-bottom: 1px solid #999999;
}
main table tfoot {
	border: none;
	border-bottom: 1px solid #cccccc;
}
#over > main table tbody tr:nth-child(odd) {
	background: #ffffff;
}
#over > main table tbody tr:nth-child(even) {
	background: transparent;
}
main table td.odd {
	background: #ffffff;
}
main table td.even {
	background: #fafafa;
}

/* ---------- 各ファイル形式 ---------- */
main a[href$=".pdf"] span,
main a[href$=".xls"] span,
main a[href$=".xlsx"] span,
main a[href$=".doc"] span,
main a[href$=".docx"] span {
	width: 36px;
	height: 17px;
	display: inline-grid;
	margin-left: 5px;
	vertical-align: middle;
}

/* ---------- アーカイブリスト ---------- */
main header + * .archiveList li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	border-bottom: 1px solid #cccccc;
}
main header + * .archiveList li::before {
	display: none;
}
main header + * .archiveList li a {
	display: block;
	text-decoration: none;
	padding: 20px 0;
}
main header + * .archiveList li time {
	font-size: 14px;
	color: #666;
}
main header + * .archiveList li p {
	margin: 0;
	color: #121B74;
}
/* ---------- ページ送り ---------- */
.pager {
	margin-top: clamp(30px, 8vw, 60px);
	margin-bottom: clamp(30px, 8vw, 60px);
}
.pageNavi a,
.current {
	display: inline-block;
	color: #333333;
}
.pageNavi {
	font-size: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(32px, max-content));
	column-gap: 5px;
	justify-content: center;
}
.pager-inner {
	text-align: center;
	margin: 0;
	padding: 0;
}
#over > main .pager span,
#over > main .pager a {
	border: none;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 0 2px;
	min-width: 32px;
	height: 40px;
	text-decoration: none;
	font-size: 14px;
	transition: 0.2s ease-out;
	/* border-radius: 50%; */
	/* background: #fff; */
	/* border: 1px solid transparent; */
	font-weight: 400;
}
#over > main .pager a:hover {
	text-decoration: none;
	/* border: 1px solid #266dad;
	color: #fff; */
	transition: 0.6s ease-out;
	background: #fec300;
}
#over > main .pager .current {
	background: #121b74;
	color: #fff;
}

/* ---------- お問い合わせ ---------- */

.formLine {
	/* background-image: linear-gradient(to right, #999999, #999999 1px, transparent 0px, transparent 1px);
	  background-size: 2px 1.5px;
	  background-position: left top;*/
	border-bottom: 1px solid #fec300;
	overflow: hidden;
}
.formLine:not(.privacy-policy) dl dd {
	height: max-content;

	display: grid;
}
#over main input,
#over main textarea {
	font-family: source-han-sans-japanese, "Noto Sans JP", "Helvetica Neue", Arial,
		"Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.formLine input,
.formLine textarea {
	padding: 16px 12px;
	border: #cccccc solid 1px;
	font-size: 16px;
	border-radius: 3px;
	caret-color: #707070;
}
.formLine textarea {
	display: block;
	width: 100%;
}
button,
input {
	overflow: visible;
}
input[type="text"] {
	width: 100%;
}
.formLine dl {
	display: grid;
	row-gap: 10px;
	margin: 30px 0;
}
.formLine dt {
	height: 100%;
	font-size: clamp(14px, 3vw, 16px);
	font-weight: 700;
}
/* 邵ｺ髮∵牒邵ｺ�ｽ邊狗ｹｧ荳岩雷 */
.formLine input,
.formLine textarea {
	padding: 16px 12px;
	border: #cccccc solid 1px;
	font-size: 16px;
	border-radius: 3px;
}
.formLine textarea {
	display: block;
	width: 100%;
	max-width: 100%;
}

.formLine input,
.formLine textarea {
	background: #fff;
	height: 100%;
	max-width: 546px;
	width: 100%;
}
.formLine dl dt.required {
	position: relative;
}
/* .formLine dl dt.required label {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	height: 100%;
  } */
.formLine dl dt.required label span {
	display: inline-block;
	font-size: 0.8rem;
	font-size: 12px;
	color: #ff0000;
	text-align: center;
	padding: 3px 8px 4px;
	right: 20px;
	background: #fff;
	border: 1px solid #ff0000;
	font-weight: 700;
	line-height: 1rem;
	white-space: nowrap;
	margin-left: 10px;
}
.formLine .alert-danger,
.formLine dd span.error {
	display: inline-block;
	font-size: 12px;
	font-size: 0.8rem;
	color: #fff;
	background: #ff0000;
	font-weight: 700;
	padding: 8px;
	line-height: 1;
	margin-top: 4px;
	width: max-content;
}
.alert-warning input[type="text"],
.alert-warning input[type="email"],
.alert-warning input[type="tel"],
.alert-warning textarea,
.formLine input[type="text"].error,
.formLine input[type="email"].error,
.formLine input[type="tel"].error,
.formLine textarea.error {
	border: 1px solid #ff0000;
	background: transparent;
}
.formLine input:focus,
.formLine textarea:focus {
	border: #0768b3 solid 1px;
}
.alert-warning input[type="text"]:focus,
.alert-warning input[type="email"]:focus,
.alert-warning input[type="text"]:focus,
.alert-warning textarea:focus,
.formLine input[type="text"].error:focus,
.formLine input[type="email"].error:focus,
.formLine input[type="text"].error:focus,
.formLine textarea.error:focus {
	border: 1px solid #ff0000;
	background: #fff;
}
.formLine .check-radio dd {
	display: grid;
	row-gap: 16px;
}
.formLine dl.error_messe dd {
	color: #ff0000;
	font-weight: 700;
}
#over main .formLine dl.check-radio dd > span {
	margin-left: 0;
}

/* 蛻晄悄蜈･蜉帛､ */
::placeholder {
	color: #8d8d8d;
}
/* Edge逕ｨ */
::-ms-input-placeholder {
	color: #8d8d8d;
}
/* 繝ｩ繧ｸ繧ｪ繝ｻ繝√ぉ繝�け繝懊ャ繧ｯ繧ｹ(radio.check) */
input[type="checkbox"],
input[type="radio"] {
	appearance: none;
	display: none;
}
input[type="checkbox"] + span,
input[type="radio"] + span {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	cursor: pointer;
	padding-left: 29px;
}
input[type="checkbox"] + span:after,
input[type="checkbox"] + span:before,
input[type="radio"] + span:after,
input[type="radio"] + span:before {
	content: "";
	display: inline-block;
	position: absolute;
	width: 18px;
	height: 18px;
	top: 4px;
	left: 0;
	border: 1px solid #cccccc;
}
input[type="checkbox"] + span:before,
input[type="radio"] + span:before {
	background-color: #fff;
}
input[type="radio"] + span:after,
input[type="radio"] + span:before {
	border-radius: 50%;
}
/* 郢昶�縺臥ｹ晢ｿｽ縺題�包ｿｽ */
input[type="checkbox"] + span:after,
input[type="radio"] + span:after {
	opacity: 0;
	width: 14px;
	height: 14px;
	background: #121b74;
	left: 2px;
	top: 6px;
	border: none;
}
input[type="checkbox"] + span:before,
input[type="checkbox"] + span:after {
	border-radius: 2px;
}
input[type="checkbox"]:checked + span::after,
input[type="radio"]:checked + span::after {
	opacity: 1;
}
.formLine dd .error-wrap {
	display: block;
	width: 100%;
}

.formLine.privacy-policy dl {
	grid-template-columns: none;
	justify-content: center;
}
.formLine.privacy-policy dt {
	width: 100%;
}
#over > main header + * .formLine.privacy-policy dt a {
	text-decoration: underline;
	position: relative;
	font-weight: 400;
	padding-right: 24px;
}
#over > main header + * .formLine.privacy-policy dt a::after {
	position: absolute;
	content: "";
	background: url(../images/icon-window.svg) no-repeat;
	background-size: contain;
	width: 16px;
	height: 16px;
	right: 0;
	top: 4px;
}
.formLine.privacy-policy dd {
	display: grid;
}
/* .formLine.privacy-policy dd{
    display: none;
  } */

.privacy-policy {
	margin-bottom: 20px;
	border-bottom: none;
}
.privacy-policy::before,
.privacy-policy::after {
	display: none;
}
.formLine dt.privacy-policy-head {
	text-align: center;
	background: #9eddf8;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	padding: 22px 0;
	font-family: ab-tombo-bold, sans-serif;
	font-weight: 400;
}
.formLine dt.privacy-policy-head span {
	display: inline-block;
	font-size: 0.8rem;
	color: #000;
	text-align: center;
	padding: 4px 6px 5px;
	right: 20px;
	background: #f9c00c;
	font-weight: 700;
	line-height: 1rem;
	font-family: source-han-sans-japanese, sans-serif;
	font-weight: 700;
	margin-right: 14px;
}
/* 繧ｹ繧ｯ繝ｭ繝ｼ繝ｫ繝舌� */
.formLine dd > .privacy-policy-text {
	max-height: 220px;
	padding: 0;
	overflow-y: auto;
	border: 1px solid #d3d3d3;
	background-color: #fff;
}
.formLine dd > .privacy-policy-text h5 {
	font-size: 18px;
	padding-bottom: 15px;
	border-bottom: 1px solid #cccccc;
}
.formLine dd > .privacy-policy-text h6 {
	font-size: 1rem;
}
.privacy-policy-text > div {
	margin: 20px 22px;
}
.privacy-policy-text p {
	line-height: 22px;
	margin: 15px 0;
}
.privacy-policy-text::-webkit-scrollbar {
	max-width: 10px;
	min-width: 8px;
	max-height: 30px;
	background: #ccc;
}
.privacy-policy-text::-webkit-scrollbar-thumb {
	background: #fec300;
	height: 60px;
}
.formLine dd > .privacy-policy-check {
	font-weight: 700;
	padding: 20px 22px 20px 22px;
	display: grid;
	justify-content: center;
	background: #e7f7fd;
}
.zipRow {
	display: grid;
	grid-template-columns: min(50% - 5px, 180px) min(50% - 5px, 180px);
	column-gap: 10px;
	margin-bottom: 15px;
	max-width: 546px;
	width: 100%;
}

/* 汎用ボタン */
.backLink {
	display: grid;
	margin-top: clamp(30px, 6vw, 45px);
}
#over .smallLink a,
#over .backLink a,
button[type="button"],
.verification input,
.submit-warp input,
.submit-warp button {
	text-decoration: none;
	font-size: 1rem;
	-webkit-appearance: none;
	border-radius: 0;
	background: none;
	border: 1px solid #121b74;
	font-weight: 700;
	color: #121b74;
	display: block;
	padding: 24px 32px;
	text-align: center;
	background: transparent;
	font-size: 1.125rem;
	line-height: 1;
	transition: 0.2s;
	margin: 0 auto;
	outline: none;
	border-radius: 999px;
	transition: 0.3s ease-in-out;
	cursor: pointer;
}
#over .smallLink a {
	padding: 12px 32px;
	font-size: 1rem;
	font-weight: 400;
	display: inline-block;
}
button[type="button"] {
	margin-bottom: 30px;
}
#over .smallLink a:hover,
#over .backLink a:hover,
.verification input:hover,
button[type="button"]:hover,
.submit-warp input:hover,
.submit-warp button:hover {
	background: #121b74;
	color: #fff;
}
.home main header + div section:nth-child(even) .smallLink {
	display: grid;
	justify-content: end;
	align-items: center;
}
#over button[type="button"] a {
	display: block;
	color: #121b74;
	text-decoration: none;
}
#over button[type="button"]:hover a {
	color: #fff;
}
#over > main .submit-warp .btn-secondary,
#over > main .submit-warp .back input {
	font-size: 14px;
	border: 1px solid #999999;
	color: #666666;
	font-weight: 400;
	max-width: 210px;
	padding: 12px 32px;
	min-height: 44px;
	background: transparent;
	border-radius: 999px;
}

.submit-warp {
	display: grid;
	grid-template-columns: auto auto;
	justify-content: center;
	align-items: center;
	column-gap: 20px;
	margin-top: 30px;
}
.submit-warp.one {
	display: block;
}

sub,
sup {
	line-height: 1rem;
}

/* ----------  コンテナ ---------- */
.twoGrid,
.threeGrid,
.fourGrid {
	display: grid;
	row-gap: 15px;
}
.twoGrid > *:first-child,
.threeGrid > *:first-child,
.fourGrid > *:first-child,
.twoautoGrid > *:first-child {
  margin-top: 0;
}
.twoGrid > *:last-child,
.threeGrid > *:last-child,
.fourGrid > *:last-child,
.twoautoGrid > *:first-child {
  margin-bottom: 0;
}
footer address .twoautoGrid {
	row-gap: 15px;
    display: grid;
}

@media screen and (min-width: 768px) {
	footer address .twoautoGrid {
		column-gap: 14vw;
	}
	/* ---------- コンテナ ---------- */
	.twoGrid,
	.threeGrid,
	.fourGrid {
		display: grid;
		column-gap: 30px;
		row-gap: 15px;
	}
	/* 均等 */
	.twoGrid {
		grid-template-columns: 1fr 1fr;
	}
	.threeGrid {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.fourGrid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	/* 通常横並び */
	.twoautoGrid {
		display: grid;
		grid-template-columns: auto auto;
		justify-content: start;
	}
	.twoGrid > *:nth-child(-n + 2),
	.threeGrid > *:nth-child(-n + 3),
	.fourGrid > *:nth-child(-n + 4),
	.twoautoGrid > *:nth-child(-n + 2) {
		margin-top: 0;
	}
	.twoGrid > *:nth-last-child(-n + 2),
	.threeGrid > *:nth-last-child(-n + 3),
	.fourGrid > *:nth-last-child(-n + 4),
	.twoautoGrid > *:nth-last-child(-n + 2) {
		margin-bottom: 0;
	}
	.twoGrid > *:nth-child(-n + 2) *:first-child,
	.threeGrid > *:nth-child(-n + 3) *:first-child,
	.fourGrid > *:nth-child(-n + 4) *:first-child,
	.twoautoGrid > *:nth-child(-n + 2) *:first-child {
		margin-top: 0;
	}
	.twoGrid > *:nth-child(-n + 2) *:last-child,
	.threeGrid > *:nth-child(-n + 3) *:last-child,
	.fourGrid > *:nth-child(-n + 4) *:last-child,
	.twoautoGrid > *:nth-child(-n + 2) *:last-child {
		margin-bottom: 0;
	}
	main header {
		margin: 0 auto;
	}
	.home main header {
		max-width: none;
	}

	.home main header > div:last-child::before {
		position: absolute;
		content: "";
		width: 100%;
		height: 100%;
		background: url(../images/wave.png) no-repeat;
		background-position: bottom 30% left 58%;
		background-size: 320% auto;
		bottom: 0;
		opacity: 1;
		z-index: 5;
	}

	body:not(.home) #over > header > p {
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		overflow: hidden;
	}
	body:not(.home) #over > header > p::before {
		padding-bottom: 0;
	}
	body:not(.home) #over > header > p img {
		position: absolute;
		min-width: 100%;
		min-height: 100%;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center bottom;
		display: block;
		z-index: -2;
		bottom: auto;
		left: 0;
	}
	body:not(.home) #over > header > p::after {
		position: absolute;
		content: "";
		width: 100%;
		height: 100%;
		background: url(../images/wave_two.png) no-repeat;
		background-position: bottom 47% left 52%;
		background-size: 280% auto;
		bottom: 0;
		opacity: 1;
		z-index: 5;
	}
}

@media screen and (min-width: 992px) {
	.home main header article {
		display: grid;
		grid-template-columns: max-content auto;
		box-shadow: 0px 3px 6px #00000029;
	}
	.home main header article ul li a {
		display: grid;
		grid-template-columns: max-content auto;
		box-shadow: none;
		column-gap: 1rem;
	}
	/* ---------- アーカイブリスト ---------- */
	main header + * .archiveList li a {
		display: grid;
		grid-template-columns: max-content auto;
		box-shadow: none;
		column-gap: 1rem;
		padding: 20px;
		transition: 0.4s ease-in-out;
	}
	main header + * .archiveList li a:hover {
		background: #fff;
		transition: 0.3s ease-in-out;
	}
	/* ---------- お問い合わせ ---------- */
	.formLine {
		position: relative;
		border-bottom: none;
	}
	.formLine::after {
		content: "";
		position: absolute;
		background: #fec300;
		width: 25%;
		height: 1px;
		bottom: 0;
		left: 0;
	}
	.formLine::before {
		content: "";
		position: absolute;
		background: #cccccc;
		width: 80%;
		height: 1px;
		bottom: 0;
		right: 0;
	}
	.formLine dl {
		display: grid;
		grid-template-columns: 2.5fr 6.5fr;
		/* margin: 25px 0 */
		margin: 0;
	}
	.formLine dl dt {
		height: max-content;
		/* border-bottom: 1px solid #FEC300; */
		min-height: 58px;
		height: auto;
		padding: 30px 0 20px;
		padding-left: 15px;
	}
	.formError .formLine dl dt,
	.confirmation .formLine dl dt {
		padding: 20px 0;
	}
	.formLine:not(.privacy-policy) dl dd {
		height: 100%;
	}
	.formLine dl dt label {
		/* padding-top: 10px;
		display: block; */
	}
	.formLine dl dd {
		/* border-bottom: 1px solid #CCCCCC; */
		padding: 20px 0;
	}
	.contactus .formLine dt {
		padding-top: 12px;
	}
	.formLine dl.check-radio {
		margin-bottom: 0;
	}
	.formLine dl.check-radio dd .error-wrap {
		margin-bottom: 25px;
	}
	.formLine .check-radio dt {
		padding-top: 0;
	}
	.formLine dl.check-radio dd {
		display: flex;
		flex-wrap: wrap;
		row-gap: 0;
	}
	.formLine dl.check-radio dd > span {
		display: inline-block;
		margin-bottom: 20px;
		margin-right: 25px;
	}
	.formLine dl.check-radio dd > span:last-child {
		margin-bottom: 25px;
		margin-right: 0;
	}
	.home main header + div section > div .container .smallLink {
		width: 35%;
	}
	.submit-warp {
		/* display: flex;
		flex-direction: row-reverse;
		justify-content: none;
		align-items: none; */
		display: grid;
		grid-template-columns: max-content max-content;
	}
	.submit-warp.one {
		display: block;
	}
	#over > main .submit-warp .back input {
		margin-top: 0;
		margin-right: 16px;
	}
	/* .verification input {
		padding: 20px 110px 20px 95px;
	  } */
	/* .verification::after {
		content: '';
		position: absolute;
		background: url(../images/icon_arrow_right.svg) no-repeat;
		background-size: contain;
		filter: invert(60%) sepia(100) saturate(0%) hue-rotate(257deg) brightness(170%) contrast(100%);
		width: 11px;
		height: 11px;
		top: 50%;
		transform: translateY(-50%);
		right: calc(110px - 24px);
	  } */
	#over main .back button {
		margin: 0;
		margin-right: 16px;
	}
	.confirmation #over > main .submit-warp .back::before {
		top: 42%;
	}
}
