@charset "UTF-8";

/*
Theme Name: Hoshi-PORTFOLIO
Description: Hoshi のポートフォリオ用のテンプレートです
Version: 1.0
Author: Hitomi M
*/


/*--------------------------------------*
* foundation
*--------------------------------------*/
* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f6f4f1;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #000;
  line-height: 2;
  letter-spacing: 0.05em;
  position: relative;
}

body.is-noScroll {
  width: 100%;
  height: 100%;
  position: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  word-break: break-all;
}

a[target=_blank] {
  text-decoration: underline;
  text-decoration-thickness: from-font;
}

img {
  max-width: 100%;
  height: auto;
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
}

li {
  list-style: none;
}

input {
  outline: none;
}

::-moz-placeholder {
  color: #555;
}

::-webkit-input-placeholder {
  color: #555;
}

:-ms-input-placeholder {
  color: #555;
}

::-ms-input-placeholder {
  color: #555;
}

::placeholder {
  color: #555;
}

i {
  font-style: normal;
}

button {
  outline: none;
}

.inner {
  width: 96.888%;
  padding-right: 4%;
  padding-left: 4%;
  margin: 0 auto;
  position: relative;
}

.inner.is-max-width {
  max-width: calc(1280px + 8%);
}

h3 {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.75;
}

/* # =================================================================
   # Global selectors
   # ================================================================= */
html {
  box-sizing: border-box;
  overflow-y: scroll; /* All browsers without overlaying scrollbars */
  -webkit-text-size-adjust: 100%; /* iOS 8+ */
}

*,
::before,
::after {
  background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
}

::before,
::after {
  text-decoration: inherit; /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0; /* Reset `padding` and `margin` of all elements */
  margin: 0;
}

/*--------------------------------------*
  * layout
  *--------------------------------------*/
