/* =========================================================
   TOPページ：HERO・テーマカード・おすすめ・新着記事・運営者紹介・制作実績
========================================================= */

/* =========================================================
   Start From 39 / TOP C. Replace assets/css/pages/front-page.css.
========================================================= */

.sf39-top-c {
  --tc-ink: #173f38;
  --tc-muted: #63716b;
  --tc-line: #d5dcd4;
  --tc-paper: #fdfcf9;

  background: var(--tc-paper);
  color: var(--tc-ink);

  overflow: hidden;

  font-family: 'Yu Gothic','Hiragino Kaku Gothic ProN',sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

.sf39-top-c * {
  box-sizing: border-box;
}

.sf39-top-c h1,
.sf39-top-c h2,
.sf39-top-c h3,
.sf39-top-c p {
  margin: 0;
}

.sf39-top-c h1,
.sf39-top-c h2,
.sf39-top-c h3 {
  font-family: 'Yu Mincho','Hiragino Mincho ProN',serif;
  font-weight: 500;

  color: inherit;
}

.sf39-top-c a {
  color: inherit;

  text-decoration: none;
}

.sf39-top-c img {
  display: block;

  max-width: 100%;

  object-fit: cover;
}

.tc-wrap {
  width: min(1280px,calc(100% - 80px));

  margin-inline: auto;
}

.sf39-top-c .tc-kicker {
  font: 600 11px/1.6 Arial,sans-serif;
  letter-spacing: .18em;

  color: var(--tc-muted);

  margin-bottom: 12px;
}

/* =========================================================
   HERO: one editorial spread; clear photo, no white panel.
========================================================= */

.tc-hero-editorial {
  position: relative;

  min-height: 640px;

  background: #f4f1e9;

  margin-bottom: 38px;
}

.tc-hero-editorial .tc-hero-scene {
  position: absolute;
  inset: 0;

  height: auto;
}

.tc-hero-editorial .tc-hero-scene>img {
  width: 100%;
  height: 100%;

  object-position: 72% 36%;

  filter: none;
  opacity: 1;
}

.tc-hero-layout {
  min-height: 640px;

  position: relative;
  display: flex;

  align-items: center;

  padding-block: 60px;
}

.tc-hero-heading {
  position: relative;
  z-index: 1;

  max-width: 880px;
}

.sf39-top-c .tc-hero h1 {
  font-size: clamp(42px,5.3vw,77px);
  line-height: 1.38;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.tc-hero h1 span {
  display: block;
}

.sf39-top-c .tc-hero-message {
  font-family: 'Yu Mincho','Hiragino Mincho ProN',serif;
  font-size: 18px;

  margin-top: 24px;

  line-height: 1.8;
}

.sf39-top-c .tc-hero-intro {
  color: #4f6259;

  font-size: 15px;
  line-height: 2;

  margin-top: 14px;

  max-width: 400px;
}

.tc-hero-action {
  display: inline-flex;

  align-items: center;
  gap: 32px;

  margin-top: 26px;

  border-bottom: 1px solid #9e865e;

  padding-bottom: 8px;

  font-size: 14px;
}

.tc-hero-action span {
  font-size: 20px;
}

.sf39-top-c .tc-hero-caption {
  position: absolute;
  right: 0;
  bottom: 20px;

  color: #fdfcf9;

  font: 600 10px/1.6 Arial,sans-serif;
  letter-spacing: .16em;
  text-shadow: 0 1px 3px #173f38;
}

.tc-rule-title {
  display: flex;

  align-items: center;
  gap: 18px;
}

.tc-rule-title:after {
  content: '';

  height: 1px;

  background: var(--tc-line);

  flex: 1;
}

.tc-rule-title>span {
  font: 600 10px Arial,sans-serif;
  letter-spacing: .15em;

  color: var(--tc-muted);
}

.sf39-top-c .tc-rule-title h2 {
  font-size: 18px;
}

.tc-themes {
  padding-top: 16px;
  padding-bottom: 20px;
}

.tc-theme-grid {
  display: grid;

  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 18px;

  margin-top: 24px;
}

.tc-theme-grid>a {
  display: block;

  background: #f3f1e9;
  border: 1px solid #e2e4d9;

  position: relative;
  overflow: hidden;
}

.tc-theme-grid>a:nth-child(2) {
  background: #f6eee2;
}

.tc-theme-grid>a:nth-child(3) {
  background: #eaf0e9;
}

.tc-theme-grid>a:nth-child(4) {
  background: #f5ebe5;
}

.tc-theme-grid>a:nth-child(5) {
  background: #eceee5;
}

.tc-theme-grid img {
  width: 100%;
  aspect-ratio: 4/3;

  transition: transform .3s;
}

.tc-theme-copy {
  position: relative;

  padding: 18px 16px 22px;

  min-height: 124px;
}

.tc-theme-grid strong {
  display: block;

  font-family: 'Yu Mincho',serif;
  font-size: 22px;
  font-weight: 500;
}

.tc-theme-grid small {
  display: block;

  color: #58665d;

  font-size: 12px;

  margin-top: 6px;
  padding-right: 20px;

  line-height: 1.8;
}

.tc-theme-copy>span {
  position: absolute;
  right: 14px;
  bottom: 18px;

  border: 1px solid #b8c5b5;
  border-radius: 50%;

  width: 26px;
  height: 26px;

  display: grid;

  place-items: center;

  font-size: 14px;

  color: #6b795f;
}

.tc-section {
  padding-block: 46px;
}

.tc-section-head {
  display: flex;

  justify-content: space-between;
  align-items: end;
  gap: 24px;

  border-bottom: 1px solid var(--tc-line);

  padding-bottom: 18px;
  margin-bottom: 24px;
}

.sf39-top-c .tc-section-head h2 {
  font-size: clamp(22px,2.2vw,30px);
  line-height: 1.5;
}

.tc-section-head>p {
  color: var(--tc-muted);

  font-size: 13px;
}

.tc-feature-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.tc-feature-side {
  display: grid;

  gap: 24px;
}

.tc-feature {
  display: grid;

  grid-template-columns: 36% 1fr;
  gap: 22px;
  align-items: start;

  padding: 20px;

  background: #f5f3ed;
  border: 1px solid #e6e5dc;
}

.tc-feature-main {
  display: block;

  padding: 0;

  background: transparent;
  border: 0;
}

.tc-feature-side>.tc-feature>div {
  display: flex;

  flex-direction: column;

  min-width: 0;
}

.tc-feature-side .tc-feature {
  min-height: 220px;
}

.tc-feature>img {
  width: 100%;
  aspect-ratio: 4/3;
}

.tc-feature-main>img {
  aspect-ratio: 16/8.4;

  margin-bottom: 18px;
}

.sf39-top-c .tc-feature h3 {
  font-size: 21px;
  line-height: 1.65;
}

.sf39-top-c .tc-feature-main h3 {
  font-size: 23px;
}

.sf39-top-c .tc-feature p {
  font-size: 14px;

  color: var(--tc-muted);

  margin-top: 12px;

  line-height: 1.9;
}

.tc-feature time {
  display: block;

  font: 12px/1.5 Arial,sans-serif;

  color: var(--tc-muted);

  margin-top: 14px;
}

.tc-read {
  display: block;

  text-align: right;
  font-size: 12px;

  color: var(--tc-muted);

  margin-top: 12px;
}

.tc-read i {
  font-style: normal;

  color: #a37941;

  margin-left: 8px;
}

.tc-signature-reference {
  position: relative;
  isolation: isolate;

  background: #f7f4ed;

  padding-block: 42px;

  border-block: 1px solid #e2e2d6;

  margin-block: 0;

  overflow: hidden;
}

.tc-signature-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;

  position: relative;

  min-height: 310px;
}

.tc-signature-title {
  padding: 20px 0;

  position: relative;
  z-index: 1;
}

.sf39-top-c .tc-signature h2 {
  font-size: clamp(48px,5.8vw,82px);
  line-height: 1.35;
  letter-spacing: -.05em;
  white-space: nowrap;
}

.sf39-top-c .tc-signature-en {
  font: 600 10px Arial,sans-serif;
  letter-spacing: .2em;

  color: #ab7151;

  margin-top: 12px;
}

.sf39-top-c .tc-signature-tag {
  font-family: 'Yu Mincho',serif;
  font-size: 17px;
  letter-spacing: .08em;

  margin-top: 8px;
}

.tc-signature-image {
  position: absolute;
  right: calc((1280px - 100vw)/2);
  top: -42px;

  width: calc(50vw + 100px);
  max-width: none !important;
  height: calc(100% + 84px);

  object-fit: cover;
  object-position: center;

  z-index: -1;

  mask-image: linear-gradient(90deg,transparent,#000 30%);
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 30%);
}

.tc-series-links {
  display: grid;

  grid-template-columns: 1fr 1fr;
  gap: 24px;

  margin-top: 24px;

  position: relative;
  z-index: 1;
}

.tc-series-links>a {
  position: relative;
  display: block;

  background: rgba(253,252,249,.95);

  padding: 19px 48px 18px 24px;

  border: 1px solid #c6cbbd;
  border-left: 3px solid #a6b19b;
}

.tc-series-links strong {
  display: block;

  font-family: 'Yu Mincho',serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.6;
}

.tc-series-links strong span {
  font-size: 16px;

  border-left: 1px solid #bcc6b4;

  margin-left: 10px;
  padding-left: 10px;
}

.tc-series-links small {
  display: block;

  font-size: 12px;
  line-height: 1.8;

  color: #596953;

  margin-top: 7px;
}

.tc-series-links i {
  position: absolute;
  right: 20px;
  top: 50%;

  transform: translateY(-50%);

  font-style: normal;

  color: #7c885f;
}

.tc-inline-link {
  font-size: 13px;

  border-bottom: 1px solid #b99862;

  padding-bottom: 4px;

  display: inline-block;
}

.tc-inline-link>span {
  margin-left: 14px;

  color: #a37941;
}

.tc-latest-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
}

