@charset "utf-8";
/*	汎用
---------------------------------*/
:root {
  --black: #222222;
  --gray: #888888;
  --red: #960003;
  --oswald: "oswald", sans-serif;
  --roboto: "Roboto Slab", sans-serif;
}

/*タイトル*/
.ttl-cmn01 {
  font-family: var(--oswald);
  font-size: 6.4rem;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  line-height: 1;
  letter-spacing: 0.05em;
  margin-bottom: 80px;
}
.ttl-cmn01:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 110px;
  height: 3px;
  background: var(--red);
  transform: translateX(-50%);
}
.ttl-cmn02 {
  font-size: 3.2rem;
  padding-bottom: 10px;
  position: relative;
  margin-bottom: 40px;
  display: inline-block;
}
.ttl-cmn02 span {
  font-weight: 500;
}
.ttl-cmn02:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--red);
}
.ttl-cmn03-e {
  font-size: 1.8rem;
  text-align: center;
  color: var(--gray);
  font-family: var(--oswald);
  letter-spacing: 0.05em;
}
.ttl-cmn03-j {
  font-size: 3rem;
  text-align: center;
}
.ttl-cmn03-e span {
  font-weight: 500;
}
.ttl-cmn03-j span {
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .ttl-cmn01 {
    font-size: 3.2rem;
    padding-bottom: 15px;
    margin-bottom: 40px;
  }
  .ttl-cmn01:after {
    width: 60px;
    height: 2px;
  }
  .ttl-cmn02 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .ttl-cmn02:after {
    width: 80px;
  }
  .ttl-cmn03-e {
    font-size: 1.4rem;
  }
  .ttl-cmn03-j {
    font-size: 2.4rem;
  }
}

