@charset "utf-8";

#page:before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100svh;
  background-image: url(../images/top_img_main.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* h1見出し */
@media (max-width: 640px) {
  .page-head__title {
    justify-items: left;
  }
}

.basic-page {
  position: relative;
  z-index: 1;
}

/* ヒーローイメージ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 976px;
  height: calc(100svh - 126px);
  margin: 0 auto;
}

@media (max-width: 640px) {
  .hero {
    height: calc(100svh - 84px);
  }
}

.hero > .link__english {
  margin-left: auto;
  opacity: 0;
  border: none;
  border-radius: 4px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero > .link__english {
    top: 5px;
    right: 4px;
    opacity: 1;
    pointer-events: auto;
  }
}

.hero > .link__amazon {
  opacity: 0;
  position: absolute;
  right: 0;
  bottom: 63px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero > .link__amazon {
    bottom: 4px;
    right: 4px;
    opacity: 1;
    pointer-events: auto;
  }
}

.hero > .link__amazon > img {
  border-radius: 4px;
}

.hero__logo {
  display: none;
  width: 100%;
  max-width: 976px;
  z-index: 1;
}

@media (max-width: 640px) {
  .hero__logo {
    display: block;
    padding-top: 0;
  }
}

.icon__scroll {
  animation: fuwafuwa 2s infinite;
  opacity: .8;
  margin-top: 5rem;
}

@keyframes fuwafuwa {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 640px) {
  .icon__scroll {
    display: none;
  }
}

/* イントロ */
.intro {
  width: 100%;
  margin: auto;
}

.intro.bg__blue {
  padding: 0;
}

@media (max-width: 640px) {
  .intro.bg__blue {
    padding: 2rem 1rem;
  }
}

.intro__inner {
  width: 100%;
  max-width: 976px;
  min-height: 440px;
  margin: auto;
  background-image: url(../images/top_01.png);
  background-repeat: no-repeat;
  background-position: right;
}

@media (max-width: 640px) {
  .intro__inner {
    min-height: auto;
    margin: auto;
    background-image: none;
  }
}

.intro__copy {
  width: 100%;
  max-width: 640px;
  padding: 4rem 0;
  line-height: 2;
}

@media (max-width: 640px) {
  .intro__copy {
    padding: 0;
  }
}

.intro__figure {
  display: none;
}

@media (max-width: 640px) {
  .intro__figure {
    display: block;
    margin: 2rem auto;
  }
}

/* 事業案内 */
.business {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 640px) {
  .business {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 0 .5rem;
  }
}

.business__content {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 600px;
  min-height: 296px;
  margin-top: -296px;
  background: rgba(255, 255, 255, .7);
}

@media (max-width: 640px) {
  .business__content {
    position: static;
    order: 3;
    min-height: auto;
    margin-top: -4rem;
    padding: 2rem .5rem;
  }
}

.business__copy {
  max-width: 440px;
}

.business__figure {
  width: max-content;
  margin: 2rem 0 0 auto;
}

@media (max-width: 640px) {
  .business__figure {
    width: 100%;
  }
}

/* 製品ラインアップ */
.lineup {
  width: 100%;
  margin: auto;
  padding: 8rem 0 16rem;
  background-color: #605f5f;
}

@media (max-width: 640px) {
  .lineup {
    padding: 4rem .5rem 8rem;
    background-color: #605f5f;
  }
}

.lineup__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 640px) {
  .lineup__inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
}

.lineup__inner > .page-head__title {
  color: #fff;
}

.lineup__inner > .page-head__title > span:first-of-type {
  color: #fff;
}

.lineup__content {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 600px;
  min-height: 296px;
  margin: -296px 0 0 auto;
  color: #fff;
  background: rgba(51, 51, 51, .7);
}

@media (max-width: 640px) {
  .lineup__content {
    position: static;
    order: 3;
    min-height: auto;
    margin-top: -4rem;
    padding: 2rem .5rem;
  }
}

