/*
Theme Name: Art & Design Tag
Description: アート＆デザインタッグ合同会社の公式サイト用テーマ。
Version: 1.0.14
Requires at least: 5.2
Requires PHP: 7.4
Text Domain: art-design-tag
*/
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #111; font: 16px/1.85 "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible { outline: 2px solid #417cbb; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(28px, 3.5vw, 52px); line-height: 1.25; }
h3 { font-size: clamp(21px, 2.2vw, 32px); line-height: 1.45; }
p + p { margin-top: 1em; }
.wrap { width: min(1390px, calc(100% - clamp(38px, 7vw, 120px))); margin-inline: auto; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; }
.brand { font: 800 19px/1.3 Arial, sans-serif; letter-spacing: .06em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 13px; font-weight: 700; }
nav a, .pill { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.pill { display: inline-block; border: 1px solid currentColor; padding: 9px 19px; border-radius: 100px; font-weight: 700; }
.pill:hover { background: #e1edf5; color: #111; }
.hero { padding-top: clamp(48px, 9vw, 135px); }
.label { font-size: 13px; font-weight: 700; letter-spacing: .09em; margin-bottom: 10px; }
.hero h1 { margin: 16px 0 clamp(34px, 5vw, 75px); font-size: clamp(36px, 8.6vw, 132px); letter-spacing: -.085em; line-height: 1.06; }
.hero-image { position: relative; background: #e9eef3; }
.hero-image img { width: 100%; height: clamp(245px, 44vw, 600px); object-fit: cover; object-position: center 53%; }
.round { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 52px; aspect-ratio: 1; border-radius: 50%; background: #fff; text-decoration: none; font-size: 22px; }
.section { padding-block: clamp(56px, 9vw, 142px); }
.split { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); gap: clamp(22px, 5vw, 88px); }
.display { font-family: Arial, sans-serif; font-size: clamp(34px, 6.3vw, 100px); line-height: 1; letter-spacing: -.06em; }
.copy h3 { margin-bottom: 19px; }
.copy .pill, .status { margin-top: 24px; }
.band { background: #f1f3f4; }
.dark { background: #141c27; color: #fff; }
.cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px, 4vw, 60px); margin-top: 36px; }
.cards article { display: flex; flex-direction: column; align-items: flex-start; }
.cards img { width: 100%; aspect-ratio: 1.72; object-fit: cover; margin-bottom: 23px; }
.cards h3 { margin-bottom: 12px; }
.cards .line-link { margin-top: auto; padding-block: 16px 8px; border-bottom: 1px solid; text-decoration: none; font-weight: 700; }
.line-link span { margin-left: 1em; }
.steps { margin: 0; padding-left: 1.6em; }
.steps li { border-top: 1px solid #9ca4ad; padding: 18px 0; }
.steps li::marker { font-weight: 700; }
.steps h3 { font-size: clamp(17px, 2vw, 23px); margin-bottom: 5px; }
.program { align-items: start; }
.program-intro .display { margin-bottom: 32px; }
details { border-top: 1px solid #aaa; }
details:last-child { border-bottom: 1px solid #aaa; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; }
details p { padding-bottom: 18px; }
.representative { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.representative img { flex-shrink: 0; border-radius: 50%; background: #fff; object-fit: cover; object-position: 46% center; }
.representative .label { margin-bottom: 2px; }
dl { margin: 28px 0 0; display: grid; grid-template-columns: 6em 1fr; }
dt, dd { margin: 0; padding: 11px 0; border-top: 1px solid #bfc6cd; overflow-wrap: anywhere; }
dt { font-weight: 700; }
.status { display: block; font-size: 14px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 32px; font-size: 13px; }
@media (max-width: 760px) {
  .header { flex-wrap: wrap; gap: 16px; padding-block: 18px; }
  nav { gap: 12px; }
  .split, .cards { grid-template-columns: 1fr; }
  .cards { row-gap: 40px; }
  .hero h1 { margin-top: 11px; }
  .hero-image img { object-position: center 59%; }
  dl { grid-template-columns: 5em 1fr; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#newsletter .display { font-size: clamp(29px, 5.1vw, 78px); }
.feature-banners { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-top: 24px; }
.feature { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: clamp(20px, 3vw, 44px); text-decoration: none; }
.feature h2 { font-size: clamp(21px, 2.45vw, 36px); margin-bottom: 12px; }
.feature .label { margin-top: 0; }
.book-banner { background: #f0eae0; }
.book-banner img { width: clamp(72px, 11vw, 155px); flex-shrink: 0; box-shadow: 0 8px 18px #0003; }
.mail-banner { background: #141c27; color: #fff; }
.banner-link { display: inline-block; margin-top: 16px; font-weight: 700; text-decoration: underline; }
.feature:hover .banner-link { text-decoration-thickness: 2px; }
.newsletter-form { display: grid; gap: 10px; margin-top: 24px; }
.newsletter-form label { font-weight: 700; }
.newsletter-form input[type=email] { width: 100%; padding: 10px 12px; border: 1px solid #777; border-radius: 4px; font: inherit; }
.newsletter-form p { font-size: 13px; }
.newsletter-form button { justify-self: start; background: #141c27; color: #fff; font-size: 15px; cursor: pointer; }
@media (max-width: 760px) { .feature-banners { grid-template-columns: 1fr; } }
.advisory-steps { margin-top: 26px; }
.media-support { margin-top: clamp(32px, 5vw, 64px); padding: clamp(22px, 4vw, 48px); background: #f1f3f4; }
.media-support > p { margin-top: 8px; }
.media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
.media-grid dd { border: 0; padding: 0 0 8px; }
@media (max-width: 760px) { .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.advisory-art { width: 100%; height: auto; margin-top: clamp(18px, 4vw, 44px); }
@media (max-width: 760px) { .advisory-art { max-width: 420px; } }
.advisory-art { transform: scale(1.3); transform-origin: center; }
.advisory-heading { overflow: hidden; }
.team-support { margin-top: clamp(32px, 5vw, 64px); }
.advisory-heading h2 { position: relative; z-index: 1; }
.design-thinking-note {
  margin-block: 16px;
  padding: 12px 16px;
  border-left: 2px solid #bfc6cd;
  font-size: 0.875rem;
  color: #444;
}
.design-thinking-note p + p { margin-top: 4px; }
.vision-art { width: 100%; height: auto; margin-top: 28px; }
.vision-audience { border-top: 1px solid #bfc6cd; padding-top: 16px; margin-top: 18px; }
.vision-audience h4 { font-size: 16px; margin: 0 0 6px; }
@media (max-width: 760px) { .vision-art { max-width: 420px; } }
#services .cards img {
  object-fit: contain;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}
.company-hero { padding-block: clamp(46px, 8vw, 110px) clamp(20px, 4vw, 55px); text-align: right; }
.company-hero h2 { margin: 16px 0 24px; font-size: clamp(32px, 8.6vw, 132px); letter-spacing: -.085em; line-height: 1.06; }

.site-content article { margin-bottom: 38px; }
.site-content h1, .site-content h2 { margin-bottom: 16px; }
.site-content figure { max-width: 100%; }

.tag-logo { display: block; width: 144px; aspect-ratio: 1.68; overflow: hidden; }
.tag-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.64); }
.brand { mix-blend-mode: multiply; }
.footer-brand { display: grid; gap: 12px; }
.footer-brand .tag-logo { width: 132px; mix-blend-mode: screen; }
.footer-brand img { filter: invert(1); }

.hero > .label {
  display: inline-block;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 15.6px;
  text-align: left;
}

/* Keep both introductory messages within the opening view on common screens. */
.header { padding-block: 12px; }
.header .tag-logo { width: 118px; }
.hero { padding-top: clamp(14px, 3svh, 30px); }
.hero h1, .company-hero h2 {
  font-size: clamp(30px, min(6.2vw, 9svh), 90px);
  margin: 5px 0 16px;
}
.hero-image img { height: clamp(116px, 29svh, 360px); }
.company-hero { padding-block: clamp(14px, 2.8svh, 28px) 8px; }
.company-hero h2 { margin-bottom: 6px; }

.media-grid dt { display: flex; align-items: center; gap: 9px; font-size: 1.2em; }
.media-icon {
  width: 28.8px;
  height: 28.8px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.official-banner-wrap { padding-bottom: clamp(32px, 6vw, 72px); }
.official-banner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 40px);
  padding: clamp(14px, 3vw, 34px);
  border: 1px solid #bfc6cd;
  border-radius: 12px;
  background: #f1f3f4;
  text-decoration: none;
}
.official-banner:hover { background: #e1e6ea; }
.official-banner .tag-logo { width: clamp(58px, 13vw, 144px); flex: none; mix-blend-mode: multiply; }
.official-banner-copy { flex: 1; min-width: 0; }
.official-banner-copy strong { display: block; font-size: clamp(14px, 2.7vw, 28px); line-height: 1.4; }
.official-banner-copy span { font-size: 13px; text-decoration: underline; }
.official-banner-arrow { flex: none; font-size: clamp(20px, 4vw, 34px); }

.team-support-art {
  width: min(100%, 460px);
  height: auto;
  margin-top: 22px;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}

.footer-info { font-size: 11px; line-height: 1.7; letter-spacing: normal; }