.tc-latest {
  padding-block: 22px;

  border-bottom: 1px solid var(--tc-line);
}

.tc-latest>a {
  display: grid;

  grid-template-columns: 35% 1fr;
  gap: 22px;
  align-items: center;

  height: 100%;
}

.tc-latest img {
  width: 100%;
  aspect-ratio: 4/3;
}

.tc-article-meta {
  display: flex;

  flex-wrap: wrap;
  gap: 6px 12px;

  color: var(--tc-muted);

  font-size: 11px;
  line-height: 1.6;
}

.tc-article-meta time {
  font-family: Arial,sans-serif;
}

.sf39-top-c .tc-latest h3 {
  font-size: 19px;
  line-height: 1.65;

  margin-top: 8px;
}

/* =========================================================
   Reference: horizontal editorial portrait, three promises, computer works.
========================================================= */

.tc-editor-band {
  background: #e8eddf;

  padding-block: 42px;
  margin-top: 22px;
}

.tc-editor-band-grid {
  display: grid;

  grid-template-columns: 240px minmax(0,1.55fr) minmax(0,1fr);
  gap: 36px;
  align-items: center;
}

.tc-editor-band-photo {
  margin: 0;
}

.tc-editor-band-photo>img {
  width: 100%;
  aspect-ratio: 3/4;

  object-fit: cover;
  object-position: center;

  box-shadow: none;
}

.sf39-top-c .tc-editor-band-copy h2 {
  font-size: clamp(21px,2.2vw,29px);
  line-height: 1.6;

  margin-bottom: 12px;
}

.sf39-top-c .tc-editor-band-copy>p:not(.tc-kicker) {
  font-size: 16px;
  line-height: 2;

  color: #53634f;
}

.tc-small-pill {
  display: inline-flex;

  align-items: center;
  gap: 24px;

  font-size: 13px;

  border: 1px solid #a6b59d;
  border-radius: 28px;

  padding: 8px 19px;
  margin-top: 18px;
}

.tc-small-pill span {
  color: #94794f;
}

.tc-editor-values {
  border-left: 1px solid #b8c4ad;

  padding-left: 24px;
}

.tc-editor-values>div {
  display: flex;

  align-items: start;
  gap: 12px;

  margin-bottom: 15px;
}

.tc-editor-values svg {
  width: 28px;
  height: 28px;

  flex: 0 0 auto;

  stroke: #738368;
  fill: none;
  stroke-width: 1.2;
}

