/* ==========================
   カラー・フォント設定
   WordPress化の際は、このファイルをテーマの style.css（または assets/css/）として使う
   ========================== */
:root {
  --color-bg: #fbf8f3;        /* 生成り */
  --color-bg-rgb: 251, 248, 243; /* --color-bg と同じ色。半透明（rgba）で使うとき用 */
  --color-bg-sub: #f2ebe0;    /* ベージュ */
  --color-text: #3d3a35;      /* こげ茶寄りの黒（本文） */
  --color-heading: #3d3a35;   /* 見出し（本文と同じ色。変えたいときはここだけ直す） */
  --color-text-sub: #7a7268;
  --color-accent: #8a7a5c;    /* オリーブベージュ */
  --color-accent-rgb: 138, 122, 92;
  --color-line: #e2d9ca;
  --color-white: #ffffff;

  --font-sans: "Noto Sans JP", sans-serif;   /* フォントはゴシック体で統一 */

  --header-height: 64px;
  --content-width: 1200px;   /* コンテンツ幅（左右の余白を除いた中身の幅） */
  --gutter: 24px;            /* 画面の左右の余白 */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* 見出しの色（--color-heading で一括指定） */
.header__logo,
.hero__title,
.hero__copy,
.page-header__title,
.section__title,
.about__name,
.promise__title,
.skill__name,
.works__name,
.form__label,
.contact__other-title,
.modal__title,
.modal__body h3 {
  color: var(--color-heading);
}

.sp-only {
  display: none;
}

/* ==========================
   ヘッダー（header.php）
   ========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.header.is-scrolled,
.is-subpage .header {
  background: rgba(var(--color-bg-rgb), 0.95);
  box-shadow: 0 1px 0 var(--color-line);
}

.header__inner {
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-sans);
  font-size: 20px;
  letter-spacing: 0.2em;
}

.header__list {
  display: flex;
  gap: 32px;
}

.header__list a {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.12em;
  position: relative;
}

.header__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

/* 下線はマウスを乗せたときだけ表示する（今いるページにも常時は出さない） */
.header__list a:hover::after {
  transform: scaleX(1);
}

.header__toggle {
  display: none;
}

/* ==========================
   トップ：メインビジュアル
   ========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--header-height) 24px 0;
  overflow: hidden;
}

/* PCでは写真を横幅いっぱい（width: 100%）に敷く */
.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* 3枚の写真を重ねて置き、.is-active の1枚だけ表示する（切り替えは js/hero.js） */
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  opacity: 0;
}

.hero__img.is-active {
  opacity: 1;
}

/* 最初の表示が終わってからフェードを有効にする（読み込み直後のちらつき防止） */
.hero__image.is-ready .hero__img {
  transition: opacity 1.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hero__image.is-ready .hero__img {
    transition: none;
  }
}

/* 右側（文字の下）だけ生成りを重ねて、文字を読みやすくする */
.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--color-bg-rgb), 0) 45%, rgba(var(--color-bg-rgb), 0.85) 68%, rgba(var(--color-bg-rgb), 0.92) 100%);
}

