@charset "utf-8";

/*======================================
common
========================================*/
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    font-family: "Carme","Noto Sans JP", sans-serif;
    font-style: normal;
    line-height: 2;
    color: #413b3b;
    letter-spacing: 0.1rem;
}
img {
    max-width: 100%;
    height: auto;
}
.spnone {
  display: none;
}

@media screen and (min-width: 768px) {
  .spnone {
    display: block;
  }
  .pcBr {
    display: block;
  }
}
/* ヘッダー */
.header {
  background-color: white;
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}
@media screen and (min-width: 768px) {
  .header__inner {
    padding: 0 50px 0 20px;
  }
}

.header__title {
  width: 80px;
}

.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-image: url(../images/navback.webp);
  background-size: cover;
  transition: ease .4s;
  
}

.nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}
.nav-items__item a {
  color: #70AAD7;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50%;
  }

  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }

  .nav-items {
    padding-block: 20px;
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }

  .nav-items__item a {
    margin-bottom: 0;
  }
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 33px;
  height: 100%;

}
.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #70AAD7;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
  
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;

}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
} 
/*======================================
title
========================================*/
.title {
  position: relative;
}
.title::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
/* タイトルごとに画像切り替え */
.ribbon1::after {
  margin-left: 5px;
  background-image: url(../images/ribbon1.webp);
}

.ribbon2::after {
  margin-left: 5px;
  background-image: url(../images/ribbon2.webp);
}

.cherry::after {
  background-image: url(../images/cherry.webp);
}
@media screen and (min-width: 769px) {
  .title::after {
    margin-left: 10px;
    width: 69px;
    height: 80px;
  }
}
.works__wrapper h2, .profile__wrapper h2 {
    margin-top: 80px;
    font-size: 2rem;
    padding-left: 20px;
}
.works__wrapper h3, .slider h3 {
    margin-top: 40px;
    color: #70AAD7;
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding: 0 55px;
  }
  
  .works__block {
    line-height: 2.5;
  }
  .slick_block h3 {
    margin-bottom: 60px;
  }
  @media screen and (min-width: 768px) {
    .works__wrapper h2, .profile__wrapper h2 {
      padding-left: 40px;
      font-size: 3rem;
    }
  }
  @media screen and (min-width: 1200px) {
    .works__wrapper h2, .profile__wrapper h2, .works__wrapper h3 {
      padding-left: 160px;
    }
  }

/*======================================
button
========================================*/
.button {
  display: flex;
  margin-left: auto;
  padding-inline: 20px;
  margin-top: 20px;
  align-items: center;
  font-family: "Noto Sans Japanese";
  text-decoration: none;
  color: #5a5151;
  font-weight: 500;
  position: relative;
  width: fit-content;
  gap: 1em;
}

.circle_btn {
  position: relative;
  background: #eee; 
  color: #fff; 
  padding: 0.7rem;
  border-radius: 100vh;
  width: 2.5rem; 
  height: 2.5rem; 
  text-align: center;
  transition: 0.3s;
}

.circle_btn:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 2px solid #5a5151;
  border-right: 2px solid #5a5151;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: calc(50% - 1px);
  right: calc(50%);
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}

.button:hover .circle_btn {
  transform: scale(1.15); 
  background: #5a5151;
}

.button:hover .circle_btn:after {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.btn_txt {
  font-size: 1.3rem;
}
@media screen and (min-width: 768px) {
  .button {
    padding-inline: 135px;
    margin-top: 10px;
  }
  .btn_txt {
    font-size: 1.6rem;
  }
}
/*==========================
viewbutton
==========================*/
.viewbutton {
  margin-top: 40px;
  text-align: right;
  font-size: 1.4rem;
}
.btn-border-bottom {
  position: relative;
  display: inline-block;
  padding: 0.25em 0;
  text-decoration: none;
  color: #5a5151;  
}

.btn-border-bottom:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 2px;
  top:100%;
  left: 0;
  border-radius: 3px;
  background:#70AAD7;
  transition: .2s;
}

.btn-border-bottom:hover:before {
  top: -webkit-calc(100% - 3px);
  top: calc(100% - 3px);
}

  /*====================================================================
footer
====================================================================*/
.footer {
  margin-top: 60px;
  padding-block: 40px;
  padding-inline: 30px;
  background-color: #FFFDF5;
  text-align: center;
}
.footer p, .footer a {
  margin-top: 20px;
  font-size: 1.4rem;
}
.blue {
  color: #70AAD7;
}

@media screen and (min-width: 769px) {
  .footer p, .footer a {
    font-size: 1.6rem;
  }
}