.tc-editor-values strong {
  display: block;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.tc-editor-values small {
  display: block;

  font-size: 13px;

  color: #617059;

  line-height: 1.8;

  margin-top: 4px;
}

.tc-editor-values>a {
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tc-web-band {
  padding-block: 48px;

  background: #f7f4ec;
  border-bottom: 1px solid #e0e2d6;
}

.tc-web-band-grid {
  display: grid;

  grid-template-columns: minmax(0,1.25fr) minmax(0,2fr);
  gap: 40px;
  align-items: center;
}

.sf39-top-c .tc-web-band-copy h2 {
  font-size: clamp(23px,2.2vw,30px);
  line-height: 1.6;

  margin-bottom: 10px;
}

.sf39-top-c .tc-web-band-copy>p:not(.tc-kicker) {
  font-size: 16px;
  line-height: 2;

  color: #63705d;
}

.tc-web-band-copy .tc-small-pill {
  border-color: #a95f43;
  background: #a95f43;
  color: #fffdf8;

  font-size: 14px;

  padding: 12px 22px;
}

.tc-computer-works {
  display: grid;

  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;

  text-align: center;
}

.tc-computer-frame {
  display: block;

  border: 7px solid #343b36;
  border-bottom-width: 12px;
  border-radius: 8px;

  position: relative;

  background: #f4f1e8;

  margin-bottom: 24px;
}

.tc-computer-frame::after {
  content: '';

  height: 8px;
  width: 108%;

  position: absolute;
  bottom: -19px;
  left: -4%;

  background: #bbc0b5;

  clip-path: polygon(3% 0,97% 0,100% 65%,95% 100%,5% 100%,0 65%);
}

.tc-computer-frame img {
  width: 100%;
  aspect-ratio: 16/10;

  object-fit: cover;

  background: #f4f1e8;
}

.tc-computer-works strong {
  display: block;

  font: 13px/1.5 Georgia,serif;
  letter-spacing: .04em;
}

.tc-computer-works small {
  display: block;

  font-size: 12px;
  line-height: 1.7;

  color: #6a7264;

  margin-top: 5px;
}

.tc-feature-footer {
  display: flex;

  justify-content: space-between;
  align-items: center;
  gap: 12px;

  margin-top: 14px;
  padding-bottom: 12px;

  border-bottom: 1px solid #e1e3d9;
}

.tc-feature-footer time,
.tc-feature-footer .tc-read {
  margin-top: 0;
}

@media (hover:hover) {
  .sf39-top-c a:hover {
    color: #a1783d;
  }

  .tc-theme-grid>a:hover {
    background: #edf1ea;
  }

  .tc-feature:hover img,
  .tc-latest a:hover img {
    opacity: .87;
  }
}

.sf39-top-c a:focus-visible {
  outline: 2px solid #b28c51;
  outline-offset: 5px;
}

@media (max-width:1000px) {
  .tc-wrap {
    width: calc(100% - 48px);
  }

  .tc-signature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .tc-theme-grid {
    gap: 12px;
  }

  .tc-theme-grid strong {
    font-size: 18px;
  }

  .tc-theme-copy {
    padding-inline: 12px;
  }

  .tc-latest>a {
    gap: 16px;
  }

  .sf39-top-c .tc-latest h3 {
    font-size: 17px;
  }
}

@media (max-width:767px) {
  .tc-wrap {
    width: calc(100% - 40px);
  }

  .tc-section {
    padding-block: 32px;
  }

  .tc-section-head {
    align-items: start;
    flex-direction: column;
    gap: 12px;

    padding-bottom: 14px;
    margin-bottom: 20px;
  }

  .tc-section-head>p {
    font-size: 13px;
  }

  .tc-feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tc-feature-main {
    grid-row: auto;
  }

  .tc-feature {
    gap: 16px;
  }

  .sf39-top-c .tc-feature h3 {
    font-size: 18px;
  }

  .sf39-top-c .tc-feature-main h3 {
    font-size: 23px;
  }

  .tc-feature-main>img {
    margin-bottom: 16px;
  }

  .tc-signature {
    padding-block: 30px;
  }

  .tc-signature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sf39-top-c .tc-signature h2 {
    font-size: clamp(42px,11vw,76px);
  }

  .tc-latest-grid {
    grid-template-columns: 1fr;
  }

  .tc-latest {
    padding-block: 20px;
  }

  .tc-latest>a {
    grid-template-columns: 32% 1fr;
    gap: 16px;
    align-items: start;
  }

  .sf39-top-c .tc-latest h3 {
    font-size: 18px;
    line-height: 1.7;
  }

  .tc-latest img {
    aspect-ratio: 1/1;
  }
}

@media (prefers-reduced-motion:no-preference) {
  .sf39-top-c a,
  .sf39-top-c img {
    transition: color .2s,
      background-color .2s,
      opacity .2s;
  }
}

/* =========================================================
   Signature: three resources and a strong typographic identity.
========================================================= */

.tc-resources {
  display: flex;

  gap: 0;

  margin-top: 26px;
}

.tc-resources>span {
  display: flex;

  align-items: center;
  gap: 10px;

  font-family: 'Yu Mincho',serif;
  font-size: 22px;

  padding-inline: 22px;

  border-left: 1px solid #c5cbbe;
}

.tc-resources>span:first-child {
  padding-left: 0;

  border-left: 0;
}

.tc-resources small {
  font: 600 10px Arial,sans-serif;
  letter-spacing: .1em;

  color: #8c7857;
}

.tc-question {
  background: #fdfcf9;

  padding-block: 34px;
  margin-top: 24px;

  position: relative;
}

.tc-question-grid {
  display: grid;

  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;

  padding: 32px 38px;

  border: 1px solid #cbd2c6;
  border-left: 4px solid #a58a60;
}

.sf39-top-c .tc-question h2 {
  font-size: clamp(28px,3vw,42px);
  line-height: 1.65;
  letter-spacing: .03em;
}

.tc-question-copy {
  border-left: 1px solid #b7c5b4;

  padding-left: 38px;
}

.sf39-top-c .tc-question-copy p {
  font-size: 16px;
  line-height: 2;

  color: #4f6259;
}

.tc-question-copy a {
  display: inline-block;

  font-size: 14px;

  border-bottom: 1px solid #8fa38c;

  margin-top: 18px;
  padding-bottom: 5px;
}

.tc-question-copy a span {
  margin-left: 20px;
}

@media (min-width:768px) and (max-width:1100px) {
  .tc-hero-editorial,
  .tc-hero-layout {
    min-height: 570px;
  }

  .sf39-top-c .tc-hero h1 {
    font-size: clamp(41px,5.64vw,62px);
  }

  .tc-hero-editorial .tc-hero-scene {
    left: 0;
  }

  .sf39-top-c .tc-hero-message {
    font-size: 16px;
  }

  .sf39-top-c .tc-hero-intro {
    font-size: 14px;
  }

  .tc-resources>span {
    padding-inline: 14px;

    font-size: 20px;

    gap: 6px;
  }
}

@media (max-width:767px) {
  .tc-hero-editorial {
    min-height: 0;

    margin-bottom: 28px;
    padding-top: 0;

    display: flex;

    flex-direction: column;
  }

  .tc-hero-editorial .tc-hero-scene {
    position: relative;
    inset: auto;

    order: 2;

    height: 300px;

    margin-top: -32px;

    width: 100%;
  }

  .tc-hero-editorial .tc-hero-scene>img {
    height: 100%;

    object-position: 70% center;
  }

  .tc-hero-layout {
    min-height: 0;

    display: block;

    padding-block: 28px 50px;

    order: 1;
  }

  .tc-hero-heading {
    max-width: none;
  }

  .sf39-top-c .tc-hero h1 {
    font-size: clamp(28px,7.24vw,51px);
    line-height: 1.45;
    letter-spacing: -.04em;
    white-space: normal;
  }

  .sf39-top-c .tc-hero-message {
    font-size: 15px;

    margin-top: 18px;
  }

  .sf39-top-c .tc-hero-intro {
    font-size: 14px;

    margin-top: 10px;

    max-width: none;
  }

  .tc-hero-intro br {
    display: none;
  }

  .tc-hero-action {
    font-size: 13px;

    gap: 20px;

    margin-top: 18px;
  }

  .tc-hero-caption {
    display: none;
  }

  .tc-resources {
    margin-top: 22px;
  }

  .tc-resources>span {
    font-size: 20px;

    gap: 7px;

    padding-inline: 15px;
  }

  .tc-resources small {
    font-size: 9px;
  }

  .tc-question {
    padding-block: 30px;
    margin-top: 24px;
  }

  .tc-question-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sf39-top-c .tc-question h2 {
    font-size: 30px;
    line-height: 1.6;
  }

  .tc-question-copy {
    border-left: 0;
    border-top: 1px solid #b7c5b4;

    padding: 20px 0 0;
  }

  .sf39-top-c .tc-question-copy p {
    font-size: 15px;
  }

  .tc-question-copy a {
    font-size: 13px;
  }
}

/* =========================================================
   Editorial v3 responsive details
========================================================= */

@media (hover:hover) {
  .tc-theme-grid>a:hover img {
    transform: scale(1.035);
  }

  .tc-feature:hover {
    border-color: #c6bdab;
  }
}

@media (min-width:768px) and (max-width:1100px) {
  .tc-feature-grid {
    gap: 24px;
  }

  .tc-feature {
    padding: 16px;

    gap: 16px;
    grid-template-columns: 32% 1fr;
  }

  .tc-feature-main {
    padding: 0;
  }

  .tc-feature-side .tc-feature {
    min-height: 190px;
  }

  .sf39-top-c .tc-feature h3 {
    font-size: 18px;
  }
}

@media (max-width:767px) {
  .tc-theme-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
  }

  .tc-theme-grid>a {
    border: 1px solid #e2e4d9;
  }

  .tc-theme-grid>a:last-child {
    grid-column: 1/-1;

    display: grid;

    grid-template-columns: 45% 1fr;
    align-items: center;
  }

  .tc-theme-grid>a:last-child img {
    height: 100%;
    aspect-ratio: 4/3;
  }

  .tc-theme-copy {
    padding: 14px 12px 24px;

    min-height: 114px;
  }

  .tc-theme-grid strong {
    font-size: 19px;
  }

  .tc-theme-grid small {
    font-size: 12px;

    padding-right: 0;
  }

  .tc-theme-copy>span {
    width: 23px;
    height: 23px;

    right: 10px;
    bottom: 8px;
  }

  .tc-feature-side {
    gap: 16px;
  }

  .tc-feature-side .tc-feature {
    min-height: 0;

    padding: 16px;

    grid-template-columns: 32% 1fr;
    gap: 14px;
  }

  .tc-feature-main {
    padding: 0;
  }

  .sf39-top-c .tc-feature h3 {
    font-size: 18px;
  }
}

@media (max-width:380px) {
  .tc-resources>span {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .tc-theme-grid strong {
    font-size: 17px;
  }
}

/* =========================================================
   Reference v4: responsive layouts
========================================================= */

@media (max-width:1100px) and (min-width:768px) {
  .tc-editor-band-grid {
    grid-template-columns: 160px minmax(0,1.25fr) minmax(0,1fr);
    gap: 24px;
  }

  .tc-editor-values {
    padding-left: 18px;
  }

  .tc-computer-works {
    gap: 14px;
  }

  .tc-web-band-grid {
    gap: 28px;
  }

  .tc-series-links strong span {
    display: block;

    border: 0;

    padding: 0;
    margin: 4px 0 0;
  }
}

@media (max-width:767px) {
  .tc-signature-reference {
    padding-block: 24px;
  }

  .tc-signature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tc-signature-title {
    padding: 0;
  }

  .sf39-top-c .tc-signature h2 {
    font-size: clamp(42px,10.7vw,72px);
  }

  .sf39-top-c .tc-signature-tag {
    font-size: 15px;
  }

  .tc-series-links {
    grid-template-columns: 1fr;
    gap: 12px;

    margin-top: 18px;
  }

  .tc-series-links>a {
    padding: 16px 42px 16px 18px;
  }

  .tc-series-links strong {
    font-size: 18px;
  }

  .tc-series-links strong span {
    font-size: 14px;
  }

  .tc-feature-footer {
    margin-top: 12px;
  }

  .tc-feature-footer .tc-read {
    font-size: 12px;
  }

  .tc-editor-band {
    padding-block: 26px;
  }

  .tc-editor-band-grid {
    grid-template-columns: 110px 1fr;
    gap: 20px;
  }

  .tc-editor-band-photo>img {
    aspect-ratio: 3/4;
  }

  .sf39-top-c .tc-editor-band-copy h2 {
    font-size: 21px;
  }

  .sf39-top-c .tc-editor-band-copy>p:not(.tc-kicker) {
    font-size: 14px;
  }

  .tc-editor-values {
    grid-column: 1/-1;

    border-left: 0;
    border-top: 1px solid #b8c4ad;

    padding: 20px 0 0;

    display: grid;

    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tc-editor-values>div {
    margin-bottom: 0;
  }

  .tc-small-pill {
    font-size: 12px;

    padding-inline: 15px;

    gap: 12px;
  }

  .tc-web-band {
    padding-block: 28px;
  }

  .tc-web-band-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tc-computer-works {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
  }

  .tc-computer-frame {
    border-width: 4px;
    border-bottom-width: 8px;

    margin-bottom: 19px;
  }

  .tc-computer-frame::after {
    height: 6px;

    bottom: -14px;
  }

  .tc-computer-works strong {
    font-size: 11px;
  }

  .tc-computer-works small {
    font-size: 10px;
  }
}

@media (max-width:380px) {
  .tc-editor-band-grid {
    grid-template-columns: 90px 1fr;
    gap: 16px;
  }

  .tc-series-links strong span {
    display: block;

    border: 0;

    margin: 4px 0 0;
    padding: 0;
  }

  .tc-computer-works {
    grid-template-columns: 1fr;

    max-width: 230px;

    margin-inline: auto;

    gap: 24px;
  }

  .tc-computer-works small {
    font-size: 12px;
  }
}

.tc-feature-main .tc-feature-footer .tc-read {
  display: inline-flex;

  align-items: center;

  white-space: nowrap;

  padding: 7px 12px;

  border: 1px solid #b8c5b5;
  border-radius: 24px;
  background: #f5f5ec;
}

/* =========================================================
   C v5: spacing and portrait/tablet behavior. This file replaces the previous full file.
========================================================= */

#sf-start-here {
  padding-bottom: 28px;
}

.tc-feature-main .tc-feature-footer {
  border-top: 0;

  padding-top: 0;
}

.tc-web-band-copy .tc-small-pill span {
  color: inherit;
}

@media (hover:hover) {
  .tc-web-band-copy .tc-small-pill:hover {
    color: #fff;
    background: #87472f;
    border-color: #87472f;
  }
}

@media (max-width:1359px) and (min-width:768px) {
  .tc-signature-image {
    right: -40px;

    width: calc(50vw + 70px);
  }
}

@media (min-width:768px) and (max-width:1100px) {
  .tc-editor-band-grid {
    grid-template-columns: 180px minmax(0,1.5fr) minmax(0,1fr);
    gap: 24px;
  }

  .tc-web-band-grid {
    grid-template-columns: minmax(0,1.2fr) minmax(0,1.8fr);
    gap: 26px;
  }
}

@media (max-width:767px) {
  #sf-start-here {
    padding-bottom: 24px;
  }

  .tc-signature-reference {
    padding-block: 30px;
  }

  .tc-signature-grid {
    display: block;

    min-height: 0;
  }

  .tc-signature-title {
    padding-bottom: 20px;
  }

  .tc-signature-image {
    position: relative;
    inset: auto;

    width: calc(100% + 40px);
    height: 220px;

    margin-inline: -20px;

    z-index: 0;

    mask-image: linear-gradient(180deg,transparent,#000 22%);
    -webkit-mask-image: linear-gradient(180deg,transparent,#000 22%);
  }

  .tc-series-links {
    margin-top: 0;
  }

  .tc-question {
    margin-top: 8px;
    padding-block: 24px;
  }

  .tc-question-grid {
    padding: 24px 20px;

    gap: 20px;
  }

  .tc-editor-band {
    padding-block: 32px;
  }

  .tc-editor-band-grid {
    grid-template-columns: 130px minmax(0,1fr);
    align-items: start;
    gap: 24px;
  }

  .sf39-top-c .tc-editor-band-copy>p:not(.tc-kicker),
  .sf39-top-c .tc-web-band-copy>p:not(.tc-kicker) {
    font-size: 15px;
    line-height: 1.95;
  }

  .tc-editor-values {
    margin-top: 4px;
  }

  .tc-web-band {
    padding-block: 36px;
  }

  .tc-web-band-grid {
    grid-template-columns: 1fr;
  }

  .tc-computer-works {
    grid-template-columns: 1fr;

    max-width: 440px;

    margin-inline: auto;

    gap: 30px;
  }

  .tc-computer-works strong {
    font-size: 15px;
  }

  .tc-computer-works small {
    font-size: 12px;
  }

  .tc-feature-footer {
    padding-bottom: 12px;
  }
}

@media (max-width:480px) {
  .tc-editor-band-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tc-editor-band-photo {
    width: 180px;

    justify-self: center;
  }

  .tc-editor-values {
    grid-column: auto;
  }

  .tc-editor-band-copy .tc-small-pill {
    font-size: 13px;
  }
}

.sf39-top-c .tc-editor-band-photo {
  margin: 0;

  position: relative;
  inset: auto;

  transform: none;

  float: none;
}

.sf39-top-c .tc-editor-band-photo>img {
  position: static;

  width: 100%;
  height: auto;

  transform: none;

  box-shadow: none;
}

.sf39-top-c .tc-editor-band-photo {
  margin: 0;

  position: relative;
  inset: auto;

  transform: none;

  float: none;
}

.sf39-top-c .tc-editor-band-photo>img {
  position: static;

  width: 100%;
  height: auto;

  transform: none;

  box-shadow: none;
}

.sf39-top-c .tc-editor-band-photo {
  margin: 0;

  position: relative;
  inset: auto;

  transform: none;

  float: none;
}

.sf39-top-c .tc-editor-band-photo>img {
  position: static;

  width: 100%;
  height: auto;

  transform: none;

  box-shadow: none;
}

/* =========================================================
   TOP magazine v6: distinct series, question, editorial and closing sections.
========================================================= */

.tc-signature-reference {
  background: #eee2d0;
  border: 0;

  padding-block: 52px;
  margin-block: 0;
}

.tc-signature-reference::before {
  content: "";
  position: absolute;
  inset: 18px;

  border: 1px solid rgba(133,108,66,.28);

  z-index: -1;

  pointer-events: none;
}

.tc-signature-grid {
  min-height: 320px;
}

.tc-signature-image {
  top: -52px;

  height: calc(100% + 104px);

  mask-image: linear-gradient(90deg,transparent,#000 38%);
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 38%);
}

.tc-signature-title {
  padding: 22px 0;
}

.tc-series-links>a {
  background: #fffaf1;
  border-color: #bca789;
  border-left-color: #9a774d;
  box-shadow: 0 5px 14px rgba(98,71,40,.06);
}

.tc-series-links strong span {
  border-left-color: #c6b598;
}

.tc-question {
  background: #234a43;
  color: #fffdf5;

  padding-block: 38px;
  margin-top: 0;
}

.tc-question-grid {
  border: 0;
  border-left: 2px solid #d9c29c;

  padding: 10px 0 10px 32px;

  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
}

.tc-question .tc-kicker {
  color: #d9c29c;
}

.sf39-top-c .tc-question h2 {
  color: #fffdf5;

  font-size: clamp(28px,3vw,42px);
}

.tc-question-copy {
  border-color: rgba(217,194,156,.35);
}

.sf39-top-c .tc-question-copy p {
  color: #e2e9df;

  font-size: 16px;
}

.tc-question-copy a {
  color: #f4dfb9;
  border-color: #d9c29c;
}

.tc-editor-band {
  background: #f4f2ea;

  padding-block: 56px;
  margin-top: 14px;

  border-top: 1px solid #deded1;
}

.tc-editor-band-grid {
  grid-template-columns: 260px minmax(0,1.45fr) minmax(0,1fr);
  gap: 36px;
  align-items: center;
}

.sf39-top-c .tc-editor-band-photo {
  padding: 0 10px 12px 0;
}

.sf39-top-c .tc-editor-band-photo>img {
  aspect-ratio: 3/4;

  object-position: 48% center;

  box-shadow: 10px 12px 0 #ddd3c0;
}

.tc-editor-band-copy .tc-kicker {
  color: #8d7756;
}

.sf39-top-c .tc-editor-band-copy h2 {
  font-size: clamp(25px,2.25vw,32px);
  line-height: 1.65;
}

.sf39-top-c .tc-editor-band-copy>p:not(.tc-kicker) {
  font-size: 16px;
  line-height: 2.05;
}

.tc-editor-values {
  background: #e6ebdf;
  border: 1px solid #cbd4c3;

  padding: 25px 24px;

  position: relative;
}

.sf39-top-c .tc-values-label {
  font: 600 10px/1.7 Arial,sans-serif;
  letter-spacing: .15em;

  color: #6d785f;

  margin-bottom: 20px;
}

.tc-editor-values>div {
  padding: 13px 0;
  margin: 0;

  border-top: 1px solid #c6d0bd;
}

.tc-editor-values>div svg {
  margin-top: 2px;
}

.tc-editor-values strong {
  font-size: 14px;
  line-height: 1.8;
}

.tc-editor-values small {
  font-size: 13px;
  line-height: 1.8;
}

.tc-editor-values>a {
  display: inline-block;

  font-size: 13px;

  margin-top: 16px;
}

.tc-web-band {
  padding-block: 58px;

  background: #fffdf8;
}

.tc-web-band-grid {
  grid-template-columns: 1fr;
  gap: 34px;
}

.tc-web-band-copy {
  display: grid;

  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  align-items: center;
}

.tc-web-band-copy .tc-kicker {
  grid-column: 1;
}

.sf39-top-c .tc-web-band-copy h2 {
  grid-column: 1;

  font-size: clamp(25px,2.5vw,35px);

  margin-bottom: 0;
}

.sf39-top-c .tc-web-band-copy>p:not(.tc-kicker) {
  grid-column: 2;
  grid-row: 1/3;

  font-size: 16px;
  line-height: 2;

  max-width: 560px;
}

.tc-web-band-copy .tc-small-pill {
  grid-column: 2;
  justify-self: start;

  margin-top: 14px;
}

.tc-computer-works {
  gap: 32px;

  width: 100%;
  max-width: none;
}

.tc-computer-frame {
  border-width: 8px;
  border-bottom-width: 14px;

  margin-bottom: 30px;

  border-radius: 9px;
  box-shadow: 0 9px 20px rgba(23,63,56,.08);
}

.tc-computer-frame::after {
  height: 10px;

  bottom: -24px;
}

.tc-computer-works strong {
  font-size: 16px;
}

.tc-computer-works small {
  font-size: 13px;

  margin-top: 7px;
}

.tc-closing-arch {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background: #183f38;
  color: #fffdf5;

  margin: 0;
  padding-block: 66px;
}

.tc-closing-arch::before {
  content: "";
  position: absolute;
  inset: 16px;

  border: 1px solid rgba(217,194,156,.3);

  pointer-events: none;
}

.tc-closing-arch::after {
  content: "";
  position: absolute;

  width: 580px;
  height: 580px;

  border: 1px solid rgba(217,194,156,.18);
  border-radius: 50%;

  right: -270px;
  top: -290px;
  z-index: -1;
}

.tc-closing-arch-grid {
  display: grid;

  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 80px;
  align-items: center;
}

.tc-closing-arch-photo {
  margin: 0;

  position: relative;

  width: min(100%,350px);

  justify-self: center;

  padding-bottom: 24px;
}

.tc-closing-arch-photo::before {
  content: "";
  position: absolute;
  inset: 16px -12px 13px 12px;

  border: 1px solid #d9c29c;
  border-radius: 180px 180px 0 0;

  z-index: -1;
}

.tc-closing-arch-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  height: auto;

  object-position: center;

  border-radius: 180px 180px 0 0;
}

.tc-closing-arch-photo figcaption {
  text-align: center;

  color: #d9c29c;

  font: 10px/1.5 Arial,sans-serif;
  letter-spacing: .12em;

  padding-top: 18px;
}

.tc-closing-seal {
  position: absolute;
  right: -25px;
  bottom: 40px;

  width: 90px;
  height: 90px;

  border: 5px solid #183f38;
  border-radius: 50%;
  background: #d9c29c;
  color: #183f38;

  display: flex;

  justify-content: center;
  align-items: center;

  text-align: center;
  font: italic 19px/1.2 Georgia,serif;

  transform: rotate(-9deg);
}

.tc-closing-arch-copy {
  text-align: center;

  min-width: 0;
}

.tc-closing-arch .tc-kicker {
  color: #d9c29c;
}

.sf39-top-c .tc-closing-script {
  font: italic clamp(36px,4.5vw,62px)/1.2 Georgia,serif;

  color: #91aa88;

  margin-bottom: 28px;
}

.sf39-top-c .tc-closing-arch h2 {
  font-size: clamp(30px,3.4vw,46px);

  color: #fffdf5;

  line-height: 1.75;
  letter-spacing: .035em;

  margin-bottom: 24px;
}

.sf39-top-c .tc-closing-arch-copy>p:not(.tc-kicker):not(.tc-closing-script) {
  font-size: 16px;
  line-height: 2;

  color: #e5ecdf;
}

.tc-closing-arch a {
  display: inline-flex;

  align-items: center;
  justify-content: center;
  gap: 20px;

  color: #183f38;
  background: #d9c29c;

  padding: 15px 27px;
  margin-top: 26px;

  font-size: 14px;

  border: 1px solid #d9c29c;
}

body.home .sf-footer {
  margin-top: 0 !important;
}

body.home .sf39-top-c {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (hover:hover) {
  .tc-question-copy a:hover {
    color: #fff;
  }

  .tc-closing-arch a:hover {
    background: #efddba;
    color: #183f38;
  }
}

@media (min-width:768px) and (max-width:1100px) {
  .tc-editor-band-grid {
    grid-template-columns: 220px minmax(0,1fr);
    gap: 32px;
  }

  .tc-editor-values {
    grid-column: 1/-1;

    display: grid;

    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0 24px;
  }

  .tc-values-label {
    grid-column: 1/-1;
  }

  .tc-editor-values>a {
    grid-column: 1/-1;
  }

  .tc-editor-values>div {
    border-top: 1px solid #c6d0bd;
  }

  .tc-closing-arch-grid {
    gap: 44px;
  }

  .tc-closing-arch-photo {
    max-width: 270px;
  }

  .sf39-top-c .tc-closing-arch h2 {
    font-size: 31px;
  }

  .tc-computer-works {
    gap: 22px;
  }
}

@media (max-width:767px) {
  .tc-signature-reference {
    padding-block: 32px;
  }

  .tc-signature-reference::before {
    inset: 10px;
  }

  .tc-signature-grid {
    min-height: 0;
  }

  .tc-signature-title {
    padding: 0 0 16px;
  }

  .tc-signature-image {
    position: relative;
    inset: auto;

    width: calc(100% + 40px);
    height: 220px;

    margin-inline: -20px;

    mask-image: linear-gradient(180deg,transparent,#000 25%);
    -webkit-mask-image: linear-gradient(180deg,transparent,#000 25%);
  }

  .tc-series-links {
    margin-top: 0;
  }

  .tc-series-links strong span {
    display: block;

    border: 0;

    margin: 4px 0 0;
    padding: 0;
  }

  .tc-question {
    margin-top: 0;
    padding-block: 30px;
  }

  .tc-question-grid {
    grid-template-columns: 1fr;
    gap: 20px;

    padding: 0 0 0 20px;
  }

  .tc-question-copy {
    padding: 20px 0 0;

    border-left: 0;
    border-top: 1px solid rgba(217,194,156,.35);
  }

  .sf39-top-c .tc-question h2 {
    font-size: 30px;
  }

  .sf39-top-c .tc-question-copy p {
    font-size: 15px;
  }

  .tc-editor-band {
    padding-block: 38px;
    margin-top: 0;
  }

  .tc-editor-band-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tc-editor-band-photo {
    width: 230px;

    justify-self: center;
  }

  .tc-editor-values {
    grid-column: auto;

    display: block;

    padding: 23px 22px;
    margin: 0;
  }

  .tc-editor-values>div {
    margin: 0;
    padding: 15px 0;
  }

  .sf39-top-c .tc-editor-band-copy h2 {
    font-size: 26px;
  }

  .sf39-top-c .tc-editor-band-copy>p:not(.tc-kicker) {
    font-size: 15px;
  }

  .tc-web-band {
    padding-block: 38px;
  }

  .tc-web-band-copy {
    display: block;
  }

  .sf39-top-c .tc-web-band-copy h2 {
    font-size: 27px;

    margin-bottom: 16px;
  }

  .sf39-top-c .tc-web-band-copy>p:not(.tc-kicker) {
    font-size: 15px;
  }

  .tc-web-band-copy .tc-small-pill {
    margin-top: 20px;
  }

  .tc-computer-works {
    grid-template-columns: 1fr;

    max-width: 440px;

    margin-inline: auto;

    gap: 34px;
  }

  .tc-computer-frame {
    border-width: 6px;
    border-bottom-width: 12px;

    margin-bottom: 27px;
  }

  .tc-computer-frame::after {
    height: 8px;

    bottom: -21px;
  }

  .tc-computer-works strong {
    font-size: 16px;
  }

  .tc-computer-works small {
    font-size: 13px;
  }

  .tc-closing-arch {
    padding-block: 42px;
  }

  .tc-closing-arch::before {
    inset: 10px;
  }

  .tc-closing-arch-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tc-closing-arch-photo {
    width: min(72%,260px);
  }

  .tc-closing-seal {
    width: 75px;
    height: 75px;

    font-size: 16px;

    right: -20px;
  }

  .sf39-top-c .tc-closing-script {
    font-size: 40px;

    margin-bottom: 20px;
  }

  .sf39-top-c .tc-closing-arch h2 {
    font-size: clamp(26px,7vw,34px);
    letter-spacing: 0;
    line-height: 1.75;

    margin-bottom: 18px;
  }

  .sf39-top-c .tc-closing-arch-copy>p:not(.tc-kicker):not(.tc-closing-script) {
    font-size: 15px;
  }

  .tc-closing-arch a {
    font-size: 13px;

    gap: 14px;

    padding: 13px 18px;

    max-width: 100%;
  }

  .sf39-top-c .tc-small-pill {
    min-height: 44px;
  }
}

@media (max-width:380px) {
  .tc-editor-band-photo {
    width: 200px;
  }

  .tc-question-grid {
    padding-left: 14px;
  }

  .sf39-top-c .tc-question h2 {
    font-size: 27px;
  }

  .tc-closing-arch a {
    font-size: 12px;

    gap: 10px;

    padding-inline: 12px;
  }

  .tc-closing-seal {
    width: 66px;
    height: 66px;

    font-size: 14px;
  }

  .sf39-top-c .tc-closing-script {
    font-size: 35px;
  }
}

/* =========================================================
   v7: readable themes, restrained portfolio and Japanese closing headline.
========================================================= */

.tc-theme-grid small {
  font-size: 14px;
  line-height: 1.85;

  color: #465a4e;

  padding-right: 18px;
}

.tc-theme-copy {
  min-height: 132px;
}

.tc-editor-band-copy {
  width: 100%;
  max-width: 640px;
}

.sf39-top-c .tc-editor-band-copy h2 {
  font-size: clamp(27px,2.6vw,35px);
  line-height: 1.65;

  max-width: 18em;

  margin-bottom: 18px;
}

.sf39-top-c .tc-editor-band-copy>p:not(.tc-kicker) {
  max-width: 36em;

  line-height: 2;
}

.tc-web-band {
  padding-block: 42px;
}

.tc-web-band-grid {
  gap: 26px;
}

.tc-web-band-copy .tc-small-pill {
  justify-self: end;

  display: flex;

  width: fit-content;

  margin-left: auto;
  padding: 10px 20px;

  font-size: 13px;
}

.tc-computer-works {
  max-width: 900px;

  justify-self: center;

  margin-inline: auto;

  gap: 26px;
}

.tc-computer-frame {
  border-width: 6px;
  border-bottom-width: 11px;

  margin-bottom: 25px;

  border-radius: 7px;
  box-shadow: 0 5px 12px rgba(23,63,56,.055);
}

.tc-computer-frame::after {
  height: 8px;

  bottom: -19px;
}

.tc-computer-works strong {
  font-size: 14px;
}

.tc-computer-works small {
  font-size: 12px;
  line-height: 1.8;
}

.sf39-top-c .tc-closing-script {
  font-size: clamp(32px,3.3vw,46px);

  margin-bottom: 22px;
}

.sf39-top-c .tc-closing-arch h2 {
  font-size: clamp(32px,3.8vw,52px);
  line-height: 1.7;
  letter-spacing: .02em;
}

@media (min-width:768px) and (max-width:1100px) {
  .tc-editor-band-grid {
    grid-template-columns: 200px minmax(0,1fr);
    gap: 32px;
  }

  .tc-editor-band-copy {
    max-width: 540px;
  }

  .tc-computer-works {
    max-width: 820px;

    gap: 22px;
  }

  .sf39-top-c .tc-closing-script {
    font-size: 36px;
  }

  .sf39-top-c .tc-closing-arch h2 {
    font-size: 34px;
  }
}

@media (max-width:767px) {
  .tc-theme-grid small {
    font-size: 13px;
    line-height: 1.85;

    color: #465a4e;

    padding-right: 0;
  }

  .tc-theme-copy {
    min-height: 122px;
  }

  .sf39-top-c .tc-editor-band-copy h2 {
    font-size: 28px;

    margin-bottom: 16px;
  }

  .tc-editor-band-copy {
    max-width: none;
  }

  .tc-web-band {
    padding-block: 34px;
  }

  .tc-web-band-copy .tc-small-pill {
    display: flex;

    width: fit-content;

    margin: 18px 0 0 auto;

    font-size: 13px;

    min-height: 44px;
  }

  .tc-computer-works {
    grid-template-columns: 1fr;

    max-width: 280px;

    gap: 28px;
  }

  .tc-computer-works strong {
    font-size: 14px;
  }

  .tc-computer-works small {
    font-size: 12px;
  }

  .sf39-top-c .tc-closing-script {
    font-size: 32px;

    margin-bottom: 18px;
  }

  .sf39-top-c .tc-closing-arch h2 {
    font-size: clamp(27px,7.6vw,36px);
    letter-spacing: 0;
  }
}

@media (max-width:380px) {
  .sf39-top-c .tc-editor-band-copy h2 {
    font-size: 25px;
  }

  .sf39-top-c .tc-closing-script {
    font-size: 29px;
  }

  .sf39-top-c .tc-closing-arch h2 {
    font-size: 27px;
  }

  .tc-computer-works {
    max-width: 250px;
  }
}

/* =========================================================
   v8: align the complete Web Design introduction with the compact works.
========================================================= */

.tc-web-band-grid {
  width: min(900px,calc(100% - 80px));
  max-width: 900px;

  margin-inline: auto;

  gap: 22px;
}

.tc-web-band-copy {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  column-gap: 32px;
  align-items: start;
}

.sf39-top-c .tc-web-band-copy h2 {
  font-size: clamp(25px,2.1vw,29px);
  line-height: 1.7;
  letter-spacing: 0;
}

.sf39-top-c .tc-web-band-copy>p:not(.tc-kicker) {
  font-size: 15px;
  line-height: 1.95;
}

.tc-web-band-copy .tc-small-pill {
  justify-self: end;

  margin-top: 12px;
  margin-right: 0;
}

.tc-computer-works {
  width: 100%;
  max-width: none;

  margin: 0;

  justify-self: stretch;
  gap: 26px;
}

@media (min-width:768px) and (max-width:1000px) {
  .tc-web-band-grid {
    width: min(900px,calc(100% - 48px));
  }

  .tc-web-band-copy {
    column-gap: 28px;
  }
}

@media (max-width:767px) {
  .tc-web-band-grid {
    width: calc(100% - 40px);
    max-width: 440px;

    gap: 24px;
  }

  .tc-web-band-copy {
    display: block;
  }

  .sf39-top-c .tc-web-band-copy h2 {
    font-size: 26px;

    margin-bottom: 14px;
  }

  .tc-web-band-copy .tc-small-pill {
    margin: 16px 0 0 auto;
  }

  .tc-computer-works {
    width: 100%;
    max-width: 280px;

    margin-inline: auto;

    justify-self: center;
    gap: 28px;
  }
}

@media (max-width:380px) {
  .sf39-top-c .tc-web-band-copy h2 {
    font-size: 24px;
  }

  .tc-computer-works {
    max-width: 250px;
  }
}

/* =========================================================
   v9: editorial link ends the promise panel at the right edge.
========================================================= */

.tc-editor-values>a {
  display: block;

  width: fit-content;

  margin-left: auto;

  text-align: right;

  justify-self: end;
}

.tc-editor-band-copy .tc-small-pill {
  margin-left: 0;

  justify-self: start;
}

.sf39-top-c .tc-latest img.tc-latest-image {
  width: 100%;
  height: auto;

  object-fit: cover;
}

/* =========================================================
   TOP：制作実績の下の相談ボタン
========================================================= */

.sf39-top-c .tc-web-band-actions {
  display: flex !important;

  justify-content: flex-end !important;

  width: 100%;

  margin-top: 0;
  padding-top: 22px;

  border-top: 1px solid #deddd2;
}

.sf39-top-c .tc-web-band-actions .tc-small-pill {
  display: inline-flex !important;

  align-items: center;
  justify-content: center;
  gap: 30px;

  width: fit-content;
  min-height: 54px;

  margin: 0 0 0 auto !important;
  padding: 14px 28px;

  background: #173f38 !important;
  border: 1px solid #173f38 !important;
  border-radius: 999px;
  color: #fffdf8 !important;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}

.sf39-top-c .tc-web-band-actions .tc-small-pill span {
  color: #d9c29c;

  font-size: 22px;
}

@media (hover: hover) {
  .sf39-top-c .tc-web-band-actions .tc-small-pill:hover {
    background: #2b574b !important;
    border-color: #2b574b !important;
  }
}

@media (max-width: 767px) {
  .sf39-top-c .tc-web-band-actions .tc-small-pill {
    max-width: 100%;
    min-height: 50px;

    padding: 12px 22px;

    gap: 22px;

    font-size: 14px;
  }
}

/* =========================================================
   Start From 39｜TOP「5つのテーマから」雑誌風の一体カード
   assets/css/pages/front-page.css の末尾に、このブロックを追加
   PHP・画像の変更不要。各テーマ全体が独立したリンクです。
========================================================= */

/* =========================================================
   01｜5テーマを包む、ひとつの紙面
========================================================= */

.sf39-top-c #tc-themes.tc-themes {
  box-sizing: border-box;

  margin-block: 30px 52px;
  padding: 30px 28px 26px;

  background: #fbfaf5;
  border: 1px solid #d0d8ca;
  border-radius: 10px;
  box-shadow: 0 7px 22px rgba(23, 63, 56, .045);

  scroll-margin-top: 120px;
}

.sf39-top-c #tc-themes .tc-rule-title {
  display: flex;

  align-items: center;
  gap: 22px;

  margin: 0;
}

.sf39-top-c #tc-themes .tc-rule-title > span {
  flex: 0 0 auto;

  color: #557064;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
}

.sf39-top-c #tc-themes .tc-rule-title h2 {
  flex: 0 0 auto;

  margin: 0;

  color: #173f38;

  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 500;
  line-height: 1.6;
}

.sf39-top-c #tc-themes .tc-rule-title::after {
  content: '';

  flex: 1 1 auto;

  min-width: 20px;
  height: 1px;

  background: #cdd8ce;
}

/* =========================================================
   02｜背景を統一し、テーマの間に細い区切り線
========================================================= */

.sf39-top-c #tc-themes .tc-theme-grid {
  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;

  margin-top: 28px;
}

