/*
reset
*/



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

picture,img{
  width: 100%;
  height: auto;
}

picture{
  display: block;
}

img {
  max-width: 100%;
  vertical-align: middle;
}
img {
  object-fit: cover;
}
html { font-size: 22px; }

body {
  font-family: "BIZ UDGothic","Hiragino Kaku Gothic ProN","Hiragino Sans","meiryo",arial,sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #000000;
  font-size: 22px;
  line-height: 1.555;
}
@media screen and (max-width: 768px) {
  html{
    font-size: 15px;
  }
  body {
    font-size: 15px;
    line-height: 1.7333;
  }
}

@media screen and (max-width: 870px) {
	body#about,
  body#operation,
  body#denshi-shinsei{
		font-size: 0.818rem;
	}
}

@media screen and (max-width: 768px) {
	body#about,
  body#operation,
  body#denshi-shinsei{
		font-size: 1rem;
	}
}

body {
  visibility: hidden;
  opacity: 0; 
}

body.loaded {
  visibility: visible; /* JavaScriptでvisibleに変更される */
}


.bold{
  font-weight: 700;
}

@media screen and (min-width: 769px) {
  .pc {
    display: inline-block;
  }
  .sp {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: inline-block;
  }
}

.fadeup {
  opacity: 0;
  -webkit-transform: translateY(30px);
          transform: translateY(30px);
  /* transition を削除 */
}

.fadeup.show {
  opacity: 1;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
  /* ここも transition に関連する記述を削除 */
}

.disable-transitions .fadeup {
  transition: none !important;
}

.fadeup-haiku1,
.fadeup-haiku2,
.fadeup-haiku3{
  opacity: 0;
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: 0.9s all cubic-bezier(0.19, 1, 0.22, 1);
  transition: 0.9s all cubic-bezier(0.19, 1, 0.22, 1);
}

.fadeup.show,
.fadeup-haiku1.show,
.fadeup-haiku2.show,
.fadeup-haiku3.show{
  opacity: 1;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
  -webkit-transition-duration: 1.5s;
          transition-duration: 1.5s;
  -webkit-transition-delay: .001s;
          transition-delay: .001s;
}


.btn-link{
  width: 242px;
  height: 46px;
  margin: 0 auto;
  border-radius: 23px;
  background: #EF6B00;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .2s ease;
}
@media screen and (max-width: 768px) {
  .btn-link{
    width: 260px;
    height: 46px;
  }
}
@media screen and (max-width: 288px) {
  .btn-link{
    width: 170px;
  }
}



.btn-link:hover {
  opacity: 0.5;
}

.btn-link img{
  padding-bottom: 2px;
}

.btn-link-exlink img{
  width: 188px;
  height: auto;
}
@media screen and (max-width: 288px) {
  .btn-link-exlink img{
    width: 130px;
    height: auto;
  }
}

.btn-link-modal img{
  width: 151px;
  height: auto;
}


.btn-link-dl img{
  width: 150px;
  height: auto;
}




/* 共通ヘッダー */
#header {
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  z-index: 100;
}

#header .headerarea {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}


@media screen and (max-width: 768px) {
  #header {
    height: 67px;
  }
  #header .headerarea {
    width: 100%;
    padding: 0 20px;
  }
}
@media screen and (max-width: 192px) {
  #header .headerarea {
    padding: 0 5px;
  }
}


/* ロゴ */
#header .headerarea #logo {
  width: 160px;
  margin-left: 35px;
}
@media screen and (max-width: 768px) {
  #header .headerarea #logo {
    width: 105px;
    margin-left: 0;
  }
}

#header .headerarea #logo a {
  display: block;
}

#header .headerarea #logo a img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 769px) {
  #header .headerarea #logo a {
    transition: all .2s ease;
  }
  #header .headerarea #logo a:hover {
    opacity: 0.5;
  }
}

@media screen and (max-width: 768px) {
  #header .headerarea #logo {
    width: 134px;
  }
}


/* ナビ */
#header .headerarea #nav {
  width: 540px;
  margin-right: 100px;
  margin-top: 25px;
}
@media screen and (max-width: 940px) {
  #header .headerarea #nav {
    width: 510px;
    margin-right: 35px;;
  }
}

#header .headerarea #nav .nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header .headerarea #nav .nav-list .nav-item a {
  color: #000000;
  font-size: 0.727rem;
  font-weight: 700;
}

@media screen and (min-width: 769px) {
  #header .headerarea #nav {
    display: block !important;
  }
}

@media screen and (max-width: 768px) {
  #header .headerarea #nav {
    display: none;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 100vh;
    padding: 30px 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 101;
    overflow-y: scroll;
  }

  #header .headerarea #nav::after {
    display: block;
    content: "";
    background-color: rgba(255,255,255,0.9);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
  }

  #header .headerarea #nav .nav-list {
    display: block;
    width: 232px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  #header .headerarea #nav .nav-list .nav-item {
    text-align: center;
  }

  #header .headerarea #nav .nav-list .nav-item + .nav-item {
    margin-top: 30px;
  }

  #header .headerarea #nav .nav-list .nav-item a {
    font-size: 1.045rem;
    font-weight: 700;
    line-height: 33px;
    letter-spacing: 0.12em;
  }
}
@media screen and (max-width: 288px) {
  #header .headerarea #nav .nav-list .nav-item a {
    font-size: 0.9rem;
  }
}

