@charset "UTF-8";



/* スマホ */
@media (min-width: 320px) {

@font-face {
  font-family: "Number";
  src: local("Arial");
  unicode-range: U+0030-0039; /* 0-9 */
}

@font-face {
  font-family: "Number";
  src: local("Arial Bold");
  font-weight: bold;
  unicode-range: U+0030-0039; /* 0-9 */
}

html,body{
  width: 100%;
  height: 100%;
  font-size: 100%;
  overflow-x: hidden;
}
html{
  scroll-behavior: smooth;
}
body{
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), rgba(173, 222, 248,0.3) calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), rgba(173, 222, 248,0.3) calc(100% - 1px));
  background-size: 30px 30px;
  background-repeat: repeat;
  background-position: center center;
  font-family: "Number","M PLUS 1 Code",sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.7;
  color: #AE4F33;
}
a{
  text-decoration: none;
}
img{
  max-width: 100%;
}
header, .TOP, footer{
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

/*ハンバーガーメニュー*/
.menu{
  position: fixed;
  top: 16px;
  right: 16px;
  margin: 0;
  width: 50px;   /* 線の幅に合わせておく */
  height: 48px;
  cursor: pointer;
  z-index: 9999;
  list-style: none;
  padding: 0;
}

.menu-global{
  position: absolute;
  right: 0;
  left: auto;
  height: 10px;
  width: 50px;                 /* 閉じてる時＝3本線 */
  background-color: #5C7ABC;
  border-radius: 30px;
  overflow: hidden;

  transform-origin: right center;
  transform: scaleX(1);
  opacity: 0.95;

  /* 伸びる動き*/
  transition:
    width 0.55s cubic-bezier(.2,.8,.2,1),
    top 0.55s cubic-bezier(.2,.8,.2,1),
    height 0.55s cubic-bezier(.2,.8,.2,1),
    background-color 0.55s cubic-bezier(.2,.8,.2,1);
  will-change: width, top, height;
  z-index: 10;
}

/* hoverでleft動かすのは右起点とケンカするので無し */
.menu-global:hover{}

/* 3本線の位置 */
.menu-top{ top: 0; }
.menu-middle{ top: 18px; }
.menu-bottom{ top: 36px; }

/* バー全体を押せるように */
.menu-link{
  display: block;
  width: 100%;
  height: 100%;
  position: relative; /* menu-textの基準 */
  text-decoration: none;
}

/* 閉じてる時：文字は隠す */
.menu-text{
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);

  opacity: 0;
  font-size: 0;
  white-space: nowrap;

  pointer-events: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1), font-size .1s;
}

/* 開いた時：伸びる（一覧） */
.expand{
  width: 220px; /* 伸びる長さ。好みで200〜260くらい */
  box-shadow: rgba(0,0,0,.12) -2.5px 5px 7.5px, rgba(0,0,0,.12) 2.5px 5px 7.5px;
}

/* 開いた時：縦に並ぶ位置＆色（あなたの色のまま） */
.menu-top-expand{
  top: 55px;
  background: #FFF8E1;
  transition-delay: .06s;
}
.menu-middle-expand{
  top: 155px;
  background: #FFECB3;
  transition-delay: .12s;
}
.menu-bottom-expand{
  top: 255px;
  background: #FFE082;
  transition-delay: .18s;
}
.menu-top-expand,
.menu-middle-expand,
.menu-bottom-expand{
    width: 250px;
    height: 90px;
}

/* 開いた時：文字がふわっと出る */
.menu-text-expand{
  opacity: .95;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: #AE4F33;
  font-weight: 600;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
  transition-delay: .25s;
}


/* ✕ボタン（閉じてる時は非表示） */
.menu-close{
  position: fixed;
  top: 16px;
  right: 20px;

  /* 見た目は✕だけ */
  background: none;
  border: none;
  padding: 0;

  color: #5C7ABC;     /* ハンバーガーと同じ色 */
  font-size: 50px;    /* 好みで調整OK */
  font-weight: 600;
  line-height: 1;
  cursor: pointer;

  display: none;      /* 閉じてる時は出さない */
  z-index: 10000;     /* menuより上 */
}

/* 開いてる時だけ表示 */
.menu-close.is-open{
  display: block;
}


/*-----*/

.TOP{
  width: 100%;
  min-height: 100vh;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.TOP-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}