.sf39-top-c #tc-themes .tc-theme-grid > a {
  position: relative;
  display: flex;

  flex-direction: column;

  min-width: 0;

  padding: 0 18px;

  color: #173f38;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  overflow: visible;

  text-decoration: none;

  transform: none;
  transition: background-color .2s ease;

  -webkit-tap-highlight-color: rgba(218, 109, 89, .12);
}

.sf39-top-c #tc-themes .tc-theme-grid > a + a {
  border-left: 1px solid #e0e4da;
}

.sf39-top-c #tc-themes .tc-theme-grid > a:first-child {
  padding-left: 0;
}

.sf39-top-c #tc-themes .tc-theme-grid > a:last-child {
  padding-right: 0;
}

.sf39-top-c #tc-themes .tc-theme-grid img {
  display: block;

  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;

  object-fit: cover;

  border-radius: 0;
  opacity: 1;

  transform: none;
}

.sf39-top-c #tc-themes .tc-theme-copy {
  position: relative;

  flex: 1 1 auto;

  box-sizing: border-box;

  min-height: 146px;

  padding: 20px 6px 52px;

  background: transparent;
}

.sf39-top-c #tc-themes .tc-theme-grid strong {
  display: block;

  margin: 0;

  color: #173f38;

  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.55;
}