.lineup__copy {
  max-width: 440px;
}

.lineup__figure {
  width: max-content;
  margin: 2rem auto 0 0;
}

@media (max-width: 640px) {
  .lineup__figure {
    width: 100%;
  }
}

.lineup .btn__link {
  min-height: 64px;
  color: #fff;
  border: solid 1px #fff;
  background: rgba(51, 51, 51, .7);
}

.lineup .btn__link__append::before {
  background-color: #fff;
}

.lineup .btn__link__append::after {
  background-color: #fff;
}

/* 新着情報 */
.news {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  width: 95%;
  max-width: 1200px;
  margin: -8rem auto 0;
  padding: 2rem 6rem;
  background: #fff;
}

@media (max-width: 640px) {
  .news {
    display: block;
    margin: -4rem auto 0;
    padding: 1rem;
  }
}

.news__dl {
  max-width: 660px;
  padding: 2rem 0 0;
  margin-left: auto;
}

.dl__item {
  padding: 1.5rem 0;
  border-top: solid 1px #2d2d33;
}

.dl__item:last-of-type {
  border-bottom: solid 1px #2d2d33;
}

.dl__item {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 3rem;
}

@media (max-width: 640px) {
  .dl__item {
    display: block;
  }
}

/* 会社情報・アクセス */
.company-access {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 8rem auto 0;
}

@media (max-width: 640px) {
  .company-access {
    display: block;
    margin: 4rem auto 0;
  }
}

.company-access .btn__link {
  background-color: unset;
}

.company,
.access {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  min-height: 506px;
  background-image: url(../images/top_04.jpg);
  background-repeat: no-repeat;
}

@media (max-width: 640px) {

  .company,
  .access {
    min-height: auto;
    aspect-ratio: 1/1;
    background-position: center;
    background-size: cover;
  }
}

.access {
  background-image: url(../images/top_05.jpg);
}

.comapny__content,
.access__content {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 375px;
  aspect-ratio: 1/1;
  border: solid 1px #fff;
  background-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(4px);
}

@media (max-width: 640px) {

  .comapny__content,
  .access__content {
    width: 80%;
    padding: 2rem;
  }
}

.company__title,
.access__title {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 3rem;
  font-weight: bold;
}

@media (max-width: 640px) {

  .company__title,
  .access__title {
    margin-bottom: 1rem;
  }
}

.company__title > span:first-of-type,
.access__title > span:first-of-type {
  font-size: 2.5rem;
}

/* お問い合わせ */
.contact {
  padding: 4rem 0 8rem;
  background-color: rgb(188, 218, 208);
  background-image: url(../images/bg_contact.jpg);
  background-position: center;
}

@media (max-width: 640px) {
  .contact {
    padding: 4rem .5rem 8rem;
  }
}

.contact__inner {
  width: 100%;
  max-width: 976px;
  margin: auto;
}

.link {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}

@media (max-width: 640px) {
  .link {
    display: block;
  }
}

.link__title {
  display: grid;
  margin: 0 0 2rem 0;
  font-size: 2.5rem;
  font-weight: bold;
}

@media (max-width: 640px) {
  .link__title {
    font-size: 2rem;
  }
}

.link__title > span:first-of-type {
  color: #00429a;
  font-size: .875rem;
}

.contact__tel {
  padding-bottom: 2rem;
  border-bottom: solid 1px #858585;
}

.tel__title {
  font-size: 1.125rem;
  font-weight: bold;
}

.tel__ul {
  display: grid;
  grid-template-columns: min-content 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.tel__ul::before {
  grid-row: 1/4;
  content: url(../images/icn_tel.png);
}

.ul__item {
  grid-column: 2/3;
  line-height: 1;
}

.ul__item > span {
  font-size: 2.5rem;
  font-weight: bold;
}

@media (max-width: 640px) {
  .ul__item > span {
    font-size: 2rem;
  }
}

.contact__mail {
  grid-column: 2/3;
  margin-top: 2rem;
}