
/*
* cmn_layout.css
*
*/

body {
  font-family: 'Noto Sans JP',"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
  -webkit-text-size-adjust: 100%;
  background: #fff;
  font-size: 16px;
  color: #000000;
  text-align: center;
  line-height: 160%;
  word-wrap: break-word;
}


@media all and (-ms-high-contrast:none) {
  body {
    font-family: 'Noto Sans JP',"メイリオ",Meiryo,"游ゴシック",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","MS PGothic",sans-serif;
  }
}


#wrapper {
  position: relative;
  width: 100%;
  margin:0 auto;
  padding:0;
  overflow: hidden;
  background-color: #F8D000;
}

a{
  color: #000000;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}


/* 矢印のアニメーション */
@keyframes scroll {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translate(0, 30px);
  }
  100% {
    opacity: 0;
  }
}

/*詳細の表示・非表示*/
.open::before {
  display: block;
  content: "";
  position: absolute;
  top: 20px;
  right: 30px;
  width: 13px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 100vh;
  transition: .2s;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}

.open::after {
  display: block;
  content: "";
  position: absolute;
  top: 20px;
  right: 30px;
  width: 13px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 100vh;
  transition: .3s;
}

.open.on::before{
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}

.open.on::after{
  background-color: transparent;
}


/*===============================================
●画面の横幅が667px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 667px) {

  #wrapper{
    min-width: 1160px;
  }

  /* !共通
  ---------------------------------------------------------- */
  .sp-only{
    display:none !important;
  }

  a:hover{
    opacity: 0.8;
  }

  a {
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    zoom: 1;
    transition: opacity 0.5s ease;
  }

  /* メイン画像
  ---------------------------------------------------------- */
  header {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
  }
  header>a.logo {
    display: block;
    position: absolute;
    z-index: 3;
    top: 30px;
    left: 30px;
    width: 8%;
  }
  header > h1 {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
  }
  header > div {
    display: flex;
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    right: 30%;
    width: 38%;
    margin: 0 auto;
  }
  header > div > a.btn01 {
    width: 48%;
    margin: 0 4% 0 0;
  }
  header > div > a.btn02 {
    width: 48%;
    margin: 0;
  }
  header > a.btn03 {
    position: absolute;
    z-index: 3;
    bottom: 2px;
    left: 40%;
    right: 0;
    width: 28%;
    margin: 0 auto;
  }


  /* コンテンツ部分
  ---------------------------------------------------------- */

  /* 矢印 */
  .arrow {
    width: 60px;
    padding-top: 60px;
    position: relative;
    text-align: center;
    margin: 35px auto 0;
  }
  /* 矢印のアニメーション部分 */
  .arrow > img {
    animation: scroll 2s infinite;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 60px;
  }

  /* box01 */
  #box01 {
    width: 960px;
    margin: 0 auto;
    padding: 40px 0 0 0;
  }
  #box01 > img.img01 {
    width: 960px;
    margin: 0 auto;
  }
  #box01 > img.img02 {
    width: 643px;
    margin: 60px auto 0;
  }

  /* box02 */
  #box02 {
    width: 960px;
    margin: 0 auto;
    padding-top: 40px;
  }
  #box02 > img.img01 {
    width: 960px;
    margin: 0 auto;
  }
  #box02 > img.img02 {
    width: 358px;
    margin: 10px auto 0;
  }
  #box02 > img.img03 {
    width: 960px;
    margin: 35px auto 0;
  }

  /* box03 */
  #box03 {
    width: 960px;
    margin: 70px auto 0;
  }
  #box03 > img.img01 {
    width: 960px;
    margin: 0 auto;
  }
  #box03 > img.img02 {
    width: 527px;
    margin: 70px auto 0;
  }
  #box03 > a {
    display: block;
    width: 530px;
    margin: 30px auto 0;
  }

  /* box04 */
  #box04 {
    width: 960px;
    margin: 100px auto 0;
  }
  #box04 > img.img01 {
    width: 960px;
    margin: 0 auto;
  }
  #box04 > img.img02 {
    width: 576px;
    margin: 55px auto 0;
  }
  #box04 > a {
    display: block;
    width: 530px;
    margin: 30px auto 0;
  }

  /* box05 */
  #box05 {
    width: 960px;
    margin: 120px auto 0;
  }
  #box05 > img {
    width: 479px;
    margin: 0 auto;
  }

  #box05 ul.slick-slider {
    margin-top: 30px;
  }
  #box05 .features_work_slider{
    opacity: 0;
    transition: opacity .3s linear;
  }
  #box05 .features_work_slider.slick-initialized{
    opacity: 1;
  }
  #box05 .slick-track {
    display: flex;
  }
  #box05 .slick-slide {
    height: auto !important;
    margin: 0 35px;
  }
  #box05 .slide-arrow {
    top: 45%;
    margin: auto;
    position: absolute;
    z-index: 10;
    width: 40px !important;
  }
  #box05 .prev-arrow {
    left: 28%;
    cursor: pointer;
  }
  #box05 .next-arrow {
    right: 28%;
    cursor: pointer;
  }

  #box05 .slick-dots {
    bottom: -60px;
  }
  #box05 .slick-dots li {
    margin: 0 15px;
  }
  #box05 .slick-dots li button {
    position: relative;
    width: 50px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
  }
  #box05 .slick-dots li button:hover,
  #box05 .slick-dots li.slick-active button {
    color: #000000;
  }

  /* box06 */
  #box06 {
    width: 100%;
    height: 400px;
    margin: 140px auto 0;
    background: url(../images/box06_bg.webp) top center no-repeat;
    background-size: cover;
  }
  #box06 > div {
    position: relative;
    width: 960px;
    margin: 0 auto;
    padding-top: 130px;
  }
  #box06 > div > img {
    width: 960px;
    margin: 0 auto;
  }
  #box06 > div > a {
    position: absolute;
    bottom: 36px;
    right: 0;
    display: block;
    width: 408px;
  }

  /* box07 */
  #box07 {
    position: relative;
    width: 100%;
    margin: 0 auto;
  }
  #box07::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #C4000C;
  }
  #box07 > div {
    position: relative;
    width: 960px;
    height: 50px;
    margin: 0 auto;
    padding-top: 13px;
    background-color: #C4000C;
  }
  #box07 > div > img.title01 {
    width: 315px;
    margin: 0 auto;
  }
  #box07 > div > img.title02 {
    position: absolute;
    top: -51px;
    left: 190px;
    width: 117px;
  }
  #box07 > img {
    width: 960px;
    margin: 15px auto 0;
  }

  /* present */
  #present {
    width: 960px;
    margin: 30px auto 0;
    padding: 40px 0 0 0;
  }
  #present > img {
    width: 960px;
    margin: 0 auto;
  }
  #present > p {
    width: 960px;
    margin: 40px auto 0;
    font-size: 16px;
    font-weight: 700;
  }
  #present > div {
    position: relative;
    width: 650px;
    margin: 20px auto 0;
  }
  #present > div > div:nth-of-type(1) {
    position: relative;
    width: 100%;
    height: 40px;
    padding: 8px 0 0 30px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    background-color: #000000;
    border-radius: 5px;
    cursor: pointer;
  }
  #present > div > div:nth-of-type(2) {
    display: none;
    position: relative;
    width: 100%;
    margin: 15px auto 0;
    font-size: 12px;
    text-align: left;
  }


  /* フッター
  ----------------------------------------------------------*/
  footer {
    width: 100%;
    margin: 0 auto;
    padding: 50px 0 0 0;
    border-top: 1px solid #D6D6D6;
  }

  footer > a {
    display: block;
    width: 443px;
    margin: 0 auto;
  }

  footer > a > img {
    width: 443px;
  }

  footer > div {
    display: flex;
    width: 400px;
    margin: 40px auto 0 auto;
  }

  footer > div > div:nth-of-type(1) {
    width: 254px;
  }

  footer > div > div:nth-of-type(1) img {
    width: 254px;
  }

  footer > div > div:nth-of-type(2) {
    width: 130px;
    margin: 0 0 0 10px;
    font-size: 12px;
    text-align: left;
    line-height: 140%;
  }

  footer > p:nth-of-type(1) {
    margin: 10px 0 0 0;
    font-size: 14px;
  }

  footer > p:nth-of-type(2) {
    margin: 25px 0 0 0;
    font-size: 12px;
    line-height: 160%;
  }

  footer > p:nth-of-type(2) span {
    display: inline-block;
    margin: 0 5px;
  }

  footer > p.copyright {
    display: block;
    width: 100%;
    margin: 60px auto 0 auto;
    padding: 15px 0;
    font-size: 12px;
    color: #fff;
    background-color: #333333;
    line-height: 100%;
  }

  /* フォームへ
  ----------------------------------------------------------*/
  .gotoForm {
    display: none;
    position: fixed;
    top: 25%;
    right: 0;
    margin: auto;
    width: 68px;
    height: 221px;
    z-index: 999999;
  }

  .gotoForm > a {
    display: block;
    width: 68px;
    height: 221px;
  }

  .gotoForm > a:hover {
    opacity: 1;
  }

}