.sf39-top-c #tc-themes .tc-theme-grid small {
  display: block;

  margin-top: 10px;
  padding-right: 0;

  color: #4c665a;

  font-size: 14px;
  line-height: 1.85;

  overflow-wrap: anywhere;
}

/* =========================================================
   03｜矢印は独立したボタンではなく、テーマリンク内の目印
========================================================= */

.sf39-top-c #tc-themes .tc-theme-copy > span {
  position: absolute;
  right: 6px;
  bottom: 10px;
  display: grid;

  place-items: center;

  box-sizing: border-box;

  width: 32px;
  height: 32px;

  color: #cd6a55;
  border: 1px solid #d38a74;
  border-radius: 50%;
  background: transparent;

  font-size: 20px;
  line-height: 1;

  transition: color .2s ease,
    background-color .2s ease;
}

.sf39-top-c #tc-themes .tc-theme-grid > a:focus-visible {
  outline: 2px solid #a87e40;
  outline-offset: 4px;
}

.sf39-top-c #tc-themes .tc-theme-grid > a:active {
  background: #edf2e8;
}

@media (hover: hover) {
  .sf39-top-c #tc-themes .tc-theme-grid > a:hover {
    color: #173f38;
    background: #f2f4eb;

    transform: none;

    box-shadow: none;
  }

  .sf39-top-c #tc-themes .tc-theme-grid > a:hover img {
    transform: none;

    opacity: 1;
  }

  .sf39-top-c #tc-themes .tc-theme-grid > a:hover .tc-theme-copy > span {
    color: #fffaf2;
    background: #cd6a55;
  }
}

