@charset "UTF-8";
/* =========================================================
   works.css ― トップ以外のページで使う見た目
   （work-design.html / work-writing.html / thanks.html / privacy-policy.html）
   ・目次
     1. ページの見出し（Design / Writing などの大きな英字）
     2. 作品ごとの見出し（作品名・表・説明文）
     3. 水色のパネルと画像
     4. 光ヶ丘：PROCESS（制作の流れ）と DETAILS（細部）
     5. バナー比較
     6. 求人原稿の骨組み・コラムのテーマ
     7. ページの最後（反対のページへのリンク・お問い合わせへの案内）
     8. お礼のページ
     9. プライバシーポリシー
   ========================================================= */


/* ---------------------------------------------------------
   1. ページの見出し
   --------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 220px 0 120px;
  overflow: hidden;
}

.page-hero__ja {
  font-size: 13px;
  letter-spacing: 0.12em;
}

.page-hero__en {
  margin-top: 16px;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 96px;
  line-height: 1;
}

.page-hero__sub {
  margin-top: 24px;
  font-size: 16px;
  letter-spacing: 0.06em;
}

/* 右から入ってくる足跡 */
.page-hero .paw-trail {
  left: 55%;
  width: 45%;
}

@media (max-width: 767px) {
  .page-hero {
    padding: 160px 0 72px;
  }

  .page-hero__en {
    font-size: 56px;
  }

  .page-hero__sub {
    font-size: 14px;
  }

  .page-hero .paw-trail {
    left: 40%;
    width: 60%;
    top: 100px;
    height: 60px;
  }
}


/* ---------------------------------------------------------
   2. 作品ごとの見出し
   --------------------------------------------------------- */
.case {
  padding-bottom: 160px;
}

.case__head {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 36px;
  margin-bottom: 56px;
}

.case__title {
  grid-column: 1 / -1;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* 区分・時期・担当・ツールの表 */
.case__data {
  border-top: 1px solid var(--line);
}

.case__data div {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.case__data dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--teal-deep);
}

.case__data dd {
  font-size: 14px;
}

.case__lead p {
  font-size: 17px;
  line-height: 2.2;
  letter-spacing: 0.06em;
}

.case__lead .text-link {
  margin-top: 28px;
}

.case__url {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--ink-soft);
}

/* PROCESS / DETAILS などの小見出し */
.block-head {
  margin: 120px 0 28px;
}

.block-head__title {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .case__head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .case {
    padding-bottom: 112px;
  }

  .case__title {
    font-size: 21px;
  }

  .case__lead p {
    font-size: 15px;
    line-height: 2;
  }

  .case__url {
    display: none;   /* スマホではURLを省略して「サイトを見る」だけにする */
  }

  .block-head {
    margin-top: 72px;
  }
}


/* ---------------------------------------------------------
   3. 水色のパネルと画像
   --------------------------------------------------------- */
.panel {
  padding: 72px 56px;
  background: var(--wall);
}

.panel__device {
  width: min(100%, 1000px);
  margin: 0 auto;
}

/* 画像の下につける小さな説明 */
.caption-title {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
}

.caption {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-soft);
}

@media (max-width: 767px) {
  .panel {
    padding: 40px 20px;
  }
}


/* ---------------------------------------------------------
   4. 光ヶ丘：PROCESS と DETAILS
   --------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px;
}

.process__item {
  position: relative;
}

/* 縦に長いページ画像を、上から一定の高さだけ見せて下をぼかす */
.process__shot {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: var(--white);
}

.process__shot img {
  width: 100%;
}

.process__shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(to bottom, rgba(207, 231, 230, 0), var(--wall));
}

/* 次の段階への矢印 */
.process__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 320px;
  right: -52px;
  width: 32px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 14'%3E%3Cpath d='M0 7h30M23 1l7 6-7 6' fill='none' stroke='%231A1A1A' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center / contain;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.details__shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--white);
}

.details__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* スマホのメニュー画像は小さいので、真ん中に置く */
.details__shot--menu {
  display: grid;
  place-items: center;
}

.details__shot--menu img {
  width: auto;
  height: 86%;
  object-fit: contain;
}

/* 学部の横スワイプ：縦長のスマホ画像のうち、学部のところを見せる */
.details__shot--swipe {
  display: grid;
  place-items: center;
}

