/* ティケ株式会社 コーポレートサイト */
:root {
  --ink: #252724;
  --paper: #fff;
  --cream: #f9f4e9;
  --rose: #fcf2ee;
  --line: #e1d9d2;
  --muted: #504b47;
  --accent: #973e34;
  --accent-hover: #783027;
  --gutter: clamp(20px, 4.5vw, 66px);
  --wrap: 1280px;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", Meiryo, sans-serif;
  --font-hi: "Tiro Devanagari Hindi", "Kohinoor Devanagari", "Noto Serif Devanagari", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.9 var(--font); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.36; letter-spacing: -.043em; }
h1, h2, h3, h4 { overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: fixed; inset: 5px auto auto var(--gutter); z-index: 30; min-height: 44px; padding: 7px 13px; background: var(--paper); transform: translateY(-130%); }
.skip:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header > .wrap { display: flex; align-items: center; gap: clamp(12px, 2.3vw, 34px); min-height: 78px; }
.brand { display: inline-grid; min-height: 44px; align-content: center; gap: 6px; width: fit-content; line-height: 1.16; text-decoration: none; white-space: nowrap; }
.site-header .brand { margin-right: auto; }
.brand-ja { font-weight: 900; font-size: 21px; letter-spacing: -.06em; }
.brand-en { color: var(--muted); font: 750 9px/1.1 Arial, sans-serif; letter-spacing: .22em; }
.nav ul { display: flex; align-items: center; gap: clamp(12px, 2.25vw, 33px); list-style: none; margin: 0; padding: 0; }
.nav a, .site-header .text-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 13px; font-weight: 750; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .48em; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.nav-contact { display: inline-flex; min-height: 45px; align-items: center; gap: 13px; padding-inline: 12px; border: 1px solid var(--ink); border-radius: 2px; text-decoration: none; font-weight: 750; font-size: 13px; white-space: nowrap; }
.nav-contact::after { content: "↗" / ""; font: 500 17px/1 Arial, sans-serif; }
.nav-contact:hover, .nav-contact[aria-current="page"] { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; }
.site-header .lang-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 750; white-space: nowrap; text-decoration: none; }
.site-header .lang-link:hover { text-decoration: underline; }

