/* =============================================
リセットCSS
============================================= */
/* https://github.com/mayank99/reset.css/blob/main/package/LICENSE.md */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:where([hidden]:not([hidden='until-found'])) {
	display: none !important;
}

:where(html) {
	-webkit-text-size-adjust: none;
	/* color-scheme: dark light; */
	tab-size: 2;
	/* scrollbar-gutter: stable; */
	interpolate-size: allow-keywords;
	line-height: 1.5;
}

:where(html:has(dialog:modal[open])) {
	overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {
	:where(html:focus-within) {
		scroll-behavior: smooth;
	}
}

:where(body) {
	line-height: inherit;
	font-family: system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

:where(button) {
	all: unset;
}

:where(input, button, textarea, select) {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
  word-spacing: inherit;
	font-feature-settings: inherit;
  font-variation-settings: inherit;
}

:where(textarea) {
	resize: vertical;
	resize: block;
}

:where(button, label, select, summary, [role='button'], [role='option']) {
	cursor: pointer;
}

:where(:disabled, label:has(> :disabled, + disabled)) {
	cursor: not-allowed;
}

:where(a) {
	color: inherit;
	text-underline-offset: 0.2ex;
}

:where(ul, ol) {
	list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
	display: block;
}

:where(img, picture, svg, video) {
	max-inline-size: 100%;
	block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
	overflow-wrap: break-word;
}

:where(h1, h2, h3) {
	line-height: calc(1em + 0.5rem);
	text-wrap: balance;
}

:where(hr) {
	border: none;
	border-block-start: 1px solid;
	color: inherit;
	block-size: 0;
	overflow: visible;
}

:where(dialog, [popover]) {
	border: none;
	background: none;
	color: inherit;
	inset: unset;
	max-width: unset;
	max-height: unset;
	overflow: unset;
}

:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
	display: none !important;
}

:where(:focus-visible) {
	outline: 3px solid CanvasText;
	box-shadow: 0 0 0 5px Canvas;
	outline-offset: 1px;
}

:where(:focus-visible, :target) {
	scroll-margin-block: 8vh;
}

:where(.visually-hidden:not(:focus-within, :active)) {
	clip-path: inset(50%) !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	white-space: nowrap !important;
	border: 0 !important;
	user-select: none !important;
}

/* =============================================
デフォルトスタイル
============================================= */
html {
	font-size: 10px;
}
body{
	/* height: 2000px; */
	font-family: "Zen Maru Gothic", serif;
	color: #333;
}

.sp_only{
	display: none;
}

@media screen and (max-width: 767px) {
	.sp_only{
		display: initial;
	}
}

.lower .wrap {
  max-width: 915px;
  margin: 0 auto;
}

.lower > .wrap {
  padding: 0 15px;
  box-sizing: content-box;
}

@media screen and (min-width: 1600px) {
  .lower_kv {
      background-size: 1600px auto;
  }
}

.lower_kv {
  height: 300px;
  background: url(img/lower_top_pc.png), #3967ce;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 50px 75px 0;
  margin-bottom: 40px;
}

@media screen and (max-width: 580px) {
  .lower_kv {
      background: url(img/lower_top_sp.png), #3967ce;
      background-size: contain;
      background-position: center bottom;
      background-repeat: no-repeat;
  }
}

@media screen and (max-width: 768px) {
  .lower_kv {
      padding: 40px 15px 0;
  }
}


.lower_kv .wrap {
  max-width: 1104px;
  margin: 0 auto;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .lower_kv .wrap {
      text-align: center;
  }
}

.lower_kv h1 {
  font-size: 4rem;
  font-weight: 700;
}

.title {
  font-weight: 700 !important;
  color: #3967ce;
}

.title.ptn01 {
  font-size: 3rem;
  line-height: 1.4;
  border-bottom: dashed 5px #E3EBFB;
  padding-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .title.ptn01 {
      font-size: 2.7rem;
  }
}

.title.ptn01:has(+*) {
  margin-bottom: 30px;
}

p {
  font-size: 1.8rem;
  line-height: 1.9;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  p {
    font-size: 1.6rem;
  }
}

.link_box {
  max-width: 344px;
  background-color: #F3F6FF;
  border-radius: 20px;
  padding: 30px;
  margin: 70px auto;
}

@media screen and (max-width: 768px) {
  .link_box {
    margin: 20px auto 70px;
  }
}

.link_box dt {
  font-size: 2rem;
  font-weight: 700;
  color: #3967ce;
  text-align: center;
}

.link_box dd {
  margin-top: 15px;
}

.link_box dd img {
  max-width: 210px;
  margin: 0 auto 20px;
}

.btn {
  display: block;
  margin: 0 auto;
  padding: 6px 65px;
  background: #D7641E;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 9999px;
  width: 100%;
  max-width: max-content;
  text-align: center;
  transition: .3s;
}

.btn:hover {
  background: #DD7B40;
}

footer {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 30px 15px;
  background-color: #3967ce;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

footer::before {
  content: "";
  display: block;
  background: url(img/f_bus.png) no-repeat;
  background-size: contain;
  width: 68px;
  height: 32px;
  position: absolute;
  top: -32px;
  right: 15px;
}

@media screen and (max-width: 767px) {
  footer .copyright {
      font-size: 1.3rem;
  }
}