/************************************************************
* 覆蓋 Bootstrap 預設樣式
************************************************************/
:root {
  --primary:rgb(156, 114, 0);
  --primary-darken: #0a204b;
  --primary-lighten: #fff2b8;
  --primary-normal-font: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    "A-OTF 新ゴ Pro", "A-OTF Shin Go Pro", Osaka, "ＭＳ Ｐゴシック",
    "MS PGothic", sans-serif;
  --primary-bold-font: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    "A-OTF 新ゴ Pro", "A-OTF Shin Go Pro", Osaka, "ＭＳ Ｐゴシック",
    "MS PGothic", sans-serif;
}

::selection {
  background-color: var(--primary-lighten);
}

.text-primary {
    color: var(--primary) !important;
}

.text-primary-darken {
    color: var(--primary-darken) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-primary-gradient {
  background: linear-gradient(
    90deg,
    var(--primary-darken),
    var(--primary),
    var(--primary-darken)
  );
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-lighten),
    var(--primary)
  );
}

hr {
  margin-top: 0rem;
}

/************************************************************
* 自定樣式
************************************************************/
html,
body {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "A-OTF 新ゴ Pro", "A-OTF Shin Go Pro", Osaka,
    "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  /*font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', sans-serif;*/
  -webkit-font-smoothing: antialiased;
  background-color: #f1efea;
}

#wrapper {
  text-align: center;
  margin: 0 auto;
  max-width: 980px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}


header {
	background:#f2f6f6;
}

header .container {
	background: url(../images/header-image-pc.webp) no-repeat;
	background-size: 40%;
	max-width: 1200px;
}


.container {
	max-width: 870px; 
	padding:0;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
}

h1{
  font-size: 2.2rem;
  letter-spacing: -0.1rem;
  line-height: 1.4;
  text-align: center!important;
  color:var(--primary-darken);
}

h1{  line-height: 1.4;}


h2 {
  text-align: center;
  margin:0 auto 2rem auto;
  font-size: 1.8rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}


h4{
  font-size: 1.5rem;
  line-height: 1.2;
  text-align: center!important;
  color:var(--primary-darken);
}

h5 {
  font-size: 1.3rem;
}

h6 {
  font-size: 1.9rem;
  margin: 0;
}

  .text-xl {
    font-size: 160%;
  }

p {
  font-size: 1.2rem;
  line-height: 1.8;
  font-weight: normal;
  margin-bottom: 2rem;
}

p:last-child {
  margin-bottom: 0;
}

li {
  font-weight: bold;
}

.emp {
  color: var(--primary) !important;
  font-size: 120%;
}



strong,
.strong {
  font-family: var(--primary-bold-font);
}

p {
  font-weight: normal;
  margin-bottom: 1.7rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: #999;
  text-decoration: underline;
}

ul {
  list-style: none;
  margin: 0;
}

li {
  position: relative;
  margin-top: 0.8rem;
  font-size: 1.2rem;
}

.under {
  text-decoration: underline;
}

li:first-child {
  margin-top: 0;
}

.bold{font-weight:bold;}

.text-s {
  font-size: 90%;
}
.text-m {
  font-size: 130%;
}
.text-l {
  font-size: 120%;
}

.text-red {
  color: #dc3545;
  font-weight: 900;
}
.text-blue {
  color: var(--primary-darken);
  font-weight: 900;
}

.text-yw {
  background-color: #fff2b8;
  color:var(--primary-darken);
  font-weight:bold;
}

.text-gold {
  color: var(--primary);
  font-weight: 900;
}

.text-gray {
  color: #999;
  font-weight: 900;
}

.form-box{background: #0a204b url(../images/form-bg.webp) repeat-y center top; 
  background-size: cover;
  padding:2rem;}

.form-inner{max-width:900px; margin:0 auto; padding:2rem;}

.form-control {max-width:620px; text-align: left; margin:0 auto; height:80px; font-size:1.5rem; font-weight:bold;}


.bg-alt {
  background: #f6f7fb;
}

.bg-lightyellow {
  background: #f2f6f6;
}

.bg-white {
  background-color: #fff;
}

.voice .container{padding:2rem 6rem 1rem 6rem!important; max-width:none;}

.voice-box{background:#f2f1e9 url(../images/header-bg-pc.webp);}

.check-circle li{padding-top:0.4rem;}

.check-circle li::before {
  position: absolute;
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-size: 1.25rem;
  font-weight: 900;
  left: -2rem;
  top: 6px;
  color: var(--primary);
}

.check-square {font-size: 1rem;}

.check-square li::before {
    position: absolute;
    content: '\f14a';
    font-family: 'Font Awesome 5 Free';
    font-size: 1rem;
    font-weight: 900;
    left: -1rem;
    top: 0rem;
    color: var(--primary);
}

.lined-text span {
  display: block;
  border-bottom: 1px dotted #a1a1a1; 
  padding-bottom: 6px; 
  line-height: 2; 
}

.shadow {
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.06);
}