.btn, .text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-weight: 750; text-decoration: none; }
.btn { border: 1px solid var(--ink); border-radius: 2px; padding: 10px 17px; min-height: 49px; background: var(--ink); color: var(--paper); cursor: pointer; font-size: 15px; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:disabled { opacity: .68; cursor: wait; }
.text-link { color: var(--accent); font-size: 15px; }
.text-link:hover { text-decoration: underline; }
.hero-actions > .text-link::after { content: "↓" / ""; font: 600 16px/1 Arial, sans-serif; }
.issue .text-link::after, .group-head .text-link::after, .section-head .text-link::after, .issue-cta .text-link::after { content: "↗" / ""; font: 500 17px/1 Arial, sans-serif; }
.btn[href]::after { content: "↗" / ""; font: 500 17px/1 Arial, sans-serif; }
html[lang="en"] :is(.nav-contact, .btn[href], .text-link)::after { font-family: "DejaVu Sans", "Segoe UI Symbol", "Apple Symbols", sans-serif; }

.hero { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 4.6vw, 70px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 3.5vw, 55px); }
.hero-copy { min-width: 0; container-type: inline-size; }
.hero h1 { font-size: clamp(18px, 6.75cqw, 52px); line-height: 1.32; font-weight: 900; letter-spacing: -.068em; }
html[lang="en"] .hero-home h1 { font-size: clamp(20px, 6.9cqw, 52px); letter-spacing: -.042em; }
.hero-lead { margin-top: 20px; max-width: 31em; color: var(--muted); }
.hero-actions { margin-top: 24px; display: flex; gap: 7px 22px; align-items: center; flex-wrap: wrap; }
.hero-word {
  position: relative; isolation: isolate; min-width: 0;
  min-height: clamp(315px, 31vw, 456px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  padding: clamp(20px, 4vw, 54px); overflow: hidden;
  background: #ead9be; border: 1px solid #cbb79e;
}
.hero-word::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(118deg,#f2e2c6 0 32%,#debd94 32.3% 55%,#b98a5f 55.1% 69%,#a27955 69.1% 74%,#dec4a5 74.2%); }
.hero-word::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(163deg,#ffefce90 0 46%,#b27b4d22 46.2% 72%,#4a241337 72.2%); }
.word-architecture { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.word-architecture::before { content: ""; position: absolute; inset: 0; background: #8e422b; clip-path: polygon(28% 100%, 39% 87%, 50% 87%, 50% 77%, 63% 77%, 63% 67%, 76% 67%, 76% 57%, 88% 57%, 88% 46%, 100% 46%, 100% 100%); }
.word-architecture::after { content: ""; position: absolute; inset: 0; background: #a75e40; clip-path: polygon(48% 100%, 58% 88%, 69% 88%, 69% 77%, 80% 77%, 80% 67%, 91% 67%, 91% 57%, 100% 57%, 100% 100%); }
.hero-word .hi { display: block; position: relative; font: 400 clamp(61px, 8.65vw, 134px)/1.15 var(--font-hi); letter-spacing: 0; color: #402519; white-space: nowrap; }
.hero-word .gloss { display: block; margin-top: 16px; max-width: 26em; padding: 7px 10px; background: var(--paper); color: var(--ink); font-size: 13px; line-height: 1.65; }

.hero-home { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(480px, 42vw, 680px); }
.hero-home > .wrap { display: block; }
.hero-home .hero-copy { width: min(63%, 690px); }
.hero-home::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fffffff5 0%, #ffffffed 28%, #ffffffcf 41%, #ffffff67 55%, #fff0 72%); }
.hero-home .hero-reveal { background: #000; color: #fff; }
.hero-home h1 .hero-reveal { display: inline-block; max-width: 100%; margin-block: .035em; padding: .005em .16em .065em; }
.hero-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: 100%; }
.hero-photo img {
  object-fit: cover;
  object-position: 66% center;
  filter: saturate(1.2) contrast(1.07) brightness(1.01);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-home .hero-reveal { animation: hero-text-reveal .9s cubic-bezier(.23,.65,.29,1) .08s both; }
  .hero-home h1 .hero-reveal:nth-of-type(2) { animation-delay: .18s; }
  .hero-home h1 .hero-reveal:nth-of-type(3) { animation-delay: .28s; }
  @keyframes hero-text-reveal {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0); }
  }
}

.section { padding-block: clamp(47px, 6.2vw, 91px); }
.section h2 { font-size: clamp(27px, 3.25vw, 46px); }
.section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 7px 20px; margin-bottom: 26px; }
.section-lead { color: var(--muted); margin-top: 7px; }
.band { background: var(--cream); border-block: 1px solid var(--line); }

#issues { background: var(--paper); }
.issue-group + .issue-group { margin-top: clamp(26px, 4vw, 53px); }
.group-head { display: flex; justify-content: space-between; gap: 4px 18px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.group-head h3 { font-size: clamp(19px, 2vw, 27px); }
.issues { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 12px; }
.issue { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; min-height: 172px; padding: clamp(15px, 2.2vw, 27px); border: 1px solid var(--line); border-top: 2px solid var(--accent); background: var(--paper); }
.issue:has(> .issue-photo) { padding: 0; gap: 0; }
.issue-photo {
  position: relative;
  isolation: isolate;
  width: 100%;
  background: var(--cream);
}
.issue-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 66% 100% at var(--light-center), rgb(255 248 235 / .64), rgb(255 248 235 / .25) 46%, transparent 78%);
  mix-blend-mode: soft-light;
}
.issue-photo-finance { --light-center: 41% 55%; }
.issue-photo-pmo { --light-center: 58% 53%; }
.issue-photo-india { --light-center: 53% 56%; }
.issue-photo-voice { --light-center: 47% 49%; }
.issue-image { width: 100%; aspect-ratio: 12 / 5; height: auto; object-fit: cover; }
.issue-photo .issue-image { filter: saturate(1.2) contrast(1.04) brightness(1.14); }
.issue-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(15px, 2.2vw, 27px); }
.issue h4 { font-size: clamp(19px, 1.95vw, 26px); }
.issue p { color: var(--muted); max-width: 39em; }
.issue .text-link { margin-top: auto; }
.note { margin-top: 19px; color: var(--muted); max-width: 38em; }
.note a, .lab-body a, .message-body a, .prose a, .info-table a, .form a { color: var(--accent); }
.note a { display: inline-flex; align-items: center; min-height: 44px; margin-inline-start: .5em; font-weight: 700; }

.split, .philosophy { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: clamp(15px, 3.2vw, 45px); align-items: start; }
.split > div { min-width: 0; }
.lab { background: var(--paper); border-top: 1px solid var(--line); }
.h-sub { display: block; color: var(--accent); font-size: 14px; letter-spacing: .08em; margin-top: 8px; }
.lab-body { display: grid; gap: 15px; }
.lab-body > p:not(.lab-lead), .philosophy p { max-width: 40em; color: var(--muted); }
.lab-lead, .philosophy blockquote { margin: 0; font-size: clamp(24px, 3.5vw, 48px); line-height: 1.46; letter-spacing: -.06em; font-weight: 850; }
.lab-lead::before, .philosophy blockquote::before { content: ""; display: block; width: 38px; height: 2px; background: var(--accent); margin-bottom: 16px; }
.philosophy p { margin-top: 16px; }
.lab-body .issues { margin-top: 14px; }

.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: minmax(135px,.24fr) minmax(0,1fr); gap: 6px 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news-list time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 14px; }
.news-title { font-weight: 750; }
.news-body { grid-column: 2; max-width: 40em; color: var(--muted); }
.news-empty { padding: 14px 0; color: var(--muted); border-block: 1px solid var(--line); }

.cta { background: var(--rose); border-top: 1px solid var(--line); }
.cta .wrap { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 19px; }
.cta h2 { font-size: clamp(25px, 3.3vw, 43px); }
.cta p { margin-top: 8px; }
.cta .btn { background: var(--accent); border-color: var(--accent); }
.cta .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(29px, 5.2vw, 76px) clamp(34px, 5.8vw, 88px); }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; min-height: 44px; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--accent); }
.page-head h1 { max-width: 24em; font-size: clamp(30px, 4.85vw, 68px); letter-spacing: -.065em; }
.heading-phrase { display: inline-block; max-width: 100%; }
.page-head .lead { margin-top: 14px; max-width: 41em; color: var(--muted); }
.split + .split { margin-top: clamp(37px, 6vw, 82px); padding-top: clamp(34px, 6vw, 78px); border-top: 1px solid var(--line); }
.issue-detail > h2 { font-size: clamp(26px, 3.1vw, 42px); max-width: 13em; text-wrap: balance; }
.sub-label { color: var(--accent); font-weight: 750; font-size: 15px; margin-bottom: 9px; }
.checklist + .sub-label { margin-top: 25px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.checklist li { position: relative; padding-left: 20px; max-width: 42em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .88em; width: 9px; height: 1px; background: var(--accent); }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: 9px; }
.offer-grid > div { background: var(--cream); border: 1px solid var(--line); padding: 14px; }
.offer-grid h3 { font-size: 18px; }
.consulting-page .offer-grid h3 { text-wrap: balance; }
.offer-grid p { margin-top: 8px; color: var(--muted); }
.offer-grid > .offer-card { padding: 0; }
.offer-card-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.offer-card-body { padding: 14px; }
.issue-cta { margin-top: 17px; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 37px minmax(0, 1fr); column-gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; padding-top: 5px; color: var(--accent); font: 750 14px/1.2 Arial, sans-serif; }
.steps strong, .steps span { grid-column: 2; }
.steps span { color: var(--muted); }