/* 写真の人物（中央付近）と重ならないよう、文字は画面の右端寄りに置く */
.hero__inner {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.hero__content {
  width: min(400px, 100%);
}

.hero__lead {
  font-family: var(--font-sans);
  color: var(--color-accent);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}

.hero__title {
  font-family: var(--font-sans);
  font-weight: 500;
}

.hero__name {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.hero__nick {
  display: block;
  font-size: 16px;
  color: var(--color-text-sub);
  letter-spacing: 0.3em;
  margin-top: 4px;
}

.hero__role {
  display: inline-block;
  margin-top: 24px;
  padding: 4px 20px;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  font-size: 14px;
  color: var(--color-accent);
  background: rgba(var(--color-bg-rgb), 0.8);
}

.hero__copy {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 2;
}

/* ==========================
   下層ページの見出し（page-xxx.php）
   ========================== */
.page-header {
  padding: calc(var(--header-height) + 80px) 24px 64px;
  background: var(--color-bg-sub);
  text-align: center;
}

.page-header__en {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.page-header__title {
  font-family: var(--font-sans);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 500;
  margin-top: 8px;
}

.breadcrumb {
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 13px;
  color: var(--color-text-sub);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

/* ==========================
   セクション共通
   ========================== */
.section {
  padding: 120px 24px;
}

.section--sub {
  background: var(--color-bg-sub);
}

.section__inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section__title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 64px;
}

.section__en {
  display: block;
  font-size: 14px;
  color: var(--color-accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section__more {
  text-align: center;
  margin-top: 56px;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--color-text);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn:hover {
  background: var(--color-text);
  color: var(--color-white);
}

.btn--fill {
  background: var(--color-text);
  color: var(--color-white);
}

.btn--fill:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* ==========================
   私について
   ========================== */
.about {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: center;
}

.about--simple {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}

.about__name {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 24px;
}

.about__name span {
  display: block;
  font-size: 14px;
  color: var(--color-text-sub);
}

.about__body p + p {
  margin-top: 16px;
}

.profile-list {
  margin-top: 32px;
  border-top: 1px solid var(--color-line);
}

.profile-list div {
  display: grid;
  grid-template-columns: 7em 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 15px;
}

.profile-list dt {
  color: var(--color-accent);
}

.profile-list dd {
  margin: 0;
}

/* お約束すること */
.promise__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.promise__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.promise__title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.promise__text {
  font-size: 15px;
  color: var(--color-text-sub);
}

/* ==========================
   できること
   ========================== */
.skill__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill__item {
  background: var(--color-bg);
  padding: 40px 32px;
  border-radius: 4px;
}

.section:not(.section--sub) .skill__item {
  background: var(--color-bg-sub);
}

.skill__num {
  font-family: var(--font-sans);
  color: var(--color-accent);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.skill__name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  margin: 8px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
}

.skill__text {
  font-size: 15px;
  color: var(--color-text-sub);
}

.skill__points {
  margin-top: 16px;
  font-size: 14px;
}

.skill__points li {
  position: relative;
  padding-left: 1.2em;
}

.skill__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ==========================
   制作実績
   ========================== */
.works__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}

.works__list--page {
  grid-template-columns: repeat(3, 1fr);
}

.works__link {
  display: block;
}

.works__thumb {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  margin-bottom: 16px;
}

.works__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s;
}

.works__link:hover .works__thumb img {
  transform: scale(1.04);
}

.works__date {
  font-size: 13px;
  color: var(--color-text-sub);
}

.works__name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
}

.works__role {
  font-size: 14px;
  color: var(--color-text-sub);
}

.works__note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-sub);
}

/* ==========================
   お問い合わせ
   ========================== */
.contact {
  text-align: center;
}

.contact__lead {
  margin-bottom: 40px;
}

.contact__sns {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

/* SNSリンク（丸いアイコン＋名前） */
.sns-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sns-link__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-text);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.sns-link__label {
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  transition: color 0.3s;
}

.sns-link:hover .sns-link__icon {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-white);
}

.sns-link:hover .sns-link__label {
  color: var(--color-accent);
}

/* ==========================
   お問い合わせフォーム（page-contact.php）
   Contact Form 7 に置き換えた後も、同じ class 名を付ければこのまま使える
   ========================== */
.form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.form__row {
  margin-bottom: 28px;
}

.form__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  margin-bottom: 8px;
}

.form__required,
.form__optional {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.8;
  vertical-align: middle;
}

.form__required {
  background: var(--color-accent);
  color: var(--color-white);
}

.form__optional {
  border: 1px solid var(--color-line);
  color: var(--color-text-sub);
}

.form__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: var(--color-white);
  color: var(--color-text);
  font: inherit;
  font-size: 16px; /* iPhoneで入力時に拡大されないよう16px以上にする */
  line-height: 1.6;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form__input::placeholder {
  color: #b3aa9d;
}

.form__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.2);
}

.form__input.is-error {
  border-color: #b5533c;
}

.form__textarea {
  resize: vertical;
  min-height: 180px;
}

.form__select {
  position: relative;
}

.form__select select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.form__select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

/* 同意欄（プライバシーポリシー）はチェックとエラー表示を中央にそろえる */
.form__row--agree {
  text-align: center;
}

.form__row--agree .form__check {
  justify-content: center;
}

.form__check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--color-accent);
}

.form__error {
  margin-top: 6px;
  font-size: 13px;
  color: #b5533c;
}

.form__error:empty {
  display: none;
}

.form__submit {
  text-align: center;
  margin-top: 40px;
}

.form__button {
  min-width: 240px;
  cursor: pointer;
}

/* ==========================
   送信完了ページ（thanks.html）
   ========================== */
.thanks {
  text-align: center;
}

.thanks__title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-heading);
  margin-bottom: 20px;
}