.details__shot--swipe img {
  width: 36%;
  height: auto;
  aspect-ratio: 0.63;
  object-position: 0 82%;   /* 縦長の画像のうち、学部のところを見せる */
  border: 1px solid var(--line);
}

@media (max-width: 1024px) {
  .process {
    gap: 40px;
  }

  .process__item:not(:last-child)::after {
    display: none;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .process {
    grid-template-columns: 1fr;
  }

  .process__shot {
    height: 420px;
  }
}


/* ---------------------------------------------------------
   5. バナー比較
   --------------------------------------------------------- */
.pair {
  display: grid;
  grid-template-columns: 1fr 112px 1fr;   /* 左のバナー ／ 点線 ／ 右のバナー */
}

.pair__col:last-child {
  grid-column: 3;
}

.pair__kind {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
}

.pair__title {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 500;
}

.pair__img {
  width: 100%;
  margin-top: 28px;
  aspect-ratio: 630 / 450;
  object-fit: cover;
}

.pair__label {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
}

/* 情報の優先順位：01〜03 */
.priority {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.priority li {
  display: grid;
  grid-template-columns: 44px 72px 1fr;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  background: var(--white);
  font-size: 15px;
}

.priority__num {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--ink-soft);
}

.priority__item {
  justify-self: center;
  font-size: 14px;
  font-weight: 500;
}

/* 「時給」だけ色を変えて、左右で位置が違うことを見せる */
.priority__item--key {
  color: var(--teal-deep);
  font-weight: 700;
}

/* 左の01と右の03の「時給」をつなぐ点線（真ん中の列） */
.pair__link {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  height: 180px;          /* 左の01（上）から右の03（下）まで */
  margin-bottom: 26px;    /* 03の真ん中の高さにそろえる */
}

.pair__link svg {
  width: 100%;
  height: 100%;
}

.pair__note {
  margin-top: 40px;
  font-size: 12px;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .pair {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .pair__col:last-child {
    grid-column: auto;
  }

  .pair__link {
    display: none;
  }
}

@media (max-width: 767px) {
  .pair {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pair__title {
    font-size: 18px;
  }

  .priority li {
    grid-template-columns: 32px 64px 1fr;
    padding: 0 14px;
    font-size: 13px;
  }
}


/* ---------------------------------------------------------
   6. 求人原稿の骨組み・コラムのテーマ
   --------------------------------------------------------- */
.structure {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

/* 左：求人ページの骨組みの絵 */
.structure__page {
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.structure__photo {
  height: 120px;
  background: var(--line);
}

.structure__block {
  height: 44px;              /* 枠の高さ。右の説明の行の高さとそろえる */
  margin-top: 20px;
  padding: 12px 16px;
  overflow: hidden;
  border: 2.5px solid var(--teal);
}

.structure__block--detail { height: 110px; }
.structure__block--treat  { height: 246px; }

.structure__block i {
  display: block;
  height: 8px;
  margin-top: 12px;
  background: var(--line);
}

.structure__block i:first-child {
  margin-top: 0;
}

.structure__block--catch i {
  height: 10px;
  margin-top: 6px;
  background: var(--ink);
}

.structure__block--catch i:last-child {
  width: 55%;
}

/* 右：それぞれの部分の説明（左の枠と高さをそろえる） */
.structure__notes {
  display: grid;
  grid-template-rows: 44px 110px 246px;   /* 左の3つの枠と同じ高さ */
  row-gap: 20px;
  padding-top: 162px;                     /* 写真の部分（枠線＋余白＋写真）ぶん下げる */
}

.structure__note {
  position: relative;
  display: grid;
  align-content: center;
  padding-left: 96px;
}

.structure__note::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 100px;
  border-top: 1px solid var(--ink);
}

.structure__note::after {
  content: "";
  position: absolute;
  left: -24px;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.structure__note b {
  font-size: 18px;
  font-weight: 500;
}

.structure__note span {
  font-size: 14px;
  color: var(--teal-deep);
}

.structure__caption {
  margin-top: 32px;
  font-size: 12px;
  color: var(--ink-soft);
}

@media (max-width: 767px) {
  .structure {
    grid-template-columns: 1fr;
  }

  .structure__notes {
    grid-template-rows: none;
    gap: 16px;
    padding-top: 24px;
  }

  .structure__note {
    padding-left: 20px;
    border-left: 3px solid var(--teal);
  }

  .structure__note::before,
  .structure__note::after {
    display: none;
  }
}

/* コラムのテーマ一覧 */
.toc {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px;
  background: var(--white);
}

.toc__head {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
}

.toc ol {
  margin-top: 24px;
}

.toc li {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.toc li span {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--ink-soft);
}

.toc__total {
  margin-top: 24px;
  text-align: right;
  font-size: 18px;
  font-weight: 500;
  color: var(--teal-deep);
}

@media (max-width: 767px) {
  .toc {
    padding: 32px 20px;
  }

  .toc li {
    grid-template-columns: 40px 1fr;
    font-size: 15px;
  }
}


/* ---------------------------------------------------------
   7. ページの最後
   --------------------------------------------------------- */

/* 反対のページへ：「（ 文章の作品 ） Writing →」 */
.cross {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 80px 0 120px;
  border-top: 1px solid var(--line);
}

.cross__next {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.cross__next--left {
  justify-items: start;
}

.cross__ja {
  font-size: 13px;
  letter-spacing: 0.12em;
}

.cross__en {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-en);
  font-size: 64px;
  line-height: 1;
  transition: color 0.3s;
}

.cross__en::after {
  content: "";
  width: 66px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 36'%3E%3Cpath d='M0 18h64M45 2l19 16-19 16' fill='none' stroke='%231A1A1A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.cross__next--left .cross__en {
  flex-direction: row-reverse;
}

.cross__next--left .cross__en::after {
  transform: scaleX(-1);
}

.cross a:hover .cross__en {
  color: var(--teal-deep);
}

.cross .paw-trail {
  top: auto;
  bottom: 120px;
  left: 30%;
  width: 36%;
  height: 60px;
}

.cross__back {
  font-size: 14px;
}

.cross__back:hover {
  color: var(--teal-deep);
}

@media (max-width: 767px) {
  .cross {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 40px;
    padding: 56px 0 72px;
  }

  .cross__en {
    font-size: 40px;
    gap: 16px;
  }

  .cross__en::after {
    width: 40px;
    height: 22px;
  }

  .cross .paw-trail {
    display: none;
  }
}

/* お問い合わせへの案内（水色の帯） */
.cta {
  padding: 96px 0;
  background: var(--wall);
}

.cta__inner {
  display: grid;
  grid-template-columns: 472px 1fr auto;
  align-items: center;
  gap: 64px;
}

.cta .section-head {
  margin-bottom: 0;
}

.cta__text p {
  font-size: 16px;
  letter-spacing: 0.06em;
}

@media (max-width: 1024px) {
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .cta {
    padding: 72px 0;
  }

  .cta__text p {
    font-size: 14px;
  }

  .cta .button {
    width: 100%;
  }
}


/* ---------------------------------------------------------
   8. お礼のページ（thanks.html）
   ・サイトの中で、ここだけみっくんが目を開けています
   --------------------------------------------------------- */
.thanks {
  position: relative;
  min-height: 820px;
  overflow: hidden;
}

.thanks__text {
  position: relative;
  z-index: 2;
  padding-top: 280px;
}

.thanks__title {
  margin-top: 16px;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.1;
}

.thanks__body {
  margin-top: 40px;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.thanks .text-link {
  margin-top: 64px;
}

.thanks__cat {
  position: absolute;
  top: 200px;
  right: calc(var(--gutter) + 40px);
  width: min(380px, 30vw);   /* みっくんの大きさ */
}

@media (max-width: 767px) {
  .thanks {
    min-height: 0;
    padding-bottom: 300px;
  }

  .thanks__text {
    padding-top: 180px;
  }

  .thanks__title {
    font-size: 44px;
  }

  .thanks__body {
    font-size: 15px;
  }

  .thanks__cat {
    top: auto;
    bottom: -120px;
    width: 260px;
    right: 10px;
  }
}


/* ---------------------------------------------------------
   9. プライバシーポリシー
   --------------------------------------------------------- */
.policy {
  max-width: 800px;
  padding-bottom: 120px;
}

.policy section + section {
  margin-top: 48px;
}

.policy h2 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 500;
}

.policy p {
  font-size: 15px;
  line-height: 2;
}

.policy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy__date {
  margin-top: 64px;
  font-size: 13px;
  color: var(--ink-soft);
}
