@charset "UTF-8";

/* ベースのスタイル
------------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;

  background-image: url(../images/bg-01.jpg);
  background-attachment: fixed;
  background-size: cover;
}

body {
  margin: 0;
  /* overflow: hidden; */
  font-family: "M PLUS 1", serif;
  font-weight: 400;
  line-height: 1.75;
}

a {
  color: #fff;
  text-decoration: none;
}

a,
a:hover,
a i {
  transition: all 0.3s;
}

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

ul {
  list-style: none;
}

/* 文字サイズ */
h2 {
  font-size: 8rem;
}

h3 {
  font-size: 3.6rem;

  @media (max-width: 767.9px) {
    font-size: 3rem;
  }
}

h4 {
  font-size: 2.8rem;

  @media (max-width: 767.9px) {
    font-size: 2rem;
  }
}

p,
ul,
li,
td,
dt,
dd {
  font-size: 1.8rem;
}

td,
dt,
dd {
  @media (max-width: 767.9px) {
    font-size: 1.6rem;
  }
}



/* 部品
------------------------------------------ */
/* フォント M PLUS 1 */
.plus01 {
  font-family: "M PLUS 1", serif;
}

/* フォント Anta */
.anta {
  font-family: "Anta", serif;
}

/* フォントウェイト ボールド400 */
.regular {
  font-weight: 400;
}

/* フォントウェイト ボールド700 */
.bold {
  font-weight: 700;
}

/* フレックス */
.flex {
  display: flex;
}

/* PC-フレックス */
@media (min-width: 768px) {
  .pc-flex {
    display: flex;
  }
}

/* スマホ-フレックス */
@media (max-width: 767.9px) {
  .sp-flex {
    display: flex;
  }
}

/* スマホ時改行 */
.sp-br {
  @media (min-width: 768px) {
    display: none;
  }
}

/* ボタン */
.button {
  display: block;
  width: 24rem;
  height: 6rem;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
  margin: 0 auto;
  padding: 2rem 0;
  color: white;
  background-color: #f7bd4b;
  border-radius: 1rem;
  box-shadow: 0 0.6rem #b98e38;
}

.button:hover {
  filter: brightness(120%);
  font-size: 2.2rem;
}

.button:active {
  position: relative;
  top: 0.6rem;
  box-shadow: none;
}

/* --- 2. アニメーション呼び出し指定 --- */
.button {
  animation: mach-pogo 2s ease infinite;
}

/* --- 3. アニメーションの動き定義 (@keyframes) --- */
@keyframes mach-pogo {

  0%,
  100% {
    transform: translateY(0) scaleY(1);
  }

  10% {
    transform: translateY(-20px) scaleY(1.1);
  }

  20% {
    transform: translateY(0) scaleY(0.9);
  }

  30% {
    transform: translateY(0) scaleY(1);
  }
}

/* width1080px */
.wrapper-1080 {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* ページ読み込み直後にフェードイン要素を非表示にする */
.animate__animated {
  opacity: 0;
}

/* スクロール */
.space {
  text-align: center;
}

.scroll {
  display: inline-block;
  padding-top: 12rem;
  position: relative;
}

.scroll::before {
  animation: scroll 1.2s infinite;
  border: solid #DD5959;
  border-width: 0 0 1.2rem 1.2rem;
  content: "";
  display: inline-block;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  transform: rotate(-45deg);
  width: 6rem;
  height: 6rem;
}

@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }

  80% {
    transform: rotate(-45deg) translate(-50px, 50px);
  }

  0%,
  80%,
  100% {
    opacity: 0;
  }

  20%,
  70% {
    opacity: 1;
  }
}

.txt {
  font-size: 5rem;
  color: #f7bd4b;
}

/* ヘッダー */
/* メインビジュアル
------------------------------------------ */
header {
  position: relative;
}

.logo {
  z-index: 10;
}

.logo-img {
  position: absolute;
  width: 33%;
  margin: 2rem;

  @media (max-width: 767.9px) {
    width: 70%;
    margin: 3rem 1rem;
  }
}

