/*
  ポートフォリオの見た目を設定するファイル
  1. 基本設定：文字、共通部品、各エリア
  2. 画面幅ごとの調整：@media 内の設定
  3. 詳細表示・自己紹介・スキル
  4. 現在のデザイン：背景写真、色、カードの仕上げ

  同じ項目がある場合は、下にある設定が優先されます。
  見た目を保つため、既存の設定順は維持しています。
  文章・作品名は index.html、操作は script.js で変更します。
*/

:root {
  --ink: #51464a;
  --muted: #75666b;
  --pink: #a47585;
  --line: rgba(159,128,137,.18);
  --serif: "Yu Mincho","Hiragino Mincho ProN", "Noto Serif JP",serif;
  --english: Georgia,"Times New Roman",serif;
  --width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 0% 32%,rgba(242, 221, 228, 0.50196),transparent 35%),radial-gradient(ellipse at 100% 60%,rgba(238, 227, 217, 0.63922),transparent 38%),#fbf7f5;
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  font-size: 13px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,h2,h3,p {
  margin: 0;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,button:focus-visible,[tabindex]:focus-visible {
  outline: 2px solid #9b6477;
  outline-offset: 5px;
}

::selection {
  background: #ecd4dc;
}

.container {
  width: min(var(--width),calc(100% - 112px));
  margin-inline: auto;
}

.glass {
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 16px 48px rgba(111,80,88,.07),inset 0 1px 0 rgba(255, 255, 255, 0.53333);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .2em;
  color: #8a7480;
  font-weight: 500;
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b28996;
  margin: 0 9px 2px 0;
}

.logo {
  font-family: var(--english);
  font-size: 31px;
  letter-spacing: -1.1px;
}

.logo span {
  color: #b08390;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 10px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 86px;
  padding: 16px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: rgba(255, 250, 247, 0.85098);
  border-bottom: 1px solid rgba(255, 255, 255, 0.80000);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.header nav {
  display: flex;
  gap: 28px;
  font-size: 11px;
}

.header nav a {
  position: relative;
}

.header nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--pink);
  transition: width .2s;
}

.header nav a:hover:after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.socials {
  display: flex;
  gap: 15px;
  align-items: center;
  color: #82757a;
}

.socials span {
  display: flex;
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.socials .fill {
  fill: currentColor;
  stroke: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  border-radius: 50px;
  font-size: 12px;
  transition: transform .2s,box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(146, 103, 118, 0.14902);
}

.button span {
  font-size: 18px;
}

.header-contact {
  background: #a47585;
  color: white;
  padding: 9px 23px;
  gap: 22px;
  font-size: 11px;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 690px;
  height: calc(100svh - 86px);
  max-height: 910px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  background-color: #e8ded6;

  background-position: center 57%;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,rgba(236, 219, 225, 0.16863),rgba(251, 243, 231, 0.05098) 65%,rgba(232, 211, 216, 0.10196)),linear-gradient(0deg,rgba(246, 238, 235, 0.73725),transparent 23%,rgba(255, 247, 243, 0.10196));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(250px,.75fr);
  gap: 9%;
  align-items: center;
  padding: 48px 0 86px;
}

.hero-copy {
  border-radius: 36px;
  padding: 43px 45px 40px;
  background: linear-gradient(115deg,rgba(255, 253, 251, 0.67843),rgba(255, 250, 246, 0.45098));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(35px,3.65vw,58px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.65;
  margin: 24px 0 21px;
  white-space: nowrap;
}

.hero h1 span {
  color: #98707c;
}

.hero-description {
  font-size: 13px;
  line-height: 2.15;
  letter-spacing: .035em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.tags span {
  padding: 3px 11px;
  background: rgba(255, 255, 255, 0.50196);
  border: 1px solid rgba(255, 255, 255, 0.87059);
  border-radius: 30px;
  font-size: 9px;
  color: #796b72;
  letter-spacing: .025em;
}

.primary {
  background: linear-gradient(120deg,#a97989,#976577);
  color: white;
  padding: 14px 27px;
  box-shadow: 0 7px 22px rgba(169, 119, 133, 0.16863);
  margin-top: 29px;
}

.profile-card {
  padding: 36px 32px 30px;
  border-radius: 32px;
  position: relative;
  transform: translateY(39px);
  box-shadow: 0 12px 35px rgba(116, 92, 107, 0.07059),inset 0 0 0 1px rgba(255, 255, 255, 0.18824);
  background: linear-gradient(130deg,rgba(255, 253, 251, 0.58039),rgba(255, 255, 255, 0.29020));
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

.profile-spark {
  position: absolute;
  right: 26px;
  top: 20px;
  font-size: 39px;
  color: #fff;
}

.profile-greeting {
  font-family: var(--english);
  font-size: clamp(38px,4vw,61px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.profile-greeting em {
  font-weight: 400;
  color: #987282;
}

.profile-rule {
  display: block;
  width: 34px;
  height: 1px;
  background: rgba(165, 138, 149, 0.40000);
  margin: 24px 0;
}

.profile-job {
  font-size: 8px;
  letter-spacing: .14em;
}

.profile-message {
  font-size: 12px;
  line-height: 2.1;
  margin: 15px 0 22px;
}

.text-link {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.60000);
  padding-top: 17px;
}

.text-link span {
  font-size: 19px;
}

.hero-bottom {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6d6066;
}

.hero-bottom>span {
  font-family: var(--english);
  font-style: italic;
  font-size: 14px;
}

.hero-bottom>a {
  font-size: 8px;
  letter-spacing: .2em;
}

.hero-bottom>a span {
  margin-left: 16px;
  font-size: 18px;
}

.section {
  padding-block: 88px;
}

.works {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 5% 0,rgba(238, 222, 231, 0.69020),transparent 45%),radial-gradient(ellipse at 95% 90%,rgba(232, 226, 239, 0.40000),transparent 40%),linear-gradient(110deg,#faf4f0,#faf7f6);
}

.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 26px;
}

.english-title {
  font-family: var(--english);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.025em;
  margin-top: 6px;
}

.english-title span {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .08em;
  margin-left: 24px;
  vertical-align: middle;
}

.section-intro>p,.works-heading-right>p {
  font-size: 11px;
  color: var(--muted);
}

.works-heading-right {
  display: flex;
  gap: 32px;
  align-items: center;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.arrow {
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.60000);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  color: #8e7480;
  font-size: 19px;
  box-shadow: 0 3px 16px rgba(164, 125, 138, 0.03922);
  transition: background .2s;
}

.arrow:hover {
  background: #eddae2;
}

.arrow:disabled {
  opacity: .32;
  cursor: default;
}

.sample-note {
  font-size: 9px;
  color: #8b7c82;
  letter-spacing: .025em;
  margin-bottom: 19px;
}

.works-track {
  display: flex;
  gap: 21px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #d4b8c3 transparent;
  padding: 10px 2px 25px;
  scroll-behavior: smooth;
}

.work-card {
  flex: 0 0 calc((100% - 63px)/4);
  min-width: 0;
  border-radius: 22px;
  padding: 10px;
  scroll-snap-align: start;
  transition: transform .25s,box-shadow .25s;
  background: rgba(255, 255, 255, 0.56863);
  display: flex;
  flex-direction: column;
}

.work-card:hover,.work-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(150, 119, 131, 0.10196);
}

.work-image {
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #eadbd7;
}

.work-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-image>span {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.68235);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
  font-family: var(--english);
  font-size: 10px;
  line-height: 25px;
}

.work-content {
  padding: 17px 8px 7px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-content>.tools {
  margin-top: auto;
}

.category {
  font-size: 8px;
  letter-spacing: .12em;
  color: #a27989;
}

.work-card h3 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  margin: 7px 0;
}

.work-type {
  font-size: 10px;
  color: #8b7d83;
}

.work-description {
  font-size: 11px;
  line-height: 1.85;
  margin: 12px 0 17px;
  color: var(--muted);
}

.tools {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 9px;
  letter-spacing: .02em;
  color: #8f7d85;
}

.works-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: .12em;
  color: #9a858d;
  margin-top: 12px;
}

.works-bottom>span:last-child span {
  font-size: 19px;
  margin-left: 15px;
}

.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 100px;
  padding-block: 96px;
}

