@charset "UTF-8";

/*
  Reset
-----------------------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
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 {
  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-collapse: collapse;
  border-spacing: 0;
}

input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
}

/*
  Base
-----------------------------------------------------*/
*,
:before,
:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  height: 100%;
  color: #263238;
  text-rendering: optimizeLegibility;
  font: 1em/1.5 "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  -webkit-font-feature-settings: 'palt';
  font-feature-settings: 'palt';
}

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

a {
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.image__container {
  display: block;
}

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

.l-wrapper {
  overflow: hidden;
  margin: 0 auto;
  width: 90%;
}

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

.l-container {
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
}

/* =====================================================
 Componet
===================================================== */
/*
  Button
*/
.c-button {
  display: inline-block;
  border: 0;
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/*================================================
Project
================================================*/
/*
 Simulation
----------------------------------------------- */

.p-simulation {
  background-image: url(../images/bg-simulation.jpg);
  background-repeat: repeat-y;
  background-size: contain;
  background-position: center center;
}

.p-simulation__head {
  display: flex;
  flex-direction: column-reverse;
}

.p-simulation__title {
  margin-bottom: .75rem;
  font-size: 1.25rem;
  color: #4E3B30;
  text-align: center;
  font-weight: bold;
}

.p-simulation__start {
  position: relative;
  padding: .25rem;
  background-color: #8CB9DA;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

.p-simulation__start::before {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  border-top: 1rem solid #8CB9DA;
  border-left: 1rem solid transparent;
  border-right: 1rem solid transparent;
}

.p-simulation__lead {
  padding: .375rem 1rem;
  background: rgb(0,109,185);
  background: linear-gradient(90deg, rgba(0,109,185,1) 0%, rgba(0,109,185,0.13489145658263302) 100%);
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #fff;
}

.p-simulation__button {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-simulation__title {
    margin-bottom: 1rem;
    font-size: 1.75rem;
  }

  .p-simulation__start {
    padding: .75rem;
    margin-bottom: 2rem;
    font-size: 1.75rem;
  }

  .p-simulation__start::before {
    bottom: -1.5rem;
    width: 3rem;
    border-top: 1.5rem solid #8CB9DA;
    border-left: 1.5rem solid transparent;
    border-right: 1.5rem solid transparent;
  }

  .p-simulation__lead {
    padding: .75rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.425rem;
  }
}

.p-simulation__triangle {
  position: relative;
  z-index: 12;
  padding: 0.5rem 0 1.5rem;
  margin: 1.5rem 0;
  font-size: 1rem;
  line-height: 1.0;
  text-align: center;
  color: #fff;
  font-weight: bold;
}

.p-simulation__triangle::before {
  position: absolute;
  z-index: -1;
  content:"";
  top: 0;
  left: 0;
  border-top: 3.5rem solid #DFB3D3;
  border-left: 50vw solid transparent;
  border-right: 50vw solid transparent;
}


@media screen and (min-width: 768px) {
  .p-simulation__triangle {
    position: relative;
    padding: 1rem 0 2rem;
    margin: 2rem 0;
    font-size: 1.5rem;
  }

  .p-simulation__triangle::before {
    border-top: 5rem solid #DFB3D3;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
  }
}

@media screen and (min-width: 1000px) {
  .p-simulation__triangle::before {
    border-left: 500px solid transparent;
    border-right: 500px solid transparent;
  }
}

.p-simulation__end {
  padding: 1rem;
  font-size: 1.25rem;
  text-align: center;
  color: #5F5E5E;
}

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

/*
 UserInput
----------------------------------------------- */
.p-userInput {
  margin-bottom: .75rem;
}
.p-userInput__q {
  font-size: 1rem;
  margin-bottom: .25rem;
}

.p-userInput__q, .p-userInput__box {
  padding: .125rem 0;
}

.p-userInput__select {
  padding: .25rem;
  font-size: .925rem;
  border: 1px solid #212121;
}

.p-button {
  padding: .5rem 1rem;
  border-radius: .5rem;
  background-color: #228bc8;
  font-size: .925rem;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .p-userInput {
    margin-bottom: 1rem;
  }
  .p-userInput__q {
    margin-bottom: .5rem;
    font-size: 1.5rem;
  }

  .p-userInput__q, .p-userInput__box {
    padding: .25rem 0;
  }

  .p-userInput__select {
    padding: .375rem;
    font-size: 1.375rem;
  }

  .p-button {
    padding: 1rem 1.125rem;
    border-radius: .5rem;
    font-size: 1.5rem;
  }
}

/*
 Result
----------------------------------------------- */
.p-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.p-result.-total {
  width: 17.5rem;
  padding: .375rem .75rem;
  background-color: #F4D16E;
  font-size: 1.25rem;
  font-weight: bold;
  color: #685744;
}

.p-result.-detail {
  width: 17.5rem;
  padding: .25rem .5em;
  font-size: .875rem;
  font-weight: bold;
}

.p-result.-gunkin {
  position: relative;
  width: 17.5rem;
  padding: .375rem .75rem;
  margin-bottom: 4.5rem;
  background-color: #d1d1d1;
  font-size: 1.25rem;
  font-weight: bold;
  color: #685744;
}

.p-result.-gunkin::before {
  content: "";
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  border-top: 1.5rem solid #8CB9DA;
  border-left: 4rem solid transparent;
  border-right: 4rem solid transparent;
}

.p-result.-tumitate {
  font-size: 1rem;
  font-weight: bold;
}

.p-result.-tumitate dt {
  font-size: 1.125rem;

}

.p-result__list {
  position: relative;
  padding-bottom: .75rem;
  margin-bottom: 1.25rem;
}

.p-result__list::before {
  position: absolute;
  content: "";
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) ;
  width: 75%;
  height: 2px;
  background-color: #5F5E5E;
}



.p-result__lead {
  margin-bottom: .5rem;
  text-align: center;
  font-size: 1rem;
}

.p-result__space {
  display: inline-block;
  min-width: 3.5rem;
  height: 100%;
  text-align: right;
}


.p-result__container {
  max-width: 400px;
  margin: 0 auto;
  padding: .25rem;
}

.p-result__meta {
  font-size: .825rem;
  font-weight: bold;
}

.p-result__meta em {
  color: red;
}

@media screen and (min-width: 768px) {
  .p-result.-total {
    width: 26rem;
    padding: .5rem 1rem;
    font-size: 1.5rem;
  }

  .p-result.-detail {
    width: 26rem;
    padding: .5rem 1em;
    font-size: 1.125rem;
  }

  .p-result.-gunkin {
    width: 26rem;
    padding: .5rem 1rem;
    margin-bottom: 6rem;
    font-size: 1.5rem;
  }

  .p-result.-gunkin::before {
    bottom: -4rem;
    width: 10rem;
    border-top: 2.5rem solid #8CB9DA;
    border-left: 5rem solid transparent;
    border-right: 5rem solid transparent;
  }

  .p-result.-tumitate {
    font-size: 1.375rem;
    font-weight: bold;
  }

  .p-result.-tumitate dt {
    font-size: 1.375rem;

  }

  .p-result__list {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
  }

  .p-result__list::before {
    width: 75%;
    height: 2px;
  }

  .p-result__lead {
    margin-bottom: .75rem;
    font-size: 1.25rem;
  }

  .p-result__space {
    min-width: 5rem;
  }


  .p-result__container {
    max-width: 400px;
    margin: 0 auto;
    padding: .25rem;
  }

  .p-result__meta {
    font-size: 1rem;
  }

}

/*
 QA
----------------------------------------------- */
.p-qa {
  background-image: url(../images/bg-qa.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.p-qa__heading {
  position: relative;
  background: rgb(140,185,218);
  background: linear-gradient(90deg, rgba(140,185,218,1) 0%, rgba(148,198,230,1) 39%, rgba(83,126,166,1) 100%);
  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 #FFFFFF;
  content: "";
  opacity: 0.25;
}

.p-qa__heading::after {
  position: absolute;
  top: 0;
  right: 0%;
  bottom: 50%;
  width: 40vw;
  border-bottom: 2px solid #FFFFFF;
  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;
}

.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;
}

.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;
  }
}

/*
 Button
----------------------------------------------- */

.p-buttonSection {
  padding: 1rem;
  text-align: center;
}

.p-buttonSection.-secondary {
  background-image: url(../images/bg-button.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.p-onlineButton:hover {
  opacity: 0.5;
}


@media screen and (min-width: 768px) {
  .p-buttonSection {
    padding: 1.5rem;
  }
}

/*
 Frame
----------------------------------------------- */
.p-frame {
  position: relative;
}

.p-frame::before,
.p-frame::after {
  position: absolute;
  z-index: 10;
  content: "";
  display: block;
  width: 32px;
  height: 99%;
  background-image: url(../images/bg-frameSide.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
}

.p-frame::before {
  top: 4px;
  left: -12px;
}

.p-frame::after {
  top: 4px;
  right: -12px;
}

.p-frame__top,
.p-frame__bottom {
  position: relative;
}

.p-frame__top::before,
.p-frame__bottom::before {
  position: absolute;
  content:"";
  display: block;
  width: 100%;
  height: 16px;
  background-image: url(../images/bg-frameTop.png);
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.p-frame__top::before {
  top: -8px;
  left: 0;
}

.p-frame__bottom::before {
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 768px) {
  .p-frame::before,
  .p-frame::after {
    width: 64px;
    height: 99%;
  }

  .p-frame::before {
    top: 4px;
    left: -24px;
  }

  .p-frame::after {
    top: 4px;
    right: -24px;
  }

  .p-frame__top::before,
  .p-frame__bottom::before {
    height: 32px;
  }

  .p-frame__top::before {
    top: -16px;
    left: 0;
  }
}

/*
 Footer
----------------------------------------------- */
.p-footer {
  padding: .75rem;
  background-color: #228bc8;
  text-align: center;
  font-size: .5rem;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .p-footer {
    padding: 1.25rem;
    font-size: 1rem;
  }
}
/*================================================
Utility
================================================*/
/*
 Theme
----------------------------------------------- */
.u-fontgray {
  color: #5F5E5E;
}
/*
 Accesibility
----------------------------------------------- */
.screen-reader-text {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
}