#header .headerarea #nav .nav-list .nav-item.current a {
  color: #999999;
}

@media screen and (min-width: 769px) {
  #header .headerarea #nav .nav-list .nav-item a {
    transition: all .2s ease;
  }

  #header .headerarea #nav .nav-list .nav-item a:hover {
    color: #999999;
  }
}

@media screen and (max-width: 768px) and (max-height: 410px) {
  #header .headerarea #nav .nav-list {
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
}

/* SPナビボタン */
#nav-btn {
  display: none;
}

@media screen and (max-width: 768px) {
  #nav-btn {
    display: block;
    width: 20px;
    height: 26px;
    position: absolute;
    top: 22px;
    right: 21px;
    z-index: 102;
    cursor: pointer;
  }

  #nav-btn::before,
  #nav-btn > div,
  #nav-btn::after {
    display: block;
    content: "";
    height: 2px;
    width: 20px;
    background-color: #000000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .2s ease;
  }
  

  #nav-btn::before {
    margin-top: -8.5px;
  }

  #nav-btn::after {
    margin-top: 8.5px;
  }

  #nav-btn.close::before {
    margin-top: 0;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  #nav-btn.close::after {
    margin-top: 0;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  #nav-btn.close > div {
    opacity: 0;
  }
}

@media screen and (max-width: 192px) {
  #nav-btn {
    right: 5px;
  }
}













/* 共通メインコンテンツ */
#main {
  display: block;
  padding-top: 80px;
}

@media screen and (max-width: 768px) {
  #main {
    min-width: auto;
    padding-top: 67px;
  }
}

/* 共通フッター */
#footer {
  color: #666666;
  font-size: 0.545rem;
  text-align: center;
  padding: 25px 0 20px;
}

#about #footer{
  background: #FDECC9;
}

@media screen and (max-width: 768px) {
  #footer {
    line-height: inherit;
    padding: 8px 0;
  }
}

.outline .h1hdr,
section .h2hdr{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 870px;
  height: 44px;
  margin: 0 auto;
  border-radius: 10px;
  text-align: center;
  background: #F39400;
  margin-bottom: 25px;
}
.outline .h1hdr picture,
section .h2hdr picture{
  line-height: 0;
}


@media screen and (max-width: 870px) {
  .outline .h1hdr,
  section .h2hdr{
    width: 100%;
    height: 44px;
  }

  #top section .h2hdr{
    width: 98%;
    padding: 0 10px;
  }
}
@media screen and (max-width: 768px) {
  .outline .h1hdr,
  section .h2hdr{
    width: 100vw;
    height: 40px;
    border-radius: 0;
    margin-bottom: 20px;
  }

  #top section .h2hdr{
    width: 100%;
    padding: 0;
  }

  section#about-roudosha .h2hdr{
    margin-left: 0px;
  }

  #operation #guide .h2hdr{
    height: 85px;
  }

  #denshi-shinsei .outline .h1hdr{
    height: 67px;
  }

}




/* sub */
#about section .inner,
#operation section .inner,
#denshi-shinsei section .inner{
  width: 870px;
  margin: 0 auto;
  /*
  padding: 30px 0 50px;
  */
}

@media screen and (max-width: 870px) {
  #top .inner,
  #about section .inner,
  #operation section .inner,
  #denshi-shinsei section .inner{
    width: 100%;
    padding: 0 10px;
  }
}

@media screen and (max-width: 768px) {
  #top .inner,
  #about section .inner,
  #operation section .inner,
  #denshi-shinsei section .inner{
    padding: 0 8%;
  }

  #top #lead .inner{
    padding: 0;
  }
  
  #about section.outline .inner,
  #operation section.outline .inner,
  #denshi-shinsei section.outline .inner{
    padding: 0;
  }
  #about section#about-roudosha .inner{
    padding: 0;
  }

}




.outline{
  background: #FDECC9;
  padding: 30px 0 50px;
}
@media screen and (max-width: 768px) {
	.outline{
    padding: 0px 0 40px;
  }
}

.outline .disc-wrap{
	display: flex;
	justify-content: space-between;
}
@media screen and (max-width: 768px) {
	.outline .disc-wrap{
    display: flex;
    flex-direction: column-reverse;
    width: 85.333%;
    margin: 0 auto;
  }
}

.outline .disc-wrap p{
	width: 510px;
	line-height: 1.555;
}
@media screen and (max-width: 870px) {
  .outline .disc-wrap p{
    width: 58%;
  }
}
@media screen and (max-width: 768px) {
	.outline .disc-wrap p{
    margin-top: 30px;
    width: 100%;
    line-height: 1.7333;
  }
}


.outline .disc-wrap .illust{
	width: 285px;
  margin-right: 24px;
}
@media screen and (max-width: 768px) {
	.outline .disc-wrap .illust{
    width: 250px;
    margin: 0 auto;
    padding-left: 30px;
    box-sizing: content-box;
  }
}
@media screen and (max-width: 336px) {
  .outline .disc-wrap .illust{
    width: 100%;
    padding-left: 0;
  }
}

.attention-list{
	margin-top: 10px;
}
@media screen and (max-width: 768px) {
  .attention-list{
    margin-top: 27px;
  }
}

.attention-list li{
	font-size: 0.545rem;
	line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .attention-list li{
    font-size: 0.667rem;
    line-height: 1.5;
  }
}