.about-art {
  min-height: 355px;
  border-radius: 38% 38% 24px 24px;
  padding: 46px;
  background: radial-gradient(ellipse at 80% 20%,rgba(252, 249, 237, 0.80000),transparent 70%),linear-gradient(130deg,rgba(238, 216, 223, 0.70196),rgba(233, 227, 235, 0.60000));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-art>span:first-of-type {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #947e89;
}

.about-art p {
  font-family: var(--english);
  font-size: 42px;
  line-height: 1.2;
  margin-block: 24px;
}

.about-art p em {
  color: #aa8594;
}

.about-art>span:last-child {
  font-family: var(--english);
  font-style: italic;
  font-size: 23px;
  align-self: flex-end;
  color: #987b88;
}

h2:not(.english-title) {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 31px;
  line-height: 1.8;
  letter-spacing: .06em;
}

.about-copy h2 {
  margin: 17px 0 25px;
}

.about-copy>p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  margin-top: 15px;
}

.about-copy .about-lead {
  font-size: 14px!important;
  color: var(--ink)!important;
}

.skills-section {
  background: linear-gradient(115deg,rgba(242, 230, 230, 0.54118),rgba(248, 243, 239, 0.65882),rgba(238, 232, 241, 0.60000));
}

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

.skill-card {
  padding: 31px;
  border-radius: 24px;
}

.skill-number {
  font-family: var(--english);
  font-size: 11px;
  letter-spacing: .11em;
  color: #a5808e;
}

.skill-card h3,.strengths-grid h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  margin: 18px 0 14px;
}

.skill-card>p:not(.tools),.strengths-grid p {
  font-size: 12px;
  color: var(--muted);
}

.skill-card ul {
  list-style: none;
  padding: 18px 0;
  margin: 0;
  font-size: 11px;
}

.skill-card li:before {
  content: "—";
  margin-right: 10px;
  color: #bf9aa7;
}

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

.strengths-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.strengths-grid article>span {
  font-family: var(--english);
  font-style: italic;
  font-size: 28px;
  color: #bf9caa;
}

.contact {
  padding-top: 25px;
}

.contact-panel {
  text-align: center;
  border-radius: 32px;
  padding: 59px 25px;
  background: radial-gradient(ellipse at 5% 90%,rgba(239, 218, 228, 0.49020),transparent 50%),radial-gradient(ellipse at 95% 0,rgba(238, 228, 217, 0.61176),transparent 50%),rgba(255, 255, 255, 0.43922);
}

.contact-panel h2 {
  margin: 20px 0;
}

.contact-panel>p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
}

.contact-pending {
  display: inline-block;
  border: 1px solid rgba(197, 166, 180, 0.50196);
  padding: 12px 30px;
  border-radius: 40px;
  font-size: 12px;
  color: #957584;
  margin-top: 25px;
}

.contact-panel .contact-note {
  font-size: 10px!important;
  margin-top: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 25px;
}

.footer p,.footer>a:last-child {
  font-size: 9px;
  color: #8c7c84;
  letter-spacing: .06em;
}

.mobile-break {
  display: none;
}

@media(min-width:1600px) {
  .hero-layout {
    gap: 150px;
  }

  .hero-copy {
    padding: 55px;
  }

  .profile-card {
    max-width: 350px;
  }

}

