@charset "UTF-8";
body {
  font-family: "Raleway", "Noto Sans JP", sans-serif;
  color: #333;
}
body.is-fixed {
  overflow: hidden;
}

.button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 6px 10px 6px 30px;
  width: 160px;
  margin: 0 auto;
  border-radius: 40px;
  -webkit-transition: background 0.3s, color 0.3s;
  transition: background 0.3s, color 0.3s;
  opacity: 0.3s;
}
.button:hover {
  background-color: #fff;
}
.button:hover .button__icon-path {
  fill: #4a4a4a;
}
.button:hover .button__text {
  color: #4a4a4a;
}
.button--bg {
  background-color: #fff;
}
.button--bg .button__text {
  color: #4a4a4a;
}
.button--border {
  border: 1px solid #fff;
}
.button--border .button__text {
  color: #fff;
}
.button__icon {
  width: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.button__icon-path {
  fill: #fff;
}
.button__icon-path--contact {
  fill: #4a4a4a;
}
.button__text {
  margin-left: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #fff;
}

html,
body,
a {
  cursor: none;
}

/*独自のマウスカーソルを作成*/
.cursor {
  position: fixed;
  top: -5px;
  left: -5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(240, 160, 144, 0.85);
  z-index: 1000;
  -webkit-transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
  transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
  pointer-events: none;
}

.cursor {
  position: fixed;
  /* マウス位置の調整 */
  top: -15px;
  left: -15px;
  width: 25px; /* サイズ */
  height: 25px;
  border-radius: 0; /* 星形に切り抜くため不要 */
  background: rgba(240, 160, 144, 0.8); /* 色 */
  z-index: 1000;
  pointer-events: none;
  -webkit-transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
  transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
  /* または、よりシンプルな四芒星 */
  clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
}

/*aタグにホバーした時に見た目変化*/
.cursor.cursor--hover {
  top: -20px;
  left: -20px;
  width: 25px;
  height: 25px;
  background: rgba(255, 242, 54, 0.8);
}

.header {
  background-color: #f0b4a8;
  background: -webkit-gradient(linear, left top, left bottom, from(#f0b4a8), to(rgba(240, 180, 168, 0.8)));
  background: linear-gradient(to bottom, #f0b4a8, rgba(240, 180, 168, 0.8));
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.header__container {
  position: relative;
  width: 100%;
}
.header__logo {
  display: inline-block;
  padding: 14px 24px;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.07em;
}
.header__menu-button {
  border: none;
  position: absolute;
  top: 24px;
  right: 24px;
  width: 30px;
  height: 36px;
  overflow: hidden;
  color: transparent;
  background: url(../img/bg_menu.png) center center no-repeat;
  background-size: 100% auto;
}
.header__menu-button.is-checked {
  background: url(../img/bg_menu-close.png) center center no-repeat;
  background-size: 100% auto;
}
.header__contents {
  display: none;
  height: calc(100vh - 88px);
  border-top: 1px solid #fff;
  padding-top: 60px;
}
.header__nav-item + .header__nav-item {
  margin-top: 24px;
}

.fv {
  position: relative;
}
.fv__contents {
  position: absolute;
  bottom: 26px;
  left: 0;
  width: 100%;
  height: 209px;
  background: url(../img/sp/bg_fv.png) center center no-repeat;
  background-size: 100% auto;
  padding: 32px;
}
.fv__heading-main {
  display: block;
  font-size: 30px;
  letter-spacing: 0.1em;
}
.fv__heading-sub {
  margin-top: 12px;
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.75;
}

.section {
  padding: 48px 0;
}
.section__inner {
  padding: 0 40px;
}
.section__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 32px;
}
.section__head--center {
  text-align: center;
}
.section__head-main {
  font-size: 37px;
  letter-spacing: 0.1em;
}
.section__head-sub {
  font-size: 11px;
}
.section__lead-text {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.section__contents {
  margin-top: 40px;
  padding-bottom: 40px;
  max-width: 540px;
  margin-inline: auto;
}

.service__list {
  text-align: center;
}
.service__item + .service__item {
  margin-top: 40px;
}
.service__item-img {
  text-align: center;
  margin-bottom: 14px;
}
.service__item-name {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.service__item-text {
  font-size: 13px;
  line-height: 1.8;
}

.works {
  background-color: #fafafa;
  padding-bottom: 120px;
  /* -------------------------------------------
  // 実績一覧のボタン スタイル
  // ------------------------------------------- */
  /* ホバー時の設定 */
}
.works__list {
  margin-top: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
}
.works__item {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}
.works__item-img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  aspect-ratio: 196/130;
  overflow: hidden;
}
.works__item-img img {
  width: 100%;
}
.works__item-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.works__item-title {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: bold;
  line-height: 1.7;
}
.works__item-tag {
  font-size: clamp(10px, 1.5vw, 12px);
  color: #333;
  opacity: 0.7;
}
.works .works__item-link {
  /* ボタンの基本構造 */
  display: block; /* リンク全体をクリック可能にする */
  width: 90%; /* 幅を設定 */
  max-width: 200px; /* 最大幅を設定 */
  margin: 0 auto; /* 中央寄せ */
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  /* ボタンの枠線と角丸 */
  border: 0px solid transparent;
  border-radius: 32px;
  /* エフェクトの基準位置 */
  position: relative;
  z-index: 10;
  overflow: hidden; /* ::beforeが外に出ないようにする */
  /* グラデーションを適用（元のCSSのボタン部分） */
  color: #fff; /* テキストを白に */
  background: linear-gradient(135deg, #a8f0d1, #eda8f0);
  opacity: 1;
}
.works .works__item-link::before {
  content: "";
  display: block;
  /* ::before の位置とサイズ設定 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* グラデーションとエフェクト（元のCSSの::before部分） */
  background: linear-gradient(135deg, #a8f0d1, #eda8f0);
  -webkit-filter: blur(8px);
          filter: blur(8px);
  border-radius: 32px;
  opacity: 0;
  z-index: -1; /* ボタン本体の下に配置 */
}
.works .works__item-link::before:hover {
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.works .works__item-link:hover {
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.works .works__item-link::before {
  content: "";
  display: block;
  /* ::before の位置とサイズ設定 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* グラデーションとエフェクト（元のCSSの::before部分） */
  background: linear-gradient(135deg, #f0a8e4, #a8e4f0);
  -webkit-filter: blur(8px);
          filter: blur(8px);
  border-radius: 32px;
  opacity: 0;
  z-index: -1; /* ボタン本体の下に配置 */
}
@media (any-hover: hover) {
  .works .works__item-link::before {
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
  }
  .works .works__item-link:hover::before {
    opacity: 1;
  }
}

.about__img {
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 32px;
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.about__img img {
  width: 100%;
}
.about__lead-text {
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  margin-top: 40px;
}
.about__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.about__text + .about__text {
  margin-top: 1em;
}

/* -------------------------------------------
// Aboutセクション 技術スタック リストスタイル
// ------------------------------------------- */
.about__skill-list {
  margin-top: 8px;
  padding: 0;
  padding-left: 16px;
  list-style: none;
}

.about__skill-list dt {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-top: 18px;
}
.about__skill-list dt:first-of-type {
  margin-top: 0;
}

.about__skill-list dd {
  font-size: 1rem;
  font-weight: normal;
  color: #555;
  margin-left: 0;
  padding-left: 10px;
  line-height: 1.6;
}

.flow {
  background-color: #fafafa;
}
.flow__list {
  margin-top: 64px;
}
.flow__item {
  text-align: center;
  position: relative;
  border: 1px solid #baa482;
  padding: 46px 16px 24px;
  max-width: 600px;
  margin-inline: auto;
}
.flow__item + .flow__item {
  margin-top: 40px;
}
.flow__item-num {
  position: absolute;
  top: -24px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  font-size: 24px;
  background-color: #baa482;
  color: #fff;
  width: 40px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.flow__item-img {
  margin-bottom: 24px;
  text-align: center;
}
.flow__item-name {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.flow__item-text {
  font-size: 13px;
  line-height: 1.7;
}

.message__img {
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 32px;
}
.message__img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  width: 100%;
}
.message__text {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.page-bottom {
  color: #fff;
}
.page-bottom__item {
  padding: 40px;
}
.page-bottom__item--X {
  background-color: rgb(240, 180, 168);
}

.footer {
  text-align: center;
  padding: 10px;
}
.footer__copy {
  font-size: 11px;
  font-family: "Noto Sans JP", sans-serif;
}

/*------------------------------------
// pc
-------------------------------------*/
@media screen and (min-width: 1024px) {
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .main {
    -ms-flex-preferred-size: 79.2%;
        flex-basis: 79.2%;
  }
  .header {
    position: relative;
    -ms-flex-preferred-size: 20.8%;
        flex-basis: 20.8%;
    padding: 50px 20px;
  }
  .header__container {
    width: 160px;
    margin: 0 auto;
    position: sticky;
    top: 50px;
  }
  .header__logo {
    font-size: 26px;
    letter-spacing: 0.12em;
    line-height: 1.4;
  }
  .header__menu-button {
    display: none;
  }
  .header__contents {
    border: none;
    display: block;
  }
  .button {
    -webkit-transition: background 0.3s, color 0.3s;
    transition: background 0.3s, color 0.3s;
    opacity: 0.3s;
  }
  .button:hover {
    background-color: #fff;
  }
  .button:hover .button__icon-path {
    fill: #4a4a4a;
  }
  .button:hover .button__text {
    color: #4a4a4a;
  }
  .button--bg {
    color: #4a4a4a;
  }
  .button--bg:hover {
    opacity: 0.7;
  }
  .section__inner {
    max-width: 944px;
    margin: 0 auto;
  }
  .section__head {
    margin-bottom: 24px;
  }
  .section__head-main {
    font-size: 45px;
    letter-spacing: 0.12em;
  }
  .section__contents {
    max-width: 800px;
    margin-inline: auto;
  }
  .fv__contents {
    background: url(../img/bg_fv.png) center center no-repeat;
    background-size: 100% auto;
    bottom: 100px;
    left: 0;
    max-width: 627px;
    height: 174px;
    padding-top: 32px;
    padding-left: 87px;
  }
  .service__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
  .service__item + .service__item {
    margin-top: 0;
  }
  .works__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
    grid-auto-rows: 1fr;
  }
  .works__item + .works__item {
    margin-top: 0;
  }
  .about__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 40px;
  }
  .flow__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .flow__item + .flow__item {
    margin-top: 0;
  }
  .message__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    gap: 40px;
  }
  .page-bottom__item {
    padding: 54px 10px;
  }
}
/*------------------------------------
// tb
-------------------------------------*/
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .section__inner {
    padding: 0 80px;
  }
  .section__head-main {
    font-size: 40px;
  }
  .section__contents {
    max-width: 780px;
  }
  .fv__contents {
    bottom: 40%;
    -webkit-transform: translateY(70%);
            transform: translateY(70%);
  }
  .works__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6%;
  }
  .about__img {
    height: 100%;
    margin-top: 110px;
  }
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}