@charset "UTF-8";

:root {
  --main-color: #009df0;
  --white: #fff;
  --black: #000;
  --gray: #ededed;
  --yellow: #fff600;
  --light-blue: #f3f9fe;
  --text-color: #333;
  --place-light-blue: #d2edff;
  --place-deep-blue: #005aca;
  --place-blue: #5ebdf7;
  --place-light-orange: #ffe2d0;
  --place-deep-orange: #f06200;
  --place-orange: #ffb788;
  --place-light-green: #d8eddc;
  --place-deep-green: #0aad82;
  --place-green: #93d595;
  --place-light-purple: #ebe7f6;
  --place-deep-purple: #c24dc0;
  --place-purple: #cfb0ee;
  --place-light-gray: #efefef;
  --place-deep-gray: #a0a0a0;
  --place-gray: #c8c8c8;
  --merit-bg: #293842bf;
  --footer-bt: #eeeeee;
}

/* reset
---------------------------------------*/

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after {
  content: "";
  content: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
}

/* common
---------------------------------------*/
body {
  font-size: 13px;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-color);
}

@media screen and (min-width: 600px) and (max-width: 999px) {
  body {
    min-width: 1000px;
  }
}

/* section-title
---------------------------------------*/
.section-title {
  display: flex;
  align-items: center;
}

.section-title__main {
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  text-transform: uppercase;
  color: var(--main-color);
  font-weight: bold;
}

.section-title__main--large {
  font-size: 80px;
}

.section-title__sub {
  font-size: 20px;
  font-weight: bold;
  margin-left: 25px;
}

.section-title__sub span {
  font-size: 40px;
}

.section-title--white .section-title__main,
.section-title--white .section-title__sub {
  color: var(--white);
}
@media screen and (max-width: 599px) {
  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-title__main {
    font-size: 40px;
  }
  .section-title__main--large {
    font-size: 65px;
  }
  .section-title__sub {
    margin-left: 5px;
    font-size: 18px;
    line-height: 1.3;
  }
  .section-title__sub span {
    font-size: 28px;
  }
}

/* l-inner
---------------------------------------*/
.l-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media screen and (max-width: 599px) {
  .l-inner {
    padding-inline: 7%;
  }
}

/* button
---------------------------------------*/
.button {
  min-width: 297px;
  width: fit-content;
  position: relative;
  background: var(--main-color);
  border-radius: 30px;
  display: inline-block;
  color: var(--white);
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  padding-block: 10px;
  padding-inline: 30px 40px;
  transition: 0.3s all;
}

.button::after {
  content: "";
  position: absolute;
  background: url(../img/common/button-arrow.png) no-repeat;
  background-size: 100%;
  height: 22px;
  width: 22px;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.button:hover {
  opacity: 0.8;
}

.button--large {
  min-width: 320px;
  padding-block: 14px;
}
.button--small {
  min-width: 240px;
  border-radius: 30px;
  font-size: 16px;
  padding-block: 8px 10px;
  padding-inline: 20px 30px;
}
.button--small::after {
  height: 17px;
  width: 17px;
  right: 10px;
}
@media screen and (max-width: 599px) {
  .button {
    min-width: 247px;
    font-size: 16px;
    padding-inline: 20px 30px;
    margin: auto;
  }
  .button::after {
    height: 18px;
    width: 18px;
    right: 10px;
  }
  .button--large {
    padding-block: 10px;
  }
  .button--small {
    min-width: 110px;
    border-radius: 30px;
    font-size: 13px;
    padding-block: 4px 6px;
    padding-inline: 10px;
  }
  .button--small::after {
    display: none;
  }
}

/* top-merit
---------------------------------------*/
.top-merit {
  padding-block: 65px 120px;
  background: url(../img/home/merit-bg.png) no-repeat;
  background-size: cover;
  background-position: top left;
}

.top-merit__contents {
  display: grid;
  gap: 40px;
  margin-top: 30px;
}

.top-merit__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--white);
  border-radius: 5px;
  overflow: hidden;
}

.top-merit__content-left-bg {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  position: relative;
  top: 0;
}