@media(max-width:1150px) {
  .container {
    width: calc(100% - 64px);
  }

  .header {
    gap: 18px;
  }

  .header nav {
    gap: 18px;
    font-size: 10px;
  }

  .header-actions {
    gap: 16px;
  }

  .socials {
    gap: 10px;
  }

  .header-contact {
    padding: 9px 16px;
    gap: 12px;
  }

  .hero-layout {
    gap: 5%;
    grid-template-columns: 1.6fr 1fr;
  }

  .hero-copy {
    padding: 35px 30px;
  }

  .profile-card {
    padding: 30px 25px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .about {
    gap: 50px;
  }

  .work-card h3 {
    font-size: 13px;
  }

  .work-content {
    padding-inline: 4px;
  }

  .skill-card {
    padding: 24px;
  }

}

@media(max-width:900px) {
  .header-actions .socials {
    display: none;
  }

  .header nav {
    gap: 15px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-copy {
    padding: 32px 25px;
  }

  .hero-description {
    font-size: 12px;
  }

  .profile-greeting {
    font-size: 43px;
  }

  .work-card {
    flex-basis: calc((100% - 42px)/3);
  }

  .works-heading-right>p {
    display: none;
  }

  .about {
    gap: 35px;
  }

  .about-art {
    padding: 35px;
  }

  .about-art p {
    font-size: 34px;
  }

  .desktop-break {
    display: none;
  }

  .skills-grid {
    gap: 15px;
  }

  .skill-card h3 {
    font-size: 17px;
  }

}

@media(max-width:700px) {
  html {
    scroll-padding-top: 82px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .header {
    min-height: 72px;
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo {
    font-size: 29px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-contact {
    font-size: 10px;
    padding: 7px 15px;
  }

  .header nav {
    order: 4;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px 0;
    font-size: 11px;
  }

  .js .header nav {
    display: none;
  }

  .js .header nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .header nav a {
    padding: 10px 12px;
  }

  .js .menu-toggle {
    display: flex;
    order: 3;
    width: 32px;
    height: 35px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    border: 0;
    background: none;
    padding: 5px;
  }

  .menu-toggle span {
    width: 22px;
    height: 1px;
    background: #77636f;
    transition: transform .2s;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    background-position: 62% center;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 35px 0 86px;
    align-items: stretch;
  }

  .hero-copy {
    padding: 30px 25px;
    border-radius: 30px;
  }

  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: .15em;
  }

  .hero h1 {
    font-size: clamp(21px,6.4vw,44px);
    letter-spacing: .03em;
    margin: 22px 0 18px;
  }

  .hero-description {
    font-size: 11px;
  }

  .tags {
    gap: 6px;
    margin-top: 21px;
  }

  .tags span {
    font-size: 8px;
    padding: 3px 9px;
  }

  .primary {
    padding: 12px 23px;
    font-size: 11px;
    margin-top: 24px;
  }

  .profile-card {
    transform: none;
    align-self: flex-end;
    width: 86%;
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    border-radius: 28px;
  }

  .profile-greeting {
    font-size: 34px;
    grid-row: 1/4;
  }

  .profile-spark {
    font-size: 25px;
    top: 8px;
    right: 15px;
  }

  .profile-rule {
    display: none;
  }

  .profile-job {
    font-size: 6px;
    letter-spacing: .08em;
    padding-top: 9px;
  }

  .profile-message {
    font-size: 9px;
    margin: 8px 0 12px;
  }

  .text-link {
    font-size: 9px;
    padding-top: 7px;
  }

  .text-link span {
    font-size: 15px;
  }

  .hero-bottom {
    bottom: 20px;
    align-items: flex-end;
    gap: 20px;
  }

  .hero-bottom>span {
    font-size: 11px;
    max-width: 150px;
    line-height: 1.5;
  }

  .hero-bottom>a {
    font-size: 6px;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .hero-bottom>a span {
    margin-left: 7px;
  }

  .section {
    padding-block: 55px;
  }

  .english-title {
    font-size: 39px;
  }

  .english-title span {
    font-size: 12px;
    margin-left: 15px;
  }

  .eyebrow {
    font-size: 8px;
  }

  .section-intro {
    gap: 14px;
    margin-bottom: 22px;
  }

  .section-intro>p {
    display: none;
  }

  .slider-controls {
    gap: 7px;
  }

  .arrow {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .sample-note {
    font-size: 8px;
    max-width: 310px;
    line-height: 1.8;
  }

  .works-track {
    gap: 15px;
    margin-right: -20px;
    padding-right: 20px;
  }

  .work-card {
    flex-basis: 78%;
    max-width: 320px;
    padding: 10px;
  }

  .work-content {
    padding: 16px 9px 8px;
  }

  .work-card h3 {
    font-size: 16px;
  }

  .work-description {
    font-size: 12px;
  }

  .works-bottom {
    font-size: 6px;
    letter-spacing: .04em;
    gap: 15px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-art {
    min-height: 280px;
    width: 90%;
    margin-inline: auto;
    padding: 30px 38px;
  }

  .about-art p {
    font-size: 37px;
  }

  .about-copy {
    padding-inline: 5px;
  }

  h2:not(.english-title) {
    font-size: 26px;
  }

  .skills-grid,.strengths-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .skill-card {
    padding: 28px;
  }

  .skill-card h3 {
    font-size: 21px;
  }

  .strengths-grid {
    gap: 28px;
    margin-top: 30px;
  }

  .strengths-grid article {
    padding: 20px 0 0 48px;
    position: relative;
  }

  .strengths-grid article>span {
    position: absolute;
    left: 0;
    top: 22px;
  }

  .strengths-grid h3 {
    margin-top: 3px;
    font-size: 19px;
  }

  .contact-panel {
    padding: 40px 20px;
    border-radius: 25px;
  }

  .contact-panel .eyebrow {
    font-size: 7px;
  }

  .mobile-break {
    display: block;
  }

  .footer {
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer p {
    font-size: 8px;
  }

  .footer>a:last-child {
    width: 100%;
    text-align: right;
    font-size: 8px;
  }

}

@media(prefers-reduced-motion:reduce) {
  html,.works-track {
    scroll-behavior: auto;
  }

  *,*:before,*:after {
    transition: none!important;
  }

}


/* 光とオーロラ：色・不透明度を変えると反射の強さを調整できます。操作は妨げません。 */

.hero-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 72% 15%,rgba(255, 249, 220, 0.34902),transparent 35%),radial-gradient(ellipse at 90% 65%,rgba(235, 200, 218, 0.25098),transparent 35%);
}

.hero-lights::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 110%;
  right: -9%;
  top: -25%;
  transform: rotate(-32deg);
  border-radius: 50%;
  border: 35px solid rgba(255, 247, 239, 0.16863);
  box-shadow: 0 0 60px rgba(249, 230, 255, 0.32157),inset 0 0 55px rgba(255, 247, 214, 0.30196);
  filter: blur(12px);
}

.hero-lights span {
  position: absolute;
  color: rgba(255, 253, 244, 0.78824);
  text-shadow: 0 0 17px #fff;
  font-family: Georgia,serif;
  font-size: 27px;
}

.hero-lights span:nth-child(1) {
  top: 15%;
  left: 56%;
}

.hero-lights span:nth-child(2) {
  top: 32%;
  right: 6%;
  font-size: 13px;
}

.hero-lights span:nth-child(3) {
  bottom: 17%;
  right: 35%;
  font-size: 19px;
}

.hero-layout,.hero-bottom {
  z-index: 1;
  position: relative;
}

.hero-bottom {
  position: absolute;
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.21961);
  border-radius: 25px;
  pointer-events: none;
}

.profile-spark {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.60000);
}


/* WORKSの詳細は標準のdetails要素なので、JavaScriptなしでも開閉できます。 */

.work-details {
  margin-top: 17px;
}

.work-details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding: 10px 15px;
  border: 1px solid rgba(188, 146, 158, 0.43922);
  border-radius: 30px;
  color: #805565;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.53333);
  transition: background .2s;
}

.work-details summary::-webkit-details-marker {
  display: none;
}

.work-details summary:hover {
  background: #f6e8ed;
}

.work-details summary:focus-visible {
  outline: 2px solid #9b6477;
  outline-offset: 3px;
}

.work-details summary span {
  font-size: 16px;
  transition: transform .2s;
}

.work-details[open] summary span {
  transform: rotate(45deg);
}

.work-detail-body {
  padding: 17px 3px 4px;
  font-size: 11px;
  color: var(--muted);
}

.work-detail-body h4 {
  font-size: 11px;
  font-weight: 600;
  margin: 14px 0 5px;
  color: var(--ink);
}

.detail-label {
  font-size: 9px;
  color: #946676;
}


/* ABOUT：見出しごとに文章を差し替えられます。 */

.about-block {
  padding: 19px 0;
  border-top: 1px solid var(--line);
}

.about-block h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 10px;
}

.about-block h3 span {
  font-size: 8px;
  letter-spacing: .15em;
  color: #a1808c;
  margin-left: 14px;
}

.about-block p {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
}

.about-block p+p {
  margin-top: 10px;
}

.editable-placeholder {
  padding: 10px 12px;
  border: 1px dashed #c5adb5;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.33333);
}


/* SKILLS：liを増やすだけで行が追加されます。 */

.skill-card .skill-items {
  padding: 18px 0 0;
}

.skill-items li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.skill-card .skill-items li::before {
  content: none;
}

.skill-items strong {
  font-size: 13px;
  font-weight: 500;
  color: #715663;
}

.skill-items span {
  font-size: 11px;
  color: var(--muted);
}


/* CONTACT：実際のメールアドレスはHTMLのhrefと表示文字を変更します。 */

.contact-address {
  letter-spacing: .06em;
  margin-top: 17px;
  overflow-wrap: anywhere;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
  font-size: 12px;
}

@media(max-width:700px) {
  .about {
    padding-block: 64px;
  }

  .profile-card {
    grid-template-columns: 1fr;
    width: 88%;
    padding: 28px;
  }

  .profile-greeting {
    grid-row: auto;
    font-size: 38px;
  }

  .profile-job {
    font-size: 8px;
    margin-top: 14px;
  }

  .profile-message {
    font-size: 11px;
    margin: 10px 0 15px;
  }

  .text-link {
    font-size: 11px;
  }

  .work-details summary {
    min-height: 44px;
  }

  .about-art {
    min-height: 250px;
  }

  .about-block {
    padding: 17px 0;
  }

  .hero-lights span:nth-child(1) {
    top: 3%;
    left: 85%;
  }

}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition: none!important;
    animation: none!important;
  }

}


