
/*
* 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;
}

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

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


/*詳細の表示・非表示*/
.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: 4;
    top: 30px;
    left: 30px;
    width: 9%;
  }
  header > h1 {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 auto;
  }
  header > a.btn {
    position: absolute;
    z-index: 4;
    bottom: -70px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
    width: 419px;
    filter: drop-shadow(0px 5px 6px rgba(0, 0, 0, 0.3));
  }

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

  /* box01 */
  #box01 {
    width: 100%;
    margin: 0 auto;
    padding-top: 100px;
    background-color: #FDFDF1;
  }
  #box01 .box01_01 {
    width: 959px;
    margin: 0 auto;
  }
  #box01 .box01_02 {
    width: 960px;
    margin: 60px auto 0;
  }
  #box01 .box01_03 {
    width: 960px;
    margin: 40px auto 0;
  }
  #box01 .box01_04 {
    width: 714px;
    margin: 30px auto 0;
  }

  /* box02 */
  #box02 {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0 80px;
    background-color: #D8264B;
  }
  #box02::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #FDFDF1;
  }
  #box02 .box02_01 {
    width: 959px;
    margin: 0 auto;
  }
  #box02 .box02_02 {
    width: 656px;
    margin: 40px auto 0;
  }
  #box02 > a {
    display: block;
    width: 419px;
    margin: 30px auto 0;
    filter: drop-shadow(0px 5px 6px rgba(0, 0, 0, 0.3));
  }

  /* box03 */
  #box03 {
    width: 100%;
    margin: 0 auto;
    padding: 50px 0 80px;
    background-color: #E4D9A3;
  }
  #box03 .title {
    width: 853px;
    margin: 0 auto;
  }
  #box03 ul {
    display: flex;
    justify-content: space-between;
    width: 960px;
    margin: 30px auto 0;
  }
  #box03 ul > li {
    width: 310px;
    margin: 0;
  }

  /* present */
  #present {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 80px 0;
    background: url(../images/present_bg.webp) center center no-repeat;
    background-size: cover;
  }
  #present > img.present {
    width: 960px;
    margin: 0 auto;
  }
  #present > div {
    position: relative;
    width: 650px;
    margin: 30px 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: #4E2F18;
    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;
    background-color: #E4D9A3;
  }
  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: 203px;
    z-index: 999999;
  }
  .gotoForm > a {
    display: block;
    width: 68px;
    height: 203px;
  }
  .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;
    width: 100%;
    margin: 0 auto;
  }
  header > a.logo {
    display: block;
    position: absolute;
    z-index: 4;
    top: 10px;
    left: 20px;
    width: 14%;
  }
  header > h1 {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 auto;
  }
  header > a.btn {
    position: absolute;
    z-index: 4;
    bottom: 5%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
    width: 90%;
    filter: drop-shadow(0px 5px 6px rgba(0, 0, 0, 0.3));
  }


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

  /* box01 */
  #box01 {
    width: 100%;
    margin: 0 auto;
    padding-top: 35px;
    background-color: #FDFDF1;
  }
  #box01 .box01_01 {
    width: 90%;
    margin: 0 auto;
  }
  #box01 .box01_02 {
    position: relative;
    width: 90%;
    margin: 40px auto 0;
  }
  #box01 .box01_02 .title {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
  }
  #box01 .box01_02 > .inner {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: -1px auto 0;
    padding: 16px 0 30px;
    background-color: #D8264B;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  #box01 .box01_02 > .inner > div {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
  }
  #box01 .box01_02 > .inner > div > .box01_open,
  #box01 .box01_02 > .inner > div > .box01_close {
    margin: 20px auto 0;
    cursor: pointer;
  }
  #box01 .box01_02 > .inner > div > .box01_close {
    display: none;
  }
  #box01 .box01_02 > .inner > div > .box01_joken {
    display: none;
    margin: 15px auto 0;
  }

  #box01 .box01_03 {
    width: 90%;
    margin: 30px auto 0;
  }
  #box01 .box01_04 {
    width: 100%;
    margin: 20px auto 0;
  }

  /* box02 */
  #box02 {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0 40px;
    background-color: #D8264B;
  }
  #box02::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #FDFDF1;
  }
  #box02 .box02_01 {
    width: 90%;
    margin: 0 auto;
  }
  #box02 .box02_02 {
    width: 70%;
    margin: 30px auto 0;
  }
  #box02 > a {
    display: block;
    width: 90%;
    margin: 15px auto 0;
    filter: drop-shadow(0px 5px 6px rgba(0, 0, 0, 0.3));
  }

  /* box03 */
  #box03 {
    width: 100%;
    margin: 0 auto;
    padding: 30px 0 40px;
    background-color: #E4D9A3;
  }
  #box03 .title {
    width: 90%;
    margin: 0 auto;
  }
  #box03 ul {
    width: 90%;
    margin: 0 auto;
  }
  #box03 ul > li {
    width: 100%;
    margin: 20px auto 0;
  }
  #box03 ul > li:nth-of-type(1) {
    margin: 10px auto 0;
  }

  /* present */
  #present {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0 50px;
    background: url(../images/present_bg_sp.webp) center center no-repeat;
    background-size: cover;
  }
  #present > img.present {
    width: 90%;
    margin: 0 auto;
  }
  #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: #4E2F18;
    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;
    background-color: #E4D9A3;
  }

  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;
  }
}
