/*
* Theme Name: toshin.com
* Theme URI: https://www.toshin.com
* Description: toshin.comで共通で使うスタイル
* Created Date: 2018.02.28
* Update Date:
*/

/*====================================

----------------------------------
Color
----------------------------------

primary  : #009380


----------------------------------
Font
----------------------------------

Mac:Hiragino Sans
Win:;YuGothi

====================================*/

body {
  font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic';
  /* 標準のフォントサイズを 1.6rem=16pxに設定
  font-size: 1.6rem;
  letter-spacing: .05em; */
  color: #333;
}

/* 追記 */

body {
  height: 100%;
  margin: 0;
  /* font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic';
    font-size: 1.6rem;
    letter-spacing: .05em; */
  /* margin-right: auto; */
  text-align: center;
}

.page_container {
  margin: 0 auto;
}

/* .circle1 {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    background-color: #88C4FF;
    z-index: 1;
    color: #fff;
    line-height: 2.2;
} */

/* 追記ここまで */

/*------------------------------------
  ttl
------------------------------------*/

.ttl-primary {
  text-align: center;
  font-size: 3.6rem;
}

.ttl-primary .sub_ttl {
  display: block;
  font-size: 2.4rem;
  margin-top: .5em;
}

.ttl-secondary {
  font-size: 2.4rem;
}

.ttl-tertiary {
  font-size: 1.8rem;
}

p {
  margin: 0;
  padding: 0;
}

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

.btn-basic {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 20px;
  padding: .5em 1em;
  transition: none;
  text-align: center;
  color: #fff;
  border-radius: 4px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
  font-weight: bold;
}

.fa-angle-right {
  line-height: 1.5;
  float: right;
}

/* btn-basicApplication-type01 */