.TOP-bgL,.machineL{
  display: none;
}
.TOP h1,
.machine,
.logo{
  position: relative;
  z-index: 1;
}
.TOP h1{
    padding-top: 6rem;
}
.machine{
  width: auto;
  height: 350px;
  margin: 1rem 4rem;
}
.logo{
  width: auto;
  height: 150px;
  padding-bottom: 0;
}

main{
  max-width: 1024px;
  margin: 6rem 0;
}
.gaiyo,
.start p,
.enjoy p{
  padding: 0 1.6rem;
  text-align: center;
}
.start{
  position: relative;
  margin: 2rem 0;
  padding: 2.5rem 0;
}
.start-text{
  text-align: center;
  padding: 5.5rem 0;
}
.small{
  margin-top: 1rem;
  font-size: 12px;
}
.start img{
  position: absolute;
  width: 120px;
  height: auto;
  z-index: 2;
}
.human-1{
  top: 0;
  left: 1rem;
}
.human-2{
  bottom: 1rem;
  right: 1rem;
}

/*魅力五選*/
.five-charm{
  position: relative;
  margin-top: 4rem;
}
.five-charm h2,
.report h2,
.enjoy h2{
  text-align: center;
  margin-bottom: 1.5rem;
}
.page{
  height: 100%;
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.page img{
  width: 80%;
  height: auto;
  margin-bottom: 3rem;
  background: #fff;
}
.page h3{
  font-size: 26px;
  letter-spacing: 0.4em;
}
.page p{
  width: 80%;
  margin-bottom: 3rem;
  line-height: 1.8;
  letter-spacing: 0.1em;
  font-weight: 350;
}
.page:nth-of-type(1) {
  background-color: #C76A4A;
  color: #fff;
}
.page:nth-of-type(2) {
  background-color: #6C4747;
  color: #fff;
}
.page:nth-of-type(3) {
  background-color: #fff0c4;
  color: #C76A4A;
}
.page:nth-of-type(4) {
  background-color: #2c9944;
  color: #fff;
}
.page:nth-of-type(5) {
  background-color: #3ba4e0;
  color: #fff;
}

/*レポート*/
.report{
  margin: 2rem 0.8rem 3rem;
  border: solid 4px #C76A4A;
  border-radius: 10px;
}
.report p{
  text-align: center;
  padding: 0 0.8rem;
}
.dialy{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 横2列 */
  gap: 1rem; /* 画像同士の余白（好みで） */
  padding: 1.6rem;
}
.dialy img{
  display: block;
}
.d-img{
  width: 100%;
  height: auto;
  border: solid 4px #C76A4A;
  border-radius: 10px;
}
.road{
  width: 80%;
  height: auto;
  padding: 1rem;
}
.report p large{
  font-size: 20px;
  font-weight: 500;
  background: linear-gradient(transparent 60%, #eceb96 30%);
}


/*まちがい探し*/
.enjoy{
  position: relative;
  margin: 4rem 1rem 0;
}
.illust{
  padding: 1rem;
}
.answer-content{
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .5s ease, opacity .35s ease, transform .35s ease;
  margin-top: 0;
}

/* 開いた状態 */
.answer-content.is-open{
  max-height: 9999px;
  opacity: 1;
  transform: translateY(0);
}
/* ボタン（そのまま流用可） */
.answer-btn{
  margin-left: 75%;
  padding: 0.6rem 1.2rem;
  background: #C76A4A;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.answer-content{
  background: #C76A4A;
  color: #fff;
  position: relative;
  border-radius: 30px;
}
.content-inner .illust{
  margin-top: 3rem;
}
.box{
  position: relative;
  background: #fdf9ec;
  border: solid 4px #fcecb8;
  border-radius: 10px;
  margin: 0 1.5rem;
  color: #C76A4A;
}
.answer-list{
  width: fit-content;
  margin: 0 auto;
  padding-left: 1.2rem;
  padding-bottom: 2rem;
  text-align: left;
  font-weight: 400;
}
.iii{
  display: flex;
  gap: 10px;
  padding: 1rem 0.5rem;
  align-items: center;
}
.iii-left{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0.5rem;
  width: 100%;
}
.iii-left h3{
  font-size: 18px;
  text-align: center;
  font-weight: 400;
}
.iii p{
  font-size: 14px;
  text-align: left;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding-right: 0.5rem;
  width: 100%;
}
.last{
  margin-bottom: 3rem;
}


/*フッター*/
footer{
  position: relative;
  width: 100%;
  height: auto;
  background: linear-gradient(#ADDEF8, #E4F6FF);
}
.project-logo{
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 150px;
  height: auto;
}
.cloud1{
  position: absolute;
  top: 3rem;
  left: 0;
  width: 100px;
  height: auto;
}
.footer-text{
  padding-top: 6rem;
  position: relative;
}
.footer-text p{
  padding-left: 1.6rem;
  padding-bottom: 6rem;
  text-align: left;
  font-size: 13px;
  font-weight: 420;
}
.ebechun-search,
.ebechun-adventure,
.border1,.border2{
  position: absolute;
  z-index: 2;
}
.ebechun-search{
  top: 2rem;
  right: 1rem;
  width: 80px;
  height: auto;
  transform: rotate(-40deg);
}
.border1{
  top: 5rem;
  right: 6rem;
  width: 120px;
  height: auto;
}
.ebechun-adventure{
  bottom: 0;
  left: 1rem;
  width: 80px;
  height: auto;
}
.border2{
  bottom: 2rem;
  left: 7rem;
  width: 200px;
  height: auto;
}
.copy-ba{
  margin: 0 1rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.copy-ba img{
  display: block;
  max-width: 100%;
  height: auto;
}
.copy-ba a{
  display: block;
  font-size: 12px;
  line-height: 1.2;
  font-family: "Number";
  margin: 0;
}
.pro-text{
  width: 280px;
  z-index: 9999;
}
.logos{
  width: 250px;
  margin-top: 1.2rem;
  padding-bottom: 1rem;
  z-index: 1;
}
.chimney,.cloud2,.brick-l,.brick-r,.wheat{
  position: absolute;
  display: block;
}
.chimney,.brick-l,.brick-r{
  bottom: 0;
}
.chimney,.cloud2,.brick-r{
  right: 0;
}
.brick-l{
  left: 0;
}
.cloud2{
  top: 21rem;
  z-index: 0;
}
.wheat{
  left: 0.3rem;
  bottom: 1rem;
  width: 70px;
  height: auto;
  transform: rotate(10deg);
}

}

/* -------------------------------------------- */

@media (min-width: 683px) and (max-width: 899px){
  


  .TOP-bg,.machine{
    display: none;
  }
  .TOP-bgL{
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
  }
  .machineL{
    display: block;
    position: relative;
    width: auto;
    padding: 1rem 14rem;
    z-index: 1;
  }
  .logo{
    width: auto;
    height: 250px;
    padding-bottom: 0;
  }

  main {
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
  }

  .road{
    margin: 1rem 2rem;
    width: 60%;
  }
  .report p{
    padding: 0 4rem;
  }
  .answer-btn{
    margin-left: 80%;
    font-size: 24px;
  }
  .box{
    margin: 0 6rem;
  }
  .iii-left{
    width: 75%;
  }
  .iii-left h3{
    font-size: 22px;
  }
  .iii p{
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  /*フッター*/
.project-logo{
  width: 260px;
  height: auto;
}
.cloud1{
  top: 5rem;
  left: 0;
  width: 120px;
  height: auto;
}
.footer-text{
  padding: 10rem 12rem 0;
  position: relative;
}
.footer-text p{
  font-size: 16px;
  font-weight: 450;
}
.ebechun-search{
  right: 2rem;
  width: 120px;
  height: auto;
}
.border1{
  top: 7rem;
  right: 12rem;
  width: 220px;
  height: auto;
}
.ebechun-adventure{
  bottom: 0;
  left: 1rem;
  width: 120px;
  height: auto;
}
.border2{
  bottom: 2rem;
  left: 11rem;
  width: 340px;
  height: auto;
}
.copy-ba a{
  font-size: 14px;
}
.pro-text{
  width: 380px;
}
.logos{
  width: 300px;
}
.cloud2{
  top: 25rem;
  z-index: 0;
}
.chimney{
  width: 100px;
  height: auto;
}
.wheat{
  left: 4rem;
  bottom: 1rem;
  width: 80px;
  height: auto;
}

}





/* レスポンシブ */
@media (min-width: 900px) {
  :root{ --centerW: 393px; }

  header, .TOP, main, footer{
    max-width: var(--centerW);
    margin-left: auto;
    margin-right: auto;
  }
}


/* -------------------------------------------- */