/*	ヘッダー
---------------------------------*/
header {
  position: relative;
}
.header__logo {
  font-family: var(--oswald);
  font-size: 2.4rem;
  line-height: 1.1;
  letter-spacing: 0.05em;
  padding: 15px 0 15px 30px;
}
.header__nav {
  height: 80px;
  padding: 0 30px;
  position: fixed;
  top: 0;
  right: 0;
  font-family: var(--oswald);
  background: rgba(255, 255, 255, 0.95);
  z-index: 100;
}
.pc-nav ul {
  height: 100%;
}
.pc-nav ul li {
  font-size: 2rem;
  margin-left: 30px;
}
.pc-nav ul li:first-of-type {
  margin-left: 0;
}
/*	グローバナビ（タブレット、スマホ用）
---------------------------------*/
.navToggle,
.sp-nav {
  display: none;
}
@media screen and (max-width: 1023px) {
  .header__logo {
    font-size: 1.6rem;
    padding: 7px 0 7px 15px;
  }
  .pc-nav {
    display: none;
  }
  .sp-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    padding: 65px 15px 30px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    font-size: 2.2rem;
    z-index: 10001;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    -webkit-transition:
      -webkit-transform 0.2s,
      opacity 0.2s,
      visibility 0s 0.2s;
    transition:
      transform 0.2s,
      opacity 0.2s,
      visibility 0s 0.2s;
    overflow: auto;
    max-width: 500px;
  }
  .sp-nav a * {
    transition: 0s;
  }
  .sp-nav ul.flex-end {
    display: block;
    height: auto;
  }
  .sp-nav li {
    display: block;
    margin-right: 0;
    padding: 0;
    line-height: 70px;
    font-weight: 400;
    text-align: center;
  }
  .sp-nav li a {
    display: block;
  }
  /* ナビゲーション アニメーション */
  .open .sp-nav {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition:
      -webkit-transform 0.4s,
      opacity 0.4s;
    transition:
      transform 0.4s,
      opacity 0.4s;
  }
  /*ハンバーガーボタン*/
  .navToggle {
    display: block;
    position: fixed;
    right: 0px;
    top: 0px;
    margin: auto;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    z-index: 10002;
  }
  .navToggle div {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: 25px;
    height: 16px;
  }
  .navToggle span {
    display: block;
    position: absolute;
    height: 1.5px;
    width: 100%;
    background: #222;
    left: 0;
    -webkit-transition: 0.35s ease-in-out;
    -moz-transition: 0.35s ease-in-out;
    transition: 0.35s ease-in-out;
  }
  .navToggle span:nth-child(1) {
    top: 0;
  }
  .navToggle span:nth-child(2) {
    top: 7px;
  }
  .navToggle span:nth-child(3) {
    top: 14px;
  }
  /* ハンバーガーボタン 切り替えアニメーション */
  .open .navToggle {
    position: fixed;
  }
  .open .navToggle span:nth-child(1) {
    top: 7px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open .navToggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open .navToggle span:nth-child(3) {
    top: 7px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
}
@media screen and (max-width: 767px) {
  .sp-nav {
    max-width: 100%;
  }
}

/*	フッター
---------------------------------*/
footer {
  font-family: var(--oswald);
  padding: 45px 45px 15px 45px;
  border-top: 2px solid var(--gray);
}
.footer__nav li {
  font-size: 2rem;
  margin-bottom: 15px;
}
.footer__snslink {
  width: 30px;
  margin-top: 30px;
}
.footer__logo {
  font-size: 3.6rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.copyright {
  padding-top: 30px;
  font-size: 1.4rem;
  text-align: right;
}
@media screen and (max-width: 767px) {
  footer {
    padding: 30px 15px 10px;
  }
  .footer__nav li {
    font-size: 1.8rem;
    margin-bottom: 7px;
  }
  .footer__snslink {
    width: 25px;
    margin-top: 20px;
  }
  .footer__logo {
    font-size: 2.4rem;
  }
  .copyright {
    padding-top: 20px;
    font-size: 1.2rem;
  }
}

/*	メインイメージ
---------------------------------*/
.mainimg-wrapper {
  width: 100%;
  padding-bottom: 18vw;
  position: relative;
  overflow: hidden;
}
.mainimg-wrapper:after {
  content: "";
  position: absolute;
  top: -20%;
  right: -50%;
  width: 13vw;
  height: 300%;
  background: var(--black);
  transform: rotate(64deg);
  transform-origin: top right;
  z-index: 0;
}
.mainimg {
  width: 81%;
  height: 45vw;
  background-image: linear-gradient(
    to bottom,
    #f9f9f9 0%,
    #f1f1f4 40%,
    #e9e9ec 70%,
    #e1e1e6 100%
  );
  position: relative;
  z-index: 25;
}

.mainimg__img {
  position: absolute;
  bottom: 0;
  left: 30%;
  width: 27vw;
}
.mainimg__img img {
  width: 100%;
}

.mainimg__chatch {
  position: absolute;
  bottom: 19%;
  right: 50px;
  z-index: 50;
}

.mainimg__chatch01 {
  font-family: var(--oswald);
  font-size: 8vw;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.mainimg__chatch02 {
  font-family: var(--oswald);
  font-size: 2vw;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 1440px) {
  .mainimg-wrapper {
    padding-bottom: 250px;
  }
  .mainimg-wrapper:after {
    transform: rotate(66deg);
  }
  .mainimg__chatch {
    bottom: 150px;
  }
}
@media screen and (max-width: 767px) {
  .mainimg-wrapper {
    padding-bottom: 45vw;
  }
  .mainimg {
    width: 90%;
    height: 70vw;
  }
  .mainimg__img {
    width: 42vw;
  }
  .mainimg__chatch {
    bottom: 14%;
    right: 15px;
  }
  .mainimg__chatch01 {
    font-size: 10vw;
    margin-bottom: 10px;
  }
  .mainimg__chatch02 {
    font-size: 3.5vw;
  }
  .mainimg-wrapper:after {
    width: 30vw;
    top: 15%;
  }
}

/*	PROFILE
---------------------------------*/
.profile__wrapper01 {
  margin-bottom: 150px;
}
.profile__wrapper01 .content-inr {
  position: relative;
}
.profile__ttl {
  font-size: 15rem;
  font-family: var(--oswald);
  color: var(--gray);
  opacity: 0.3;
  line-height: 1;
  letter-spacing: 0.05em;
  position: absolute;
  bottom: -10%;
  left: -90px;
}
.profile__img-area {
  width: 40%;
  padding: 35px 35px 0 0;
  position: relative;
}
.profile__img-area:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 270px 270px 0;
  border-color: transparent #960003 transparent transparent;
}
.profile__txt-area {
  width: 49%;
  padding-top: 70px;
}
.profile__txt {
  line-height: 2;
  letter-spacing: 0.025em;
}
@media screen and (max-width: 1439px) {
  .profile__ttl {
    left: 0;
    font-size: 10vw;
  }
}
@media screen and (max-width: 1200px) {
  .profile__txt-area {
    padding-top: 30px;
  }
  .profile__ttl {
    bottom: -20%;
  }
}
@media screen and (max-width: 767px) {
  .profile__wrapper01 {
    margin-bottom: 130px;
  }
  .profile__img-area {
    width: 85%;
    max-width: 450px;
    padding: 20px 20px 0 0;
    margin: 0 auto;
    transform: translateX(20px);
  }
  .profile__img-area:before {
    border-width: 0 180px 180px 0;
  }
  .profile__txt-area {
    width: 100%;
  }
  .profile__ttl {
    font-size: 24vw;
    bottom: -14%;
  }
}

/*	WORK
---------------------------------*/
/* タブ装飾 */
.tablist {
  margin-left: 50px;
  gap: 15px;
}
.tab {
  appearance: none;
  border: 0;
  background: var(--gray);
  padding: 5px 30px;
  cursor: pointer;
  font-family: var(--oswald);
  font-size: 2rem;
  color: #fff;
  letter-spacing: 0.1em;
}
.tab:is(:focus-visible, .is-active) {
  background: var(--black);
}
.tab.is-active {
  background: var(--black);
  position: relative;
}
.tab.is-active:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 0;
  border-color: #960003 transparent transparent transparent;
}
/* タブ切り替え表示の仕方 */
[role="tabpanel"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
[role="tabpanel"].is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
[role="tabpanel"] {
  transform: translateY(8px);
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease,
    transform 0.5s ease;
}
[role="tabpanel"].is-active {
  transform: translateY(0);
}

.work {
  color: #fff;
}
.work__content {
  padding: 70px 13% 50px 30px;
  background: var(--black);
  position: relative;
  overflow: hidden;
  min-height: 30vw;
}
.work__content:before,
.work__content:after {
  content: "";
  position: absolute;
  height: 400%;
  background: var(--gray);
  transform: rotate(64deg);
  transform-origin: top right;
  z-index: 0;
  opacity: 0.5;
}
.work__content:before {
  top: -100px;
  right: -100px;
  width: 50px;
}
.work__content:after {
  top: -150px;
  right: -50px;
  width: 3px;
}
.work__content-inr {
  position: relative;
  z-index: 25;
}
.work__list {
  gap: 30px 2%;
}
.work__item {
  width: 23.5%;
}
.work__img {
  position: relative;
  height: auto;
  margin-bottom: 10px;
}
.work__img:before {
  content: "";
  display: block;
  padding-top: 56%;
}
.work__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  font-family: "object-fit: contain;";
}
.work__date,
.work__ttl {
  font-size: 1.4rem;
  line-height: 1.5;
}
.work__item.new .work__img {
  position: relative;
}
.work__item.new .work__img:after {
  content: "NEW!!";
  position: absolute;
  top: 0;
  left: 0;
  background: var(--red);
  padding: 3px 15px;
  font-size: 1vw;
  font-family: var(--oswald);
  letter-spacing: 0.2em;
}
/* アニメーション */
.work__eng {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  z-index: 25;
  transform-origin: top right;
  animation: scrollUp 42s linear infinite;
  will-change: transform;
  writing-mode: vertical-rl;
  display: block;
  white-space: nowrap;
  font-family: "oswald", sans-serif;
  font-size: 12vw;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--black);
  text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff;
  opacity: 0.8;
}
.work__eng span {
  display: block;
  white-space: nowrap;
  font-family: "oswald", sans-serif;
  font-size: 18rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--black);
  text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff;
}
@keyframes scrollUp {
  0% {
    transform: translateY(40%);
  }
  100% {
    transform: translateY(-100%);
  }
}
@media screen and (max-width: 1023px) {
  .work__eng {
    font-size: 12vw;
  }
}
@media screen and (max-width: 767px) {
  .tablist {
    margin-left: 15px;
  }
  .tab {
    font-size: 1.5rem;
    padding: 5px 20px;
  }
  .work__content {
    padding: 40px 15px 100px;
  }
  .work__content:before,
  .work__content:after {
    transform: rotate(40deg);
  }
  .work__content:before {
    top: 30px;
    width: 40px;
  }
  .work__content::after {
    top: 0;
    width: 3px;
  }
  .work__list {
    gap: 20px 4%;
  }
  .work__item {
    width: 48%;
  }
  .work__item.new .work__img:after {
    font-size: 1rem;
    padding: 1px 10px 2px;
  }
  .work__date,
  .work__ttl {
    font-size: 1.3rem;
  }
  .work__eng {
    animation: scrollUp 30s linear infinite;
    font-size: 8rem;
    top: auto;
    bottom: 10px;
    right: 0;
    writing-mode: initial;
  }
  @keyframes scrollUp {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
}
.work__btn-external {
  text-align: right;
  margin-top: 50px;
}
.work__btn-external a {
  display: inline-block;
  padding: 15px 80px;
  font-size: 1.8rem;
  border: 1px solid #fff;
  position: relative;
  z-index: 10;
  font-family: var(--oswald);
  letter-spacing: 0.1em;
}
.work__btn-external a:before {
  content: "";
  background-image: url(../image/icon_external_link.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 10px;
  right: 15px;
}
@media screen and (max-width: 767px) {
  .work__btn-external {
    margin: 30px 0 20px 0;
    text-align: center;
  }
  .work__btn-external a {
    font-size: 1.6rem;
  }
}
/*	MEDIA
---------------------------------*/
.media__list {
  gap: 1%;
}
.media__list li {
  width: calc(95% / 6);
}
.media__list li img {
  border: 1px solid #cfcfcf;
}
@media screen and (max-width: 767px) {
  .media__list.flex-cnt {
    gap: 2vw 2%;
    justify-content: flex-start;
  }
  .media__list li {
    width: calc(98% / 2);
  }
}
/*	SERVICE
---------------------------------*/
.service__list {
  counter-reset: ttlnum;
}
.service__item {
  width: calc(100% / 3);
  padding: 0 50px 30px;
  border-right: 1px solid var(--gray);
}
.service__item:last-of-type {
  border-right: none;
}
.service__ttl {
  font-size: 3rem;
  letter-spacing: 0.05em;
  padding: 20px 0 20px 90px;
  position: relative;
  margin-bottom: 50px;
}
.service__ttl:before {
  counter-increment: ttlnum;
  content: counter(ttlnum);
  font-family: var(--roboto);
  font-size: 10rem;
  color: #fff;
  text-shadow:
    1px 1px 0 var(--gray),
    -1px 1px 0 var(--gray),
    -1px -1px 0 var(--gray),
    1px -1px 0 var(--gray);
  line-height: 1;
  position: absolute;
  top: -10px;
  left: 0;
}
.service__txt {
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1023px) {
  .service__list {
    padding: 0 10vw;
  }
  .service__item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--gray);
    padding: 50px;
  }
  .service__item:first-of-type {
    padding-top: 0;
  }
  .service__ttl {
    padding: 5px 0 0 70px;
    margin-bottom: 30px;
  }
  .service__ttl:before {
    font-size: 7rem;
  }
}
@media screen and (max-width: 767px) {
  .service__list {
    padding: 0;
  }
  .service__item {
    padding: 30px 20px;
  }
  .service__ttl {
    font-size: 2rem;
    padding: 5px 0 0 50px;
    margin-bottom: 20px;
  }
  .service__ttl:before {
    font-size: 5rem;
  }
}

/*	CONTACT
---------------------------------*/
.contact__note {
  text-align: center;
  margin-bottom: 30px;
}
.contact__note a {
  text-decoration: underline;
}
.contact__form-wrapper {
  width: 100%;
  height: 1250px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
@media screen and (max-width: 767px) {
  .contact__form-wrapper {
    height: 1200px;
  }
}