/* =========================================================
   04｜タブレット：3列＋2列をひとつのカード内で組む
========================================================= */

@media (min-width: 768px) and (max-width: 1000px) {
  .sf39-top-c #tc-themes.tc-themes {
    padding: 26px 22px;
  }

  .sf39-top-c #tc-themes .tc-theme-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 26px;
  }

  .sf39-top-c #tc-themes .tc-theme-grid > a {
    padding-inline: 15px;
  }

  .sf39-top-c #tc-themes .tc-theme-grid > a:nth-child(3n + 1) {
    padding-left: 0;

    border-left: 0;
  }

  .sf39-top-c #tc-themes .tc-theme-grid > a:nth-child(3n) {
    padding-right: 0;
  }

  .sf39-top-c #tc-themes .tc-theme-copy {
    min-height: 134px;
  }
}

/* =========================================================
   05｜スマホ：写真と文章を横に組む、5つの独立したリンク行
========================================================= */

@media (max-width: 767px) {
  .sf39-top-c #tc-themes.tc-themes {
    width: calc(100% - 32px);

    margin-block: 24px 36px;
    padding: 23px 18px 14px;

    border-radius: 8px;
  }

  .sf39-top-c #tc-themes .tc-rule-title {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .sf39-top-c #tc-themes .tc-rule-title > span {
    font-size: 10px;
  }

  .sf39-top-c #tc-themes .tc-rule-title h2 {
    font-size: 21px;
  }

  .sf39-top-c #tc-themes .tc-rule-title::after {
    flex-basis: 100%;

    margin-top: 3px;
  }

  .sf39-top-c #tc-themes .tc-theme-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;

    margin-top: 8px;
  }

  .sf39-top-c #tc-themes .tc-theme-grid > a,
  .sf39-top-c #tc-themes .tc-theme-grid > a:last-child {
    display: grid;

    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    grid-column: auto;
    align-items: center;
    column-gap: 17px;

    padding: 18px 0;

    border: 0;
  }

  .sf39-top-c #tc-themes .tc-theme-grid > a + a {
    border-left: 0;
    border-top: 1px solid #e0e4da;
  }

  .sf39-top-c #tc-themes .tc-theme-grid img,
  .sf39-top-c #tc-themes .tc-theme-grid > a:last-child img {
    height: auto;
    aspect-ratio: 1;
  }

  .sf39-top-c #tc-themes .tc-theme-copy {
    min-width: 0;
    min-height: 120px;

    padding: 0 0 39px;
  }

  .sf39-top-c #tc-themes .tc-theme-grid strong {
    font-size: 21px;
    line-height: 1.55;
  }

  .sf39-top-c #tc-themes .tc-theme-grid small {
    margin-top: 7px;

    font-size: 14px;
    line-height: 1.85;
  }

  .sf39-top-c #tc-themes .tc-theme-copy > span {
    right: 0;
    bottom: 0;

    width: 30px;
    height: 30px;

    font-size: 19px;
  }
}