/*===============================================
●画面の横幅が666px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 666px) {

  /* !共通
  ---------------------------------------------------------- */
  .pc-only{
    display:none !important;
  }

  .open::before {
    top: 0;
    bottom: 0;
    margin: auto;
  }

  .open::after {
    top: 0;
    bottom: 0;
    margin: auto;
  }

  /*------------------------------------
  clearfix
  --------------------------------------*/
  .clearfix-sp {
    zoom:1;
    overflow:hidden;
  }
  .clearfix-sp:after {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    line-height: 0;
  }


  /* メイン画像
  ---------------------------------------------------------- */
  header {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
  }
  header>a.logo {
    display: block;
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 10px;
    width: 18%;
  }
  header > h1 {
    z-index: 2;
    width: 100%;
    margin: 0 auto;
  }
  header > div {
    display: flex;
    justify-content: space-between;
    position: absolute;
    z-index: 3;
    bottom: 13.5%;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
  }
  header > div > a {
    width: 48%;
  }
  header > a.btn03 {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
  }


  /* コンテンツ部分
  ---------------------------------------------------------- */

  /* 矢印 */
  .arrow {
    width: 34px;
    padding-top: 34px;
    position: relative;
    text-align: center;
    margin: 10px auto 0;
  }
  /* 矢印のアニメーション部分 */
  .arrow > img {
    animation: scroll 2s infinite;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 34px;
  }

  /* box01 */
  #box01 {
    width: 90%;
    margin: 10px auto 0;
    padding: 20px 0 0 0;
  }
  #box01 > img.img01 {
    margin: 0 auto;
  }
  #box01 > img.img02 {
    margin: 40px auto 0;
  }

  /* box02 */
  #box02 {
    width: 90%;
    margin: 0 auto;
    padding-top: 20px;
  }
  #box02 > img.img01 {
    margin: 0 auto;
  }
  #box02 > img.img02 {
    width: 88%;
    margin: 10px auto 0;
  }
  #box02 > img.img03 {
    margin: 30px auto 0;
  }

  /* box03 */
  #box03 {
    width: 90%;
    margin: 30px auto 0;
  }
  #box03 > img.img01 {
    margin: 0 auto;
  }
  #box03 > img.img02 {
    margin: 50px auto 0;
  }
  #box03 > a {
    display: block;
    width: 100%;
    margin: 20px auto 0;
  }

  /* box04 */
  #box04 {
    width: 90%;
    margin: 50px auto 0;
  }
  #box04 > img.img01 {
    margin: 0 auto;
  }
  #box04 > img.img02 {
    width: 65%;
    margin: 40px auto 0;
  }
  #box04 > a {
    display: block;
    width: 100%;
    margin: 20px auto 0;
  }

  /* box05 */
  #box05 {
    width: 100%;
    margin: 70px auto 0;
  }
  #box05 > img {
    width: 85%;
    margin: 0 auto;
  }

  #box05 ul.slick-slider {
    margin-top: 20px;
  }
  #box05 ul.slick-slider li.slick-slide {
    position: relative;
    width: 100%;
  }
  #box05 .slider{
    opacity: 0;
    transition: opacity .3s linear;
  }
  #box05 .slider.slick-initialized{
    opacity: 1;
  }
  #box05 .slick-slide {
    height: auto !important;
    margin: 0 10px;
  }
  #box05 .slide-arrow {
    top: 45%;
    margin: auto;
    position: absolute;
    z-index: 10;
    width: 34px;
  }
  #box05 .prev-arrow {
    left: 4%;
  }
  #box05 .next-arrow {
    right: 4%;
  }

  #box05 .slick-dots {
    bottom: -45px;
  }
  #box05 .slick-dots li {
    margin: 0 10px;
  }
  #box05 .slick-dots li button {
    position: relative;
    width: 50px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
  }
  #box05 .slick-dots li button:hover,
  #box05 .slick-dots li.slick-active button {
    color: #000000;
  }

  /* box06 */
  #box06 {
    width: 100%;
    margin: 75px auto 0;
  }
  #box06 > div {
    position: relative;
    width: 100%;
    margin: 0 auto;
  }
  #box06 > div > img {
    width: 100%;
    margin: 0 auto;
  }
  #box06 > div > a {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
    width: 90%;
  }

  /* box07 */
  #box07 {
    position: relative;
    width: 100%;
    margin: -7.8% auto 0;
  }
  #box07 > img {
    width: 100%;
    margin: 0 auto;
  }

  /* present */
  #present {
    width: 90%;
    margin: 20px auto 0;
    padding: 20px 0 0 0;
  }
  #present > img {
    margin: 0 auto;
  }
  #present > p {
    margin: 30px auto 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
  }
  #present > div {
    position: relative;
    width: 90%;
    margin: 20px auto 0;
  }
  #present > div > div:nth-of-type(1) {
    position: relative;
    width: 100%;
    height: 40px;
    padding: 8px 0 0 30px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    background-color: #000000;
    border-radius: 5px;
    cursor: pointer;
  }
  #present > div > div:nth-of-type(2) {
    display: none;
    position: relative;
    width: 100%;
    margin: 15px auto 0;
    font-size: 12px;
    text-align: left;
  }


