/*
Theme Name: TY Audit 2026
Author: TY Audit Corporation
Description: Custom theme for TY Audit Corporation.
Version: 0.1.0
Text Domain: ty-audit-2026
*/
:root{--navy:#18324a;--text:#242a30;--muted:#6d7780;--line:#e2e6e9;--line-strong:#cfd6dc;--bg:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Noto Sans JP",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.8}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.wrap{width:min(1080px,calc(100% - 96px));margin:auto}
.site-header{height:88px;display:flex;align-items:center;border-bottom:1px solid var(--line);background:#fff}
.header-inner{display:flex;justify-content:space-between;align-items:center;width:min(1180px, calc(100% - 120px)); margin:auto}
.brand{font-size:18px;font-weight:500;letter-spacing:.05em;color:var(--navy)}
.site-nav{display:flex;gap:34px;font-size:14px;color:#48515a}
.site-nav ul{display:flex;gap:34px;list-style:none;margin:0;padding:0}
.site-nav .menu-item{margin:0}
.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.hero-copy {
  position: absolute;
  top: 175px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 48px, 960px);
  z-index: 2;
}

.hero-layers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 1;
  pointer-events: none;
}
.hero-brand{font-size:15px;font-weight:400;letter-spacing:.08em;color:#66727c;margin-bottom:34px}
.hero h1{font-size:42px;line-height:1.55;font-weight:400;letter-spacing:.035em;color:var(--navy);margin:0}
.home-section{padding:128px 0;border-top:1px solid var(--line)}
.section-en{font-family:Inter,Arial,sans-serif;font-size:48px;line-height:1;font-weight:300;letter-spacing:.08em;color:var(--navy);margin:0 0 13px}
.section-ja{font-size:14px;font-weight:400;letter-spacing:.06em;color:#68727b;margin:0 0 72px}
.philosophy-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}
.term{font-family:Inter,Arial,sans-serif;font-size:40px;font-weight:300;letter-spacing:.04em;color:var(--navy);margin-bottom:6px}
.term-ja{font-size:14px;font-weight:500;color:#56616a;margin-bottom:26px}
.term-copy{font-size:17px;line-height:1.9;margin:0}
.more{display:block;width:max-content;margin:62px 0 0 auto;font-size:13px;color:#68737c}
.services-list,.insights-list{border-top:1px solid var(--line-strong)}
.service-row{display:grid;grid-template-columns:72px 1fr;padding:30px 0;border-bottom:1px solid var(--line)}
.num{font-family:Inter,Arial,sans-serif;font-size:12px;letter-spacing:.14em;color:#99a2a9;padding-top:5px}
.service-en{font-family:Inter,Arial,sans-serif;font-size:22px;font-weight:300;letter-spacing:.05em;color:var(--navy)}
.service-ja{font-size:14px;color:#5d6871;margin-top:3px}
.insight-row{display:block;padding:28px 0;border-bottom:1px solid var(--line)}
.insight-title{font-size:18px;line-height:1.7;font-weight:400;margin:0 0 8px}
.insight-meta{font-size:12px;color:#89929a}
.insight-date{font-family:Inter,Arial,sans-serif}
.sep{padding:0 8px;color:#b0b7bc}
.firm-grid{display:grid;grid-template-columns:180px 1fr;max-width:720px}
.firm-grid div{padding:16px 0;border-bottom:1px solid var(--line);font-size:14px}
.firm-label{color:#7a848c}
.site-footer{padding:76px 0 44px;border-top:1px solid var(--line)}
.footer-links{margin-top:24px}
.footer-links ul{display:flex;gap:24px;list-style:none;margin:0;padding:0;flex-wrap:wrap;font-size:13px;color:#636c74}
.copyright{margin-top:44px;font-family:Inter,Arial,sans-serif;font-size:11px;color:#9ca3a9;letter-spacing:.06em}
.content-basic{padding:100px 0;max-width:760px}
.content-basic h1{font-size:42px;line-height:1.4;font-weight:300;color:var(--navy)}
@media(max-width:900px){.wrap{width:min(100% - 36px,760px)}.site-header{height:auto;min-height:76px;padding:16px 0}.site-nav ul{gap:14px;flex-wrap:wrap;justify-content:flex-end;font-size:12px}.hero{min-height:620px}.hero h1{font-size:34px}.section-en{font-size:40px}.philosophy-grid{grid-template-columns:1fr;gap:58px}.firm-grid{grid-template-columns:120px 1fr}}

/* ==================================================
   ABOUT TY / COMPANY PAGE
================================================== */

.company-hero {
  padding: 118px 0 92px;
}

.company-page-title {
  font-family: Inter, Arial, sans-serif;
  font-size: 58px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--navy);
  margin: 0 0 16px;
}

.company-page-title-ja {
  font-size: 15px;
  color: #69737c;
  letter-spacing: .06em;
  margin: 0;
}


/* セクション */

.company-section {
  padding: 128px 0;
  border-top: 1px solid var(--line);
}

.company-section-title {
  font-family: Inter, Arial, sans-serif;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: .09em;
  color: var(--navy);
  margin: 0 0 12px;
}

.company-section-title-ja {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .06em;
  color: #68727b;
  margin: 0 0 68px;
}


/* Philosophy */

.company-philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.company-philosophy-item {
  padding-top: 4px;
}

.company-term {
  font-family: Inter, Arial, sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 8px;
}

.company-term-ja {
  font-size: 15px;
  font-weight: 500;
  color: #4d5963;
  margin-bottom: 30px;
}

.company-term-copy {
  font-size: 17px;
  line-height: 1.9;
  margin: 0;
}


/* Message */

.company-message {
  display: grid;
  grid-template-columns: 190px minmax(0, 720px);
  gap: 70px;
}

.company-message-label {
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .14em;
  color: #89929a;
  padding-top: 6px;
}

.company-message-body {
  font-size: 16px;
  line-height: 2.05;
}

.company-message-body p {
  margin: 0 0 28px;
}

.company-signature {
  margin-top: 54px;
  text-align: right;
  font-size: 14px;
  color: #4c565f;
}

.company-signature strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
}


/* Firm Profile */

.company-profile {
  max-width: 820px;
  border-top: 1px solid var(--line-strong);
}

.company-profile-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.company-profile-label {
  color: #747f88;
}


/* Access */

.company-access {
  max-width: 900px;
}

.company-address {
  font-size: 17px;
  line-height: 1.9;
  margin: 0;
}

.company-access-note {
  font-size: 14px;
  color: #6f7880;
  margin: 20px 0 44px;
}

.company-map {
  margin-top: 40px;
  width: 100%;
}

.company-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}


/* Responsive */

@media (max-width: 900px) {

  .company-page-title {
    font-size: 46px;
  }

  .company-section-title {
    font-size: 34px;
  }

  .company-philosophy {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .company-message {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .company-profile-row {
    grid-template-columns: 120px 1fr;
  }

}

/* ========================================
   SERVICES
======================================== */

.business-hero {
  padding: 90px 0 85px;
  border-bottom: 1px solid #e4e8eb;
}

.business-page-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 46px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.16em;
  color: #18324a;
}

.business-page-title-ja {
  margin: 14px 0 0;
  font-size: 13px;
  color: #78848d;
}

.business-section {
  padding: 95px 0 100px;
  border-bottom: 1px solid #e4e8eb;
}

.business-service {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 55px;
}

.business-service-heading {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.business-service-number {
  padding-top: 5px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #9aa5ad;
}

.business-service-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.10em;
  color: #18324a;
}

.business-service-title-ja {
  margin: 8px 0 0;
  font-size: 12px;
  color: #78848d;
}

.business-service-body {
  max-width: 620px;
  font-size: 14px;
  line-height: 2;
  color: #26343d;
}

.business-service-body > p {
  margin: 0;
}

.business-audit-types {
  margin-top: 50px;
}

.business-audit-types h3 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 400;
  color: #78848d;
}

.business-audit-types ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dfe4e7;
}

.business-audit-types li {
  padding: 15px 0;
  border-bottom: 1px solid #dfe4e7;
  font-size: 13px;
}

/* Mobile */
@media (max-width: 768px) {

  .business-hero {
    padding: 65px 0 60px;
  }

  .business-page-title {
    font-size: 34px;
  }

  .business-section {
    padding: 70px 0;
  }

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

  .business-service-heading {
    gap: 18px;
  }

  .business-service-title {
    font-size: 22px;
  }

  .business-service-body {
    max-width: none;
  }
}

/* ========================================
   INSIGHTS
======================================== */

.insights-hero {
  padding: 90px 0 85px;
  border-bottom: 1px solid #e4e8eb;
}

.insights-page-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 46px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.16em;
  color: #18324a;
}

.insights-page-title-ja {
  margin: 14px 0 0;
  font-size: 13px;
  color: #78848d;
}


/* List
---------------------------------------- */

.insights-list-section {
  padding: 95px 0 110px;
}

.insights-list {
  max-width: 820px;
}

.insights-item {
  border-top: 1px solid #dfe4e7;
}

.insights-item:last-of-type {
  border-bottom: 1px solid #dfe4e7;
}

.insights-item-link {
  display: block;
  padding: 32px 0 34px;
  color: inherit;
  text-decoration: none;
}

.insights-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #8b969e;
}

.insights-category {
  text-transform: uppercase;
}

.insights-item-title {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #18324a;
}

.insights-item-link:hover .insights-item-title {
  opacity: 0.65;
}


/* Pagination
---------------------------------------- */

.insights-pagination {
  margin-top: 55px;
}

.insights-pagination .nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.insights-pagination .page-numbers {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #78848d;
  text-decoration: none;
}

.insights-pagination .page-numbers.current {
  color: #18324a;
}


/* Empty
---------------------------------------- */

.insights-empty {
  margin: 0;
  font-size: 14px;
  color: #78848d;
}


/* Mobile
---------------------------------------- */

@media (max-width: 768px) {

  .insights-hero {
    padding: 65px 0 60px;
  }

  .insights-page-title {
    font-size: 34px;
  }

  .insights-list-section {
    padding: 70px 0 80px;
  }

  .insights-list {
    max-width: none;
  }

  .insights-item-link {
    padding: 25px 0 27px;
  }

  .insights-meta {
    gap: 18px;
    margin-bottom: 11px;
  }

  .insights-item-title {
   font-size: 18px;
  }
}

/* ========================================
   SINGLE INSIGHT
======================================== */

.single-insight-section {
  padding: 65px 0 90px;
}

.single-insight-article {
  max-width: 820px;
}

.single-insight-header {
  padding-bottom: 28px;
  border-bottom: 1px solid #dfe4e7;
}

.single-insight-title {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #18324a;
}

.single-insight-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #8b969e;
}


/* Article Body
---------------------------------------- */

.single-insight-content {
  padding: 38px 0 55px;
  font-size: 16px;
  line-height: 2;
  color: #243746;
}

.single-insight-content p {
  margin: 0 0 1.8em;
}

.single-insight-content h2 {
  margin: 3em 0 1.2em;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  color: #18324a;
}

.single-insight-content h3 {
  margin: 2.5em 0 1em;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #18324a;
}

.single-insight-content ul,
.single-insight-content ol {
  margin: 0 0 1.8em;
  padding-left: 1.5em;
}

.single-insight-content a {
  color: #18324a;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Reference
---------------------------------------- */

.single-insight-content .insight-reference {
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid #dfe4e7;
}

.single-insight-content .insight-reference-heading {
  margin: 0 0 12px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: #18324a;
}

.single-insight-content .insight-reference-heading span {
  margin-left: 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #8b969e;
}

.single-insight-content .insight-reference-title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.8;
  color: #243746;
}

.single-insight-content .insight-reference-source {
  margin: 0 0 2px;
  font-size: 16px;
  line-height: 1.8;
  color: #243746;
}

.single-insight-content .insight-reference-url {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #8b969e;
  overflow-wrap: anywhere;
}

/* Reference内の各行の間隔を統一 */
.insight-reference-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.insight-reference-content p {
    margin: 0;
}


/* Back
---------------------------------------- */

.single-insight-footer {
  padding-top: 30px;
  border-top: 1px solid #dfe4e7;
}

.single-insight-footer a {
  font-size: 13px;
  color: #78848d;
  text-decoration: none;
}

.single-insight-footer a:hover {
  color: #18324a;
}


/* Mobile
---------------------------------------- */

@media (max-width: 768px) {

  .single-insight-section {
    padding: 70px 0 80px;
  }

  .single-insight-title {
    font-size: 24px;
  }

  .single-insight-content {
    padding: 40px 0 55px;
    font-size: 15px;
  }

  .single-insight-content h2 {
    font-size: 20px;
  }

  .single-insight-content h3 {
    font-size: 17px;
  }
}

/* =========================
   CONTACT
========================= */

/* Page Header */
.contact-hero {
  padding: 72px 0 68px;
  border-bottom: 1px solid #e3e7ea;
}

.contact-page-title {
  margin: 0;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.2;
  color: #0b2b47;
}

.contact-page-title-ja {
  margin: 12px 0 0;
  font-size: 11px;
  color: #8a949d;
}

/* Contact Content */
.contact-section {
  padding: 72px 0 88px;
}

.contact-content {
  max-width: 720px;
}

.contact-lead {
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 1.9;
  color: #0b2b47;
}

.contact-info {
  border-top: 1px solid #dfe4e8;
  border-bottom: 1px solid #dfe4e8;
}

.contact-hours,
.contact-tel {
  display: flex;
  align-items: baseline;
  padding: 20px 0;
}

.contact-hours {
  border-bottom: 1px solid #dfe4e8;
}

.contact-label {
  width: 100px;
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #8a949d;
}

.contact-detail {
  display: flex;
  align-items: baseline;
}

.contact-value {
  font-size: 15px;
  color: #0b2b47;
}

.contact-note {
  margin-left: 12px;
  font-size: 12px;
  color: #8a949d;
}

.contact-number {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #0b2b47;
  text-decoration: none;
}

.contact-number:hover {
  opacity: 0.65;
}

/* Mobile */
@media (max-width: 767px) {

  .contact-hero {
    padding: 48px 0 44px;
  }

  .contact-page-title {
    font-size: 28px;
  }

  .contact-section {
    padding: 48px 0 64px;
  }

  .contact-content {
    max-width: none;
  }

  .contact-lead {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .contact-hours,
  .contact-tel {
    display: block;
    padding: 18px 0;
  }

  .contact-label {
    display: block;
    width: auto;
    margin-bottom: 7px;
  }

  .contact-detail {
    display: block;
  }

  .contact-note {
    display: block;
    margin: 4px 0 0;
  }

  .contact-number {
    font-size: 20px;
  }
}

/* ==================================================
   Privacy Policy
================================================== */

.privacy-section {
  padding: 72px 0 96px;
}

.privacy-content {
  max-width: 660px;
}

.privacy-lead {
  margin: 0 0 56px;
  font-size: 14px;
  line-height: 2;
}

.privacy-item {
  margin: 0 0 48px;
}

.privacy-item:last-child {
  margin-bottom: 0;
}

.privacy-item h2 {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: #0b2948;
}

.privacy-item p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 2;
}

.privacy-item p:last-child {
  margin-bottom: 0;
}

.privacy-item ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-item li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.9;
}

.privacy-item li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.privacy-contact {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #dfe5ea;
}


/* Mobile
-------------------------------------------------- */

@media (max-width: 767px) {

  .privacy-section {
    padding: 48px 0 64px;
  }

  .privacy-content {
    max-width: none;
  }

  .privacy-lead {
    margin-bottom: 40px;
    font-size: 13px;
    line-height: 1.9;
  }

  .privacy-item {
    margin-bottom: 36px;
  }

  .privacy-item h2 {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .privacy-item p,
  .privacy-item li {
    font-size: 13px;
    line-height: 1.9;
  }

  .privacy-contact {
    margin-top: 20px;
    padding-top: 18px;
  }

}

/* =========================
   COMMON PAGE HERO / TITLE
========================= */

.company-hero,
.business-hero,
.insights-hero,
.contact-hero,
.privacy-hero {
  padding: 90px 0 85px;
  border-bottom: 1px solid #e4e8eb;
}

.company-page-title,
.business-page-title,
.contact-page-title,
.insights-page-title,
.privacy-page-title {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.18em;
  color: #0b2b47;
}

.company-page-title-ja,
.business-page-title-ja,
.contact-page-title-ja,
.insights-page-title-ja,
.privacy.page-title-ja {
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .06em;
  color: #8a949d;
}

@media (max-width: 767px) {

  .company-hero,
  .business-hero,
  .insights-hero,
  .contact-hero,
  .privacy-hero {
    padding: 65px 0 60px;
  }

  .company-page-title,
  .business-page-title,
  .contact-page-title,
  .insights-page-title,
  .privacy-page-title {
    font-size: 30px;
  }
}

/* =========================
   Hero - Mobile
   ========================= */
@media (max-width: 768px) {

  .hero {
    min-height: 420px;
    position: relative;
    overflow: hidden;
  }

  .hero-copy {
    position: absolute;
    top: 150px;
    left: 24px;
    width: auto;
    transform: none;
    z-index: 2;
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.7;
    letter-spacing: 0.04em;
  }

  .hero-layers {
    position: absolute;

    /* SVGの縦横比を維持する */
    width: 900px;
    height: auto;

    /* 波をヒーロー下部へ */
    left: 0px;
    bottom: 25px;

    /* inset / object-fit を解除 */
    top: auto;
    right: auto;
    object-fit: initial;

    z-index: 1;
    pointer-events: none;
  }

}