@charset "UTF-8";
/* ===== Reset / utilities ===== */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.white-e--title {
  color: #FFFFFF;
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 45px;
  letter-spacing: 0.1em;
}

.white-e--text {
  color: #FFFFFF;
  font-size: 1em;
  font-weight: inherit;
}

/* ===== Base ===== */
body {
  font-family: "Noto Sans JP", "Raleway", sans-serif;
  color: #FFFFFF;
  background: #141414;
}
body.is-fixed {
  overflow: hidden;
}

/* ===== Button ===== */
.button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 160px;
  margin: 0 auto;
  padding: 6px 10px 6px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  -webkit-transition: background 0.3s, color 0.3s, opacity 0.3s;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
  /* 塗りボタン */
  /* 枠ボタン */
}
.button__icon {
  width: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.button__text {
  margin-left: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: currentColor;
}
.button--bg {
  background: #E0BBE4;
  color: #141414;
}
.button--bg:hover {
  background: #957DAD;
}
.button--border {
  background: transparent;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
}
.button--border:hover {
  background: #E0BBE4;
  border-color: #E0BBE4;
  color: #141414;
}

/* ===== Header ===== */
.header {
  background: #141414;
  width: 100%;
  z-index: 999;
}
.header__container {
  width: 100%;
  position: relative;
}
.header__logo {
  display: inline-block;
  padding: 14px 24px;
}
.header .logo-image {
  max-width: 120px;
  height: auto;
  vertical-align: bottom;
}
.header__menu-button {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 30px;
  height: 36px;
  overflow: hidden;
  color: transparent;
  border: none;
  background: url(../img/bg_menu.png) center/100% auto no-repeat;
}
.header__menu-button.is-checked {
  background: url(../img/bg_menu-close.png) center/100% auto no-repeat;
}
.header__contents {
  display: none;
  height: calc(100vh - 88px);
  border-top: 1px solid #B8B8FF;
  padding-top: 10px;
}
.header__nav-item + .header__nav-item {
  margin-top: 24px;
}

/* ===== FV ===== */
.fv {
  position: relative;
}

.fv__img img {
  width: 100%;
  height: auto;
}

.fv__contents {
  position: absolute;
  left: 0;
  bottom: 26px;
  width: 100%;
  padding: 32px;
  background: rgba(0, 0, 0, 0.5);
}

.fv__heading-main {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  display: block;
  font-size: 45px;
  letter-spacing: 0.1em;
  color: #E0BBE4;
}

.fv__heading-sub {
  font-family: "Noto Sans JP", "Raleway", sans-serif;
  font-weight: 700;
  margin-top: 12px;
  line-height: 1.6;
  display: block;
  font-size: 14px;
  color: #B8B8FF;
}

/* ===== Section（共通） ===== */
.section {
  padding: 48px 0;
}
.section + .section {
  border-top: 1px solid #957DAD;
}
.section + .section .section__inner {
  padding-top: 32px;
}
.section__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  min-width: 0;
}
.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-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: #E0BBE4;
}
.section__head-sub {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #B8B8FF;
}
.section__lead-text {
  font-size: 16px;
  line-height: 1.8;
  color: #FFFFFF;
}
.section__contents {
  margin-top: 40px;
}

/* ===== Service ===== */
.service__item {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: bold;
}
.service__item + .service__item {
  margin-top: 40px;
}
.service__item-img {
  width: 150px;
  height: 150px;
  margin: 0 auto 14px;
  border-radius: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #FFFFFF;
  border: 2px solid #E0BBE4;
}
.service__item-img img {
  max-height: 100%;
  max-width: 80%;
  width: auto;
}
.service__item-name {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  color: #FFFFFF;
  -webkit-transition: text-shadow 0.3s ease;
  transition: text-shadow 0.3s ease;
}
.service__item-name:hover {
  text-shadow: 0 0 6px #E0BBE4, 0 0 12px #E0BBE4;
}
.service__item-text {
  font-size: 16px;
  line-height: 1.6;
  color: #FFFFFF;
}

