@charset "UTF-8";

/*
Theme Name: YAMAICHI METAL
Theme URI: 
Author: 
Author URI: 
Description:
*/

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 500;
  position: relative;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
  font-size: 1.5rem;
  line-height: 2.5rem;
  color: #424242;
  overflow-x: hidden;
  margin: 0;
}

.inner {
  margin: auto;
  max-width: 1064px;
  padding: 16px;
}

a:hover {
  cursor: pointer;
}

b {
  font-weight: 600;
}

p {
  font-size: 1.5rem;
  line-height: 2.8rem;
}

.ttl {
  font-size: 5.6rem;
  line-height: 5.6rem;
  font-weight: 900;
  color: #2EA93D;
  margin-bottom: 16px;
}

.subttl {
  letter-spacing: 2px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2EA93D;
}

section {
  padding: 40px 0;
}

.section__header {
  margin-bottom: 40px;
  text-align: center;
}

.sp {
  display: block;
}

.tb {
  display: block;
}
.pc {
  display: none;
}
@media (min-width: 481px) {}

@media (min-width: 768px) {
  section {
    padding: 80px 0;
  }
  .section__header {
    margin-bottom: 80px;
    text-align: center;
  }
  .inner {
    margin: auto;
    max-width: 1064px;
    padding: 32px;
  }
  .ttl {
    font-size: 9.0rem;
    line-height: 9.0rem;
    font-weight: 900;
    color: #2EA93D;
  }
  .section__header {
    margin-bottom: 80px;
    text-align: left;
  }
  .sp {
    display: none;
  }
  
  .pc {
    display: block;
  }
}

@media (min-width: 1024px) {}

@media (min-width: 1280px) {}

@media (min-width: 1400px) {}

.pc {
  display: none;
}

.sp {
  display: block;
}

@media (min-width: 481px) {}

@media (min-width: 768px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }
}

@media (min-width: 1024px) {}

@media (min-width: 1280px) {}

@media (min-width: 1400px) {}

header {
  position: fixed;
  transition: transform 0.3s ease;
  top: 0;
  width: 100%;
  z-index: 20;
  /* padding: 0 16px; */
}

header.hidden {
  transform: translateY(-100%);
}

header .header_nav__front a {
  color: #ffffff;
}

header a {
}

.header_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.header_nav__logo {
  max-width: 200px;
  width: 60%;
  padding-left: 8px;
}

.header_nav__menu {
  display: flex;
  flex-direction: row;
  gap: 2px;
}

.header_nav__list {
  display: none;
}

.header_nav__item {
  position: relative;
  padding-right: 16px;
}

.header_nav__item>a {
  position: relative;
}

.header_nav__item>a:after {
  content: url(../images/nav/icon_menu_pulldown.png);
  position: absolute;
  right: -12px;
  height: 7px;
  transform: translateY(-50%);
  display: inline-block;
  width: 6px;
}

.header_nav__item:last-child a:after {
  content: none;
}

.header_nav__item__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 10px 0;
  z-index: 1000;
  min-width: 240px;
}

.header_nav__item__sub li {
  padding-left: 16px;
}

.header_nav__item__sub li a {
  display: block;
  text-decoration: none;
  font-size: 1.4rem;
  position: relative;
  padding: 4px 0;
}

.header_nav__item__sub li:before {
  content: url(../images/nav/icon_submenu.png);
  position: absolute;
  left: 0;
  height: 0;
  transform: translateY(-50%);
  display: inline-block;
  width: 6px;
}

.header_nav__item__sub li a:hover {}

.header_nav__item:hover>.header_nav__item__sub {
  display: block;
}

.header_nav__menu.open .header_nav__list {
  display: block;
}