/* 小さなスマホでもロゴ・問い合わせ・メニューを一列に収めます。 */

@media(max-width:380px) {
  .header {
    padding-inline: 16px;
    gap: 8px;
  }

  .header .logo {
    font-size: 26px;
  }

  .header-contact {
    padding: 7px 10px;
    gap: 8px;
    font-size: 9px;
  }

  .header-actions {
    min-width: 0;
  }

  .hero-description {
    font-size: 10px;
  }

}


/* 現在のデザイン：色・背景写真・カードの仕上げ
   下の設定が基本設定より優先されます。
   完成イメージに合わせた写真とガラスのテーマ。
   基本色はここで調整できます。写真は index.html の img の src を変更します。 */

:root {
  --ink: #34323e;
  --muted: #746971;
  --pink: #b96987;
  --line: rgba(174,128,148,.18);
}

body {
  background: radial-gradient(ellipse at 4% 42%,rgba(244, 220, 229, 0.70196),transparent 35%),radial-gradient(ellipse at 96% 73%,rgba(239, 228, 244, 0.63137),transparent 34%),#fff9f6;
}

.header {
  min-height: 78px;
  padding-block: 12px;
  background: rgba(255, 250, 248, 0.78824);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header .logo {
  font-size: 37px;
}

.header nav {
  font-size: 12px;
}

.socials {
  color: #49404c;
}

.showcase {
  position: relative;
  isolation: isolate;
  background: #f6e9e9;
}

.showcase-photo {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: none;
  filter: blur(13px);
}

.hero {
  height: 590px;
  min-height: 590px;
  max-height: none;

  background-position: center 54%;
}

.hero-wash {
  background: linear-gradient(90deg,rgba(255, 245, 241, 0.27451),transparent 60%),linear-gradient(0deg,rgba(249, 232, 235, 0.27059),transparent 30%);
}

.hero-layout {
  grid-template-columns: minmax(0,1fr) 300px;
  gap: clamp(70px,16vw,250px);
  padding: 40px 0 60px;
  align-items: end;
}

.hero-copy {
  padding: 26px 32px 31px;
  border-radius: 32px;
  background: linear-gradient(120deg,rgba(255, 253, 251, 0.61176),rgba(255, 249, 250, 0.25882));
  border: 1px solid rgba(255, 255, 255, 0.90196);
  box-shadow: inset 0 1px 8px rgba(255, 255, 255, 0.60000),0 15px 55px rgba(183, 116, 139, 0.03922);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.hero h1 {
  font-size: clamp(35px,3.9vw,59px);
  line-height: 1.45;
  letter-spacing: .015em;
  margin: 15px 0 20px;
}

.hero h1 span {
  color: inherit;
}

.hero-description {
  font-size: 14px;
  line-height: 1.9;
}

.hero .eyebrow {
  font-size: 8px;
  letter-spacing: .16em;
  color: #856b77;
}

.hero .tags {
  gap: 8px;
  margin-top: 20px;
}

.hero .tags span {
  font-size: 10px;
  padding: 6px 11px;
  border: 1px solid white;
  background: rgba(255, 255, 255, 0.60000);
  box-shadow: 0 3px 12px rgba(155, 118, 128, 0.06667);
}

.primary,.header-contact {
  background: linear-gradient(135deg,#e9a4ba 0%,#ca7898 55%,#b86286 100%);
  border: 1px solid rgba(255, 255, 255, 0.60000);
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.56863),0 7px 20px rgba(183, 99, 135, 0.14902);
}

.primary {
  padding: 13px 25px;
  font-size: 14px;
  gap: 23px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.hero-cta .primary {
  margin-top: 0;
  flex-shrink: 0;
}

.hero-signature {
  font: italic 18px/1.25 var(--english);
  color: #b56889;
  transform: rotate(-9deg);
}

.profile-card {
  transform: translateY(64px);
  padding: 29px 26px 21px;
  border: 1px solid #fff;
  border-radius: 29px;
  background: linear-gradient(130deg,rgba(255, 253, 251, 0.69020),rgba(255, 248, 250, 0.49020));
  box-shadow: inset 0 1px 6px #fff,0 12px 35px rgba(157, 109, 133, 0.07059);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.profile-card::after {
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72941);
  border-radius: 21px;
}

.profile-greeting {
  font-size: 38px;
  line-height: 1.13;
  letter-spacing: -.045em;
}

.profile-greeting em {
  font-style: normal;
  color: inherit;
}

.profile-botanical {
  position: absolute;
  top: 26px;
  right: 20px;
  width: 52px;
  height: 94px;
  color: #b48697;
  opacity: .8;
}

.profile-rule {
  margin: 18px 0;
  width: 25px;
}

.profile-job {
  font-size: 7px;
}

.profile-message {
  font-size: 12px;
  margin: 13px 0 15px;
}

.profile-card .text-link {
  border-color: #fff;
  font-size: 12px;
  padding-top: 12px;
}

.hero-bottom {
  bottom: 10px;
}

.hero-bottom>span {
  font-size: 12px;
}

.hero-lights {
  background: radial-gradient(ellipse at 2% 90%,rgba(255, 202, 220, 0.50196),transparent 35%),radial-gradient(ellipse at 75% 5%,rgba(255, 248, 218, 0.27059),transparent 35%);
}

.hero-lights::before {
  width: 75%;
  height: 110%;
  right: -15%;
  top: -35%;
  border: 24px solid rgba(255, 243, 242, 0.29020);
  box-shadow: 0 0 24px rgba(238, 195, 232, 0.40000),inset 0 0 25px rgba(248, 242, 183, 0.41961);
  filter: blur(7px);
}

.hero-lights::after {
  content: "";
  position: absolute;
  width: 36%;
  height: 140%;
  left: 12%;
  top: -20%;
  transform: rotate(-34deg);
  background: linear-gradient(90deg,transparent 42%,rgba(248, 198, 218, 0.20000) 44%,rgba(255, 249, 207, 0.41961) 47%,rgba(206, 238, 232, 0.23922) 49%,transparent 53%);
  filter: blur(4px);
}


/* WORKS：写真をカード端まで広げ、白い縁とピンクのタグで統一。 */

.works {
  padding: 28px 0 35px;
  background: linear-gradient(110deg,rgba(255, 249, 246, 0.69020),rgba(250, 233, 241, 0.58824),rgba(255, 248, 241, 0.66667));
  border-top: 1px solid rgba(255, 255, 255, 0.93333);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.works .section-intro {
  margin-bottom: 8px;
}

.works .eyebrow {
  display: none;
}

.works .english-title {
  font-size: 43px;
  margin-top: 0;
}

.works .sample-note {
  font-size: 8px;
  margin-bottom: 5px;
}

.works-track {
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 15px;
}

.work-card {
  flex-basis: calc((100% - 48px)/4);
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.94902);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.65882);
  overflow: hidden;
  box-shadow: 0 6px 23px rgba(174, 129, 147, 0.07451);
}

.work-image {
  aspect-ratio: 1.9;
  border-radius: 16px 16px 0 0;
  flex-shrink: 0;
}

.work-image img {
  object-position: center;
}

.work-image>span {
  font-size: 8px;
  width: 22px;
  height: 22px;
  line-height: 22px;
}

.work-content {
  padding: 13px 16px 12px;
}

.work-card .category {
  font-size: 7px;
  letter-spacing: .11em;
}

.work-card h3 {
  font-family: inherit;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.7;
  margin: 4px 0;
}

.work-type {
  font-size: 10px;
  color: #8e6c7b;
}

.work-description {
  font-size: 10px;
  line-height: 1.7;
  margin: 9px 0 11px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-top: 0;
  padding-top: 0;
}

.work-tags span {
  background: rgba(245, 231, 238, 0.65882);
  border: 1px solid #fff;
  border-radius: 30px;
  padding: 3px 9px;
  font-size: 9px;
}

.work-details {
  margin-top: 10px;
}

.work-details summary {
  padding: 6px 11px;
  font-size: 10px;
  border-color: rgba(214, 182, 196, 0.56078);
  background: rgba(255, 255, 255, 0.46667);
}

.works-bottom {
  margin-top: 0;
  font-size: 7px;
}

.arrow {
  color: #b66888;
  background: #fff;
  box-shadow: 0 3px 15px rgba(172, 121, 148, 0.10196);
}


/* 下層も写真・花の色味に揃え、読み物の背景は穏やかに保ちます。 */

.about-art {
  background: none;
  border: 1px solid white;
  box-shadow: inset 0 1px 8px #fff,0 18px 40px rgba(197, 154, 163, 0.10196);
}

.skills-section {
  background: radial-gradient(ellipse at 10% 50%,rgba(248, 222, 234, 0.61176),transparent 50%),linear-gradient(125deg,#fcf0e9,rgba(249, 237, 245, 0.63137),#fcf6f1);
  border-block: 1px solid white;
}

.skill-card {
  border-radius: 29px;
  background: linear-gradient(130deg,rgba(255, 255, 255, 0.76078),rgba(255, 255, 255, 0.50196));
  box-shadow: inset 0 1px 6px #fff,0 14px 35px rgba(174, 122, 144, 0.06275);
}

.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid white;
  background: none;
  box-shadow: inset 0 1px 6px white,0 16px 42px rgba(181, 130, 149, 0.07843);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 0% 100%,rgba(237, 183, 206, 0.34902),transparent 55%),radial-gradient(ellipse at 100% 0,rgba(252, 235, 212, 0.60000),transparent 55%);
}

