@charset "UTF-8";

/* ================
全体のスタイル
================ */

/* 1rem=10pxにする計算設定 */
html {
  font-size: 62.5%;
}

body {
  color: #a76168;
  background-color: #fff;
  font-family: "Hiragino Sans", sans-serif;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.1em;
}

/* カスタムフォントを適用 */
@font-face {
  font-family: "times";
  src: url("/assets/css/OPTITimes-Roman.otf") format("truetype");
}

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

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

/*================
共通
================ */

/* 改行位置など */
/* spだけ表示したくない時に記述 */
/* PCだけ表示したくない時に記述 */

/*================
header
================ */
.header {
  display: flex;
  width: 100%;
  z-index: 100;
}

.header-logo {
  width: 196px;
  margin-left: 40px;
  margin-top: 40px;
}

/* ハンバーガーメニュー */
/*ボタン外側*/
.openbtn {
  position: relative; /*ボタン内側の基点となるためrelativeを指定*/
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  margin-top: 4px;
  margin-right: 4px;
}

/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: all 0.4s; /*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #c38291;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

/*activeクラスが付与されると線が回転して×に*/
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 13px;
  transform: translateY(6px) rotate(-45deg);
  width: 50%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0; /*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 13px;
  transform: translateY(-6px) rotate(45deg);
  width: 50%;
}

/* ハンバーガーメニュー:1025px以上は非表示 */
.openbtn {
  display: none;
}

/* 1025px以上で表示されるメニュー */
.header-menu {
  width: 67%;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8%;
  font-size: 2.2rem;
  margin-top: 48px;
  height: 80px;
  font-family: "times";
  color: #fff;
  background: rgb(231, 158, 167);
  background: linear-gradient(
    165deg,
    rgba(231, 158, 167, 1) 0%,
    rgba(190, 120, 136, 1) 100%
  );
}

.header-menu li {
  height: fit-content;
}

/* .header-menu li:last-child {
} */

.header-menu li:last-child a {
  padding: 0.4em 1.5em;
  width: 100%;
  height: 100%;
  border: #fff 1px solid;
}

/* 1200px以下で各メニュー間のgapを32px */
@media screen and (max-width: 1200px) {
  .header-menu {
    gap: 40px;
  }
}

/* 1024px以下でハンバーガーメニュー表示 */
@media screen and (max-width: 1024px) {
  .header {
    justify-content: space-between;
    position: fixed;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    -moz-backdrop-filter: blur(2px);
    -o-backdrop-filter: blur(2px);
    -ms-backdrop-filter: blur(2px);
  }

  .header-menu {
    display: none;
  }

  .header-logo {
    width: 124px;
    margin-left: 16px;
    margin-block: 16px;
  }

  .openbtn {
    display: block;
  }

  /* ハンバーガーメニューをクリックされた際に表示されるメニュー */
  .hum-active {
    display: block;
    position: fixed;
    width: 100%;
    height: calc(100vh - 61.85px);
    background: unset;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 10;
    color: #a76168;
    margin-top: 0;
    top: 61.58px;
  }

  .hum-scroll {
    overflow: hidden;
  }

  .header-menu li:last-child {
    border: unset;
    padding: 0;
    width: 55%;
    color: #fff;
  }

  .header-menu li:last-child a {
    width: 100%;
    height: 100%;
    display: block;
    border: unset;
    background: rgb(250, 160, 168);
    background-color: #fff;
    background: linear-gradient(
      167deg,
      rgba(250, 160, 168, 1) 0%,
      rgba(193, 129, 143, 1) 100%
    );
    font-size: 0.8em;
  }
  .hum-active {
    display: flex;
    flex-wrap: wrap;
    padding-top: 15%;
    align-items: center;
    align-content: flex-start;
  }

  .hum-active li {
    width: 100%;
    text-align: center;
    font-size: 3.2rem;
  }
}

/*================
main
================ */
.main {
  padding-top: 160px;
}

.all-staff {
  background-color: #fff7f7;
}

.all-staff__inner {
  padding-inline: 40px;
  position: relative;
}

.all-staff__title {
  max-width: 556px;
  min-width: 262px;
  position: absolute;
  top: -150px;
  width: 50%;
  z-index: 1;
  left: 40px;
}

@media screen and (max-width: 1024px) {
  .all-staff__title {
    top: -100px;
    left: 40px;
  }
}

@media screen and (max-width: 660px) {
  .all-staff__title {
    top: -60px;
    left: 40px;
  }
}

.all-staff__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding-block: 160px;
  max-width: 1120px;
  margin-inline: auto;
}

@media screen and (max-width: 768px) {
  .all-staff__container {
    padding-top: 100px;
  }
}

.all-staff__box {
  position: relative;
  margin-bottom: 40px;
}

.all-staff__image {
  max-width: 230px;
  box-shadow: 3px 3px 15px 0px rgba(96, 96, 96, 0.16);
}

.all-staff__image img {
  transition: transform 0.3s ease;
}

.all-staff__image img:hover {
  transform: scale(1.1);
}

.all-staff__text {
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #fff;
  max-width: 190px;
  width: 100%;
  padding: 20px;
  position: absolute;
  right: 0;
  bottom: -40px;
  box-shadow: 3px 3px 15px 0px rgba(96, 96, 96, 0.16);
}

.all-staff__name {
  font-weight: normal;
}

/* .all-staff__post {
} */

/* .all-staff__career {
} */

/*================
footer
================ */
.footer {
  /* margin-top: 120px; */
  background-color: #ecb6bc;
  display: flex;
  padding: 5% 10%;
  justify-content: space-between;
  color: #fff;
}

.copy {
  font-size: 1.1rem;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
}

.footer p {
  width: 100%;
  text-align: right;
}

@media screen and (max-width: 842px) {
  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer > img {
    width: 70%;
    margin: 1em auto 2em;
  }

  .footer p {
    text-align: center;
  }

  /* .privacy {
    } */

  .copy {
    margin-top: 1em;
  }
}

@media screen and (max-width: 375px) {
  .privacy {
    font-size: 1.6rem;
  }
}