/* ===== Works ===== */
.works {
  background: #1C1C1C;
}
.works__title {
  font-size: 28px;
  font-weight: 700;
  color: #E0BBE4;
  margin-bottom: 12px;
}
.works__subtitle {
  font-size: 16px;
  color: #B8B8FF;
  margin-bottom: 20px;
}
.works__text {
  font-size: 14px;
  color: #FFFFFF;
  line-height: 1.8;
  margin-bottom: 30px;
}
.works__item {
  background: #141414;
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 16px;
}
.works__item + .works__item {
  margin-top: 40px;
}
.works__item-img {
  margin-bottom: 12px;
}
.works__item-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);
}
.works__item-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #E0BBE4;
}
.works__item-link {
  font-size: 12px;
  color: #E0BBE4;
  text-decoration: none;
  -webkit-transition: color 0.2s, text-decoration-color 0.2s;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.works__item-link:hover, .works__item-link:focus-visible {
  color: #957DAD;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* ===== About ===== */
.about__img {
  margin-bottom: 32px;
}
.about__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);
}
.about__text {
  font-size: 16px;
  line-height: 1.8;
  color: #FFFFFF;
}
.about__text + .about__text {
  margin-top: 1em;
}
.about__concept {
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid #957DAD;
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 24px;
}
.about__concept p {
  font-size: 16px;
  line-height: 1.8;
  color: #FFFFFF;
  margin: 0;
}
.about__concept p + p {
  margin-top: 0.9em;
}
.about__concept strong {
  font-weight: 700;
  color: #E0BBE4;
}
.about__concept-title {
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.7;
  position: relative;
  padding-left: 12px;
}
.about__concept-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 6px;
  height: 1.1em;
  background: #957DAD;
  border-radius: 3px;
}

@media (min-width: 992px) {
  .about__concept {
    padding: 18px 20px;
  }
  .about__concept-title {
    font-size: 20px;
  }
}
/* ===== Flow ===== */
.flow {
  background: #1C1C1C;
}
.flow__list {
  margin-top: 64px;
}
.flow__item {
  position: relative;
  border: 1px solid #957DAD;
  padding: 32px 16px 24px;
  background: #141414;
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.flow__item + .flow__item {
  margin-top: 46px;
}
.flow__item-num {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  position: absolute;
  top: -20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  font-size: 20px;
  background: #957DAD;
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  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;
  border-radius: 50%;
}
.flow__item-img {
  margin: 8px 0 20px;
  text-align: center;
}
.flow__item-img img {
  max-width: min(520px, 100%);
  width: auto;
  margin-inline: auto;
}
.flow__item-name {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #FFFFFF;
}
.flow__item-text {
  font-size: 16px;
  line-height: 1.6;
  color: #FFFFFF;
}

/* ==== Flow の画像を Service と同じ見た目に ==== */
.flow__item-img {
  /* Service と同じ箱（白・角丸・ピンク枠） */
  margin: 8px auto 20px;
  background-color: #FFFFFF;
  border: 2px solid #E0BBE4;
  border-radius: 15px;
  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;
  /* スマホで大きくなりすぎないよう、箱のサイズを制御（正方形） */
  width: clamp(160px, 60vw, 240px);
  height: clamp(160px, 60vw, 240px);
  /* ほんのり影（Serviceに寄せるならお好みで） */
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.flow__item-img img {
  /* 枠内に気持ちよく収まるように */
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
}

/* タブレット〜PCで少し大きく */
@media (min-width: 768px) {
  .flow__item-img {
    width: 220px;
    height: 220px;
  }
}
@media (min-width: 992px) {
  .flow__item-img {
    width: 100px;
    height: 100px;
  }
}
/* ===== Message ===== */
.message__img {
  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);
}
.message__text {
  font-size: 16px;
  line-height: 1.8;
  color: #FFFFFF;
}

/* ===== Page bottom / Footer ===== */
.page-bottom {
  color: #FFFFFF;
}
.page-bottom__item {
  padding: 40px;
}
.page-bottom__item--contact {
  background: #1C1C1C;
}

.page-bottom__item--contact .section__head-main {
  color: #FFFFFF;
}

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

.privacy {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
}

/* ===== PC layout ===== */
@media (min-width: 992px) {
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-width: 0;
  }
  .main {
    -ms-flex-preferred-size: 79.2%;
        flex-basis: 79.2%;
    min-width: 0;
  }
  .header {
    position: relative;
    width: auto; /* flex内で100%を解除してはみ出し防止 */
    -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-image {
    width: 100%;
    height: auto;
  }
  .header__menu-button {
    display: none;
  }
  .header__contents {
    border: none;
    display: block;
  }
  .section__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 32px;
  }
  .section__head {
    margin-bottom: 24px;
  }
  .section__head-main {
    font-size: 45px;
  }
  .fv__contents {
    background: rgba(0, 0, 0, 0.45);
    bottom: 100px;
    left: 0;
    max-width: 627px;
    padding-top: 24px;
    padding-left: 96px;
  }
  /* Service：PCは4列 */
  .service__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    -webkit-column-gap: 24px;
       -moz-column-gap: 24px;
            column-gap: 24px;
    row-gap: 40px;
  }
  .service__item {
    min-width: 0;
    margin: 0;
  }
  .service__item + .service__item {
    margin-top: 0;
  }
  /* Works：PCだけ3列 */
  .works__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
  .works__item + .works__item {
    margin-top: 0;
  }
  /* About：PCだけ横並び */
  .about__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;
  }
  /* Workflow：PCだけ4列（重複/誤指定は削除） */
  .flow__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
  .flow__item {
    min-width: 0;
  }
  .flow__item + .flow__item {
    margin-top: 0;
  }
  /* りかさん案：PCの画像サイズは安全に100px */
  .flow__item-img {
    width: 100px;
    height: 100px;
  }
  /* Message：PCだけ横並び */
  .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;
  }
}
/* ===== Tablet only (768–991px) ===== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section__head-main {
    font-size: 28px;
  }
  .fv__contents {
    bottom: 50%;
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
  }
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}
/* ===== Back to Top ===== */
#to-top {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #E0BBE4;
  cursor: pointer;
  z-index: 1000;
  -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.2s, -webkit-box-shadow 0.3s ease;
  transition: transform 0.2s, box-shadow 0.3s ease;
  transition: transform 0.2s, box-shadow 0.3s ease, -webkit-transform 0.2s, -webkit-box-shadow 0.3s ease;
}
#to-top::before, #to-top::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 12px;
  height: 12px;
  border-top: 3px solid #141414;
  border-right: 3px solid #141414;
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}
#to-top::before {
  -webkit-transform: translate(-50%, calc(-50% - 4px)) rotate(-45deg);
          transform: translate(-50%, calc(-50% - 4px)) rotate(-45deg);
}
#to-top::after {
  -webkit-transform: translate(-50%, calc(-50% + 4px)) rotate(-45deg);
          transform: translate(-50%, calc(-50% + 4px)) rotate(-45deg);
}
#to-top:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 0 6px #E0BBE4, 0 0 12px #E0BBE4, 0 0 20px #E0BBE4;
          box-shadow: 0 0 6px #E0BBE4, 0 0 12px #E0BBE4, 0 0 20px #E0BBE4;
}

