@charset "utf-8";

/*******************************
共通CSS
********************************/

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit; /* box-sizingを親から継承する設定 */
}

html {
  -webkit-text-size-adjust: 100%; /* スマホで文字が勝手に大きくならない */
  text-size-adjust: 100%;
  scroll-behavior: smooth; /*アンカーリンクの遷移をゆっくりにする*/
  -webkit-box-sizing: border-box; /* widthにborderとpaddingも入れ込んだサイズになる */
  box-sizing: border-box;
  font-family: "Zen Kaku Gothic New", "メイリオ", Meiryo, "ＭＳ Ｐゴシック",
    sans-serif;
  font-size: 62.5%; /* デフォルト設定を10pxにしてremで調整しやすくする(元は16px) */
  line-height: 1.6;
}

body {
  color: #333;
  background-color: #fff;
}

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

.inknut-antiqua-medium {
  font-family: "Inknut Antiqua", serif;
  font-weight: 500;
  font-style: normal;
}

/*******************************
ロード画面
********************************/

body.no_scroll {
  overflow: hidden;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: white;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  transition: all 0.5s ease-in;
}

#loading.load_end {
  opacity: 0;
}

.loading-content {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}

.loading-txt {
  display: inline-block;
}

.bounce-animation {
  display: inline-block;
  animation: dot-bounce 1s ease-in-out infinite;
}

.dot1 {
  animation-delay: -1s;
}
.dot2 {
  animation-delay: -0.9s;
}
.dot3 {
  animation-delay: -0.8s;
}

@keyframes dot-bounce {
  0%,
  50%,
  100% {
    transform: translateY(0);
    color: #333;
  }
  25% {
    transform: translateY(-1rem);
    color: #a5ece0;
  }
}

/*******************************
ヘッダー
********************************/

#header {
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  padding-top: 1.75rem;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
}

.nav-container {
  text-align: center;
}

.nav-item i {
  font-size: 2.5rem;
  color: #e65959;
  padding: 1.4rem;
  border: 2px solid #e65959;
  border-radius: 50%;
  opacity: 0.7;
  transition: background-color 0.5s ease-in-out 50ms,
    color 0.5s ease-in-out 50ms;
}

.nav-item p {
  font-size: 1.8rem;
}

/*******************************
トップ
********************************/

.first-view {
  position: relative;
  width: 100%;
  height: 100vh;
}

.title-logo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

h1 {
  font-size: 10rem;
}

.sub-title {
  font-size: 3.4rem;
  margin-top: 1rem;
}

.accent-color {
  color: #e65959;
}

.custom-shape-divider-bottom-1715959999 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom-1715959999 svg {
  position: relative;
  display: block;
  width: calc(185% + 1.3px);
  height: 246px;
  transform: rotateY(180deg);
}

/*******************************
main共通
********************************/

main section {
  position: relative;
  width: 100%;
  padding: 5.5rem;
  font-size: 1.8rem;
  scroll-margin-top: 7.4rem;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto 25rem;
  padding: 0 4%;
}

main section .wrap:last-of-type {
  margin: 0 auto 12rem;
}

h2 {
  width: fit-content;
  margin: 0 auto 8.5rem;
  padding: 0.5rem;
  font-size: 3.2rem;
  font-weight: bold;
}

.border-wh {
  border-bottom: 1rem double #fff;
}

.border-rd {
  border-bottom: 1rem double #e65959;
}

