@charset "utf-8";

/*==========================
common
==========================*/
:root {
  --primary-black: #333333;
  --primary-white: #ffffff;
  --primary-gray: #b1b1b1;
}

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

body {
  font-family: "dnp-shuei-mincho-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--primary-black);
  line-height: 1;
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
  overflow-x: hidden
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

img {
  max-width: 100%;
  height: auto;
}

#container {
  padding-left: 5.3%;
  padding-right: 5.3%;
}

h3 {
  font-family: "roc-grotesk-condensed", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 2rem;
  text-align: center;
}

/* pc common */
@media screen and (min-width: 768px) {
  html {
    font-size: 1.041vw;
  }

  #container {
    padding-left: 7%;
    padding-right: 7%;
  }

  h3 {
    font-size: 2.6rem;
  }
}

/*==========================
header
==========================*/
.header {
  position: sticky;
  /* headerを追従にする */
  top: 10px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
}

.drawer__nav__pc {
  display: none;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 100px;
  height: auto;
  display: block;
}

/* ハンバーガーボタンのデザイン */
.drawer__button {
  position: relative;
  width: 4rem;
  height: 4rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 999;
}

/* hamberger__line */
.drawer__button>span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 1px;
  background-color: var(--primary-black);
  transform: translateX(-50%);
}

.drawer__button>span:first-child {
  transform: translate(-50%, calc(-50% - 0.5rem));
  transition: transform 0.3s ease;
}

.drawer__button>span:nth-child(2) {
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.drawer__button>span:last-child {
  transform: translate(-50%, calc(-50% + 0.5rem));
  transition: transform 0.3s ease;
}

/* 展開時 */
.drawer__button.active>span:first-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer__button.active>span:nth-child(2) {
  opacity: 0;
}

.drawer__button.active>span:last-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* menu__design */
.drawer__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary-white);
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.drawer__nav__inner {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--primary-white);
  padding: 4rem 1.5rem 1rem;
  margin: 0 0 0 auto;
  overflow: scroll;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.drawer__nav__menu {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

.drawer__nav__link {
  display: block;
  font-family: "roc-grotesk-condensed", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.8rem;
  color: var(--primary-black);
  text-decoration: none;
  padding: 1rem 1rem;
}

/* 展開時 */
.drawer__nav.active {
  opacity: 1;
  visibility: visible;
}

.drawer__nav.active .drawer__nav__inner {
  transform: translateX(0);
}

.drawer__nav__link:hover {
  opacity: 0.5;
}

/* hamburger展開時・背景固定 */
body.active {
  height: 100%;
  overflow: hidden;
}

/* pc header */
@media screen and (min-width: 768px) {
  .header {
    position: sticky;
    top: 40px;
  }

  .drawer__nav__pc {
    display: flex;
  }

  .drawer__button {
    display: none;
  }

  .drawer__nav {
    display: none;
  }

  .drawer__nav__menu__pc {
    display: flex;
    gap: 0 50px;
  }

  .logo img {
    width: 12vw;
    height: auto;
    display: block;
  }

  .logo:hover {
    opacity: 0.5;
  }

  .drawer__nav__link__pc {
    font-family: "roc-grotesk-condensed", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.8rem;
  }

  .drawer__nav__link__pc:hover {
    opacity: 0.5;
  }
}

/*==========================
contact
==========================*/
.contact {
  padding-top: 60px;
}

.contact p {
  padding: 15px 5.3% 0;
  line-height: 1.4rem;
  text-align: center;
}

.mail__border {
  text-align: center;
  margin: 15px auto 0;
  max-width: 150px;
  border: solid 1px var(--primary-black);
  border-radius: 50px;
  padding: 0.5em 1em;
  font-family: "roc-grotesk-condensed", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.4rem;
  transition: 0.5s;
}

.mail__border:hover {
  background-color: #000000;
  color: #ffffff;
  transition: 0.5s;
}

/* contact pc */
@media screen and (min-width:768px) {
  .contact {
    padding-top: 100px;
    max-width: 1440px;
    margin: 0 auto;
  }

  .contact p {
    padding: 2vw 0 0;
  }

  .spBr {
    display: none;
  }

  .mail__border {
    padding: 0.5em 1em;
  }

  .mail__border {
    margin: 30px auto 0;
    max-width: 29.3%;
    font-size: 1.6rem;
  }

  .mail__border:hover {
    background-color: #000000;
    color: #ffffff;
    transition: 0.5s;
  }
}

/*==========================
footer(contents)
==========================*/
.footer {
  padding: 60px 0 30px;
}

.footer__contents {
  margin: 0 auto;
  max-width: 400px;
}

.footer__list--item a img {
  max-width: 100%;
  height: auto;
}

.footer__list--item a :hover {
  opacity: 0.5;
  transition: 0.3s;
}

.list__ttl {
  padding-bottom: 6px;
}

.list__ttl__01 {
  width: 20%;
  max-width: 85px;
  height: auto;
}

.list__ttl__02 {
  padding-top: 40px;
  width: 25%;
  max-width: 100px;
  height: auto;
}

.list__ttl__03 {
  padding-top: 40px;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 3.4vw, 22px);
  font-style: normal;
  letter-spacing: 0.08em;
}

