@charset "UTF-8";
/* =========================================================
   導入実績（一覧・詳細）PC版
   1rem = デザイン上の10px（1440px幅基準）。共通パーツは style.css
   ========================================================= */
:root { --beige: #f6f4ed; --gray: #f5f5f5; --line: #d9d3c7; }

/* ---------- KV（下層共通の帯） ---------- */
.wk-hero { height: 43.7rem; }
.wk-hero__img { position: absolute; left: 0; top: 7.7rem; width: 144rem; height: 36rem; overflow: hidden; }
.wk-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.wk-hero__ttl { position: absolute; left: 0; top: 23.92rem; width: 144rem; text-align: center; font-size: 3.4rem; line-height: 3.4rem; font-weight: 700; }

/* ---------- 導入文 ---------- */
.wk-intro { padding: 4.8rem 0 2rem; text-align: center; }
.wk-intro__txt { font-size: 2.4rem; line-height: 3.5rem; font-weight: 400; }
.wk-intro__txt + .wk-intro__txt { margin-top: 1.7rem; }

/* ---------- 弧を描いて流れるカード ---------- */
.wk-arc { height: 66rem; overflow: hidden; }
.wk-arc__bg {
  position: absolute; left: 0; top: 4rem; width: 144rem; text-align: center;
  font-family: "Barlow", sans-serif; font-weight: 700; font-size: 26rem; line-height: 1; letter-spacing: .06em;
  color: transparent; -webkit-text-stroke: .2rem #e3dccd; pointer-events: none; user-select: none;
}
.wk-arc__track { position: absolute; left: 0; top: 0; width: 144rem; height: 100%; }
.wk-arc__card {
  position: absolute; left: 0; top: 0; width: 26rem; height: 26rem; margin: -13rem 0 0 -13rem;
  border-radius: 1.2rem; overflow: visible; will-change: transform;
  -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none; /* スマホでタップしたとき、選択の色や長押しメニューが出ないように */
}
.wk-arc__card img { -webkit-user-drag: none; }
.wk-arc__card img { width: 100%; height: 100%; border-radius: 1.2rem; object-fit: cover; box-shadow: 0 1.2rem 2.8rem -1.4rem rgba(35, 30, 25, .45); transition: box-shadow .4s; }
.wk-arc__card:hover img, .wk-arc__card:focus-visible img { box-shadow: 0 2.8rem 4.4rem -1.6rem rgba(35, 30, 25, .55); }
.wk-arc__label {
  position: absolute; left: 50%; top: 100%; margin-top: 1.4rem; transform: translate(-50%, .8rem);
  padding: .5rem 1.4rem; border-radius: 2rem; background: var(--ink); color: var(--white);
  font-family: "Barlow", sans-serif; font-size: 1.6rem; line-height: 2rem; letter-spacing: .06em; white-space: nowrap;
  opacity: 0; transition: opacity .3s, transform .3s;
}
.wk-arc__card.is-hover .wk-arc__label, .wk-arc__card:focus-visible .wk-arc__label { opacity: 1; transform: translate(-50%, 0); }
.wk-arc__hint { position: absolute; left: 0; bottom: 3.2rem; width: 144rem; text-align: center; font-size: 1.6rem; line-height: 2.4rem; color: #8a8378; }

/* ---------- 一覧（タブ） ---------- */
.wk-list { padding: 9rem 0 14rem; background: var(--beige); clip-path: polygon(0 0, calc(50% - 3.6rem) 0, 50% 3.6rem, calc(50% + 3.6rem) 0, 100% 0, 100% 100%, 0 100%); } /* 上の弧の場所から吹き出しのように出る */
.wk-tabs { display: flex; justify-content: center; gap: 2.4rem; }
.wk-tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 42rem; height: 10rem; border: .3rem solid var(--ink); background: var(--white); color: var(--ink);
  font-family: var(--font); cursor: pointer; transition: background .3s, color .3s;
}
.wk-tab b { font-family: "Barlow", sans-serif; font-size: 3.2rem; line-height: 3.8rem; font-weight: 700; letter-spacing: .04em; }
.wk-tab small { display: flex; align-items: center; gap: .8rem; font-size: 1.6rem; line-height: 2.4rem; font-weight: 700; }
.wk-tab em { font-style: normal; font-family: "Barlow", sans-serif; font-size: 1.4rem; line-height: 2rem; padding: 0 .8rem; border-radius: 1rem; background: var(--teal); color: var(--white); }
.wk-tab.is-active { background: var(--ink); color: var(--white); }
.wk-tab.is-active::after { content: ""; position: absolute; left: 50%; bottom: -1.6rem; width: 2.8rem; height: 1.6rem; margin-left: -1.4rem; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.wk-tab:not(.is-active):hover { background: #eef7f6; }
.wk-grid { display: grid; grid-template-columns: repeat(3, 34.4rem); column-gap: 4.4rem; row-gap: 6rem; width: 112rem; margin: 7.2rem auto 0; }
.wk-panel[hidden] { display: none; }
.u-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 一覧・ほかの事例 共通のカード */
.wk-card a { display: block; }
.wk-card__img { display: block; overflow: hidden; border-radius: 1.2rem; box-shadow: 0 1.4rem 3rem -2rem rgba(35, 30, 25, .5); }
.wk-card__img img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.wk-card a:hover .wk-card__img img { transform: scale(1.06); }
.wk-card__no { display: block; margin-top: 2rem; font-family: "Barlow", sans-serif; font-size: 2rem; line-height: 2.4rem; font-weight: 700; letter-spacing: .06em; color: var(--teal); }
.wk-card__ttl { display: block; margin-top: .6rem; font-size: 2rem; line-height: 3.2rem; font-weight: 700; transition: color .3s; }
.wk-card a:hover .wk-card__ttl { color: var(--teal); }
.wk-card__tags { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.wk-card__tags i { font-style: normal; padding: .2rem 1rem; border: .15rem solid var(--line); border-radius: .4rem; background: var(--white); font-size: 1.4rem; line-height: 2.2rem; color: #6b645a; }

.wk-cta { height: 36.4rem; }
.wk-cta .cta { left: 47rem; top: 15rem; }

/* =========================================================
   詳細ページ
   ========================================================= */
.wk-hero--detail .wk-hero__img { height: 20rem; }
.wk-hero--detail .wk-hero__ttl { top: 16rem; font-size: 3rem; line-height: 3rem; }
.wk-hero--detail { height: 27.7rem; }

/* 見出し：左に事例名と概要、右に写真 */
.wd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 6rem; padding: 8rem 16rem 0; }
.wd-head__txt { flex: none; width: 48rem; }
.wd-head__no {
  font-family: "Barlow", sans-serif; font-weight: 700; font-size: 9.6rem; line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: .2rem #d8ccb6; white-space: nowrap;
}
.wd-head__no span { color: var(--teal); -webkit-text-stroke: 0; }
.wd-head__cat { margin-top: 2.4rem; font-size: 1.6rem; line-height: 2.4rem; font-weight: 700; color: var(--teal); }
.wd-head__ttl { margin-top: 1.2rem; font-size: 3.6rem; line-height: 5.4rem; font-weight: 700; }
.wd-sum { margin-top: 3.6rem; border-top: .3rem solid var(--ink); }
.wd-sum div { display: flex; gap: 2rem; padding: 1.6rem 0; border-bottom: .15rem solid var(--line); }
.wd-sum dt { flex: none; width: 10rem; font-size: 1.6rem; line-height: 2.8rem; font-weight: 700; }
.wd-sum dd { font-size: 1.8rem; line-height: 2.8rem; font-weight: 500; }
.wd-head__img { position: relative; flex: none; width: 58rem; margin-top: 4rem; }
.wd-head__img::before { content: ""; position: absolute; left: 3.2rem; top: 3.2rem; right: -3.2rem; bottom: -3.2rem; border-radius: 1.6rem; background: var(--beige); }
.wd-head__img img { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1.6rem; }

/* 本文：左に見出し、右に文章。左の点線が読み進めるほど伸びる */
.wd-body { width: 112rem; margin: 12rem auto 0; }
.wd-rail { position: absolute; left: .9rem; top: 3.4rem; bottom: 4rem; width: .7rem; }
.wd-rail i { position: absolute; left: .05rem; top: 0; bottom: 0; width: .6rem; background: linear-gradient(var(--ink) 0 .6rem, transparent .6rem) 0 0 / .6rem 1.4rem repeat-y; transform-origin: 50% 0; } /* 正方形の点を1.4remおきに */
.wd-sec { position: relative; display: flex; gap: 4rem; padding: 0 0 7.2rem 6.4rem; }
.wd-sec::before { content: ""; position: absolute; left: 0; top: .6rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: .3rem solid var(--ink); background: var(--white); box-sizing: border-box; }
.wd-sec--change::before, .wd-sec--message::before { background: var(--teal); border-color: var(--teal); }
.wd-sec__head { flex: none; width: 26rem; display: flex; flex-direction: column; }
.wd-sec__head b { white-space: nowrap; font-family: "Barlow", sans-serif; font-size: 3rem; line-height: 3.6rem; font-weight: 700; letter-spacing: .04em; color: var(--teal); }
.wd-sec__head small { margin-top: .4rem; font-size: 1.8rem; line-height: 2.6rem; font-weight: 700; }
.wd-sec__body { flex: 1; font-size: 2rem; line-height: 3.8rem; font-weight: 400; }
.wd-sec__body p + p { margin-top: 2.4rem; }
.wd-sec__body strong { font-weight: 700; }
.wd-sec__body a { color: var(--teal); text-decoration: underline; word-break: break-all; }
.wd-mk { font-weight: 700; background: linear-gradient(transparent 60%, rgba(18, 168, 157, .28) 60%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html.js .wd-mk { background-size: 0% 100%; }

.wd-change { display: flex; flex-direction: column; gap: 1.2rem; padding: 2.8rem 3.2rem; border: .3rem solid var(--teal); border-radius: 1.2rem; background: #f1f9f8; }
.wd-change li { display: flex; align-items: flex-start; gap: 1.2rem; font-weight: 700; }
.wd-change i { flex: none; display: flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; margin-top: .5rem; border-radius: 50%; background: var(--teal); color: var(--white); font-style: normal; font-size: 1.6rem; line-height: 1; }

.wd-msg { position: relative; padding: 4rem 4.4rem 4rem 4.4rem; border-radius: 1.6rem; background: var(--beige); }
.wd-msg::after { content: ""; position: absolute; left: -1.6rem; top: 3.2rem; width: 1.8rem; height: 2.8rem; background: var(--beige); clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.wd-msg__q { position: absolute; right: 2.4rem; top: -2.4rem; font-family: "Barlow", sans-serif; font-weight: 700; font-size: 12rem; line-height: 1; color: var(--teal); opacity: .35; }
.wd-msg p { position: relative; }
/* 制作事例の「この実績が伝えたいこと」：DEGORAの言葉なので吹き出しにしない */
.wd-own { padding: 3.2rem 4rem; border-left: .6rem solid var(--teal); background: var(--beige); }
.wd-own p + p { margin-top: 2.4rem; }

/* 実績の掲載について */
.wd-note { padding: 4rem 0 0; }
.wd-note__box { width: 112rem; margin: 0 auto; padding: 5.6rem 0 6rem; border-radius: 1.6rem; background: var(--gray); text-align: center; }
.wd-note__ttl { font-size: 2.8rem; line-height: 4rem; font-weight: 700; }
.wd-note__txt { margin-top: 1.6rem; font-size: 1.8rem; line-height: 3.2rem; }
.wd-note__cta { width: 50rem; margin: 3.2rem auto 0; }
.wd-note .cta__btn { width: 50rem; height: 7.6rem; margin: 0; font-size: 2.6rem; }

/* ほかの事例 */
.wd-more { padding: 12rem 0 14rem; }
.wd-more__ttl { display: flex; flex-direction: column; align-items: center; text-align: center; }
.wd-more__ttl b { font-family: "Barlow", sans-serif; font-size: 4rem; line-height: 4.8rem; font-weight: 700; letter-spacing: .04em; }
.wd-more__ttl small { font-size: 1.8rem; line-height: 2.6rem; font-weight: 700; color: var(--teal); }
.wd-more__list { display: grid; grid-template-columns: repeat(3, 34.4rem); column-gap: 4.4rem; width: 112rem; margin: 5.6rem auto 0; }
.wd-more__back {
  position: relative; display: flex; align-items: center; justify-content: center; width: 39rem; height: 7.3rem; margin: 7.2rem auto 0;
  border: .3rem solid var(--teal); border-radius: 4.4rem; background: var(--white); color: var(--teal); font-size: 2.2rem; font-weight: 700; transition: background .3s, color .3s;
}
.wd-more__back .chev { position: absolute; right: 3rem; top: 50%; width: .9rem; height: 1.5rem; margin-top: -.75rem; fill: none; stroke: currentColor; stroke-width: 2; }
.wd-more__back:hover { background: var(--teal); color: var(--white); }

/* =========================================================
   スマホ版（767px以下・375px幅基準）　望月チームでPC版をもとに組んだレイアウト
   ========================================================= */
@media (max-width: 767px) {
  /* KV */
  .wk-hero { height: 18rem; }
  .wk-hero__img { top: 6rem; width: 37.5rem; height: 12rem; }
  .wk-hero__img img { object-position: 18% 50%; }
  .wk-hero__ttl { top: 10.4rem; width: 37.5rem; font-size: 2.2rem; line-height: 2.2rem; }
  .wk-hero--detail { height: 14rem; }
  .wk-hero--detail .wk-hero__img { height: 8rem; }
  .wk-hero--detail .wk-hero__ttl { top: 8.9rem; font-size: 1.8rem; line-height: 1.8rem; }

  /* 導入文 */
  .wk-intro { padding: 3.6rem 2rem 0; }
  .wk-intro__txt { font-size: 1.35rem; line-height: 2.4rem; }
  .wk-intro__txt + .wk-intro__txt { margin-top: 1.4rem; }

  /* 流れるカード */
  .wk-arc { height: 29rem; }
  .wk-arc__bg { top: 3.2rem; width: 37.5rem; font-size: 9rem; -webkit-text-stroke: .1rem #e3dccd; }
  .wk-arc__track { width: 37.5rem; }
  .wk-arc__card { width: 13rem; height: 13rem; margin: -6.5rem 0 0 -6.5rem; border-radius: .8rem; }
  .wk-arc__card img { border-radius: .8rem; box-shadow: 0 .8rem 1.6rem -1rem rgba(35, 30, 25, .5); }
  .wk-arc__label { margin-top: .8rem; padding: .3rem 1rem; font-size: 1.1rem; line-height: 1.4rem; }
  .wk-arc__hint { bottom: 2rem; width: 37.5rem; font-size: 1.1rem; line-height: 1.6rem; }

  /* 一覧（タブ） */
  .wk-list { padding: 5.2rem 0 6rem; clip-path: polygon(0 0, calc(50% - 2rem) 0, 50% 2rem, calc(50% + 2rem) 0, 100% 0, 100% 100%, 0 100%); }
  .wk-tabs { gap: .9rem; padding: 0 2rem; }
  .wk-tab { width: 16.3rem; height: 6.6rem; border-width: .2rem; }
  .wk-tab b { font-size: 1.7rem; line-height: 2.2rem; }
  .wk-tab small { gap: .4rem; font-size: 1.1rem; line-height: 1.8rem; }
  .wk-tab em { font-size: 1rem; line-height: 1.5rem; padding: 0 .5rem; }
  .wk-tab.is-active::after { bottom: -1.1rem; width: 1.8rem; height: 1rem; margin-left: -.9rem; }
  .wk-grid { grid-template-columns: repeat(2, 16rem); column-gap: 1.5rem; row-gap: 3.2rem; width: 33.5rem; margin-top: 4rem; }
  .wk-card__img { border-radius: .8rem; }
  .wk-card__no { margin-top: 1rem; font-size: 1.3rem; line-height: 1.6rem; }
  .wk-card__ttl { margin-top: .3rem; font-size: 1.3rem; line-height: 2rem; }
  .wk-card__tags { gap: .4rem; margin-top: .6rem; }
  .wk-card__tags i { padding: 0 .5rem; border-width: .1rem; font-size: 1rem; line-height: 1.7rem; }
  .wk-cta { height: auto; padding: 5rem 0; }
  .wk-cta .cta { left: auto; top: auto; }

  /* 詳細：見出し */
  .wd-head { flex-direction: column; gap: 3.2rem; padding: 4rem 2rem 0; }
  .wd-head__txt { width: auto; align-self: stretch; }
  .wd-head__no { font-size: 5.6rem; -webkit-text-stroke: .15rem #d8ccb6; }
  .wd-head__cat { margin-top: 1.4rem; font-size: 1.15rem; line-height: 1.8rem; }
  .wd-head__ttl { margin-top: .6rem; font-size: 2.1rem; line-height: 3.2rem; }
  .wd-sum { margin-top: 2rem; border-top-width: .2rem; }
  .wd-sum div { gap: 1.2rem; padding: 1rem 0; border-bottom-width: .1rem; }
  .wd-sum dt { width: 6.4rem; font-size: 1.2rem; line-height: 2.2rem; }
  .wd-sum dd { font-size: 1.35rem; line-height: 2.2rem; }
  .wd-head__img { width: 32.3rem; margin: 0; align-self: flex-start; }
  .wd-head__img::before { left: 1.2rem; top: 1.2rem; right: -1.2rem; bottom: -1.2rem; border-radius: .8rem; }
  .wd-head__img img { border-radius: .8rem; }

  /* 詳細：本文 */
  .wd-body { width: auto; margin: 6rem 2rem 0; }
  .wd-rail { left: .55rem; top: 2.4rem; width: .5rem; }
  .wd-rail i { left: 0; width: .5rem; background: linear-gradient(var(--ink) 0 .5rem, transparent .5rem) 0 0 / .5rem 1.1rem repeat-y; }
  .wd-sec { flex-direction: column; gap: 1.2rem; padding: 0 0 4.4rem 3.2rem; }
  .wd-sec::before { top: .3rem; width: 1.6rem; height: 1.6rem; border-width: .2rem; }
  .wd-sec__head { width: auto; }
  .wd-sec__head b { font-size: 2rem; line-height: 2.4rem; }
  .wd-sec__head small { margin-top: .2rem; font-size: 1.25rem; line-height: 1.8rem; }
  .wd-sec__body { font-size: 1.4rem; line-height: 2.6rem; }
  .wd-sec__body p + p { margin-top: 1.4rem; }
  .wd-change { gap: .8rem; padding: 1.6rem 1.6rem; border-width: .2rem; border-radius: .8rem; }
  .wd-change li { gap: .8rem; }
  .wd-change i { width: 2rem; height: 2rem; margin-top: .3rem; font-size: 1.1rem; }
  .wd-msg { padding: 2.4rem 2rem; border-radius: .8rem; }
  .wd-msg::after { left: 2rem; top: -1.1rem; width: 2rem; height: 1.2rem; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
  .wd-msg__q { right: 1.2rem; top: -1.2rem; font-size: 7rem; }
  .wd-own { padding: 2rem 1.8rem; border-left-width: .4rem; }
  .wd-own p + p { margin-top: 1.4rem; }

  /* 実績の掲載について */
  .wd-note { padding: 2rem 2rem 0; }
  .wd-note__box { width: auto; padding: 3.2rem 2rem 3.6rem; border-radius: .8rem; }
  .wd-note__ttl { font-size: 1.9rem; line-height: 2.8rem; }
  .wd-note__txt { margin-top: 1.2rem; font-size: 1.3rem; line-height: 2.3rem; text-align: left; }
  .wd-note__txt br { display: none; }
  .wd-note__cta { width: 30rem; margin-top: 2rem; }
  .wd-note .cta__btn { width: 30rem; height: 5.6rem; font-size: 1.7rem; }

  /* ほかの事例 */
  .wd-more { padding: 6rem 0 7rem; }
  .wd-more__ttl b { font-size: 2.6rem; line-height: 3.2rem; }
  .wd-more__ttl small { font-size: 1.3rem; line-height: 2rem; }
  .wd-more__list { grid-template-columns: repeat(2, 16rem); column-gap: 1.5rem; width: 33.5rem; margin-top: 3.2rem; }
  .wd-more__list .wk-card:nth-child(3) { display: none; }
  .wd-more__back { width: 26rem; height: 5.6rem; margin-top: 4rem; border-width: .2rem; font-size: 1.6rem; } /* スマホの白いボタンは1.6remで統一 */
  .wd-more__back .chev { right: 2rem; width: .7rem; height: 1.2rem; margin-top: -.6rem; }
}