@media (max-width: 380px) {
  .sf39-top-c #tc-themes.tc-themes {
    padding-inline: 14px;
  }

  .sf39-top-c #tc-themes .tc-theme-grid > a {
    grid-template-columns: minmax(0, 33%) minmax(0, 1fr);
    column-gap: 13px;
  }

  .sf39-top-c #tc-themes .tc-theme-grid strong {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf39-top-c #tc-themes .tc-theme-grid > a,
  .sf39-top-c #tc-themes .tc-theme-copy > span {
    transition: none;
  }
}

/* =========================================================
   Start From 39｜TOP 5テーマの高さ・Web制作の相談導線を整える
   既存 assets/css/pages/front-page.css の末尾へ追加。
   前回の雑誌風テーマCSSは残してください。
========================================================= */

/* =========================================================
   同じ列幅・内側の余白で、写真と見出しの開始位置を揃える。
========================================================= */

@media (min-width: 768px) {
  .sf39-top-c #tc-themes .tc-theme-grid > a,
  .sf39-top-c #tc-themes .tc-theme-grid > a:first-child,
  .sf39-top-c #tc-themes .tc-theme-grid > a:last-child,
  .sf39-top-c #tc-themes .tc-theme-grid > a:nth-child(3n + 1),
  .sf39-top-c #tc-themes .tc-theme-grid > a:nth-child(3n) {
    box-sizing: border-box;

    padding-inline: 18px;

    border-left: 0;
  }

  .sf39-top-c #tc-themes .tc-theme-grid > a + a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;

    width: 1px;

    background: #e0e4da;

    pointer-events: none;
  }

  .sf39-top-c #tc-themes .tc-theme-grid img {
    flex: 0 0 auto;

    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;

    object-fit: cover;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .sf39-top-c #tc-themes .tc-theme-grid > a,
  .sf39-top-c #tc-themes .tc-theme-grid > a:first-child,
  .sf39-top-c #tc-themes .tc-theme-grid > a:last-child,
  .sf39-top-c #tc-themes .tc-theme-grid > a:nth-child(3n + 1),
  .sf39-top-c #tc-themes .tc-theme-grid > a:nth-child(3n) {
    padding-inline: 15px;
  }

  .sf39-top-c #tc-themes .tc-theme-grid > a:nth-child(3n + 1)::before {
    content: none;
  }
}

@media (max-width: 380px) {
  .sf39-top-c #tc-themes .tc-theme-grid > a,
  .sf39-top-c #tc-themes .tc-theme-grid > a:last-child {
    grid-template-columns: minmax(0, 33%) minmax(0, 1fr);
    column-gap: 13px;
  }
}

/* =========================================================
   紹介・実績3枚・相談ボタンを同じ幅にまとめる。
========================================================= */

.sf39-top-c .tc-web-band {
  padding-block: 46px;
}

.sf39-top-c .tc-web-band-grid {
  display: grid;

  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.sf39-top-c .tc-web-band-copy {
  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 32px;
  align-items: start;
}

.sf39-top-c .tc-web-band-copy .tc-kicker {
  grid-column: 1;

  margin: 0 0 12px;
}

.sf39-top-c .tc-web-band-copy h2 {
  grid-column: 1;

  margin: 0;
}

.sf39-top-c .tc-web-band-copy > p:not(.tc-kicker) {
  grid-column: 2;
  grid-row: 1 / 3;

  margin: 0;
}

.sf39-top-c .tc-web-band-grid > .tc-computer-works {
  width: 100%;
  max-width: none;

  margin: 0;

  justify-self: stretch;
}

.sf39-top-c .tc-web-band-actions {
  display: flex;

  justify-content: flex-end;

  margin: 0;
  padding-top: 22px;

  border-top: 1px solid #e4dfd4;
}

.sf39-top-c .tc-web-band-actions .tc-small-pill {
  display: inline-flex;

  align-items: center;
  justify-content: center;
  gap: 24px;

  width: fit-content;
  min-height: 48px;

  margin: 0;
  padding: 12px 22px;

  border: 1px solid #a95f43;
  background: #a95f43;
  color: #fffdf8;

  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.sf39-top-c .tc-web-band-actions .tc-small-pill span {
  color: inherit;
}

@media (hover: hover) {
  .sf39-top-c .tc-web-band-actions .tc-small-pill:hover {
    background: #87472f;
    border-color: #87472f;
    color: #fff;
  }
}

@media (max-width: 767px) {
  .sf39-top-c .tc-web-band {
    padding-block: 34px;
  }

  .sf39-top-c .tc-web-band-grid {
    gap: 26px;
  }

  .sf39-top-c .tc-web-band-copy {
    display: block;
  }

  .sf39-top-c .tc-web-band-copy h2 {
    margin-bottom: 14px;
  }

  .sf39-top-c .tc-web-band-grid > .tc-computer-works {
    max-width: 280px;

    margin-inline: auto;

    justify-self: center;
    gap: 28px;
  }

  .sf39-top-c .tc-web-band-actions {
    padding-top: 20px;
  }

  .sf39-top-c .tc-web-band-actions .tc-small-pill {
    max-width: 100%;

    font-size: 13px;

    gap: 18px;
  }
}

@media (max-width: 380px) {
  .sf39-top-c .tc-web-band-grid > .tc-computer-works {
    max-width: 250px;
  }
}

/* =========================================================
   相談ボタンの行を、実績と同じ横幅で確保
========================================================= */

.sf39-top-c .tc-web-band .tc-web-band-grid {
  display: grid !important;

  grid-template-columns: minmax(0, 1fr) !important;
}

.sf39-top-c .tc-web-band .tc-web-band-actions {
  display: flex !important;

  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  justify-content: flex-end !important;

  box-sizing: border-box;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding-top: 22px;

  border-top: 1px solid #deddd2;
}

.sf39-top-c .tc-web-band .tc-web-band-actions .tc-small-pill {
  display: inline-flex !important;

  align-items: center;
  justify-content: center;
  gap: 26px;

  width: fit-content !important;
  min-height: 52px;

  margin: 0 0 0 auto !important;
  padding: 13px 26px;

  background: #173f38 !important;
  border: 1px solid #173f38 !important;
  border-radius: 999px;
  color: #fffdf8 !important;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}

.sf39-top-c .tc-web-band .tc-web-band-actions .tc-small-pill span {
  color: #d9c29c !important;

  font-size: 22px;
}

@media (hover: hover) {
  .sf39-top-c .tc-web-band .tc-web-band-actions .tc-small-pill:hover {
    background: #2b574b !important;
    border-color: #2b574b !important;
  }
}

@media (max-width: 767px) {
  .sf39-top-c .tc-web-band .tc-web-band-actions .tc-small-pill {
    max-width: 100%;
    min-height: 50px;

    padding: 12px 22px;

    gap: 22px;

    font-size: 14px;
  }
}

/* =========================================================
   6ページ共通の余白基準：PC / スマホ
   セクション間は次のセクション側だけに設定し、二重の余白を防ぐ。
========================================================= */

body #primary.sf39-top-c {
  --sf39-section-space: 64px;
  --sf39-heading-space: 28px;
  --sf39-card-space: 24px;
  --sf39-feature-space: 56px;
  --sf39-closing-space: 64px;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  display: flow-root;
}

/* 通常のセクション：外側の余白と内側の上下余白を整理 */

body #primary.sf39-top-c > :is(.tc-themes, .tc-section, .tc-signature, .tc-question, .tc-editor-band, .tc-web-band, .tc-closing-arch) {
  margin-block: 0 !important;
  padding-block: 0 !important;
}

body #primary.sf39-top-c > * + :is(.tc-themes, .tc-section, .tc-signature, .tc-question, .tc-editor-band, .tc-web-band, .tc-closing-arch) {
  margin-top: var(--sf39-section-space) !important;
}

/* 見出しからカード・本文まで */

body #primary.sf39-top-c .tc-rule-title,
body #primary.sf39-top-c .tc-section-head {
  margin-bottom: var(--sf39-heading-space) !important;
}

/* カード同士：写真やカードの寸法は既存の指定を使用 */

body #primary.sf39-top-c .tc-theme-grid,
body #primary.sf39-top-c .tc-feature-grid,
body #primary.sf39-top-c .tc-feature-side,
body #primary.sf39-top-c .tc-latest-grid,
body #primary.sf39-top-c .tc-computer-works {
  gap: var(--sf39-card-space) !important;
}

/* 背景色が変わる特集：内側の上下余白 */

body #primary.sf39-top-c .tc-signature,
body #primary.sf39-top-c .tc-question,
body #primary.sf39-top-c .tc-editor-band,
body #primary.sf39-top-c .tc-web-band {
  padding-block: var(--sf39-feature-space) !important;
}

/* 最後の締め：内側の上下余白 */

body #primary.sf39-top-c .tc-closing-arch {
  padding-block: var(--sf39-closing-space) !important;
}

body #primary.sf39-top-c #tc-themes.tc-themes {
  margin-bottom: 0 !important;
  padding-block: var(--sf39-feature-space) !important;
}

body #primary.sf39-top-c .tc-question-grid {
  padding-block: 0 !important;
}

/* フッターとの接続：締めの外側に白い余白を残さない */

body:has(.sf39-top-c) :is(.sf-footer, .sf-site-footer) {
  margin-top: 0 !important;
}

body:has(.sf39-top-c) :is(.sf-site, #content, .site-content) {
  padding-bottom: 0 !important;
}

@media (max-width: 767px) {
  body #primary.sf39-top-c {
    --sf39-section-space: 40px;
    --sf39-heading-space: 22px;
    --sf39-card-space: 18px;
    --sf39-feature-space: 36px;
    --sf39-closing-space: 40px;
  }

}

/* =========================================================
   WEB DESIGN：B案・深緑の上質な作品ギャラリー
   新しい専用クラスでPC枠を使わず、３作品を同じ寸法に配置
========================================================= */

body #primary.sf39-top-c .tc-web-studio {
  color: #fffaf2;
  background: #173f38;
  padding-block: var(--sf39-feature-space) !important;
}