/* フッター
  ----------------------------------------------------------*/
  footer {
    width: 100%;
    margin: 0 auto;
    padding: 50px 0 0 0;
    border-top: 1px solid #D6D6D6;
  }

  footer > a {
    display: block;
    width: 90%;
    max-width: 335px;
    margin: 0 auto;
  }

  footer > a > img {
    width: 100%;
  }

  footer > div {
    width: 80%;
    margin: 20px auto 0 auto;
  }

  footer > div > div:nth-of-type(1) {
    width: 100%;
  }

  footer > div > div:nth-of-type(1) img {
    width: 206px;
    margin: 0 auto;
  }

  footer > div > div:nth-of-type(2) {
    width: 100%;
    margin: 10px auto 0 auto;
    font-size: 15px;
    line-height: 160%;
  }

  footer > p:nth-of-type(1) {
    margin: 10px 0 0 0;
    font-size: 15px;
    line-height: 160%;
  }

  footer > p:nth-of-type(2) {
    margin: 30px 0 0 0;
    font-size: 12px;
    line-height: 100%;
  }

  footer > p:nth-of-type(2) span {
    display: block;
    margin: 0 auto 10px auto;
  }

  footer > p.copyright {
    display: block;
    width: 100%;
    margin: 40px auto 0 auto;
    padding: 15px 0;
    font-size: 10px;
    color: #fff;
    background-color: #333333;
    line-height: 100%;
  }

  /* フォームへ
  ----------------------------------------------------------*/
  .gotoForm {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999999;
  }

  .gotoForm > a {
    display: block;
    width: 100%;
    margin: 0 auto;
  }

  .gotoForm > a:hover {
    opacity: 1;
  }


}


/*===============================================
●画面の横幅が360px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 360px) {



}



/* 終了対応 */
 .end-message{
  text-align: center;
  color: white;
  background: red;
  padding: 0.8rem;
  font-weight: bold;
}
.end-message>.sp{
  display: none;
}
@media screen and (max-width: 666px) {
  .end-message{
    padding: 0.5rem;
  }
  .end-message>.sp{
    display: block;
  }
}