.custom-shape-divider-bottom-1715959999 .shape-fill-bl {
  fill: #a5ece0;
  filter: drop-shadow(0 1px 0 #a5ece0);
}

.custom-shape-divider-bottom-1715959999 .shape-fill-wh {
  fill: #fff;
  filter: drop-shadow(0 1px 0 #fff);
}

/*******************************
WORKS
********************************/

#works {
  background-color: #a5ece0;
}

.works-container {
  display: grid;
  gap: 4rem 3rem;
  grid-template-columns: repeat(2, 1fr);
  color: #888;
}

.works-box {
  padding: 2.7rem;
  background-color: #fff;
  border-radius: 1.4rem;
}

.works-content-image {
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border-radius: 1.2rem;
}

.works-content-image img {
  scale: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.works-content-title {
  margin-bottom: 0.5rem;
}

.works-content-desc {
  font-size: 1.6rem;
}

/*******************************
WORKS詳細
********************************/

.header-works-detail {
  position: relative;
  width: 100%;
  height: fit-content;
  padding-bottom: 0.25rem;
}

.title-logo-works-detail {
  position: relative;
  transition: opacity 0.2s ease;
  transform-origin: left top;
  transform: scale(0.35);
  z-index: 2;
  text-align: center;
  margin-left: -2vw;
  padding: 5rem 0;
}

.title-logo-works-detail:hover {
  opacity: 0.7;
}

.title-logo-works-detail a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.works-detail {
  background-color: #a5ece0;
}

.works-detail .works-box {
  padding: 4rem 6rem;
  font-size: 1.6rem;
  color: #333;
}

.works-detail-content-image {
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border-radius: 1.2rem;
}

.works-detail-content-image img {
  scale: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.works-detail p {
  text-align: justify;
  margin-bottom: 2rem;
}

.works-detail .works-content-title {
  font-size: 2rem;
  margin: 3.5rem 0;
  padding-left: 3rem;
  border-left: #e65959 1rem solid;
}

.works-url {
  opacity: 1;
  transition: opacity 0.2s ease-in;
  text-decoration: underline;
}

.works-url:hover {
  opacity: 0.6;
}

.url-blank::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.25rem;
  content: "\f35d";
}

.url-dl::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.25rem;
  content: "\f019";
}

.works-type::before {
  content: "-";
  margin-right: 1rem;
}

h4::before {
  content: "●";
  font-size: 1.2rem;
  margin-right: 0.75rem;
  color: #e65959;
}

/*******************************
SKILLS
********************************/

.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4.5rem 5rem;
  margin-bottom: 5.5rem;
}

.skills-box {
  display: flex;
  gap: 2.5rem;
}

.skills-logo {
  display: flex;
  gap: 0.75rem;
  width: calc(100% / 3);
}

.skills-logo img {
  object-fit: scale-down;
}

.two-logo img {
  width: calc(100% / 2);
}

.logo-55 {
  margin: 0 auto;
  width: 55%;
}

.logo-75 {
  margin: 0 auto;
  width: 75%;
}

.skills-text {
  width: calc(100% / 3 * 2);
}

h3 {
  text-align: center;
  margin-bottom: 1.2rem;
  font-size: 2rem;
  font-weight: bold;
}

.skills-text p {
  text-align: justify;
}

.skills-container-sub {
  display: flex;
  width: 100%;
  margin: auto;
  justify-content: center;
  gap: 3.5rem;
}

.skills-container-sub img {
  min-width: 0;
  width: calc(100% / 2 / 3 * 0.75);
}

/*******************************
ABOUT
********************************/

#about {
  background-color: #a5ece0;
}

.about-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4.5rem;
}

.about-image {
  aspect-ratio: 1/1;
  background-color: #fff;
  border-radius: 50%;
  border: #a5ece0 double 1.2rem;
  margin: 3rem;
  padding: 3rem;
}

.about-image img {
  vertical-align: middle;
  margin: auto;
}

.about-text {
  text-align: justify;
  padding: 0 2rem;
}

/*******************************
PAGE-TOP BUTTON
********************************/

#page-top {
  position: relative;
  bottom: 0;
  text-align: right;
  padding: 0 1.5rem;
  background-color: #a5ece0;
}

.fa-angles-left {
  margin-right: 1rem;
}

#page-top a {
  display: inline-block;
  transform-origin: right top;
  transform: rotate(90deg) translateX(3rem);
  padding: 1.5rem;
  font-size: 1.4rem;
  opacity: 0.6;
  transition: opacity 0.2s ease-in;
  color: #333;
}

#page-top a:hover {
  opacity: 1;
}