.btn-basicApplication-type01 {
  border: 1px solid #cc1338;
  background-color: #dc143c;
  background-image: linear-gradient(to bottom, #dc143c, #cc1338);
}

.btn-basicApplication-type01:hover {
  border: 1px solid #bd1134;
  background-color: #ad102f;
  background-image: linear-gradient(to bottom, #cc1338, #ad102f);
}

/* btn-basicRequest-type01 */

.btn-basicRequest-type01 {
  border: 1px solid #009380;
  background-color: #008271;
  background-image: linear-gradient(to bottom, #009380, #008271);
}

.btn-basicRequest-type01:hover {
  border: 1px solid #008271;
  background-color: #008271;
  background-image: linear-gradient(to bottom, #008271, #008271);
}

/* btn-basicMeeting--type01 */

.btn-basicMeeting--type01 {
  border: 1px solid #002d71;
  background-color: #0041a4;
  background-image: linear-gradient(to bottom, #0041a4, #002d71);
}

.btn-basicMeeting--type01:hover {
  border: 1px solid #0041a4;
  background-color: #00193e;
  background-image: linear-gradient(to bottom, #0041a4, #00193e);
}

.btn-row-three .btn-basic {
  font-size: 2.0rem;
}

.btn-wide .btn-basic {
  width: 50%;
  margin: 0 auto calc(40px + 50px) auto;
}

.btn-bottom-wrap {
  padding: 20px 20px 10px;
  background-color: #f5f5f5;
}

.btn-bottom-wrap h3 {
  text-align: center;
  border-bottom: none;
}

/*------------------------------------
  Box
------------------------------------*/

.box-card {
  background-color: #f5f5f5;
  border: solid 1px #ccc;
  padding: 25px;
}

.box-card p:last-child {
  margin-bottom: 0;
}

/*------------------------------------
  banner:common;
------------------------------------*/

.banner-area {
  width: 780px;
  margin: 0px auto 40px;
}

/*------------------------------------
  SNS:common;
------------------------------------*/

.sns-item {
  display: flex;
  margin-top: calc(40px + 40px);
  justify-content: center;
}

.sns-share {
  font-family: fontawesome;
  line-height: 1;
  display: flex;
  width: 180px;
  height: 50px;
  margin: 0 15px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border-radius: 4px;
  background: #db6e82;
  align-items: center;
  justify-content: center;
}

.sns-share:hover {
  opacity: .7;
}

.sns-share .fab,
.sns-share .fas {
  font-size: 2.4rem;
}

.sns-share span {
  font-weight: bold;
}

.sns-share .share-ttl {
  display: block;
  font-size: 13px;
  margin-left: .5em;
  font-weight: bold;
}

.btn-sns-fb {
  background-color: #305097;
}

.btn-sns-tw {
  background-color: #00aced;
}

.btn-sns-line {
  font-size: 2rem;
  background-color: #4ad319;
}

.btn-sns-mail {
  background-color: #009380;
}

/*------------------------------------
  Fix banner
------------------------------------*/

.content-main {
  margin-bottom: 50px;
}

.fixed-banner {
  position: fixed;
  bottom: 0;
  z-index: 999;
  width: 100%;
  text-align: center;
  padding: 15px 15px;
  box-shadow: 0 2px 6px gray;
  background-color: #f5f5f5;
}

.fixed-banner .btn-basicApplication-type01 {
  width: 600px;
  margin: 0 auto;
}

/*------------------------------------
  To top
------------------------------------*/

#pageTop {
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 9999;
}

#pageTop a {
  align-items: center;
  background-color: #009380;
  border-radius: 50px;
  color: #fff;
  display: flex;
  font-weight: bold;
  height: 50px;
  justify-content: center;
  text-decoration: none;
  width: 64px;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: .7;
}

#pageTop .fas {
  font-size: 2rem;
}

.logo {
  display: block;
}

.logo img {
  width: 300px;
}

.nav-toggle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  width: 50px;
  height: 4px;
  background-color: #00469b;
}

.page-header {
  padding-top: 20px;
}

/*maincontent*/

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

.flex1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle1 {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  background-color: #88C4FF;
  z-index: 1;
  color: #fff;
  line-height: 2.2;
  font-size: 70%;
}

.circle2 {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  background-color: #FFD84D;
  z-index: 2;
  color: #fff;
  line-height: 2.2;
  margin-left: -10px;
  font-size: 70%;
}

.circle3 {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  background-color: #88C4FF;
  z-index: 3;
  color: #fff;
  line-height: 2.2;
  margin-left: -10px;
  font-size: 70%;
}

.circle4 {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  background-color: #FFD84D;
  z-index: 4;
  color: #fff;
  line-height: 2.2;
  margin-left: -10px;
  font-size: 70%;
}

.board {
  background-color: #D0AC7F;
  border-radius: 10px;
  padding: 20px;
  margin: 0 auto;
  width: 85%;
  position: relative;
  margin: 60px auto;
}

.board:before {
  position: absolute;
  content: '';
  top: -20px;
  left: 40%;
  border: none;
  background-color: #FE5E74;
  opacity: 0.8;
  width: 130px;
  padding: 20px;
  transform: rotate(0.3turn);
  transform: rotate(0.97turn);
}

.in-board {
  background-color: #fff;
  padding: 20px;
}

.in-board p {
  padding: 20px 0 10px;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}

.in-board img {
  display: block;
  margin: 0 auto;
  height: 37px;
}

#event {
  background-image: url(../img/winter_event_bg.gif);
  background-repeat: no-repeat;
  background-size: contain;
  padding-bottom: 60px;
  width: 840px;
  margin: 0 auto;
}

#event>p {
  font-size: 26px;
  font-weight: bold;
  color: #9F9F9F;
  text-align: center;
  padding-top: 40px;
}

#event p>span {
  font-size: 30px;
  font-weight: bold;
  color: #FF4B61;
}

.blue-left {
  background-color: #00508D;
  color: white;
  font-size: 28px;
  width: 140px;
  text-align: center;
  margin-right: 27px;
  border-radius: 15px;
  position: relative;
}

.blue-left:before {
  position: absolute;
  content: '';
  top: 19%;
  left: 5%;
  border: none;
  background-color: #59ADFF;
  background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, #F9F9F9), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, #F9F9F9), color-stop(.75, #F9F9F9), color-stop(.75, transparent), to(transparent));
  opacity: 0.8;
  width: 97px;
  padding: 20px;
  z-index: -1;
  border-radius: 10px;
  background-size: 7px 7px;
  background-repeat: repeat;
}