.header_nav__toggle {
  position: relative;
  width: 40px;
  height: 40px;
  background-color: #2EA93D;
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header_nav__toggle span {
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.header_nav__toggle span:nth-child(1) {
  top: 12px;
}

.header_nav__toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.header_nav__toggle span:nth-child(3) {
  bottom: 12px;
}
.header_nav.open .header_nav__list {
  display: flex;
  position: absolute;
  flex-direction: column;
  left: 0;
  top: 40px;
  padding: 16px;
  background-color: #2EA93D;
  width: 100%;
  height: 100vh;
}
.header_nav.open .header_nav__item__sub {
  display: block;
  position: relative;
  top: 0;
}
.header_nav.open .header_nav__item>a:after {
  display: none;
}
.header_nav.open .header_nav__toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header_nav.open .header_nav__toggle span:nth-child(2) {
  opacity: 0;
}

.header_nav.open .header_nav__toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.header_nav__entry {
  display: flex;
  padding: 0 16px;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  background-color: #2EA93D;
  color: #ffffff!important;
  max-width: 120px;
  border-radius: 1px;
  font-size: 1.3rem;
  line-height: 1.5rem;
  width: 104px;
}

.header_nav__entry span {
  display: block;
  font-size: 1.0rem;
  line-height: 1.2rem;
  letter-spacing: 3px;
}


@media (min-width: 481px) {}

@media (min-width: 768px) {
  .header_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
  }
  .header_nav__logo {
    max-width: 320px;
    padding-left: 16px;
    width: 40%;
  }
  .header_nav__menu {
    display: flex;
    flex-direction: row;
    gap: 4px;
  }
  .header_nav__entry {
    display: flex;
    padding: 0 16px;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    background-color: #2EA93D;
    color: #ffffff;
    min-width: 120px;
    height: 68px;
    border-radius: 1px;
    font-size: 1.5rem;
    line-height: 2.0rem;
  }
  .header_nav__toggle {
    position: relative;
    width: 68px;
    height: 68px;
    background-color: #2EA93D;
    border-radius: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .header_nav__toggle span:nth-child(1) {
    top: 25px;
  }

  .header_nav__toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .header_nav__toggle span:nth-child(3) {
    bottom: 25px;
  }
  .header_nav.open .header_nav__list {
    display: flex;
    position: absolute;
    flex-direction: column;
    left: 0;
    top: 68px;
    padding: 16px;
    background-color: #2EA93D;
    width: 100%;
    height: 100vh;
  }
  .header_nav.open .header_nav__list {
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .header_nav__entry {
    display: flex;
    padding: 0 16px;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    background-color: #2EA93D;
    color: #ffffff;
    min-width: 160px;
    height: 68px;
    border-radius: 2px;
    font-size: 1.5rem;
    line-height: 2.0rem;
  }
  .header_nav__item {
    position: relative;
    padding-right: 32px;
  }
  .header_nav__toggle {
    /* position: relative;
    width: 70px;
    height: 70px;
    background-color: #2EA93D;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; */
    display: none;
  }

  .header_nav__toggle span {
    position: absolute;
    width: 50%;
    height: 5px;
    background-color: #ffffff;
    transition: all 0.3s ease;
  }

  .header_nav__item {
    position: relative;
    padding-right: 24px;
  }

  .header_nav__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
}

@media (min-width: 1280px) {}

@media (min-width: 1400px) {}

/* FOOTER */
@media (min-width: 481px) {}

@media (min-width: 768px) {}

@media (min-width: 1024px) {}

@media (min-width: 1280px) {}

@media (min-width: 1400px) {}

.feature__item__button {
  background-color: #2EA93D;
  color: #ffffff;
  font-weight: 500;
  margin: 24px 0;
  padding: 8px 16px;
  width: 100%;
  border-radius: 4px;
}
.story__item__button a {
  background-color: #2EA93D;
  color: #ffffff;
  font-weight: 500;
  margin: 0;
  padding: 8px 16px;
  width: 100%;
  border-radius: 4px;
  display: block;
}
@media (min-width: 481px) {}

@media (min-width: 768px) {
  .feature__item__button {
    background-color: #2EA93D;
    color: #ffffff;
    font-weight: 500;
    margin: 24px 0;
    padding: 8px 16px;
    width: 100%;
    border-radius: 4px;
  }
  .story__item__button {
    background-color: #2EA93D;
    color: #ffffff;
    font-weight: 500;
    margin: 0;
    padding: 8px 16px;
    width: 100%;
    max-width: 240px;
    border-radius: 4px;
  }
}

@media (min-width: 1024px) {}

@media (min-width: 1280px) {}

@media (min-width: 1400px) {}


footer {
  text-align: center;
  padding: 32px;
  padding-bottom: 8px;
  background-color: #F2FCEF;
}

footer,
footer a {
  color: #4E4E4E;
  font-weight: 400;
}

footer dt,
footer dt a {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
}

footer dd,
footer dd a {
  font-size: 1.4rem;
}
.footer_nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 0;
  align-items: center;
  gap: 40px;
}

.footer_nav__logo {
  max-width: 320px;
}
.footer_nav__menu {
  display: flex;
  flex-direction: row;
  text-align: left;
  gap: 40px;
  display: none;
}
dd.footer_nav__menu__item {
  position: relative;
  padding-left: 12px;
}
dd.footer_nav__menu__item:before {
  content: url(../images/nav/icon_footer_menu.png);
  position: absolute;
  left: 0;
  height: 0;
  transform: translateY(-50%);
  display: inline-block;
  width: 6px;
}
@media (min-width: 481px) {}

@media (min-width: 768px) {
  .footer_nav__menu {
    display: flex;
    flex-direction: row;
    text-align: left;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .footer_nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px 0;
    gap: 24px;
  }
  .footer_nav__menu {
    display: flex;
    flex-direction: row;
    text-align: left;
    gap: 40px;
  }
}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {}


#header {
  transition: background-color 0.3s, color 0.3s, top 0.3s;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

#header.hidden {
  top: -100px; /* 上にスライドして非表示 */
}

#header.is-transparent {
  background-color: transparent;
  color: inherit;
}

#header.is-white {
  background-color: white;
}

#header.is-white a {
  color: black;
}

#header.is-black {
  background-color: rgba(0,0,0,.3);
}

#header.is-black a {
  color: white;
}