@charset "utf-8";
/* Reset.css */
body {
  /* Safari: 勝手にフォントサイズを大きくしない */
  -webkit-text-size-adjust: 100%;
  /* Safari: ゴシック体にする */
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}
a:link, a:visited{
	text-decoration : none;
}
a:hover, a:active{
  color : #ff9800;
	text-decoration : none;
}
header, menu, article, main, h1, h2, h3, p, img, ul, li {
  margin: 0;
  padding: 0;
}
/* Reset.css ここまで */

/* 全体の設定 */
main {
  max-width: 1280px;
  display: block;
  margin: 0 auto;
}
img {
  max-width: 100%;
  height: auto;
}
:root {
  font-size: 15px;
}
/* 全体の設定 ここまで */


/* menu */
menu {
  display:flex;
  background-color: #157FC5;
  color: #fff;
  padding: 20px 40px;
}
.telephone {
  flex: 11 auto;
  font-size: 1.2em;
}
.number {
  line-height: 1em;
  font-size: 2em;
  font-weight: bold;
}
.mailbutton {
  margin-top: 1.5em;
  vertical-align: middle;
  height: 50px;
  line-height: 50px;
  font-size: 1.2em;
  padding: 0 1em;
  background-color: #ffffff;
}
.mailbutton hover {
  background-color: 000;
}

/* youtube */
.video {
  width: 100%;
  margin: 0 0 20px 0;
  text-align: center;
}
.video iframe {
  width: 700px;
  height: 394px;
}
.video p {
  margin: 10px auto 20px;
  text-align: center;
  text-justify: inter-ideograph;
}

/* section */
.section {
  margin: 20px;
}
.section h2 {
  margin-bottom: 20px;
  font-size: 2em;
  color:#ff9800;
  text-align: center;
}
.section ul {
  list-style: none;
  font-size: 1.4em;
  line-height: 2em;
  margin: 10px auto;
  max-width:600px;
}
.my-gray {
  color: #212529;
}

/*jcast*/
.jcast {
  display:flex;
  background-color: #157FC5;
  color: #fff;
  padding: 20px 40px;
  margin-bottom: 50px;
}
.jcast img {
  margin: 0 0 0 200px;
  max-width: 100%;
}
.jcast .jp {
  margin: 30px;
  font-size: 1em;
}
.jcast p {
  margin: 30px auto;
  font-size: 1em;
}
.jcast span {
  font-size: 2.5em;
}

/*content*/
.content {
  display:block;
  margin: 0 20% 50px;
}
.content_img{
  max-width: 100%;
  text-align: center;
  margin: 20px auto;
}
.content_title {
  margin: 20px auto 10px;
  font-size: 1.4em;
  font-weight:bold;
  color: #157FC5;
  text-align: justify;
  text-justify: inter-ideograph;
}
.content_inner {
  margin: 10px auto 20px;
  text-align: justify;
  text-justify: inter-ideograph;
}
hr.linestyle {
  border-top: 1px dashed #8c8b8b;
}
.content ul {
  list-style: none;
  font-size: 1.4em;
  line-height: 2em;
  margin: 10px auto;
  max-width: 600px;
  font-weight:bold;
  text-indent: -1em;
  padding-left: 2em;

}
.kome {
  margin-top: -10px;
  font-size: 0.7em;
  text-indent:1em;
}
.box {
  font-weight: bold;
  padding: 1em;
  margin: 30px 5% 70px;
  color: #ff9800;
  background: #fff2c7;
  border-top: solid 6px #ff9800;
}
.box p {
  line-height: 1.8em;
  font-size: 1.4em;
  margin: 0;
  padding: 0;
}
.kome2 {
  font-size: 1em;
}
.inquiry-head {
  display: flex;
  justify-content: center;
}
.tel {
  margin: 0 0 0 3%;
}
.mail {
  margin: 0 3% 0 50px ;
}
a:hover {
  opacity: 0.5 ;
}
.title {
  font-size: 20px;
  text-align: center;
  margin: 10px 1% 30px;
  padding: 10px;
  color:#fff;
  background-color: #157FC5;
  font-style: bold;
}
.comment {
  font-size: 0.4em;
}

/*footer*/
.footer {
  padding: 40px 0 35px;
  text-align: center; }
.footer_copyright {
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: .05em; }