/* 同意欄の「プライバシーポリシー」（モーダルを開くボタン） */
.form__policy-link {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.form__policy-link:hover {
  text-decoration: none;
}

/* ==========================
   モーダル（プライバシーポリシー）
   ========================== */
.is-modal-open {
  overflow: hidden;
}

.modal {
  width: min(720px, calc(100% - 32px));
  max-height: min(80vh, 760px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: 0 16px 48px rgba(61, 58, 53, 0.18);
}

.modal::backdrop {
  background: rgba(61, 58, 53, 0.55);
}

.modal[open] {
  animation: modal-in 0.3s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal__inner {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 20px 32px;
  border-bottom: 1px solid var(--color-line);
}

.modal__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
}

/* ×ボタン（2本の線で描く） */
.modal__close {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: background 0.3s;
}

.modal__close:hover {
  background: var(--color-bg-sub);
}

.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: var(--color-text);
}

.modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__body {
  overflow-y: auto;
  padding: 24px 32px 32px;
  font-size: 14px;
  line-height: 1.9;
}

.modal__body:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.modal__body h3 {
  margin: 32px 0 8px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
}

.modal__body p + p {
  margin-top: 12px;
}

.modal__body ul {
  margin-top: 8px;
  padding-left: 1.5em;
  list-style: disc;
}

.modal__body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal__date {
  margin-top: 32px;
  text-align: right;
  color: var(--color-text-sub);
}

.modal__foot {
  padding: 16px 24px;
  border-top: 1px solid var(--color-line);
  text-align: center;
}

.modal__foot .btn {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .modal[open] {
    animation: none;
  }
}

@media (max-width: 767px) {
  .modal {
    max-height: 85vh;
  }

  .modal__head {
    padding: 16px 12px 16px 20px;
  }

  .modal__title {
    font-size: 18px;
  }

  .modal__body {
    padding: 20px 20px 24px;
  }
}

.contact__other {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--color-line);
}

.contact__other-title {
  font-family: var(--font-sans);
  font-size: 18px;
}

.contact__other + .contact__sns {
  margin-top: 24px;
}

/* ==========================
   フッター（footer.php）
   ========================== */
.footer {
  padding: 48px 24px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-sub);
}

.footer__nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
  font-family: var(--font-sans);
}

.footer__nav a:hover {
  color: var(--color-accent);
}

.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-text);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 90;
}

.pagetop::before {
  content: "";
  position: absolute;
  top: 55%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--color-white);
  border-left: 1px solid var(--color-white);
  transform: translate(-50%, -50%) rotate(45deg);
}

.pagetop.is-show {
  opacity: 1;
  visibility: visible;
}

/* ==========================
   フェードイン（JSで .is-show を付与）
   ========================== */
.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-fade.is-show {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================
   1024px以下：メイン写真を上、文字（.hero__inner）を写真の下に並べる
   ========================== */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    flex-direction: column;
    padding: var(--header-height) 0 80px;
  }

  .hero__image {
    position: relative;
    z-index: 0;
    aspect-ratio: 16 / 9;
  }

  /* 写真の下端を生成りになじませる */
  .hero__image::after {
    background: linear-gradient(180deg, rgba(var(--color-bg-rgb), 0) 75%, var(--color-bg) 100%);
  }

  .hero__inner {
    padding: 40px var(--gutter) 0;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================
   タブレット
   ========================== */
@media (max-width: 960px) {
  .works__list,
  .works__list--page {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 写真つきの .about（about.html）だけ2列のまま縮める。
     .about--simple（トップ）はタブレットでもSPと同じ1列にする */
  .about:not(.about--simple) {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }
}

/* ==========================
   スマホ
   ========================== */
@media (max-width: 767px) {
  .sp-only {
    display: inline;
  }

  .section {
    padding: 80px 16px;
  }

  .section__title {
    margin-bottom: 40px;
  }

  .header__inner {
    padding: 0 16px;
  }

  .header__toggle {
    display: block;
    position: relative;
    width: 32px;
    height: 24px;
    z-index: 110;
  }

  .header__toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-text);
    transition: transform 0.3s, opacity 0.3s;
  }

  .header__toggle span:nth-child(1) { top: 0; }
  .header__toggle span:nth-child(2) { top: 50%; }
  .header__toggle span:nth-child(3) { top: 100%; }

  .header__toggle.is-open span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
  }

  .header__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__toggle.is-open span:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg);
  }

  .header__nav {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .header__list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .header__list a {
    font-size: 18px;
  }

  /* スマホでは写真を少し縦長にし、文字との間を詰める */
  .hero {
    padding-bottom: 64px;
  }

  .hero__image {
    aspect-ratio: 4 / 3;
  }

  .hero__img {
    object-position: 40% center;
  }

  .hero__inner {
    padding: 24px 16px 0;
  }

  .page-header {
    padding: calc(var(--header-height) + 48px) 16px 40px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  /* タブレット用の .about:not(.about--simple) より優先させ、SPでは写真と文章を縦並びにする */
  .about,
  .about:not(.about--simple) {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__photo {
    max-width: 280px;
    margin: 0 auto;
  }

  .about__name {
    text-align: center;
  }

  .contact__lead {
    text-align: left;
  }

  .thanks__title {
    font-size: 20px;
  }

  .promise__list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .skill__list {
    grid-template-columns: 1fr;
  }

  .skill__item {
    padding: 32px 24px;
  }

  .works__list,
  .works__list--page {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__sns {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .pagetop {
    right: 16px;
    bottom: 16px;
  }
}