.tc-web-studio__head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 44px;
  margin-bottom: 32px;
}

.tc-web-studio__label {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 18px;
  color: #d9c29c;
  font-size: 11px;
  letter-spacing: .2em;
}

.tc-web-studio__label::after {
  content: "";
  width: 50px;
  height: 1px;
  background: #b69b70;
}

.sf39-top-c .tc-web-studio h2 {
  margin: 0;
  color: #fffaf2;
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.6;
}

.tc-web-studio__intro {
  padding-left: 28px;
  border-left: 1px solid #8c805d;
}

.sf39-top-c .tc-web-studio__intro h3 {
  margin: 0 0 10px;
  color: #fffaf2;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
}

.tc-web-studio__intro p {
  margin: 0;
  color: #d7e1d9;
  font-size: 14px;
  line-height: 1.9;
}

.tc-web-studio__works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tc-web-studio__work {
  display: block;
  min-width: 0;
  color: #fffaf2;
  text-decoration: none;
}

.tc-web-studio__screen {
  display: block;
  padding: 4px;
  background: #f8f5ef;
  overflow: hidden;
}

.tc-web-studio__screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 850;
  object-fit: cover;
  transition: transform .3s ease;
}

.tc-web-studio__name {
  display: block;
  margin-top: 18px;
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
}

.tc-web-studio__type {
  display: block;
  margin-top: 7px;
  color: #d9c29c;
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: .15em;
}

.tc-web-studio__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #e2e8df;
  font-size: 13px;
  line-height: 1.8;
}

.tc-web-studio__caption b {
  color: #d9c29c;
  font-size: 23px;
  font-weight: 400;
}

.tc-web-studio__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #8c805d;
}

.tc-web-studio__foot p {
  margin: 0;
  color: #fffaf2;
  font: italic 19px/1.6 Georgia, serif;
}

.tc-web-studio__foot p span {
  display: block;
  margin-top: 4px;
  color: #bccbc2;
  font-family: sans-serif;
  font-size: 10px;
  font-style: normal;
}

.tc-web-studio__contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 13px 24px;
  color: #fffaf2;
  border: 1px solid #d0b784;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  transition: background-color .25s ease, color .25s ease;
}

.tc-web-studio__contact span {
  color: #d9c29c;
  font-size: 23px;
}

@media (hover: hover) {
  .tc-web-studio__work:hover .tc-web-studio__screen img {
    transform: scale(1.025);
  }

  .tc-web-studio__contact:hover {
    color: #173f38;
    background: #f5ecdc;
  }

  .tc-web-studio__contact:hover span {
    color: #173f38;
  }
}

.tc-web-studio__contact:focus-visible,
.tc-web-studio__work:focus-visible {
  outline: 2px solid #d9c29c;
  outline-offset: 5px;
}

@media (max-width: 900px) {
  .tc-web-studio__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tc-web-studio__intro {
    padding-left: 20px;
  }

  .tc-web-studio__works {
    gap: 18px;
  }

  .tc-web-studio__name {
    font-size: 21px;
  }
}

@media (max-width: 600px) {
  .tc-web-studio__works {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tc-web-studio__screen {
    max-width: 440px;
    margin-inline: auto;
  }

  .sf39-top-c .tc-web-studio h2 {
    font-size: 27px;
  }

  .sf39-top-c .tc-web-studio__intro h3 {
    font-size: 17px;
  }

  .tc-web-studio__intro p br {
    display: none;
  }

  .tc-web-studio__foot {
    align-items: flex-end;
    flex-direction: column;
    gap: 20px;
  }

  .tc-web-studio__foot p {
    align-self: flex-start;
  }

  .tc-web-studio__contact {
    max-width: 100%;
    font-size: 14px;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-web-studio__screen img,
  .tc-web-studio__contact {
    transition: none;
  }
}

/* =========================================================
   TOPページ：背景が切り替わる３か所の間隔を調整
========================================================= */

body #primary.sf39-top-c > .tc-signature + .tc-question,
body #primary.sf39-top-c > .tc-editor-band + .tc-web-studio {
  margin-top: 40px !important;
}

/* 制作実績から最後の締め：白い帯をなくし、細い線で区切る */

body #primary.sf39-top-c > .tc-web-studio {
  padding-bottom: 32px !important;
}

body #primary.sf39-top-c > .tc-web-studio + .tc-closing-arch {
  margin-top: 0 !important;
  padding-top: 32px !important;
  background-color: #173f38;
}

body #primary.sf39-top-c > .tc-web-studio + .tc-closing-arch::before {
  inset: 0 max(24px, calc((100% - 1280px) / 2)) auto;
  height: 0;
  border: 0;
  border-top: 1px solid rgba(217, 194, 156, .3);
}

/* スマホ：間隔28px・深緑の境界は上下各24px */

@media (max-width: 767px) {
  body #primary.sf39-top-c > .tc-signature + .tc-question,
  body #primary.sf39-top-c > .tc-editor-band + .tc-web-studio {
    margin-top: 28px !important;
  }

  body #primary.sf39-top-c > .tc-web-studio {
    padding-bottom: 24px !important;
  }

  body #primary.sf39-top-c > .tc-web-studio + .tc-closing-arch {
    padding-top: 24px !important;
  }
}

/* =========================================================
   TOPの締め：明るい紙色の誌面で制作実績とフッターを区切る
========================================================= */

body #primary.sf39-top-c > .tc-web-studio + .tc-closing-arch {
  margin-top: 0 !important;
  padding-block: 64px !important;

  color: #173f38;
  background: #faf7ef;
}

/* 大きな円とセクション外枠を外す */

body #primary.sf39-top-c > .tc-closing-arch::before,
body #primary.sf39-top-c > .tc-closing-arch::after {
  content: none;
  display: none;
}

body #primary.sf39-top-c .tc-closing-arch .tc-kicker {
  color: #8f754b;
}

body #primary.sf39-top-c .tc-closing-script {
  margin-bottom: 24px;
  color: #9b8055;
  font-size: clamp(30px, 3.2vw, 44px);
}

/* 日本語の見出し：２行を保ち、約10％小さく */

body #primary.sf39-top-c .tc-closing-arch h2 {
  color: #173f38;
  font-size: clamp(28.8px, 3.42vw, 46.8px);
  line-height: 1.7;
}

body #primary.sf39-top-c .tc-closing-arch-copy > p:not(.tc-kicker):not(.tc-closing-script) {
  color: #53665b;
}

body #primary.sf39-top-c .tc-closing-arch a {
  color: #fffaf2;
  background: #173f38;
  border-color: #173f38;
}

body #primary.sf39-top-c .tc-closing-arch-photo figcaption {
  color: #53665b;
  border-color: #b9aa8d;
}

@media (hover: hover) {
  body #primary.sf39-top-c .tc-closing-arch a:hover {
    color: #fffaf2;
    background: #28564b;
    border-color: #28564b;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  body #primary.sf39-top-c .tc-closing-arch h2 {
    font-size: 30.6px;
  }
}

/* スマホ：明るい背景のまま縦に並べる */

@media (max-width: 767px) {
  body #primary.sf39-top-c > .tc-web-studio + .tc-closing-arch {
    padding-block: 40px !important;
  }

  body #primary.sf39-top-c .tc-closing-arch h2 {
    font-size: clamp(24.3px, 6.84vw, 32.4px);
  }

  body #primary.sf39-top-c .tc-closing-script {
    font-size: 30px;
    margin-bottom: 20px;
  }
}

@media (max-width: 380px) {
  body #primary.sf39-top-c .tc-closing-arch h2 {
    font-size: 24.3px;
  }
}

/* =========================================================
   TOPのテーマ入口：写真と説明文を読み取りやすく
========================================================= */

body #primary.sf39-top-c #tc-themes .tc-theme-grid img {
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

body #primary.sf39-top-c #tc-themes .tc-theme-grid small {
  color: #536257;
  font-size: 14px;
  line-height: 1.85;
}

/* =========================================================
   新着記事：写真・日付・タイトル・読むリンクの間隔
========================================================= */

body #primary.sf39-top-c .tc-latest > a {
  column-gap: 26px;
  align-items: start;
}

body #primary.sf39-top-c .tc-latest > a > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

body #primary.sf39-top-c .tc-latest .tc-article-meta {
  margin: 0 0 10px;
  gap: 6px 12px;
}

body #primary.sf39-top-c .tc-latest h3 {
  margin: 0 0 16px;
  line-height: 1.7;
}

body #primary.sf39-top-c .tc-latest .tc-read {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 2px;
}

/* =========================================================
   ABOUT：紹介文の幅と見出しの存在感を整える
========================================================= */

body #primary.sf39-top-c .tc-editor-band-copy {
  width: 100%;
  max-width: none;
}

body #primary.sf39-top-c .tc-editor-band-copy h2 {
  max-width: none;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.6;
  margin-bottom: 20px;
}

body #primary.sf39-top-c .tc-editor-band-copy > p:not(.tc-kicker) {
  max-width: none;
  font-size: 16px;
  line-height: 1.95;
}

/* スマホ：写真と文字を詰めず、画面幅に合わせる */

@media (max-width: 767px) {
  body #primary.sf39-top-c #tc-themes .tc-theme-grid img {
    aspect-ratio: 1;
  }

  body #primary.sf39-top-c .tc-latest > a {
    column-gap: 18px;
  }

  body #primary.sf39-top-c .tc-latest .tc-article-meta {
    margin-bottom: 8px;
  }

  body #primary.sf39-top-c .tc-latest h3 {
    margin-bottom: 12px;
  }

  body #primary.sf39-top-c .tc-editor-band-copy h2 {
    font-size: clamp(26px, 5.5vw, 32px);
    margin-bottom: 18px;
  }

  body #primary.sf39-top-c .tc-editor-band-copy > p:not(.tc-kicker) {
    font-size: 15px;
  }
}