/* レスポンシブ */
@media screen and ( min-width : 800px ){
  .br-sp {
    display:none;
  }
  .footer {
    padding: 50px 0 50px; }
  .footer_copyright {
    margin-top: 30px;
    font-family: "din-2014", sans-serif;
    font-weight: 400;
    font-size: 12px; }
}

/*@media screen and ( min-width : 768px) {
  .footer {
    padding: 50px 0 50px; }
  .footer_copyright {
    margin-top: 30px;
    font-family: "din-2014", sans-serif;
    font-weight: 400;
    font-size: 12px; }
}*/

@media screen and ( max-width : 1200px ){
  .jcast p {
    margin: 10px auto;
    font-size: 0.8em;
  }
  .jcast .jp {
    margin: 30px;
    font-size: 0.7em;
  }
  .jcast img {
    display: none;
  }
  .br-pc {
    display:none;
  }
}

@media screen and ( max-width : 960px ){
body{
	font-size : 100%;
}
.telephone {
  flex: 11 auto;
  font-size: 1em;
}
.jcast {
  display:flex;
  background-color: #157FC5;
  color: #fff;
  padding: 5px;
  margin-bottom: 30px;
}
  .content ul {
    font-size: 1.3em;
    line-height: 1.7em;
}
}

@media screen and ( max-width : 600px ){
  body{
    font-size : 80%;
  }
  menu {
    display:flex;
    background-color: #157FC5;
    color: #fff;
    padding: 20px;
  }
  .telephone {
    flex: 11 auto;
    font-size: 1.2em;
  }
  .number {
    line-height: 1em;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0.2em;
  }
  .mailbutton {
    display: none;
  }
  #page_mailform{
    width: 90px;
    height: 90px;
    right: 0;
    bottom: 0;
    background: #d1458c;
    border-radius: 50%;
  }
  #page_mailform a{
    color: #fff;
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    text-decoration: none;
  }
  #page_mailform a::before{
    font-family: FontAwesome;
    content: '\f0e0';
    font-size: 30px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -40px;
    bottom: 0;
    right: 3px;
    left: 0;
    margin: auto;
    text-align: center;
  }
  #page_mailform a::after{
    content: 'お問合せ';
    font-size: 15px;
    color: #fff;
    position: absolute;
    top: 52px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
  .section h2 {
    margin-bottom: 10px;
  }
  .section ul {
    list-style: none;
    font-size: 1.1em;
    line-height: 2em;
    margin: 10px auto ;
    max-width:600px;
  }
  /* youtube */
  .video {
    position:relative;
    width:100%;
    padding-top:56.25%;
  }
  .video iframe {
    position:absolute;
    top:0;
    right:0;
    width:100%;
    height:100%;
  }
  .video p {
    margin: 10px auto 20px;
    text-align: center;
    text-justify: inter-ideograph;
  }
  /*content*/
  .content {
    display:block;
    margin: 0 5% 30px;
  }
  .jcast p {
    margin: 10px auto;
    font-size: 0.6em;
  }
  .jcast .jp {
    margin: 20px 10px;
    font-size: 1em;
  }
  .content ul {
    list-style: none;
    font-size: 1.3em;
    line-height: 1.8em;
    margin: 10px auto;
    max-width: 600px;
    font-weight:bold;
  }
  .kome {
    margin-top: -5px;
    font-size: 0.7em;
    text-indent:-1em;
  }
  .box {
    font-weight: bold;
    padding: 2em;
    margin: 30px 0 50px;
    color: #ff9800;
    background: #fff2c7;
    border-top: solid 6px #ff9800;
  }
  .box p {
    line-height: 1.8em;
    font-size: 1.4em;
    margin: 0;
    padding: 0;
  }
  .kome2 {
    font-size: 1em;
  }
  .title {
    font-size: 16px;
    text-align: center;
    margin: 5px 2% 20px;
    padding: 10px;
    color:#fff;
    background-color: #157FC5;
    font-style: bold;
  }
  .footer {
    padding: 20px 5px; }
  .footer img {
    max-width: 150px;
  }
  .footer_copyright {
    margin-top: 10px;
  }
}

@media screen and ( max-width : 480px) {
  .jcast p {
    margin: 10px auto;
    font-size: 0.6em;
  }
  .jcast .jp {
    margin: 10px 10px;
    font-size: 0.6em;
  }
}