@media(min-width:1600px) {
  .hero-layout {
    gap: 200px;
  }

  .hero-copy {
    padding: 30px 38px;
  }

  .hero {
    height: 650px;
  }

}

@media(min-width:701px) and (max-width:1100px) {
  .hero-layout {
    grid-template-columns: minmax(0,1fr) 250px;
    gap: 35px;
  }

  .hero-copy {
    padding: 26px;
  }

  .hero h1 {
    font-size: clamp(28px,3.65vw,41px);
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-signature {
    display: none;
  }

  .profile-card {
    padding: 27px 22px;
  }

  .profile-greeting {
    font-size: 32px;
  }

  .profile-botanical {
    width: 35px;
    right: 16px;
  }

  .hero .tags span {
    font-size: 8px;
    padding: 4px 8px;
  }

  .work-card {
    flex-basis: calc((100% - 32px)/3);
  }

}

@media(max-width:700px) {
  .header {
    min-height: 70px;
    padding: 12px 20px;
  }

  .header .logo {
    font-size: 30px;
  }

  .header-contact {
    font-size: 10px;
  }

  .hero {
    height: auto;
    min-height: 0;
    background-position: 62% center;
  }

  .hero-layout {
    display: flex;
    padding: 32px 0 65px;
    gap: 40px;
  }

  .hero-copy {
    padding: 25px 22px;
    border-radius: 28px;
    background: linear-gradient(120deg,rgba(255, 253, 251, 0.78039),rgba(255, 249, 250, 0.51373));
  }

  .hero h1 {
    font-size: clamp(21px,6.4vw,43px);
    margin: 15px 0 19px;
  }

  .hero-description {
    font-size: 11px;
  }

  .hero .tags span {
    font-size: 8px;
    padding: 5px 8px;
  }

  .hero-cta {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 23px;
  }

  .hero-cta .primary {
    font-size: 12px;
    padding: 12px 20px;
  }

  .hero-signature {
    font-size: 16px;
    margin-left: auto;
  }

  .profile-card {
    width: 80%;
    transform: none;
    padding: 28px 25px 22px;
    background: rgba(255, 255, 255, 0.61176);
  }

  .profile-greeting {
    font-size: 34px;
  }

  .profile-botanical {
    width: 42px;
  }

  .profile-message {
    font-size: 11px;
  }

  .profile-job {
    margin-top: 12px;
  }

  .hero-bottom>span {
    font-size: 10px;
  }

  .hero-bottom {
    bottom: 13px;
  }

  .works {
    padding: 30px 0;
  }

  .works .english-title {
    font-size: 35px;
  }

  .works .english-title span {
    font-size: 11px;
  }

  .work-card {
    flex-basis: 82%;
    max-width: 330px;
    padding: 0;
  }

  .work-content {
    padding: 14px 16px;
  }

  .work-card h3 {
    font-size: 14px;
  }

  .work-description {
    font-size: 11px;
  }

  .work-details summary {
    min-height: 42px;
  }

  .work-tags span {
    font-size: 9px;
  }

  .works-track {
    gap: 14px;
  }

  .works .sample-note {
    font-size: 8px;
  }

  .skills-section {
    padding-block: 60px;
  }

}

@media(max-width:380px) {
  .header {
    padding-inline: 14px;
    gap: 7px;
  }

  .header .logo {
    font-size: 26px;
  }

  .header-contact {
    font-size: 9px;
    padding: 7px 9px;
    gap: 7px;
  }

  .hero-description {
    font-size: 10px;
  }

  .hero-copy {
    padding-inline: 20px;
  }

  .hero-signature {
    font-size: 14px;
  }

  .profile-card {
    width: 90%;
  }

  .hero .tags {
    gap: 5px;
  }

}


/* HTMLに置いた背景写真の配置。画像ファイル名は index.html で変更します。 */
.photo-layer,
.hero-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.photo-layer {
  z-index: -1;
  border-radius: inherit;
  overflow: hidden;
}

.photo-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-layer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  z-index: -2;
  object-fit: cover;
  object-position: center 54%;
}