/* pc footer(contents) */
@media screen and (min-width:768px) {
  .footer {
    padding: 120px 0 60px;
    max-width: 1440px;
    margin: 0 auto;
  }

  .footer__contents {
    max-width: 1440px;
  }

  .footer__contents__list {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0 50px;
  }

  .list__ttl {
    padding-bottom: 10px;
  }

  .list__ttl__01 {
    width: 35%;
    max-width: 100px;
    height: auto;
  }

  .list__ttl__02 {
    padding-top: 0;
    width: 50%;
    max-width: 120px;
    height: auto;
  }

  .list__ttl__03 {
    padding-top: 0;
    font-size: clamp(14px, 3.4vw, 24px);
  }
}

/*==========================
footer(name/sns)
==========================*/
.footer__ricepress {
  width: 100%;
  padding-top: 20px;
  text-align: center;
  font-family: "roc-grotesk-condensed", sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 3.4vw, 20px);
  font-style: normal;
}

/* .footer__company img {
  max-width: 70px;
  height: auto;
  display: block;
  margin: 0 auto;
} */

.icon__flex {
  /* display: -webkit-box;
    display: -ms-flexbox; */
  display: flex;
  max-width: 300px;
  /* -webkit-box-align: center;
    -ms-flex-align: center; */
  justify-content: center;
  align-items: center;
  margin: 20px auto 0;
  gap: 0 40px;
  flex-wrap: nowrap;
}

.icon__flex span {
  font-size: clamp(8px, 3.4vw, 10px);
  font-family: sans-serif;
  display: inline-block;
  transform: rotate(-45deg);
  vertical-align: baseline;
  white-space: nowrap;
}

.icon__flex :hover {
  opacity: 50%;
}

small {
  width: 100%;
  display: inline-block;
  font-family: "roc-grotesk-condensed", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 0.8rem;
  padding-top: 20px;
  text-align: center;
}

/* pc__footer(name/sns) */
@media screen and (min-width:768px) {
  .footer__ricepress {
    max-width: 100%;
    /* display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: flex-end; */
    margin-top: 100px;
    font-size: 1.6rem;
    padding-top: 0;
    overflow: hidden;
  }

  .icon__flex {
    max-width: 100%;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0 5%;
    margin: 0 auto;
  }

  /* .icon__flex {
    min-width: 50%;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: flex-end;
    gap: 0 7%;
    margin: 0;
  } */

  .icon__flex span {
    font-size: 1rem;
    align-items: center;
  }

  .icon__flex :hover {
    opacity: 50%;
  }

  .icon__flex span {
    font-size: clamp(8px, 3.4vw, 12px);
  }

  small {
    width: 100%;
    display: inline-block;
    color: var(--primary-black);
    font-family: "roc-grotesk-condensed", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
    padding-top: 60px;
    text-align: center;
  }
}