.blue-left2 {
  background-color: #00508D;
  border-radius: 15px;
  color: white;
  font-size: 20px;
  letter-spacing: -.05em;
  line-height: 1.3;
  margin-right: 27px;
  padding: 5px;
  position: relative;
  text-align: center;
  width: 140px;
}

.blue-left2:before {
  position: absolute;
  content: '';
  top: 45%;
  left: 5%;
  border: none;
  background-color: #59ADFF;
  background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, #F9F9F9), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, #F9F9F9), color-stop(.75, #F9F9F9), color-stop(.75, transparent), to(transparent));
  opacity: 0.8;
  width: 97px;
  padding: 20px;
  z-index: -1;
  border-radius: 10px;
  background-size: 7px 7px;
  background-repeat: repeat;
}

.text {
  font-weight: 600;
  font-size: 25px;
  text-align: left;
}

.text1 {
  width: 520px;
}

.left-q {
  font-size: 22px;
  font-weight: 600;
}

.text-q {
  position: relative;
}

.text-a {
  position: relative;
}

.text-q span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -60%);
  font-size: 18px;
  width: 80%;
  text-align: center;
}

.text-a span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  font-size: 19px;
  width: 85%;
}

.question-1 {
  height: 150px;
  width: 500px;
}

.answer-1 {
  width: 700px;
  margin-left: 30%;
  position: relative;
}

.answer-1:before {
  position: absolute;
  content: '';
  top: 18%;
  left: 93%;
  width: 66px;
  z-index: 5;
  padding: 100px 0;
  background-image: url(../img/person1.png);
}

.question-2 {
  height: 150px;
  width: 500px;
}

.answer-2 {
  width: 700px;
  margin-left: 30%;
  position: relative;
}

.answer-2:before {
  position: absolute;
  content: '';
  top: 47%;
  left: 85%;
  width: 130px;
  z-index: 5;
  padding: 100px 0;
  background-image: url(../img/person2.png);
}

.question-3 {
  height: 150px;
  width: 500px;
}

.answer-3 {
  width: 700px;
  margin-left: 30%;
  position: relative;
}

.answer-3:before {
  position: absolute;
  content: '';
  top: 45%;
  left: 92%;
  width: 130px;
  z-index: 5;
  padding: 100px 0;
  background-image: url(../img/person3.png);
}

.question-4 {
  height: 150px;
  width: 500px;
}

.answer-4 {
  width: 700px;
  margin-left: 30%;
  position: relative;
}

.answer-4:before {
  position: absolute;
  content: '';
  top: 51%;
  left: 68%;
  width: 280px;
  z-index: 5;
  padding: 100px 0;
  background-image: url(../img/person4.png);
}

.question-5 {
  height: 150px;
  width: 500px;
}

.answer-5 {
  width: 700px;
  margin-left: 30%;
  position: relative;
}

.answer-5:before {
  position: absolute;
  content: '';
  top: 51%;
  left: 90%;
  width: 280px;
  z-index: 5;
  padding: 100px 0;
  background-image: url(../img/person5.png);
}

.question-6 {
  height: 150px;
  width: 500px;
}

.answer-6 {
  width: 700px;
  margin-left: 30%;
  position: relative;
}

.answer-6:before {
  position: absolute;
  content: '';
  top: 51%;
  left: 90%;
  width: 280px;
  z-index: 5;
  padding: 100px 0;
  background-image: url(../img/person6.png);
}

.detail-box {
  margin: 48px;
}

.question-1 {
  text-align: center;
}

.question-2 {
  text-align: center;
}

.question-3 {
  text-align: center;
}

.question-4 {
  text-align: center;
}

.question-5 {
  text-align: center;
}

@media all and (-ms-high-contrast:none) {
  .text-a span {
    font-size: 18px;
    width: 63%;
  }

  .answer-1 span {
    font-size: 14px;
  }

  .flex {
    align-items: center;
  }

  .circle {
    line-height: 2.7;
  }
}

.btn-bottom-div {
  width: 900px;
  margin: 0 auto;
}

.btn-botom {
  text-align: left;
  font-weight: 600;
  font-size: 25px;
  margin-bottom: 30px;
  font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic';
}

.container {
  width: 1000px;
  margin: 0 auto;
}