/************************************************************/
.box {
  margin-top: 30px;
  position: relative;
  padding-bottom: 60px;
}

.warning{margin-top:1rem!important; padding:1rem; border:1px solid #c3c3c3; margin:auto; max-width:630px; font-size:90%; line-height:1.2; 
  text-align: left;}


.nayami .box .box-design span {
  display: inline-block;
  padding: 0 40px;
}

.speaker .box .box-design span {
  display: inline-block;
  background: #f5f1f1;
  padding: 0 30px;
}

.nayami .box .box-design {
  position: absolute;
  top: -20px;
  left: 0;
}

.speaker .box .box-design {
  position: absolute;
  top: -30px;
  left: 0;
}

.nayami .box {
  text-align: left;
  background: none;
  color: #000000;
  padding: 20px 2% 30px;
}



.reason-box {border:#292d40 1px solid; padding-right:2rem;}
.reason-box p{line-height:1.6;}

.thanks {
    background: #f2f1e9 url(../images/header-bg-pc.webp) repeat-y center top;
  text-align: center;
  border: none;
}

.thanks .container{max-width:790px!important;}

.content02 {
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
    font-size: 18pt;
}

.speaker {
  border-radius: 15px;
}

.serif {font-family: "Noto Serif JP"!important; font-weight:bold;}


footer {
  padding: 2% 0;
  background: #0a204b; 
  color: #999;
  text-align: center;
}

footer p {
  font-weight: 400;
  font-size: 16px;
}

footer p:last-child {
  margin: 0px;
}



/************************************************************
* Bootstrap Small
************************************************************/

@media (max-width: 1100px) {
header .container {
	background-size: 32%;
}
}

@media (max-width:980px) {
	header .container {
		background-size: 27%;
	}
	}

@media (max-width:880px) {
	header .container {
		background-size: 20%;
	}
	}	
@media (min-width: 769px) and (max-width: 990px) {
  .reason-box .media {
    flex-direction: column !important;
  }

  .reason-box .d-md-block {
    display: none !important;
  }
  .reason-box .d-md-none {
    display: block !important;
  }

  .reason-box{border:none; padding:1rem 0 0 0;}

}


@media (max-width: 767.98px) {
  body {
    font-size: 0.95rem;
  }


	header .container {
		background: none;
	}

  .img-mobile {
    width: 70%;
    height: 70%;
  }

  p {
    font-size: 1.1rem;
    padding: 0;
    margin-bottom: 1.6rem;
  }

  h1{
    font-size: 1.5rem;
    line-height: 1.3;
      letter-spacing: -0.1rem;
  }


  .emp {
    font-size: 115%;
  }

  h2 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1.5rem;
    line-height: 0.8;
  }

  h5 {
    font-size: 1.1rem;
  }

  .text-s {
    font-size: 55%;
  }

  .text-l {
    font-size: 130%;
  }

    .text-xl {
    font-size: 130%;
  }


  ul {
    max-width: 650px;
    font-weight: 900;
    margin-bottom: 0;
  }

  li {
    margin-top: 0.75rem;
    font-size: 1rem;
  }

  .check-circle {
    line-height: 1.3;
  }

  .check-circle li::before {
    font-size: 1.25rem;
    left: -2rem;
    top: 6px;
  }

  .container {
    padding: 0 1rem;
  }

.thanks .container{padding:0;}

.content02{font-size:13pt;}


 .voice .container{padding:1rem 1rem 0.5rem 1rem!important;}

  .voice-box{background:#f2f1e9 url(../images/header-bg-pc.webp);}

	.check-square {
		font-size: 0.8rem;
		padding-left:0.5rem;
	}

	ul.check-square li::before {
		left: -1.3rem;
    top:0.2rem;
		font-size: 0.8rem;
	}

  .form-control {
    max-width: 770px;
    text-align: center;
    height: 70px;
    font-size: 110%;
    font-weight: bold;
  }

  .form-box{background: #0a204b url(../images/form-bg.webp) repeat-y center top; 
  background-size: cover; padding:1rem;}
  
  .form-inner{max-width:700px; margin:0 auto; padding:1rem;}

  .warning{padding:1rem; margin:auto; text-align:left; font-size:70%; line-height:1.2;}


  .nayami .box {
    margin-top: 0px;
    padding: 0;
    border-bottom: none;
  }

  .nayami .box .box-design span {
    padding: 0 20px;
  }

  .nayami .box .box-design {
    font-size: 1.5rem;
  }

  .reason-box {border:#dcd5c9 1px solid; padding-right:0; text-align: center; }
  .reason-box p{line-height:1.5!important; }

  .thanks{background: #fff4e0;}

  footer {
    padding-top: 7%;
    padding-bottom: 7%;
  }
  
  footer p {
    font-size: 18px;
  }
}
