@charset "UTF-8";
html {
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

a[href^="tel:"] {
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  a[href^="tel:"] {
    pointer-events: auto;
  }
}

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

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

/* Remove default padding */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul,
ol {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
  width: 100%;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  filter: blur(10px);
}

/* フォームリセット */
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

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

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

select::-ms-expand {
  display: none;
}

.header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background-color: transparent;
}

.header__inner {
  height: inherit;
  padding-left: 22px;
  display: flex;
  justify-content: space-between;
}

.header__logo {
  height: inherit;
  display: flex;
  align-items: center;
}

.header__name {
  width: 171px;
}
@media screen and (max-width: 768px) {
  .header__name {
    width: 132px;
  }
}

.header__nav {
  height: inherit;
}

.header__list {
  display: flex;
  height: inherit;
  align-items: center;
}

.header__item:not(:first-child) {
  margin-left: 70px;
}

.header__item.header__item--contact {
  background-color: #F14E53;
}
.header__item.header__item--contact:hover {
  background-color: #BC353A;
}

.header__link {
  padding: 24px 0 28px;
  display: block;
  height: inherit;
  color: #141414;
  text-transform: capitalize;
  font-family: "Roboto", sans-serif;
}

.header__item.header__item--contact .header__link {
  padding-left: 28px;
  padding-right: 28px;
  color: #fff;
}

.hamburger {
  position: fixed;
  z-index: 9999;
  width: 25px;
  height: 16px;
  cursor: pointer;
  top: 30px;
  right: 15px;
}

.hamburger span {
  position: absolute;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 2px;
  background-color: #141414;
  transition: transform 0.3s;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 8px;
  transition: opacity 0.3s;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

.hamburger.is-active {
  right: 20px;
}

.hamburger.is-active span:nth-child(1) {
  top: 15px;
  transform: rotate(-45deg);
  background-color: #fff;
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  top: 15px;
  transform: rotate(45deg);
  background-color: #fff;
}

.drawer-menu {
  position: absolute;
  z-index: 5000;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100vh;
  background-color: #202F43;
}

.drawer-menu__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: inherit;
}

.drawer-menu__items {
  width: 200px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.drawer-menu__item {
  display: inline-block;
  border-bottom: solid 1px #868686;
  width: 100%;
  text-align: center;
  padding-bottom: 25px;
}

.drawer-menu__item:not(:first-child) {
  margin-top: 25px;
}

.drawer-menu__item.drawer-menu__item--red {
  background-color: #F14E53;
  padding-top: 15px;
  padding-bottom: 16px;
}
.drawer-menu__item.drawer-menu__item--red:hover {
  background-color: #BC353A;
}

.drawer-menu__link {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  text-transform: capitalize;
}

.mv {
  width: 100%;
  height: 100vh;
}

.mv__inner {
  position: relative;
  width: 100%;
  height: inherit;
}

.mv__slider,
.swiper-slide picture,
.swiper-slide img {
  height: inherit;
}

.swiper-slide img {
  object-fit: cover;
}

.mv__group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  width: 100%;
}

.mv__logo {
  width: 244px;
  height: auto;
}

.mv__copy {
  font-size: 42px;
  line-height: 1.571;
  color: #fff;
  letter-spacing: 0.05em;
  margin-top: 12px;
}
@media screen and (max-width: 768px) {
  .mv__copy {
    font-size: 30px;
    text-align: center;
  }
}

.mv__text {
  font-size: 66px;
  color: #F14E53;
}
@media screen and (max-width: 768px) {
  .mv__text {
    font-size: 36px;
  }
}

.mv__text.mv__text--green {
  color: #20AAA5;
}

.about {
  width: 100%;
  margin-top: 100px;
}
@media screen and (max-width: 768px) {
  .about {
    margin-top: 88px;
  }
}

.about__inner {
  display: flex;
  align-items: flex-start;
}

.about__text-large,
.about__text {
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .about__text-large,
  .about__text {
    margin-top: 26px;
  }
}

.about__image {
  margin-left: 29px;
  width: 44.7%;
  aspect-ratio: 460/320;
}
@media screen and (max-width: 768px) {
  .about__image {
    margin-left: 0;
  }
}

.service {
  margin-top: 100px;
  background-color: #F7F7F7;
  padding-top: 100px;
  padding-bottom: 100px;
}

