@charset 'UTF-8';

/*================================================
Foundation
================================================*/
/*
 Reset
----------------------------------------------- */
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,
button,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  font-size: 100%;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}

/*
 Default Style
----------------------------------------------- */
html {
  box-sizing: border-box;
  height: 100%;
  font-size: medium;
  font-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
}

html *,
html *:before,
html *:after {
  box-sizing: inherit;
}

body {
  height: 100%;
  color: #212121;
  line-height: 1.5;
}

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

.image__container {
  display: block;
}

@media screen and (min-width: 1921px) {
  .image__container img {
    max-width: none;
    width: 100%;
    object-fit: cover;
  }
}

/*================================================
Layout
================================================*/
/*
 Centering
----------------------------------------------- */

.l-wrapper {
  overflow: hidden;
  margin: 0 auto;
  max-width: 1920px;
  width: 95%;
}

.l-wrapper.-fullwidth {
  width: 100%;
}

/*
 Section
----------------------------------------------- */
.l-section__button {
  padding: .75rem 0;
  position: relative;
}

.l-section__button.-secondary {
  padding: 1em 0 1.5em;
}


@media screen and (min-width: 768px) {
  .l-section__button {
    padding: 1.5rem 0;
  }

  .l-section__button.-secondary {
    padding: 2em 0 3em;
  }
}

@media screen and (min-width: 1000px) {
  .l-section__button {
    padding: 2rem 0 3rem;
  }

  .l-section__button.-secondary {
    padding: 4em 0 6em;
  }
}



.l-container__button {
  width: 85%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 1em 0 1.5em;
}

@media screen and (min-width: 768px) {
  .l-container__button {
    padding: 1.5em 0 3em;
  }
}

@media screen and (min-width: 1000px) {
  .l-container__button {
    padding: 2.5em 0 5em;
  }
}

/*================================================
Object
================================================*/
/*
 grid
----------------------------------------------- */
.c-grid {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

.c-grid.-sp2s8 {
  margin: -4px;
}

.c-grid__item.-sp1 {
  width: 100%;
}

.c-grid.-sp2s8 {
  width: calc(100% / 2 - 8px);
  margin: 4px;
}

@media screen and (min-width: 768px) {
  .c-grid.-tab2s16,
  .c-grid.-tab3s16 {
    margin: -8px;
  }

  .c-grid.-tab2s16 {
    width: calc(100% / 2 - 16px);
    margin: 8px;
  }

  .c-grid__item.-tab3s16 {
    width: calc(100% / 3 - 16px);
    margin: 8px;
  }
}

@media screen and (min-width: 1200px) {
  .c-grid.-pc2s16,
  .c-grid.-pc3s16 {
    margin: -8px;
  }

  .c-grid__item.-pc2s16 {
    width: calc(100% / 2 - 16px);
    margin: 8px;
  }

  .c-grid__item.-pc3s16 {
    width: calc(100% / 3 - 16px);
    margin: 8px;
  }
}

/*
 Card
----------------------------------------------- */
.c-card {
  display: block;
  text-decoration: none;
}

.c-card__head {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  flex-direction: column-reverse;
}

/*
 Media
----------------------------------------------- */
.c-media {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.c-media__body {
  float: right;
}

.c-media__thumbnail {
  float: left;
}
/*
 button
----------------------------------------------- */
.c-button {
  position: relative;
  display: block;
  outline: none;
  border: 0;
  background-color: transparent;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/*
 Youtube
----------------------------------------------- */
.c-youtube {
  width: 100%;
  height: 0;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}

.c-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/*================================================
Project
================================================*/
.p-biginer {
  padding: 1.5em 0 .75em;
}

.p-oldage {
  margin-bottom: .25em;;
}



/*
 Button
----------------------------------------------- */
.p-button {
  width: 80%;
  margin: 0 auto;
}

.p-button__ideco, .p-button__insurance {
  width: 46%;
}

/*
 QA
----------------------------------------------- */
.p-qa {
  background-color: rgba(165,186,186,0.3)
}

.p-qa__heading {
  position: relative;
  background-color: #1B6F71;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  padding: .75rem 0;
  font-weight: bold;
}

.p-qa__heading::before {
  position: absolute;
  top: 0;
  left: 0%;
  bottom: 50%;
  width: 40vw;
  border-bottom: 2px solid #009389;
  content: "";
  opacity: 0.25;
}

.p-qa__heading::after {
  position: absolute;
  top: 0;
  right: 0%;
  bottom: 50%;
  width: 40vw;
  border-bottom: 2px solid #009389;
  content: "";
  opacity: 0.25;
}

.p-qa__innner {
  padding: .825rem 0 3rem;
}

.p-qa__container + .p-qa__container {
  margin-top: .625rem;
}

.p-qa__q {
  position: relative;
  background-color: transparent;
  color: #212121;
  padding: 1rem .5rem 1rem 4rem;
  font-size: .825rem;
  text-align: center;
}

.p-qa__q::before {
  position: absolute;
  top: .25rem;
  bottom: 0;
  left: .5rem;
  display: block;
  width: 2.5rem;
  content: "";
  background-image: url(../images/img_q.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.p-qa__a {
  position: relative;
  background-color: #fff;
  color: #212121;
  padding: 1rem 1rem 1rem 4rem;
  font-size: .75rem;
  text-align: center;
}

.p-qa__a::before {
  position: absolute;
  top: .75rem;
  bottom: 0;
  left: .75rem;
  display: block;
  width: 2rem;
  content: "";
  background-image: url(../images/img_a.png);
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (min-width: 768px) {
  .p-qa__heading {
    font-size: 1.75rem;
    padding: 1rem 0;
  }

  .p-qa__innner {
    padding: 1rem 0 4rem;
  }

  .p-qa__container + .p-qa__container {
    margin-top: 0.5rem;
  }

  .p-qa__q {
    font-size: 1.125rem;
    padding: 2rem .5rem 2rem 6rem;
   }

  .p-qa__q::before {
    top: 1rem;
    left: 1.25rem;
    width: 4rem;
  }

  .p-qa__a {
    padding: 2rem 1rem 2rem 8rem;
    font-size: 1rem;
  }

  .p-qa__a::before {
    top: 1.25rem;
    bottom: 0;
    left: 1.75rem;
    width: 3rem;
  }

}

@media screen and (min-width: 1000px) {
  .p-qa__heading {
    font-size: 2.5rem;
    padding: 1rem 0;
  }

  .p-qa__innner {
    padding: 2rem 0 6rem;
  }

  .p-qa__container + .p-qa__container {
    margin-top: 1rem;
  }

  .p-qa__q {
    font-size: 1.75rem;
    padding: 2rem .5rem 3rem 8rem;
  }

  .p-qa__q::before {
    top: 1rem;
    left: 1.25rem;
    width: 5rem;
  }

  .p-qa__a {
    padding: 2rem 1rem 2rem 8rem;
    font-size: 1.5rem;
  }

  .p-qa__a::before {
    top: 1.25rem;
    bottom: 0;
    left: 1.75rem;
    width: 3.5rem;
  }

}


/*================================================
Utility
================================================*/
/*
 Theme
----------------------------------------------- */

/*
 Accesibility
----------------------------------------------- */
.screen-reader-text {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
}