/* ===== SVGの塗りを文字色に合わせる（LINEアイコン必須） ===== */
.button__icon-path {
  fill: currentColor;
}

/* ホバー残留対策（マウス端末のみhover） */
@media (hover: hover) and (pointer: fine) {
  .button--bg:hover {
    background: #957DAD;
  }
}
/* タップ後は通常色へ戻す（iOS対策） */
.button--bg:focus,
.button--bg:active {
  background: #E0BBE4;
  -webkit-box-shadow: none;
          box-shadow: none;
  outline: none;
}

/* キーボードだけ視覚フォーカス */
.button--bg:focus-visible {
  outline: 2px solid #957DAD;
  outline-offset: 2px;
}

/* iOSのタップハイライトを消す（任意） */
a,
button {
  -webkit-tap-highlight-color: transparent;
}

/* ===== Mobile helper ===== */
@media (max-width: 991px) {
  .js-reveal {
    opacity: 0;
    -webkit-transform: translateY(-18px);
            transform: translateY(-18px);
    -webkit-transition: opacity 0.36s, -webkit-transform 0.36s;
    transition: opacity 0.36s, -webkit-transform 0.36s;
    transition: opacity 0.36s, transform 0.36s;
    transition: opacity 0.36s, transform 0.36s, -webkit-transform 0.36s;
    will-change: opacity, transform;
    -webkit-transition-delay: var(--delay, 0s);
            transition-delay: var(--delay, 0s);
  }
  .js-reveal.is-visible {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  .header__logo {
    max-width: 60px;
    height: auto;
  }
}
@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
  .js-reveal {
    -webkit-transition: none;
    transition: none;
    -webkit-transform: none;
            transform: none;
  }
}