* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  --main0: #E40113;
  --main9:  #C30110;
  --main100: #7E010B;
  --footer: #474646;
  --humberger: #FFFFFF;
  --header-back:#F8F9F8;
  --background: #F4F5F5;

}

/*-------------------------------

共通パーツ

-------------------------------*/
.cmn-hg {
  margin: 2em 1em;
}

.cmn-hg > h1 {
  font-size: 32px;
  margin: 0;
  font-weight: bold;
}

.cmn-hg > p {
  background:  linear-gradient(90deg,var(--main0), var(--main100));
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  font-weight: bold;
}

.cmn-hg2 {
  width: fit-content;
  margin: 1em auto;
  font-weight: bold;
  letter-spacing: 2.5px;
}


.cmn-hg2 > h2 {
  margin: 0;
  font-size: 26px;
}

.cmn-hg2 > p {
  background:  linear-gradient(90deg,var(--main0), var(--main100));
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  font-weight: bold;
  width: fit-content;
  margin: 0 auto;
}

@media(min-width:1100px) {
  .cmn-hg {
    max-width: 1100px;
    margin: 1em auto;
  }
}

b {
  color: red;
}

.hov:hover {
  filter: brightness(300%);
    transition: all 2s;
}

.img-hov:hover {
  filter: brightness(50%);
  transition: all 0.5s;
}

/*-------------------------------

	ヘッダー

-------------------------------*/
.ham > a > img {
  width: 235px;
}

header {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
}


.hamburger_btn {
  display: flex;
  flex-flow: column nowrap;
  width: 64px;
  position: fixed;
  top: 0px;
  right: 0px;
  z-index: 1000;
  padding: 15px 0 5px 0;
  background: linear-gradient(90deg,var(--main0), var(--main100));
  gap: 10px 0;
  border-bottom-left-radius: 8px;
}

.hamburger_btn span {
  display: block;
  background-color: var(--humberger);
  width: 32px;
  height: 2px;
  transition: transform .3s, opacity .3s;
  margin: 0 auto;
}

.hamburger_btn p {
  color: var(--humberger);
  font-size: 10px;
  font-weight: bold;
  width: fit-content;
  margin: 0 auto;
  margin-top: -5px;
}

.ham {
  margin: 13px;
  max-width: 1300px;
}

.ham_con {
  display: none;
}

/*-------------------------------

ハンバーガーボタン線の動き

-------------------------------*/
.hamburger_btn .addspan:nth-child(1){
  margin-top: 10px;
  transform: rotate(45deg);
}

.hamburger_btn .addspan:nth-child(2){
  display: none;
}

.hamburger_btn .addspan:nth-child(3){
  margin-top: -12px;
  margin-bottom: 10px;
  transform: rotate(-45deg);
}



/*-------------------------------

ハンバーグ中身

-------------------------------*/
.menu {
  background: linear-gradient(90deg,var(--main0), var(--main100));
  width: 90%;
  height: 70%;
  transform: translateX(100%);
  transition: all 0.7s;
  overflow-y: scroll;
  position: fixed;
  z-index: 900;
  top: 0;
  right: 0;
}

.menuopen .menu {
  transform: translateX(0%);
  border-radius: 30px 0 0 30px;
}

.menu ul li {
  list-style: none;
  font-size: 15px;
  letter-spacing: 0.06rem;
  font-weight: bold;
  flex-basis: 45%;
  text-align: center;
}

.menu ul li a {
  display: block;
  text-decoration: none;
  color: var(--humberger);
  border-bottom: var(--humberger) 1.5px solid;
  padding: 10px;
  min-width: 135px;
}

.head_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  margin-top: 60px;
  justify-content: center;
  padding: 0;
}

.head_nav::after {
  content: "";
  display: block;
  width: 45%;
}

.header_btn {
  text-decoration: none;
  background-color: var(--humberger);
  display: block;
  width: fit-content;
  padding: 10px 40px;
  border-radius: 23px;
  margin: 1em auto;
}

.header_btn > span {
  background: linear-gradient(90deg, var(--main0), var(--main100));
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;

}

@media(min-width: 500px){
  .cmn-hg2 > p {
    font-size: 20px;
    letter-spacing: 0;
  }
  .cmn-hg2 > h2 {
      font-size: 2em;
  }
}

/*-------------------------------

ヘッダーPC

-------------------------------*/
@media(min-width:650px) {
  .hamburger_btn {
    display: none;
  }

  .ham > a > img {
    width: 350px;
  }

  .menu {
    transform: translateX(0);
    background:none ;
    background-color: var(--header-back);
    width: 100%;
    height: 54px;
    height: fit-content;
    position: static;
    overflow: hidden;
    justify-content: center;
  }

  .menu > .head_nav > li {
    flex-basis: 20px;
  }

  .menu > .head_nav > li  > a{
    color: var(--footer);
  }

  .head_nav {
    margin: 0;
    gap: 0;
  }

  .head_nav::after {
    display: none;
  }

  .header_btn {
    display: none;
  }

  .ham {
    margin: 3em 2em 1em 2em;
    max-width: 1300px;
  }

  .ham_con {
    display: block;
    position: absolute;
    top: -10px;
    right: 0;
    text-decoration: none;
    padding: 10px 40px;
    background: linear-gradient(-20deg, #E40113 0%, #7E010B 100%);
    border-radius: 23px;
    width: fit-content;
    color: var(--humberger);
    margin-right: 20px;
  }
}



/*-------------------------------

フッター

-------------------------------*/
footer {
  border-top: var(--main100) 1px solid;
  position: relative;
  margin: 2em 0;
  border-bottom: var(--main100) 10px solid;
}

footer .logo {
  margin: 2em auto;
  width: 250px;
  height: auto;
  align-self: start;
}

.ft-wrap {
  max-width: 1050px;
  margin: 0 auto;
}

.ft {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

footer .ft-list {
  margin: 2em 1.5em;
  padding: 0 1em;
  width: 100%;
  max-width: 500px;
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(7rem,1fr));
  column-gap: 2em;
  row-gap: 1em;
}

footer .ft-list > li {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: bold;
  color: var(--footer);
}

footer .ft-list > li a {
  text-decoration: none;
  color: var(--footer);
}

.ft-btn {
  padding: 10px 40px;
  background: linear-gradient(-20deg, #E40113 0%, #7E010B 100%);
  border-radius: 23px;
  width: fit-content;
  margin: 0em auto;
}

.ft-btn > a {
  text-decoration: none;
  color: white;
}

small {
  color: #a9a9a9;
  display: block;
  margin: 1.5em;
}
