@charset 'UTF-8';

/*
主たるブレイクポイント
750px
*/

/*=====================
全サイズ共通 & 汎用クラス
=====================*/

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.8;
  color: #000000;
  background-color: #ef8600;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

body::before {
  z-index: -20;
  content: "";
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(../../img/bg01.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  --main-content-width: 1100px;
  --outside-img-mag: 1;
  --outside-width: calc((100% - var(--main-content-width)) / 2);
  --outside-img-width: calc(var(--outside-width) * var(--outside-img-mag));
  width: var(--outside-img-width);
  left: calc((var(--outside-width) - var(--outside-img-width)) / 2);
}

body::after {
  z-index: -20;
  content: "";
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(../../img/bg02.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  --main-content-width: 1100px;
  --outside-img-mag: 1;
  --outside-width: calc((100% - var(--main-content-width)) / 2);
  --outside-img-width: calc(var(--outside-width) * var(--outside-img-mag));
  width: var(--outside-img-width);
  right: calc((var(--outside-width) - var(--outside-img-width)) / 2);
}

@media screen and (max-width: 1430px) {
  body::before,
  body::after {
    background-image: unset;
  }
}

@media screen and (max-height: 440px) {
  body::before,
  body::after {
    background-image: unset;
  }
}

* {
  margin: 0;
  padding: 0;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

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

section[id] {
  scroll-margin-top: 80px; /* ヘッダーの高さ + 少しの余白に調整 */
}

main {
  z-index: 100;
  margin: auto;
  overflow: hidden;
  max-width: 1100px;
  background-color: #f4ac10;
  background-image: url(../../img/bg03.png);
  background-size: 100%;
  background-repeat: repeat-y;
  background-position: center center;
  container-type: inline-size; /* 親要素をコンテナとして定義（cqi単位を使用可能にする） */
}

.inner {
  max-width: 1100px;
  padding: 0 30px;
  margin: auto;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: bold;
}

@media screen and (min-width: 600px) {
  .br_sp {
    display: none;
  }
}
/*min-width:600px*/

@media screen and (max-width: 750px) {
  body {
    font-size: 1.4rem;
  }

  .inner {
    padding: 0 5%;
  }

  .br_pc {
    display: none;
  }
}

li {
  list-style: none;
}

a.text_link {
  text-decoration: underline;
  color: #7e6150;
  font-weight: bold;
}

a.btn {
  background-color: #000;
  display: block;
  max-width: 260px;
  width: 60%;
  line-height: 2.5;
  font-family: "azo-sans-uber", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: clamp(1.5rem, 2cqi, 2rem);
  color: #fff;
  border-radius: 30px;
  box-shadow: 1px 2px 0px 1px #ef8600;
  margin: auto;
  cursor: pointer;
  transition: all 0.1s ease-out;
}

a.btn:hover {
  background-color: #f4ac10;
  box-shadow: 0px 1px 0px #ef8600;
  transform: translate(1px, 2px);
}

@media screen and (max-width: 750px) {
} /*max-width:750px*/

/*=====================
ヘッダー
=====================*/

header {
  position: sticky;
  z-index: 1000;
  top: 0;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  background-color: #ef8600;
  margin: auto;
  container-type: inline-size;
}

header .logo {
  width: 90px;
  flex-shrink: 0;
  transition: all 0.3s ease-in-out;
}

header .logo a {
  transition: all 0.3s ease-in-out;
}

header .logo img {
  width: 100%;
}

header nav {
  top: 80px;
  padding: 0 10px;
}

header .menu_btn {
  display: none;
}

header .drawer_hidden {
  display: none;
}

header .menu_list {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: flex-end;
  width: 100%;
  align-items: center;
}

header .menu_list li {
  display: inline-block;
  font-family: "azo-sans-uber", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 45px;
  color: #ffffff7b;
  font-size: clamp(1.2rem, 2.6cqi, 3rem);
  margin-right: clamp(4px, 1cqi, 12px);
  white-space: nowrap;
}

header .menu_list li a {
  display: inline-block;
  color: #fff;
  opacity: 1;
  transition: all 0.15s ease-in-out;
}

header .menu_list li a.x_icon {
  display: block;
  width: 100%;
  max-width: 42px;
  flex-shrink: 0;
}

header .menu_list li:last-child {
  margin-right: 0;
}

header .menu_list li a:hover {
  color: #333;
}

header img {
  transition: all 0.15s ease-in-out;
}

header a img:hover {
  opacity: 0.8;
}

header .menu-background {
  display: none;
}

@media screen and (max-width: 750px) {
  header .menu_btn {
    display: none;
  }

  header .drawer_hidden {
    display: none;
  }

  header {
    width: 100%;
    display: flex;
    padding: 1.6% 3%;
    mix-blend-mode: unset;
    z-index: 1000;
  }

  header .logo {
    width: 65px;
  }

  header .menu_btn {
    z-index: 1;
    display: block;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  header nav {
    display: none;
    background-color: #f4ac10;
    background-image: url(../../img/bg03.png);
    background-size: cover;
    background-position: center center;
    position: fixed;
    margin: auto;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }

  header.on nav {
    display: block;
    opacity: 1;
  }

  header.on .menu-background {
    width: 100%;
    height: 100vh;
    animation-name: fadeInAnime;
    animation-duration: 0.2s;
    animation-fill-mode: forwards;
    opacity: 0;
  }

  /* ハンバーガーアイコンの設置スペース */
  .drawer_open {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    cursor: pointer;
    right: 0;
    width: 42px;
    height: 42px;
  }

  /* ハンバーガーメニューのアイコン */
  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: "";
    display: block;
    height: 3px;
    width: 40px;
    background: #fff;
    transition: 0.2s;
    position: absolute;
  }

  /* 三本線の一番上の棒の位置調整 */
  .drawer_open span:before {
    bottom: 10px;
  }

  /* 三本線の一番下の棒の位置調整 */
  .drawer_open span:after {
    top: 10px;
  }

  /* アイコンがクリックされたら真ん中の線を透明にする */
  .on .drawer_open span {
    background: rgba(255, 255, 255, 0);
  }

  /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
  .on .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  .on .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  header .nav_wrapper {
    margin-top: 100px;
  }

  header .menu_list {
    display: grid;
    justify-content: left;
  }

  header .menu_list li {
    position: relative;
    display: block;
    width: 100%;
    font-size: max(2rem, 8vw);
    text-align: left;
    padding: 3cqi;
    padding-left: 9%;
  }

  header .menu_list li a {
    transition: all 0.2s ease-in-out;
  }

  header .menu_list li ::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
    border: 2vw solid transparent;
    border-left: 3vw solid #ef8600;
    transition: all 0.2s ease-in-out;
  }

  header .menu_list li:last-child ::before {
    display: none;
  }
  header .menu_list li :hover::before {
    left: 15px;
  }

  header .menu_list li a.x_icon {
    max-width: unset;
    width: fit-content;
  }

  header .menu_list li a.x_icon {
    width: 25%;
    margin-top: 10%;
  }

  @keyframes fadeInAnime {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }
} /*max-width:750px*/

/*===================
フッター
=====================*/

footer {
  max-width: 1100px;
  margin: auto;
  padding: 2%;
  background-color: #ef8600;
  color: #fff;
  z-index: 100;
}

footer .copy {
  width: 100%;
  font-size: 1.4rem;
}

@media screen and (max-width: 750px) {
  footer .copy {
    font-size: 1rem;
  }
}

/*max-width:750px*/

/*===================
アニメーション
=====================*/

.scroll_up {
  transform: translateY(120px) scale(0.8);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.6s ease;
}

.scroll_up.on {
  transform: translateY(0) scale(1);
  opacity: 1;
}