.black {
  position: relative;
  /* width: 100vw; */
  width: 80%;
  height: 100vh;

  @media (max-width: 767.9px) {
    width: 100%;
  }
}

.img-tv {
  position: absolute;
  z-index: 5;
  width: 60vw;
  height: 90vh;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);

  @media (max-width: 767.9px) {
    width: auto;
    height: 70%;
    left: 50%;
  }
}

.black-inner {
  position: relative;
  height: 56%;
  width: 54%;
  top: 54%;
  left: 55%;
  transform: translate(-50%, -50%);
  background: #232323;

  @media (max-width: 767.9px) {
    height: 44%;
    width: 72%;
    top: 53%;
    left: 44%;
  }
}

.dvd {
  position: absolute;
  left: 0;
  top: 0;

  width: 280px;
  height: 280px;

  background-position: center;
  background-repeat: no-repeat;
  background-size: 280px;

  @media (max-width: 767.9px) {
    width: 120px;
    height: 120px;
    background-size: 120px;
  }
}

.welcome {
  position: absolute;
  z-index: 10;
  width: 30%;
  top: 2rem;
  right: -8%;

  animation-name: blinking;
  animation-iteration-count: infinite;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;

  @media (max-width: 767.9px) {
    display: none;
  }
}

@keyframes blinking {
  0% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  70% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* ハンバーガーボタン */
.hamburger-button {
  position: fixed;
  z-index: 200;
  top: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  background-color: rgba(225, 225, 225, 80%);
  border-radius: 10%;
}

@media (min-width: 768px) {
  .hamburger-button {
    display: none;
  }
}

.hamburger-button-bar {
  width: 4rem;
  height: .2rem;
  background-color: #193B50;
  transition: all 0.8s;
}

.hamburger-button-text {
  font-size: 1.6rem;
  transition: all 0.8s;
}

.hamburger-button-bar:first-child,
.hamburger-button-text {
  margin-bottom: .1rem;
}

/* ハンバーガーボタン アクティブ */
.hamburger-button-active .hamburger-button-bar {
  position: absolute;
  width: 4rem;
  top: 3rem;
  right: 1rem;
}

.hamburger-button-active .hamburger-button-bar:first-child {
  transform: rotate(225deg);
}

.hamburger-button-active .hamburger-button-text,
.sp-hamburger-button-active .hamburger-button-text {
  opacity: 0;
}

.hamburger-button-active .hamburger-button-bar:last-child {
  transform: rotate(-225deg);
}

/* メニュー */
.aside-menu {
  position: fixed;
  z-index: 100;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: block;
  width: 20%;
  height: auto;

  @media (max-width: 767.9px) {
    transform: none;

  }
}

.aside-nav {
  /* margin: 8rem 2rem 0; */

  @media (max-width: 767.9px) {
    margin: 0;
  }

  /* @media (min-width: 768px) and (max-width: 979px) {
    margin: 2rem 1rem 0;
  } */
}

.aside-nav ul {
  margin-top: 2rem;
}

.aside-nav a {
  display: inline-block;
  font-size: 2rem;
  height: 8rem;
  width: 8rem;
  background-color: #193B50;
  border-radius: 1rem;
  line-height: 8rem;
  text-align: center;
  margin-bottom: 1rem;
}

.aside-nav a:hover {
  background-color: #DD5959;

  @media (min-width: 1080px) {
    font-size: 3.4rem;
    height: 14rem;
    width: 100%;
    line-height: 14rem;
    transition: all 0.3s;
  }
}

/* 767.9px以下 ハンバーガーメニュー */
@media (max-width: 767.9px) {
  .hamburger-menu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 30%;
    height: 100vh;
    text-align: end;
    padding: 8rem 2rem 0;
    background-color: rgb(25, 59, 80, 90%);
    transition: all 0.6s;
    visibility: hidden;
  }

  .aside-nav a,
  .header01Menu-nav a {
    display: inline-block;
    font-size: 2rem;
    height: 7rem;
    width: 7rem;
    background-color: #9BCFC4;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 7rem;
    text-align: center;
    margin-bottom: 2rem;
  }
}