/*--------------------------------------*
* foundation
*--------------------------------------*/
.l-header {
  height: 130px;
}
.l-header__nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  transition: 0.2s linear;
}
.l-header__nav.is-scroll {
  background-color: #f7f5f4;
}
@media screen and (max-width: 768px) {
  .l-header__nav {
    position: absolute;
  }
}
.l-header__wrapper {
  padding: 20px 3.333% 20px 7.68%;
}
@media screen and (max-width: 768px) {
  .l-header__wrapper {
    padding: 18px 2.666%;
  }
}
.l-header__logo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 130px;
  padding: 10px;
}
.l-header__logo span {
  display: block;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .l-header__logo {
    justify-content: flex-start;
  }
}
.l-header__logo-img {
  width: 100%;
}
.l-header__gnav {
  padding: 44px 7.68%;
  font-weight: bold;
  letter-spacing: 0.05em;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000;
}
@media screen and (max-width: 768px) {
  .l-header__gnav {
    width: 100%;
    height: 100vh;
    padding: 106px 5.866% 40px;
    margin-right: 0;
    background-color: #f7f5f4;
    position: fixed;
    top: 0;
    right: -120%;
    z-index: 9998;
    transition: 0.3s linear;
  }
  .l-header__gnav.is-open {
    right: 0;
  }
}
.l-header__gnav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-transform: uppercase;
}
.l-header__gnav-list > li:not(:last-of-type) {
  margin-right: 36px;
}
.l-header__gnav-list a {
  display: block;
}
@media screen and (max-width: 768px) {
  .l-header__gnav-list {
    overflow: auto;
    display: block;
    height: 100%;
    padding-bottom: 40px;
  }
  .l-header__gnav-list li {
    border-bottom: 1px dashed #bababa;
  }
  .l-header__gnav-list li:not(:last-of-type) {
    margin-right: 0;
  }
  .l-header__gnav-list li:first-of-type {
    margin-right: 0;
  }
  .l-header__gnav-list a {
    padding: 24px 12.084% 20px;
    position: relative;
  }
  .l-header__gnav-list a::after {
    content: "";
    width: 9px;
    height: 12px;
    background: center/contain no-repeat url("/asset/img/arrow-menu.png");
    position: absolute;
    top: 50%;
    right: 5.438%;
  }
}
.l-header__sns-list {
  display: none;
  /* display: flex; */
  justify-content: flex-end;
  align-items: center;
  padding-top: 24px;
  font-size: 1.375rem;
  line-height: 1.454;
  position: fixed;
  top: 0;
  right: 3.333%;
  z-index: 10000;
}
.l-header__sns-list li:not(:last-of-type) {
  margin-right: 26px;
}
.l-header__sns-list li a {
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .l-header__sns-list {
    padding-top: 22px;
    position: absolute;
    right: calc(8% + 64px);
  }
}
.l-header__btn-nav {
  display: none;
}
@media screen and (max-width: 768px) {
  .l-header__btn-nav {
    display: inline-block;
    width: 54px;
    height: 54px;
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 50%;
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 20000;
    transition: 0.2s linear;
  }
  .l-header__btn-nav span {
    display: inline-block;
    width: 40.384%;
    height: 3px;
    background-color: #666;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .l-header__btn-nav span:first-of-type {
    top: 37.5%;
  }
  .l-header__btn-nav span:nth-of-type(2) {
    top: 50%;
  }
  .l-header__btn-nav span:nth-of-type(3) {
    top: 62.5%;
  }
  .l-header__btn-nav.is-open {
    transform: rotate(180deg);
  }
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.l-mv {
  position: relative;
  width: 100%;
  height: 80vh;
}
.l-mv__inner {
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.l-mv__title {
  text-align: center;
  font-size: 91px;
  line-height: 1;
  font-weight: bold;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .l-mv__title {
    font-size: 64px;
  }
}
@media screen and (max-width: 374px) {
  .l-mv__title {
    font-size: 48px;
  }
}
.l-mv__title span {
  display: block;
}
.l-mv__slider {
  position: absolute;
  width: 100%;
  z-index: 998;
}
.l-mv__sliderItem {
  width: 100%;
  height: 80vh;
  background-repeat: no-repeat;
  background-size: cover;
}
.l-mv__overlay {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  background-color: rgba(0, 0, 0, 0.36);
  z-index: 999;
}
.l-mv__scroll {
  position: absolute;
  z-index: 1000;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.l-mv__scrollLink p {
  font-weight: bold;
  text-align: center;
  color: #fff;
  font-size: 18px;
}
.l-mv__scrollIcon {
  padding: 4px;
  text-align: center;
  color: #fff;
}
/*--------------------------------------*
* foundation
*--------------------------------------*/
.l-inner {
  width: 97%;
  max-width: 1200px;
  padding-right: 4%;
  padding-left: 4%;
  margin: 0 auto;
  position: relative;
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.l-footer {
  padding: 36px 0;
  background-color: #ffffff;
  text-align: center;
}
.l-footer .l-footer__inner {
  max-width: calc(1280px + 8%);
  padding-right: 4%;
  padding-left: 4%;
  margin: 0 auto;
}
.l-footer .copyright {
  color: #666666;
}

/*--------------------------------------*
  * project
  *--------------------------------------*/
/*--------------------------------------*
* foundation
*--------------------------------------*/
.p-works {
  padding: 80px 0;
}
@media screen and (max-width: 960px) {
  .p-works {
    padding: 80px 0;
  }
}
@media screen and (max-width: 768px) {
  .p-works {
    padding: 30px 0;
  }
}
@media screen and (max-width: 768px) {
  .p-works__list {
    width: 79.94%;
    margin: 0 auto;
  }
}
.p-works__list a {
  margin: 0 16px;
}
.p-works__title {
  order: 1;
  margin-right: 10px;
  margin-left: 10px;
  font-size: 1.25rem;
  line-height: 1.85;
}
@media screen and (max-width: 960px) {
  .p-works__title {
    font-size: 1rem;
  }
}
.p-works__thumbnail {
  flex-shrink: 0;
  background-color: #fff;
  border: 15px solid #fff;
  border-radius: 5px;
  line-height: 1;
}
.p-works__thumbnail img {
  width: 100%;
  border-radius: 5px;
}
.p-works__categories {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  font-size: 0.75rem;
  color: #555;
}
.p-works__categories li {
  min-width: 66px;
  padding: 0 8px;
  margin-bottom: 10px;
  background-color: #fff;
  border-radius: 20px;
  text-align: center;
  line-height: 1.583;
}
.p-works__categories li:not(:last-of-type) {
  margin-right: 6px;
}

.slick-prev,
.slick-next {
  font-size: 0;
  color: transparent;
  line-height: 0;
  position: absolute;
  top: 9.25vw;
  z-index: 1;
  width: auto;
  height: auto;
  background: none;
  border: none;
  outline: none;
}
@media screen and (max-width: 960px) {
  .slick-prev,
  .slick-next {
    top: 12.25vw;
  }
}
@media screen and (max-width: 768px) {
  .slick-prev,
  .slick-next {
    top: 27vw;
  }
}

.slick-prev::before,
.slick-next::before {
  content: "";
  width: 20px;
  height: 33px;
  background: center/contain no-repeat url("./asset/img/arrow-slider.svg");
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-100%);
}
@media screen and (max-width: 768px) {
  .slick-prev::before,
  .slick-next::before {
    width: 2.666vw;
    height: 4.533vw;
    background-image: url("./asset/img/arrow-slider-sp.svg");
  }
}

.slick-prev {
  left: -1.562%;
  transform: scale(-1, 1);
}
@media screen and (max-width: 768px) {
  .slick-prev {
    left: -6.562%;
  }
}

.slick-next {
  right: -1.562%;
}
@media screen and (max-width: 768px) {
  .slick-next {
    right: -6.562%;
  }
}

/* slickのドットナビを非表示にする */
.slick-dots {
  display: none !important;
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.p-profile {
  padding: 80px 0;
}
@media screen and (max-width: 960px) {
  .p-profile {
    padding: 80px 0;
  }
}
@media screen and (max-width: 768px) {
  .p-profile {
    padding: 60px 0;
  }
}
.p-profile .p-profile__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 60px; /* 画像とテキストの間隔 */
}
@media screen and (max-width: 768px) {
  .p-profile .p-profile__wrapper {
    flex-direction: column;
    gap: 20px;
  }
}
.p-profile .p-profile__img {
  flex-shrink: 0; /* 画像を縮ませない */
  width: 30%;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid #f9f6f2; /* 画像の白い縁取り */
}
@media screen and (max-width: 768px) {
  .p-profile .p-profile__img {
    width: 40%;
  }
}
@media screen and (max-width: 374px) {
  .p-profile .p-profile__img {
    width: 60%;
  }
}
.p-profile .p-profile__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover; /* 中央でトリミング */
  display: block;
}
.p-profile .p-profile__text {
  width: 67.751%;
  padding-left: 12px;
}
@media screen and (max-width: 768px) {
  .p-profile .p-profile__text {
    text-align: center;
    width: 100%;
    padding-left: 0;
  }
}
.p-profile .p-profile__title {
  margin-bottom: 20px;
  font-size: 2rem;
  line-height: 1.541;
}
@media screen and (max-width: 768px) {
  .p-profile .p-profile__title {
    font-size: 1.75rem;
  }
}
/*--------------------------------------*
* foundation
*--------------------------------------*/
.p-service {
  padding: 80px 0;
}
@media screen and (max-width: 960px) {
  .p-service {
    padding: 80px 0;
  }
}
@media screen and (max-width: 768px) {
  .p-service {
    padding: 30px 0;
  }
}
.p-service__container {
  background: #fff;
  border-radius: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
}
.p-service__list {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 948px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 960px) {
  .p-service__list {
    flex-direction: column;
  }
}
.p-service__item {
  width: calc(33.3% - 16px);
  padding: 30px 20px 20px;
  border-radius: 30px;
  border: 3px solid #111;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (max-width: 960px) {
  .p-service__item {
    width: 100%;
    padding-inline: 40px;
  }
}
.p-service__item:first-child {
  margin-top: 10px;
}
.p-service__item:last-child {
  padding-top: 16px;
}
.p-service__item-title {
  text-align: center;
  font-size: 17px;
}
.p-service__item-img {
  text-align: center;
}
.p-service__item-img:first-chile {
  margin: 10px 0;
}
.p-service__item-img:nth-of-type(2) {
  margin: 5px 0;
}
.p-service__item-text {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.p-contact {
  padding: 80px 0;
}
@media screen and (max-width: 960px) {
  .p-contact {
    padding: 80px 0;
  }
}
@media screen and (max-width: 768px) {
  .p-contact {
    padding: 30px 0;
  }
}
.p-contact__box {
  max-width: 586px;
  margin: 0 auto;
}
.p-contact__about {
  font-size: 14px;
}
.p-contact__form {
  margin-top: 60px;
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.p-single-works__title {
  margin-bottom: 84px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .p-single-works__title {
    margin-bottom: 42px;
  }
}
.p-single-works__title-img {
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .p-single-works__title-img img {
    height: 1.75rem;
  }
}
.p-single-works__eyecatch {
  margin-bottom: 52px;
  background-color: #fff;
  border: 10px solid #fff;
  border-radius: 10px;
  line-height: 0;
}
.p-single-works__wrapper {
  margin-bottom: 70px;
}
.p-single-works__term-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  font-size: 0.75rem;
  color: #555;
}
.p-single-works__term-list li {
  min-width: 66px;
  padding: 0 8px;
  margin-bottom: 12px;
  background-color: #fff;
  border-radius: 20px;
  text-align: center;
  line-height: 1.583;
}
.p-single-works__term-list li:not(:last-of-type) {
  margin-right: 6px;
}
.p-single-works__post-title {
  margin-bottom: 1.062em;
  font-size: 2rem;
  font-weight: bold;
  line-height: normal;
  border-bottom: 1px solid #000;
  padding-bottom: 6px;
}
@media screen and (max-width: 768px) {
  .p-single-works__post-title {
    font-size: 1.5rem;
  }
}
.p-single-works__post-text {
  font-size: 0.875rem;
}
.p-single-works__skill-title {
  margin-top: 40px;
  border-bottom: 1px solid #000;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 6px;
}
.p-single-works__skill-text {
  padding: 12px 0 0;
}
.p-single-works__view-more {
  margin-top: 48px;
}
.p-single-works__view-more a:hover {
  opacity: 0.7;
}
.p-single-works__btn {
  text-align: center;
  margin-bottom: 130px;
}

/*--------------------------------------*
  * component
  *--------------------------------------*/
/*--------------------------------------*
* foundation
*--------------------------------------*/
.c-section-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0 1.25%;
  margin-bottom: 42px;
}
@media screen and (max-width: 768px) {
  .c-section-title {
    margin-bottom: 32px;
  }
}
@media screen and (max-width: 374px) {
  .c-section-title {
    margin-bottom: 24px;
  }
}
.c-section-title__wrapper {
  margin-bottom: 0;
}
/*--------------------------------------*
* foundation
*--------------------------------------*/
.c-form__box {
  margin-top: 60px;
  width: 100%;
}
.c-form__box dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
@media screen and (max-width: 640px) {
  .c-form__box dl {
    flex-direction: column;
    gap: 4px;
  }
}
.c-form__box dl dt {
  font-weight: bold;
  text-align: left;
}
.c-form__box dl dd {
  width: 63.993%;
  padding-bottom: 30px;
}
@media screen and (max-width: 640px) {
  .c-form__box dl dd {
    width: 100%;
  }
}
.c-form__box dl dd input {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #c4c4c4;
  border-radius: 5px;
  outline: none;
}
.c-form__box dl dd textarea {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #c4c4c4;
  border-radius: 10px;
  outline: none;
}
.c-form__btn-wrapper {
  margin-top: 30px;
  text-align: center;
}
.c-form__submit {
  min-width: 230px;
  padding: 20px;
  background-image: linear-gradient(to right, #333 0%, #333 50%, #ffffff 50%, #ffffff 100%);
  background-size: 200%;
  background-position-x: 0;
  border: 1px solid #333;
  border-radius: 5px;
  color: #ffffff;
  text-align: center;
  transition: 0.3s ease-in;
  display: inline-block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .c-form__submit {
    padding: 12px;
  }
}
.c-form__submit:hover {
  background-position-x: 100%;
  color: #333;
}

.wpcf7-spinner {
    display: none !important;
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.c-to-top {
  position: absolute;
}
.c-to-top .pagetop {
  position: fixed;
  width: 59px;
  height: 59px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 50%;
  right: 2.5%;
  bottom: 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.c-to-top .pagetop::before {
  position: relative;
  content: "";
  width: 20px;
  height: 10px;
  background: center/contain no-repeat url(./asset/img/arrow-page-top.svg);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}
.c-to-top .pagetop.is-show {
  opacity: 1;
  visibility: visible;
}
@media screen and (max-width: 374px) {
  .c-to-top .pagetop {
    right: 2px;
    bottom: 6px;
    width: min(13.3333333333%, 50px);
  }
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.c-page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.c-page-nav li {
  width: 46%;
  max-width: 267px;
}
.c-page-nav li:first-of-type a::after {
  right: auto;
  left: 20px;
  transform: translateY(-50%) scale(-1, 1);
}
.c-page-nav li a {
  display: block;
  padding: 18px;
  background-size: 200%;
  background-image: linear-gradient(to right, transparent 0%, transparent 50%, #fff 50%, #fff 100%);
  border: 5px solid #e5e5e5;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  position: relative;
  transition: 0.2s linear;
}
@media screen and (max-width: 768px) {
  .c-page-nav li a {
    padding: 10px;
    font-size: 0.875rem;
  }
}
.c-page-nav li a::after {
  content: "";
  width: 9px;
  height: 12px;
  background: center/contain no-repeat url("/asset/img/arrow-menu.svg");
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
}
.c-page-nav li a:hover {
  background-position-x: right;
}
@media screen and (max-width: 768px) {
  .c-page-nav li a {
    font-size: 0.875rem;
  }
}

/*--------------------------------------*
  * utility
  *--------------------------------------*/
/*--------------------------------------*
* foundation
*--------------------------------------*/
.u-skill {
  display: block;
  color: #7c2e1e;
  margin-top: 10px;
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.u-position {
  margin-left: auto;
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.u-center {
  justify-content: center;
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.u-contact-inner {
  max-width: calc(1160px + 8%);
}

/*--------------------------------------*
* foundation
*--------------------------------------*/
.u-inner {
  max-width: calc(820px + 8%);
}
@media screen and (max-width: 768px) {
  .u-inner {
    width: 100%;
    max-width: calc(480px + 8%);
  }
}

main {
  display: block;
  width: 100%;
  padding-top: 100px;
}
@media screen and (min-width: 769px) {
  main {
    padding-top: 60px;
  }
}