.top-merit__content-left-bg::after {
  background: var(--merit-bg);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.top-merit__content-left-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.top-merit__content-left {
  position: relative;
  z-index: 1;
  overflow: hidden;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding-inline: 75px;
}
.top-merit__content-number {
  z-index: 0;
  position: absolute;
  left: 0;
  top: 0;
}
.top-merit__content-number::before {
  content: "";
  position: absolute;
  background: var(--yellow);
  height: 240px;
  width: 240px;
  border-radius: 50%;
  top: -90px;
  left: -90px;
  z-index: -1;
}
.top-merit__content-number p {
  transform: rotate(-30deg);
  display: inline-block;
  font-size: 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  margin-top: 35px;
  margin-left: 30px;
}
.top-merit__content-number span {
  display: block;
  font-size: 48px;
}
.top-merit__content-title {
  font-size: 52px;
  color: var(--white);
  font-weight: bold;
  margin-top: 60px;
}
.top-merit__content-text {
  font-size: 16px;
  font-weight: bold;
  color: var(--white);
  margin-top: 10px;
}
.top-merit__content-button {
  margin-top: 30px;
}
.top-merit__content-button .button {
  font-size: 18px;
}
.top-merit__content-right {
  display: grid;
  place-items: center;
}
.top-merit__content-right-text {
  font-size: 14px;
  line-height: 1.8;
}
.top-merit__content-bottom {
  grid-column: 1 / 3;
  z-index: 1;
}

/* .top-merit__content--reverse */
.top-merit__content--reverse .top-merit__content-left-bg {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.top-merit__content--reverse .top-merit__content-left {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.top-merit__content--reverse .top-merit__content-right {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.top-merit__content--reverse .top-merit__content-number {
  left: auto;
  right: 0;
}
.top-merit__content--reverse .top-merit__content-number::before {
  left: auto;
  right: -90px;
}
.top-merit__content--reverse .top-merit__content-number p {
  margin-left: 0;
  margin-right: 30px;
  transform: rotate(30deg);
}

/* .top-merit__content--bottom */
.top-merit__content--bottom .top-merit__content-left-bg {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.top-merit__content--bottom .top-merit__content-left {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.top-merit__content--bottom .top-merit__content-right {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.top-merit__content--bottom .top-merit__content-bottom {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .top-merit__content--bottom top-merit__content--reverse */
.top-merit__content--bottom.top-merit__content--reverse .top-merit__content-left-bg {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}
.top-merit__content--bottom.top-merit__content--reverse .top-merit__content-left {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.top-merit__content--bottom.top-merit__content--reverse .top-merit__content-right {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

@media screen and (max-width: 599px) {
  .top-merit {
    padding-block: 45px 0;
  }
  .top-merit .l-inner {
    padding-inline: 0;
  }
  .top-merit .section-title {
    padding-inline: 7%;
  }
  .top-merit .section-title__sub {
    margin-top: 5px;
  }
  .top-merit__contents {
    gap: 0;
  }
  .top-merit__content {
    grid-template-columns: 1fr;
    border-radius: 0;
  }
  .top-merit__content-left {
    align-items: center;
    padding-inline: 8%;
  }
  .top-merit__content--reverse .top-merit__content-number {
    left: 0;
    right: auto;
  }
  .top-merit__content-number::before,
  .top-merit__content--reverse .top-merit__content-number::before {
    height: 190px;
    width: 190px;
    top: -95px;
    left: -70px;
  }
  .top-merit__content-number p,
  .top-merit__content--reverse .top-merit__content-number p {
    transform: rotate(-17deg);
    font-size: 22px;
    margin-top: 19px;
    margin-left: 15px;
  }
  .top-merit__content-left-bg img {
    height: auto;
  }
  .top-merit__content-number span {
    font-size: 34px;
    line-height: 0.9;
  }
  .top-merit__content-title {
    font-size: 35px;
    margin-top: 0;
  }
  .top-merit__content-text {
    font-size: 15px;
    text-align: center;
  }
  .top-merit__content-right {
    margin: 25px 7%;
  }
  .top-merit__content-button {
    margin-top: 30px;
  }
  .top-merit__content-bottom {
    margin: 10px 7%;
  }
  .top-merit__content--reverse .top-merit__content-left-bg,
  .top-merit__content--bottom .top-merit__content-left-bg,
  .top-merit__content--bottom.top-merit__content--reverse .top-merit__content-left-bg {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .top-merit__content--reverse .top-merit__content-left,
  .top-merit__content--bottom .top-merit__content-left,
  .top-merit__content--bottom.top-merit__content--reverse .top-merit__content-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .top-merit__content--reverse .top-merit__content-right,
  .top-merit__content--bottom .top-merit__content-right {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .top-merit__content--reverse .top-merit__content-bottom,
  .top-merit__content--bottom .top-merit__content-bottom,
  .top-merit__content--reverse.top-merit__content-bottom,
  .top-merit__content--bottom .top-merit__content-bottom {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    margin: 0 7% 10px;
  }
}

/* footer
---------------------------------------*/
.footer {
  padding-block: 80px 10px;
  background: var(--footer-bt);
}
.footer__body {
  display: flex;
  justify-content: space-between;
}
.footer__info {
  font-size: 12px;
}
.footer__logo {
  margin-top: 10px;
}

.footer__address {
  font-size: 14px;
  margin-top: 10px;
}
.footer__address a {
  color: var(--text-color);
}

.footer__sitemaps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px 80px;
}
.footer__sitemaps-title {
  grid-column: 1 / 6;
  font-size: 16px;
  border-bottom: 2px solid var(--black);
  padding-bottom: 20px;
}

.footer__sitemap {
}

.footer__sitemap-head {
  font-size: 14px;
}

.footer__sitemap-list {
  font-size: 12px;
  display: grid;
  gap: 18px;
  color: var(--text-color);
  margin-top: 20px;
}
.footer__sitemap-list a::before {
  content: "- ";
}

.footer__copy {
  text-align: center;
  font-size: 12px;
  margin-top: 50px;
  font-weight: normal;
}

@media screen and (max-width: 599px) {
  .footer {
    padding-block: 50px 10px;
  }
  .footer__body {
    flex-direction: column;
  }
  .footer__logo img {
    width: 200px;
    height: auto;
  }
  .footer__sitemaps {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 10px;
    margin-top: 40px;
  }
  .footer__sitemaps-title {
    grid-column: 1 / 3;
    padding-bottom: 13px;
  }
  .footer__sitemap-head {
    font-size: 16px;
  }
  .footer__sitemap-list {
    font-size: 14px;
    gap: 8px;
    margin-top: 12px;
  }
}