.representative-section { grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); }
.message { display: grid; grid-template-columns: minmax(195px, .67fr) minmax(0, 1fr); gap: 24px; }
.portrait { width: 100%; max-width: 375px; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; background: var(--cream); border: 1px solid var(--line); color: var(--accent); font-size: 35px; font-weight: 800; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait img + span { display: none; }
.message-body { display: grid; gap: 14px; max-width: 40em; }
.message-body p { text-wrap: pretty; }
.signature { font-weight: 750; }
.signature small { color: var(--muted); margin-right: 8px; }
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.info-table th, .info-table td { padding: 13px 9px 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.info-table th { width: 25%; min-width: 86px; color: var(--ink); font-weight: 750; }
.info-table td { color: var(--muted); }
.info-table ul { margin: 0; padding-left: 1.2em; }
.prose { max-width: min(100%, 42em); color: var(--muted); overflow-wrap: anywhere; }
.prose h2 { margin-top: 32px; margin-bottom: 10px; color: var(--ink); font-size: clamp(21px, 2.1vw, 29px); }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose li + li { margin-top: 9px; }
.prose ul { padding-left: 1.4em; }
.prose .meta { margin-top: 22px; }

.form { display: grid; gap: 19px; max-width: 42em; }
.field { display: grid; min-width: 0; gap: 5px; }
.field label, .field legend { font-weight: 750; }
.req, .opt { display: inline-block; margin-left: 6px; padding: 1px 7px; font-size: 12px; font-weight: 750; }
.req { background: var(--accent); color: var(--paper); }
.opt { background: var(--cream); color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 47px; padding: 8px 9px; border: 1px solid #857f72; border-radius: 2px; background: var(--paper); color: var(--ink); font-size: 16px; }
.field select { text-overflow: ellipsis; }
.field textarea { min-height: 165px; resize: vertical; }
.field .hint { color: var(--muted); }
.agree { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 7px; min-height: 44px; width: fit-content; }
.agree input { width: 18px; height: 18px; align-self: center; margin: 0; accent-color: var(--accent); }
.hp { position: absolute !important; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.field-error { color: var(--accent); font-weight: 750; }
.form-status { padding: 11px 15px; background: var(--cream); border-left: 2px solid var(--accent); }

.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 30px 20px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px 36px; }
.site-footer address { margin-top: 8px; color: var(--muted); font-style: normal; overflow-wrap: anywhere; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 13px; }
.service-row { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0,1fr); gap: 15px 38px; border-top: 1px solid var(--line); padding: 21px 0; }
.service-row h3 { font-size: clamp(20px, 2.4vw, 32px); }
.service-body { display: grid; gap: 9px; }

@media (max-width: 1080px) {
  html { scroll-padding-top: 81px; }
  .site-header > .wrap { min-height: 65px; }
  .menu-toggle { order: 2; min-height: 44px; min-width: 54px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink); padding: 3px 2px; font-size: 11px; font-weight: 750; cursor: pointer; }
  .menu-toggle span { display: grid; justify-items: center; gap: 4px; }
  .menu-toggle span::before { content: ""; width: 18px; height: 8px; border-block: 1px solid currentColor; }
  .menu-toggle[aria-expanded="true"] span::before { height: 8px; border-top: 0; }
  .nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px #392c1d1c; }
  .nav[data-open="true"] { display: block; max-height: calc(100dvh - 65px); overflow-y: auto; }
  .nav ul { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; display: block; padding-block: 5px; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { display: flex; min-height: 47px; font-size: 15px; }
}
@media (max-width: 900px) {
  .consulting-page .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .brand-ja { font-size: 17px; }
  .brand-en { font-size: 8px; }
  .nav-contact { min-height: 44px; font-size: 12px; gap: 4px; padding-inline: 7px; }
  .nav-contact::after { font-size: 14px; }
  .hero .wrap, .split, .philosophy, .service-row { grid-template-columns: minmax(0,1fr); }
  .message { grid-template-columns: minmax(195px, .9fr) minmax(0, 1fr); gap: 20px; }
  .hero .wrap { gap: 23px; }
  .hero h1 { font-size: clamp(18px, 6.75cqw, 44px); }
  .hero-lead { margin-top: 12px; }
  .hero-actions { margin-top: 15px; }
  .hero-word { min-height: clamp(187px, 57vw, 310px); padding: 16px; }
  .hero-word .hi { font-size: clamp(53px, 14.4vw, 94px); }
  .hero-home { min-height: 0; padding-block: 34px clamp(190px, 53vw, 310px); }
  .hero-home .hero-copy { width: 100%; }
  .hero-home::before { background: linear-gradient(180deg, #ffffffed 0%, #ffffffdf 35%, #ffffffad 52%, #ffffff46 63%, #fff0 78%); }
  .hero-home .hero-photo img { object-position: center center; }
  .hero-home .hero-actions { column-gap: 10px; }
  .hero-home .hero-actions > .btn { gap: 8px; padding-inline: 11px; }
  .hero-home .hero-actions > .text-link { gap: 7px; padding-inline: 9px; background: var(--cream); border-radius: 2px; }
  .issues { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .issue { min-height: 0; }
  .site-footer .wrap { grid-template-columns: minmax(0,1fr) auto; }
  .site-footer .wrap > div { grid-column: 1 / -1; }
}
@media (max-width: 490px) {
  .section-head { margin-bottom: 19px; }
  .news-list li { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .news-body { grid-column: 1; }
  .message { grid-template-columns: 1fr; gap: 14px; }
  .portrait { width: min(308px, 100%); }
  .info-table th, .info-table td { display: block; width: auto; border: 0; padding-block: 0; }
  .info-table th { padding-top: 11px; }
  .info-table td { padding-bottom: 11px; border-bottom: 1px solid var(--line); }
  .site-footer .wrap { column-gap: 11px; }
}
@media (max-width: 365px) {
  :root { --gutter: 16px; }
  .site-header > .wrap { gap: 4px; }
  .header-actions { gap: 2px; }
  .hero-home .hero-actions > a { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