.about-art {
  position: relative;
  isolation: isolate;
}

.about-photo img {
  object-position: 75% center;
}

.contact-photo {
  z-index: -2;
}

.contact-photo img {
  object-position: center 30%;
}

.showcase-photo::after {
  background: linear-gradient(rgba(255, 244, 243, 0.50196),rgba(251, 233, 237, 0.78039));
}

.about-photo::after {
  background: linear-gradient(120deg,rgba(255, 249, 247, 0.81961),rgba(247, 227, 237, 0.78824));
}

.contact-photo::after {
  background: linear-gradient(105deg,rgba(255, 248, 245, 0.90196),rgba(255, 249, 249, 0.78824));
}

@media (max-width: 700px) {
  .hero-photo {
    object-position: 62% center;
  }
}

/* スクロール表示：時間は1100ms、浮き上がる距離は64pxです。 */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1100ms ease, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.reveal-pending {
  opacity: 0;
  transform: translateY(64px);
}

/* 動きを減らす設定や印刷時には、内容をすべて通常表示します。 */
@media (prefers-reduced-motion: reduce), print {
  .scroll-reveal,
  .scroll-reveal.reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* WORKS：詳細を開いたカードだけ高さを変えます。 */
.works-track {
  align-items: flex-start;
}

/* 画像はクリック・キーボードのEnterで拡大できます。 */
.work-zoom {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.work-zoom:focus-visible {
  outline-offset: -4px;
}

.work-image > span {
  pointer-events: none;
}

/* 拡大画面：画像全体が収まるように表示します。 */
.image-viewer {
  box-sizing: border-box;
  width: min(1100px, 94vw);
  max-width: 94vw;
  max-height: 92vh;
  margin: auto;
  padding: 18px;
  border: 1px solid #eadbe2;
  border-radius: 18px;
  background: #fffaf8;
  color: #51464a;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
}

.image-viewer:not([open]) {
  display: none;
}

.image-viewer[open] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.image-viewer::backdrop {
  background: rgba(30, 22, 28, 0.78);
}

.image-viewer-close {
  align-self: flex-end;
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #d6b6c4;
  border-radius: 24px;
  background: white;
  color: #715663;
}

.image-viewer-photo {
  display: block;
  width: 100%;
  min-height: 0;
  max-height: 70vh;
  object-fit: contain;
}

.image-viewer-caption {
  font-size: 13px;
  text-align: center;
}

body.image-viewer-open {
  overflow: hidden;
}

/* SKILLS：カテゴリと「ツール名／できること」を短く一覧表示します。 */
.skills-overview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.skills-overview .skill-card {
  padding: 28px;
  border-radius: 20px;
}

.skills-overview .skill-card h3 {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
}

.skills-overview .skill-items {
  padding: 0;
}

.skills-overview .skill-items li {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 17px 0;
}

.skills-overview .skill-items strong {
  font-size: 14px;
  font-weight: 600;
}

.skills-overview .skill-items span {
  font-size: 13px;
  line-height: 1.7;
}

.skills-learning {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 26px;
  border: 1px dashed #cbb7c0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
}

.skills-learning h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.learning-badge {
  padding: 3px 13px;
  border-radius: 20px;
  background: #ede5e9;
  color: #68545f;
  font-size: 12px;
}

@media (max-width: 900px) {
  .skills-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .skills-overview .skill-card {
    padding: 22px;
  }

  .skills-overview .skill-items li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }
}

/* STRENGTHS：番号・見出しを常に表示し、開いた項目に説明を出します。 */
.strengths-grid {
  gap: 24px;
  align-items: start;
}

.strength-item {
  border: 1px solid #dfcbd4;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.strength-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 100px;
  padding: 22px;
  cursor: pointer;
  list-style: none;
}

.strength-item summary::-webkit-details-marker {
  display: none;
}

.strength-number {
  flex-shrink: 0;
  font-family: var(--english);
  font-size: 28px;
  color: #ad7c91;
}

.strength-item summary h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.strength-indicator {
  margin-left: auto;
  color: #ad7c91;
  transition: transform 250ms ease;
}

.strength-item[open] .strength-indicator {
  transform: rotate(45deg);
}

.strength-item summary:focus-visible {
  outline: 2px solid #9b6477;
  outline-offset: -4px;
}

.strength-item[open] {
  background: #fff8fb;
}

.strength-item .strength-description {
  margin: 0;
  padding: 0 22px 24px;
  font-size: 13px;
  line-height: 1.9;
}

.strength-item[open] .strength-description {
  animation: strength-appear 300ms ease both;
}

@keyframes strength-appear {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .strength-item summary {
    min-height: 84px;
  }
}

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

/* トップの見出し：文字ごとに少し下から現れます。 */
.hero h1 .hero-letter {
  display: inline-block;
  animation: hero-letter-appear 2400ms ease-in-out both;
}

@keyframes hero-letter-appear {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 動きを減らす設定・印刷時は、全文をすぐ表示します。 */
@media (prefers-reduced-motion: reduce), print {
  .hero h1 .hero-letter {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* トップとWORKSの間は、背景写真が透けない無地の余白にします。 */
.section-gap {
  position: relative;
  height: 72px;
  background: #fff9f6;
}

@media (max-width: 700px) {
  .section-gap {
    height: 48px;
  }
}

/* GALLERY：小さな写真を横並びに。クリックすると写真全体を拡大します。 */
.personal-gallery {
  padding-top: 16px;
  padding-bottom: 40px;
}

.personal-gallery .section-intro {
  margin-bottom: 16px;
}

.personal-gallery .english-title {
  font-size: 25px;
}

.personal-gallery .english-title span {
  font-size: 12px;
  margin-left: 12px;
}

.gallery-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 5px 3px 10px;
}

.gallery-card {
  flex: 0 0 120px;
  width: 120px;
  margin: 0;
}

.gallery-zoom {
  display: block;
  border-radius: 8px;
  cursor: zoom-in;
}

.gallery-zoom img {
  display: block;
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 250ms ease;
}

.gallery-zoom:hover img {
  opacity: 0.85;
}

.gallery-card figcaption {
  padding-top: 7px;
}

.gallery-category {
  font-size: 10px;
  color: #947080;
}

.gallery-card h3 {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 480px) {
  .gallery-card {
    flex-basis: 104px;
    width: 104px;
  }

  .gallery-zoom img {
    width: 104px;
    height: 78px;
  }

  .gallery-grid {
    gap: 12px;
  }
}

/* 趣味写真：中央配置。PCは最大7枚、スマートフォンは3枚を表示します。 */
.gallery-grid {
  width: max-content;
  max-width: min(100%, 936px);
  margin-left: auto;
  margin-right: auto;
  padding: 5px 0 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  scroll-snap-align: start;
}

.gallery-zoom:focus-visible {
  outline-offset: -3px;
}

.gallery-controls {
  display: none;
}

.personal-gallery.is-slider-ready .gallery-controls {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.gallery-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dfcbd4;
  border-radius: 50%;
  background: #fffaf8;
  color: #947080;
  font-size: 20px;
}

.gallery-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 700px) {
  .gallery-grid {
    width: 100%;
    max-width: 384px;
    gap: 12px;
  }

  .gallery-card {
    flex: 0 0 calc((100% - 24px) / 3);
    width: auto;
    min-width: 0;
  }

  .gallery-zoom img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* 相談・お問い合わせボタン：トップ写真のテーブルに合わせたコーラル色。 */
.hero-cta .primary,
.contact-email {
  background: linear-gradient(135deg, #f0a39a, #e58e85);
  color: #4b2925;
  border: 1px solid #f7c5bd;
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.4), 0 7px 20px rgba(164, 83, 71, 0.15);
}

.hero-cta .primary:hover,
.contact-email:hover {
  background: linear-gradient(135deg, #ec988e, #df8379);
  box-shadow: 0 8px 25px rgba(164, 83, 71, 0.22);
}

/* ヘッダーのFont Awesomeアイコン：既存のSNSマークと大きさを揃えます。 */
.socials .fa-brands {
  width: 16px;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

/* ABOUT：他のセクションと同じ左上の見出し。写真と本文はその下に並べます。 */
.about {
  row-gap: 28px;
}

.about-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

/* ABOUT：短い自己紹介と、好きなことなどのプロフィール。 */
.about-introduction p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.about-introduction p + p {
  margin-top: 15px;
}

.about-personal {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-personal > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  font-size: 12px;
  line-height: 1.9;
}

.about-personal dt {
  font-weight: 500;
  color: #715663;
}

.about-personal dd {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 480px) {
  .about-personal > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* ABOUTの写真内の名前を右下へ配置します。 */
.about-art > span:last-child {
  position: absolute;
  right: 24px;
  bottom: 20px;
}

/* TOPのあいさつ：ゆっくり表示し、末尾の点を順番に浮かせます。 */
.profile-greeting {
  animation: none;
}

.greeting-dots {
  display: inline-block;
  white-space: nowrap;
}

.greeting-dots > span {
  display: inline-block;
  animation: greeting-dot-wave 1800ms ease-in-out infinite;
}

.greeting-dots > span:nth-child(2) {
  animation-delay: 200ms;
}

.greeting-dots > span:nth-child(3) {
  animation-delay: 400ms;
}

@keyframes greeting-appear {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes greeting-dot-wave {
  0%, 40%, 100% { transform: translateY(0); }
  20% { transform: translateY(-5px); }
}

/* 動きを減らす設定・印刷時も、文字と点はすべて表示します。 */
@media (prefers-reduced-motion: reduce), print {
  .profile-greeting,
  .greeting-dots > span {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* 見出し → Hello, → I’m Nozomi の順に表示。開始はJavaScriptで制御します。 */
.greeting-hello,
.greeting-name {
  display: inline-block;
}

.greeting-waiting {
  opacity: 0;
  transform: translateY(14px);
}

.greeting-showing {
  animation: greeting-appear 2400ms ease-in-out both;
}

@media (prefers-reduced-motion: reduce), print {
  .greeting-hello,
  .greeting-name {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* 著作権表記はページ中央、ページ上部へのリンクは右側に配置。 */
.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.footer > p {
  grid-column: 2;
  text-align: center;
}

.footer > a:last-child {
  grid-column: 3;
  justify-self: end;
}

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

  .footer > p,
  .footer > a:last-child {
    grid-column: 1;
  }
}

/* お問い合わせフォーム：ラベルと入力欄を縦に並べます。 */
.contact-form {
  width: 100%;
  max-width: 560px;
  margin: 28px auto 0;
  text-align: left;
}

.contact-field + .contact-field {
  margin-top: 20px;
}

.contact-field label {
  display: block;
  margin-bottom: 8px;
  color: #51464a;
  font-size: 13px;
}

.contact-field label span {
  margin-left: 8px;
  font-size: 10px;
  color: #85616d;
}

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #c9b8be;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #34323e;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
}

.contact-field textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-field input:focus-visible,
.contact-field textarea:focus-visible {
  outline: 2px solid #9b6477;
  outline-offset: 3px;
}

.contact-form-actions {
  text-align: center;
}

.contact-form .contact-email {
  margin-top: 24px;
  min-height: 48px;
}

/* お問い合わせフォームはボタンを押したときだけ表示します。 */
.contact-dialog {
  width: calc(100% - 32px);
  max-width: 620px;
  max-height: 90vh;
  margin: auto;
  padding: 24px;
  overflow-y: auto;
  border: 1px solid #e4c9c3;
  border-radius: 20px;
  background: #fffaf8;
  color: #51464a;
  box-shadow: 0 20px 70px rgba(50, 30, 35, 0.25);
}

.contact-dialog:not([open]) {
  display: none;
}

.contact-dialog::backdrop {
  background: rgba(40, 30, 35, 0.65);
}

.contact-dialog-close {
  display: block;
  margin-left: auto;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #d6b6c4;
  border-radius: 24px;
  background: white;
  color: #715663;
}

.contact-dialog #contact-dialog-title {
  margin: 12px 0 0;
  text-align: center;
  font-size: 24px;
}

.contact-dialog .contact-form {
  margin-top: 22px;
}

body.contact-dialog-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .contact-dialog {
    padding: 18px;
  }
}

/* お問い合わせ：短い案内文と、光を透かすガラス風のパネル。 */
.contact-dialog {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 246, 247, 0.68));
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  backdrop-filter: blur(24px) saturate(130%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.95), inset 0 0 24px rgba(255, 255, 255, 0.3), 0 24px 70px rgba(70, 40, 50, 0.22);
}

.contact-dialog::backdrop {
  background: rgba(50, 36, 44, 0.32);
}

.contact-dialog-intro {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
  color: #594950;
}

.contact-dialog-close {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.55);
  color: #594950;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.contact-dialog .contact-field input,
.contact-dialog .contact-field textarea {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(158, 126, 139, 0.5);
  box-shadow: inset 0 2px 5px rgba(103, 76, 87, 0.05);
}

/* ぼかし非対応の環境では、パネルの白を濃くして読みやすくします。 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .contact-dialog {
    background: rgba(255, 250, 248, 0.96);
  }
}

/* お問い合わせモーダル内だけに適用する送信状態・完了画面。 */
.contact-dialog [hidden] {
  display: none !important;
}

.contact-dialog .contact-form-error {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #d3a4ae;
  border-radius: 10px;
  background: rgba(255, 239, 243, 0.95);
  color: #843347;
  font-size: 13px;
  line-height: 1.8;
}

.contact-dialog .contact-form-status {
  margin: 12px 0 0;
  color: #715663;
  font-size: 12px;
  text-align: center;
}

.contact-dialog .contact-form-status:empty {
  display: none;
}

.contact-dialog button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.contact-dialog .contact-success {
  margin: 12px 0;
  padding: 46px 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 249, 252, 0.8), rgba(247, 220, 231, 0.5));
  box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.65);
  text-align: center;
}

.contact-dialog #contact-success-title {
  margin: 0 0 22px;
  font-family: var(--english);
  font-size: 46px;
  font-weight: 400;
  color: #946478;
  line-height: 1.3;
}

.contact-dialog .contact-success-lead {
  margin-bottom: 14px;
  font-size: 16px;
  color: #51464a;
}

.contact-dialog #contact-success-message {
  font-size: 13px;
  color: #67535e;
  line-height: 2;
}

.contact-dialog #contact-success-close {
  margin: 28px auto 0;
}

@media (max-width: 480px) {
  .contact-dialog .contact-success {
    padding: 34px 14px;
  }

  .contact-dialog .contact-success-lead {
    font-size: 14px;
  }
}

/* 左上の画像ロゴ：縦横比を保ち、スマホでは少し小さく表示します。 */
.header .logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

.header .header-logo-image {
  display: block;
  width: 156px;
  height: auto;
}

@media (max-width: 700px) {
  .header .header-logo-image {
    width: 126px;
  }
}

@media (max-width: 380px) {
  .header .header-logo-image {
    width: 114px;
  }
}
