@charset "UTF-8";

/*
Theme Name: Sunsオリジナルテーマ
Theme URL: 
Description: Sunsのオリジナルテーマです
Author: A-knowzCreate
Version: 1.0
License: A-knowzCreate
*/


/*共通項目*/
html {
  font-size: 62.5%;
  font-family:'Noto sans JP', Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
  color: #707070;
}


.wrapper {
  max-width: 1080px;
  width: calc(100% - 60px);
  margin: 0 auto;
}

h1 {
  font-size: 3.2rem;
  font-weight: bold;
}
h2 {
  font-size: 2.6rem;
}

h3 {
  font-size: 2.2rem;
}

h4 {
  font-size: 2.0rem;
}

p,a,li,td,dd,dt {
  font-size: 1.6rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFCC99;
  position: relative;
  box-shadow: 3px 3px #A6A6A6;
}

.btn::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
}

.btn:hover {
  box-shadow: 0px 0px 0px 0px #A6A6A6;
  bottom: -3px;
  right: -3px;
}

.btn1 {
  text-align: center;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFCC99;
  padding: 0 50px;
  min-width: 260px;
  border-radius: 40px;
  box-shadow: 3px 3px #A6A6A6;
  font-size: 1.8rem;
  position: relative;
  line-height: 1;
}

.btn1::before {
  content:'\f054';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}

.btn1:hover {
  box-shadow: 0px 0px 0px 0px #A6A6A6;
  bottom: -3px;
  right: -3px;
}

/*---------ヘッダー---------*/
header {
  border-bottom: 4px solid #FFCC99;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-logo img{
  max-height: 60px;
}

/*PCメニュー*/

.sp_header_menu,
#navbtn {
  display: none;
}

.pc-header-menu > ul{
  display: flex;
  flex-wrap: wrap;
}

.pc-header-menu > ul li a {
  padding: 0 20px;
  min-height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.pc-header-menu > ul li a:hover {
  background-color:  #FFCC99;
}

.logotitle {
  margin: 0;
}

/*--------フッター--------*/
footer {
  background-color: #FFCC99;
  padding: 20px 0 10px;
}

.footer-menu ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 70px;
}

.footer-menu ul li {
  padding: 0 20px;
  line-height: 1;
}

.footer-menu ul li:not(:last-of-type) {
  border-right: 2px solid #707070;
}

.footer-logo {
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo h2 {
  font-size: 1.6rem;
}

.footer-logo span {
  display: block;
  font-size: 4.2rem;
}

.footer-under {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: calc(100% - 20px);
  margin: 0 auto;
}

.footer-under-l,
.footer-under-r {
  width: 50%;
}

.footer-under-l {
  text-align: left;
}

.footer-under-r {
  text-align: center;
}


/*タブレット*/
@media (max-width: 1024px) {
  
}


/*スマホ*/
@media (max-width: 768px) {
  /*ヘッダー*/
  .header-top {
    justify-content: center;
    height: 60px;
  }

  .pc-header-menu {
    display: none;
  }

  /*フッター*/

  .footer-menu ul li {
    padding: 0px;
    width: 50%;
    text-align: center;
  }
  
  .footer-menu ul li:not(:last-of-type) {
    border-right: none;
  }
  .footer-menu ul li:nth-of-type(2n + 1) {
    border-right: 2px solid #707070;
  }

  .footer-under-l,
  .footer-under-r {
    width: 100%;
  }
  
  .footer-under-l {
    text-align: center;
    order: 2;
  }
  
  .footer-under-r {
    text-align: center;
    order: 1;
    margin-bottom: 5px;
  }


  /*スマホメニュー*/

  .pc-header-menu {
    display: none;
  }
  
    .sp_header_menu{
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      min-height: 100vh;
      height: auto;
      background: #FFCC99;
      color: #000000;
      display: flex;
      justify-content: center;
      align-items: center;
      /* 初期：非表示 */
      visibility: hidden;
      opacity: 0;
      /* ふわっと表示 */
      transition: 0.5s ease-in-out;
      z-index: 10000;
      font-size: 2rem;
    }
    .sp_header_menu > ul{
      list-style:none;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .sp_header_menu > ul > li ul {
        padding-left: 40px;
        margin-bottom: 20px;
        padding-top: 10px;
    }

    .sp_header_menu > ul > li:not(:last-child){
        margin-bottom: 30px;
      }

      .sp_header_menu > ul > li > ul li {
          position: relative;
      }

    .sp_header_menu > ul > li > ul li:not(:last-child) {
        margin-bottom: 10px;
    }

    .sp_header_menu > ul > li > ul li::before {
        content:'\f06c';
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        left: -20px;
        transform: translateY( -50%);
        font-size: 1.4rem;
    }

    
    .sp_header_menu a{
      color: #707070;
      font-size: 2rem;
    }
  /* ナビゲーションボタン（開く） */
  #navbtn{
    display: block;
    position: fixed;
    top: 20px;
    right: 15px;
    padding: 0;
    outline: none;
    border: none;
    background: none;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 10000;
  }
  
  #navbtn::before,
  #navbtn::after{
    content : '';
    display: block;
    height: 1px;
    background-color: #333333;
    transform: translateY(10px);
    transition: 0.3s ease-in-out;
  }
  
  #navbtn::before{
    transform: translateY(-10px);
    box-shadow: 0 10px #333333;
  }
  
  /* ナビゲーションボタン（閉じる） */
  .spmenu_open #navbtn{
    z-index: 10000;
  }
  .spmenu_open #navbtn::before{
    transform: rotate(-45deg);
    box-shadow: none;
    background-color: #000000;
  }
  .spmenu_open #navbtn::after{
    transform: rotate(45deg);
    box-shadow: none;
    background-color: #000000;
  }
  /* ナビゲーションメニュー 開いた時*/
  .spmenu_open .sp_header_menu{
    visibility: visible;
    opacity: 1;
  }
}