@charset "utf-8";
html {
  scroll-behavior: smooth;	
}
body {
  background: #f5f5f5;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}
section img, footer img {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
body > img {
	position: absolute;
}
p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc((14 / 16) * 1rem);
  color: #333;
}
p a {
  color: #333;
}
p a:hover {
  text-decoration: none;
}
a.hover-scale img {
	transition: all cubic-bezier(0.68, -0.55, 0.27, 1.55) .4s;
}
a.hover-scale:hover img {
	scale: 1.05;
}
.line .bar {
  display: block;
  position: fixed;
  z-index: 9999;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.line .top, .line .bottom {
  width: 100vw;
  height: 0.75rem;
  background-color: #f3270f;
}
.line .left, .line .right {
  width: 0.75rem;
  height: 100vh;
}
.line .left {
  background-color: #6dd2d3;
}
.line .right {
  background-color: #ffc5bb;
}
.line .top {
  top: 0;
  left: 0;
}
.line .bottom {
  bottom: 0;
  left: 0;
}
.line .left {
  top: 0;
  left: 0;
}
.line .right {
  top: 0;
  right: 0;
}
.hidden-only-xs {
  display: none;
}
.visible-only-xs {
  display: block;
}
.container, .container:before, .container:after {
  box-sizing: border-box;
}
.container {
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  background-color: #fff;
}
.container:before, .container:after {
  content: " ";
  display: table;
}
.container:after {
  clear: both;
}
#hero .container {
  background: #fff0ed url(../img/hero-bg-pc.png) no-repeat center bottom / contain;
  aspect-ratio: 2880 / 1554;
  padding-top: 2%;
  padding-bottom: 3%;
}
#hero .logo {
  position: absolute;
  top: 0;
  left: 0;
}
#hero p {
  margin-top: 12px;
}
#cv .container {
  background: #fff0ed url("../img/cv-bg-pc.png") no-repeat center top/cover;
  padding-top: 6%;
  padding-bottom: 4rem;
}
#cv p {
  margin: 23px 1rem 0;
}
footer .container {
  padding: 4rem .75rem
}
footer .footer-flex-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}
footer .footer-flex-item {
  flex: 50% 1 0;
}
footer .footer-flex-box p {
  margin: 1rem 1.25rem;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .hidden-only-xs {
    display: block;
  }
  .visible-only-xs {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  p {
    font-size: calc((13 / 16) * 1rem);
  }
  .line .top, .line .bottom {
    height: 0.5rem;
  }
  .line .left, .line .right {
    width: 0.5rem;
  }
  #hero .container {
    background: #fff0ed url("../img/hero-bg-sp.png") no-repeat center top/contain;
    aspect-ratio: 750 / 1506;
    padding-top: 26%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #hero p {
    font-size: 11px;
  }
  #cv .container {
    background: #fff0ed url("../img/cv-bg-sp.png") no-repeat center top/cover;
    padding-top: 26%;
  }
  #cv .container > p:last-of-type {
    font-size: 11px;
  }
  footer .container {
    padding: 3rem .5rem
  }
  footer .container > .footer-flex-box {
    display: block;
  }
  footer .footer-flex-box p {
    margin: 1rem 1.25rem 1.5rem;
    font-size: 10px;
  }
}


body#kiyaku {
	background-color: #fff;
	text-align: left;
	color: #333;
}
#kiyaku .container {
	padding: .75rem 1.5rem;
}

#kiyaku h1, #kiyaku h2 {
	font-family: "M PLUS 1p";
	font-style: normal;
	font-weight: 700;
	line-height: 150%;
}
#kiyaku h1 {
	color: #F3270F;
	text-align: center;
font-size: calc((36 / 16) * 1rem);
	letter-spacing: 0.72px;
	margin: 76px 0 48px
}

#kiyaku h2 {
font-size: calc((24 / 16) * 1rem);
	letter-spacing: 0.48px;
	margin-bottom: 16px;
	margin-top: 32px
}

#kiyaku p, #kiyaku li {
	font-size: 1rem;
	font-weight: 400;
	line-height: 175%; /* 28px */
	letter-spacing: 0.32px;
}
#kiyaku li {
	padding-left: 1em;
	margin-left: 1em;
}
#kiyaku ol ol {
	margin-top: 1em;
	margin-bottom: 1em;
}
#kiyaku p + ol {
	margin-top: 1em;
}
#kiyaku #info {
	margin: 32px 0 76px;
}

#kiyaku #info p:last-of-type {
	margin-top: 32px;
	text-align: right;
}

@media screen and (max-width: 767px) {
#kiyaku .container {
	padding: .5rem 2rem;
}
#kiyaku h1 {
font-size: calc((24 / 16) * 1rem);
	letter-spacing: 0.48px;
	margin: 48px 0 48px
}
#kiyaku h2 {
font-size: calc((19 / 16) * 1rem);
	letter-spacing: 0.38px;
}
#kiyaku #info {
	margin: 32px 0 48px;
}
#kiyaku p, #kiyaku li {
font-size: calc((14 / 16) * 1rem);
	letter-spacing: 0.28px;
}
}