.service__inner {
  max-width: 850px;
  width: 100%;
  padding-right: 25px;
  padding-left: 25px;
  margin-inline: auto;
  /* これが要：この箱の“横幅”で @container が効くようにする */
  container-type: inline-size;
}
@media screen and (max-width: 768px) {
  .service__inner {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.service__contents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 0;
  margin-top: 50px;
}

/* 親が 800px 未満（=2列作れず1列になる）になったら入れ替え */
@container (max-width: 799px) {
  .service__contents {
    grid-template-columns: 1fr;
  }
  /* 保険で明示 */
  .service__content {
    grid-column: 1;
  }
  /* 念のため1列目固定 */
  .service__content:nth-child(3) {
    grid-row: 4;
  }
  .service__content:nth-child(4) {
    grid-row: 3;
  }
}
.content {
  aspect-ratio: 1/1;
  width: 100%;
  background-color: #F14E53;
}

.content--green {
  background-color: #20AAA5;
}

.content__image {
  width: 100%;
  height: 100%;
}

.content__inner {
  padding: 86px 88px;
  /* これ大事：パディングで高さが増えない */
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  position: relative;
}
@media screen and (max-width: 768px) {
  .content__inner {
    padding: 68px 26px;
  }
}

.content__inner::before {
  position: absolute;
  content: "";
  top: 5px;
  right: 5px;
  bottom: 5px;
  left: 5px;
  border: 2px solid #fff;
  pointer-events: none;
}

.content__text.content__text--large {
  letter-spacing: 0.03em;
  font-size: 24px;
  margin-bottom: 31px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .content__text.content__text--large {
    font-size: 20px;
    margin-bottom: 35px;
  }
}

.content__text {
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.867;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .content__text {
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 2.143;
  }
}

.news {
  margin-top: 100px;
}

.news__items {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  column-gap: 35px;
  row-gap: 30px;
}
@media screen and (max-width: 768px) {
  .news__items {
    margin-top: 40px;
  }
}

.card {
  box-shadow: 2px 2px 4px rgba(134, 134, 134, 0.16);
}

.card__img {
  aspect-ratio: 320/200;
}

.card__body {
  padding: 16px 16px;
  background-color: #fff;
}

.card__time {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #868686;
}

.card__text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.857;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.faq {
  margin-top: 160px;
  padding-top: 100px;
  background-color: #F7F7F7;
}
@media screen and (max-width: 768px) {
  .faq {
    margin-top: 100px;
  }
}

.faq__inner {
  max-width: 850px;
  width: 100%;
  padding-right: 25px;
  padding-left: 25px;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .faq__inner {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.faq__contents {
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .faq__contents {
    margin-top: 40px;
  }
}

.faq__content:not(:first-child) {
  margin-top: 10px;
}

.faq__question {
  background-color: #155B98;
  cursor: pointer;
}

.faq__question-inner {
  padding: 21px 60px 24px 20px;
}

.faq__question-text {
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #fff;
  position: relative;
}

.faq__question-text::before,
.faq__question-text::after {
  position: absolute;
  top: 50%;
  right: -38px;
  content: "";
  width: 18px;
  height: 2px;
  background-color: #fff;
}

.faq__question-text::after {
  transform: rotate(90deg);
  transition: 0.3s transform, 0.3s opacity;
}

.faq__question-text.is-active::after {
  transform: rotate(180deg);
  opacity: 0;
}

.faq__answer {
  padding: 20px;
  font-size: 15px;
  color: #141414;
  letter-spacing: 0.05em;
  line-height: 1.866;
  display: none;
}

.faq__answer.is-active {
  display: block;
}

.faq__answer-inner {
  padding-left: 1em;
  text-indent: -1em;
}

.faq__image {
  background-image: url(../images/faq.jpg);
  background-size: cover;
  height: 480px;
  margin-top: 100px;
  background-size: cover;
  background-position: center;
}

.contact {
  margin-top: 100px;
  padding-bottom: 100px;
}

.contact__inner {
  max-width: 650px;
  width: 100%;
  padding-right: 25px;
  padding-left: 25px;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .contact__inner {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.contact__body {
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .contact__body {
    margin-top: 53px;
  }
}

.contact__item {
  margin-top: 22px;
}
@media screen and (max-width: 768px) {
  .contact__item {
    margin-top: 26px;
  }
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: 9px 10px 13px 10px;
  color: #868686;
  font-size: 15px;
  background-color: #F7F7F7;
  margin-top: 3px;
}
@media screen and (max-width: 768px) {
  .contact__input,
  .contact__textarea {
    margin-top: 5px;
    font-size: 14px;
  }
}

.contact__input {
  height: 40px;
}

.contact__textarea {
  height: 171px;
  resize: none;
}

.contact__button-wrapper {
  margin-top: 50px;
}

.contact__button {
  margin-inline: auto;
}

.footer {
  background-color: #155B98;
  color: #fff;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__copyright {
  font-family: "Roboto", sans-serif;
}

.inner {
  max-width: 1080px;
  width: 100%;
  padding-right: 25px;
  padding-left: 25px;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .inner {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.title__main {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #141414;
  text-transform: capitalize;
  font-family: "Roboto", sans-serif;
}

.title__main.title__main--center {
  text-align: center;
}

.title__sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #F14E53;
  margin-top: 2px;
}
@media screen and (max-width: 768px) {
  .title__sub {
    font-size: 10px;
    margin-top: 4px;
  }
}

.title__sub.title__sub--center {
  text-align: center;
}

.text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8667;
  letter-spacing: 0.05em;
  color: #141414;
}
@media screen and (max-width: 768px) {
  .text {
    font-size: 14px;
    line-height: 2.143;
  }
}

.text--white {
  color: #fff;
}

.text--large {
  font-size: 24px;
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .text--large {
    font-size: 20px;
    line-height: 1.9;
  }
}

.button {
  font-size: 20px;
  text-align: center;
  display: block;
  width: 235px;
  background-color: #F14E53;
  color: #fff;
  padding: 15px 12px;
}

.button:hover {
  background-color: #BC353A;
}

@media screen and (max-width: 768px) {
  .md-none {
    display: none;
  }
}

.md-show {
  display: none;
}
@media screen and (max-width: 768px) {
  .md-show {
    display: block;
  }
}/*# sourceMappingURL=style.css.map */