/* 開いている状態 */
.hamburger-menu-active {
  left: 70%;
  visibility: visible;
  z-index: 100;
}


/* メイン
------------------------------------------ */

.main-contents {
  max-width: 560px;
  margin: 0 auto;
  border-top: 20px solid #193B50;
  border-left: 2px solid #193B50;
  border-right: 2px solid #193B50;
  background-color: #fff;
  box-shadow: 5px 1px 10px rgba(25, 58, 80, 30%);
}

/* セクション
------------------------------------------ */
.contents {
  padding: 8rem 4rem;

  @media (max-width: 767.9px) {
    padding: 8rem 2rem;
  }
}

.contents h3 {
  margin-bottom: 2rem;
  padding-left: 2rem;
  border-left: 0.5rem solid #DD5959;
}

/* --- 1. 基本スタイル（適宜変更してください） --- */
.mach-anim-text {
  display: inline-block;
  position: relative;
}

/* --- 2. アニメーション呼び出し指定 --- */
.mach-anim-text {
  animation: mach-text-squish 3s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* --- 3. アニメーションの動き定義 (@keyframes) --- */
@keyframes mach-text-squish {
  0% {
    opacity: 0;
    transform: scaleY(1.8) scaleX(0.5);
  }

  20% {
    opacity: 1;
    transform: scaleY(0.8) scaleX(1.2);
  }

  40% {
    opacity: 1;
    transform: scaleY(1) scaleX(1);
  }

  100% {
    opacity: 1;
    transform: scaleY(1) scaleX(1);
  }
}

.contents h4 {
  margin-bottom: 1rem;
}

.section-title {
  letter-spacing: 1rem;
  font-weight: 400;
  margin-bottom: 3rem;
}

@media (max-width: 767.9px) {
  .section-title {
    font-size: 6rem;
  }
}

/* .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36rem;
  height: 3rem;
  background-color: #9BCFC4;
  z-index: -1;
} */


/* デコレーション SP表示なし */
.decorate-img01 {
  opacity: 0;
  transform: translateY(-50px);

  @media (max-width: 767.9px) {
    display: none;
  }
}

/* 表示するとき */
.decorate-img01.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示された後は画面に固定 */
.decorate-img01.is-fixed {
  position: fixed;
  top: 30%;
  left: 0;
  width: 28%;
  z-index: 100;
}

/* アバウト
------------------------------------------ */
.about {
  background-color: #fff;
}

.about-frame {
  margin-bottom: 5rem;
  padding: 4rem 2rem 6rem;
  background-color: #fff;
  border: .4rem solid #9BCFC4;
  border-radius: 2rem;
}

.about-list {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 4rem;
  row-gap: 2rem;
  margin: 4rem auto;
}

.about-list li:not(:last-child) {
  text-align: center;
  line-height: 1.5;
  justify-content: center;
  width: 10rem;
  height: 10rem;
  color: #fff;
  align-items: center;
  background-color: #DD5959;
  border-radius: 50%;
}

.about-list li:last-child {
  text-align: center;
  line-height: 1;
  justify-content: center;
  width: 10rem;
  height: 6rem;
  align-items: center;
}

.about-price {
  display: inline-block;
  margin-bottom: .4rem;
  padding: .4rem .8rem;
  border: .1rem solid #9BCFC4
}

.about table {
  border-collapse: collapse;
  width: 100%;
}

.about table tr {
  border-bottom: 0.1rem solid #9BCFC4;
}

.about table tr td:nth-child(2) {
  text-align: end;
}

.about table th,
.about table td {
  padding: 1rem;
}

.table-price span {
  font-size: 2rem;

  @media (max-width: 767.9px) {
    font-size: 1.8rem;
  }
}

/* ワークス
------------------------------------------ */
.works {
  background-color: #9cf8ef;
}

.works-frame {
  position: relative;
  margin: 5rem 0rem 8rem;
  padding: 4rem 2rem 6rem;
  border: .4rem solid #DD5959;
  border-radius: 1rem;
  background-color: #fff;
}

.works-frame h4 {
  position: absolute;
  top: -4rem;
  left: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  border-radius: 1rem;
  color: #fff;
  background-color: #DD5959;
}

.works-frame p {
  margin-bottom: 1rem;
}

.works-img {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 2rem;
  margin: 2rem auto 4rem;
}

.works-img img {
  width: 85%;
  display: block;
  transition-duration: .5s;

  @media (max-width: 767.9px) {
    width: 100%;
  }
}

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

.works-space {
  background-color: #9cf8ef;
}

/* プロフィール
------------------------------------------ */
.profile {
  background-color: #fff;
}

.introduce p {
  margin-bottom: 4rem;
}

.icon-pic {
  text-align: center;
  margin: 4rem 0;

  @media (max-width: 767.9px) {
    width: 80%;
    margin: 4rem auto;
  }
}

.skill ul:first-of-type,
.skill ul:nth-of-type(2) {
  margin-bottom: 4rem;
}


/* その他
------------------------------------------ */
.other {
  background-color: #f9ff8d;
}

.other-frame {
  margin-bottom: 4rem;
  padding: 4rem 2rem 6rem;
  background-color: #fff;
  border-radius: 2rem;
}

.other-frame p {
  margin-bottom: 1rem;
}

.other-img {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 2rem;
  margin: 2rem auto 4rem;
}

.other-img img {
  width: 85%;
  display: block;
  transition-duration: .5s;

  @media (max-width: 767.9px) {
    width: 100%;
  }
}

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

.sns-img img {
  width: 50%;
}

.sns-list li:not(:last-child) {
  margin-bottom: 6rem;
}

.bi-instagram {
  margin-right: 1rem;
}

.other-space {
  background-color: #f9ff8d;
}


/* コンタクト
------------------------------------------ */
.contact {
  background-color: #1bb3a9;
}

/* .contact h2,
.contact h3 {
  color: #fff;
} */

.contact-frame {
  margin-bottom: 4rem;
  padding: 4rem 2rem 6rem;
  border: .2rem solid #193B50;
  background-color: #fff;
  border-radius: 2rem;
}

.contact-frame p {
  margin-bottom: 1rem;
}

/* thanksアニメーション */
.thanks {
  position: relative;
  width: 100%;
  height: 20rem;
  overflow: hidden;
  background-color: #1bb3a9;
}

.thanks-img {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 12rem;

  animation: thanks-move 3s ease-in-out infinite alternate;
}

@keyframes thanks-move {
  0% {
    left: 0;
  }

  100% {
    left: calc(100% - 12rem);
  }
}



/* フッター
------------------------------------------ */
footer {
  padding: 2rem;
  text-align: center;
  background-color: #193B50;
}

footer small {
  display: block;
  color: #fff;
}


/* 下層ページ
----------------------------------------------------------------------
---------------------------------------------------------------------- */

/*下層ページ共通 ヘッダー
------------------------------------------ */

.sub-logo-img {
  position: fixed;
  top: 30%;
  left: 0;
  width: 28%;

  @media (max-width: 767.9px) {
    display: none;
  }
}

.design-list {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 4rem;
  row-gap: 4rem;
  margin: 2rem auto 6rem;

  @media (max-width: 767.9px) {
    column-gap: 2rem;
    row-gap: 2rem;
  }
}

.design-img-list {
  cursor: pointer;
  transition: transform .5s;
}

.design-img-list img {
  width: 20rem;

  @media (max-width: 460px) {
    width: 16rem;
  }
}

.design-img-list:hover {
  transform: scale(1.1);
}


/* =========================
   モーダル
========================= */

#works-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 80%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;

  padding: 3rem;
  border: none;
  border-radius: 10px;
}

#works-modal::backdrop {
  background: rgba(0, 0, 0, .7);
}

#modal-image {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto 2rem;
}

#modal-text {
  margin: 0 0 2rem;
  line-height: 1.8;
}

#modal-close {
  padding: .8rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}



.to-top {
  flex-direction: column;
  font-size: 1.4rem;
  color: #193B50;
  margin-left: 0.6rem;

  animation-name: blinking;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  animation-timing-function: ease-out;
}

@keyframes blinking {
  0% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  70% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.to-top span {
  height: 1.6rem;
}