/*
Theme Name: ヤマウ鳥谷部商店
Description: ヤマウ鳥谷部商店のトップページと賃貸オフィスページ。
Version: 1.0.5
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: yamau-preview
*/
:root {
  --navy: #022150;
  --ink: #0b1524;
  --gold: #c39b45;
  --muted: #5c6774;
  --band: #f2f5f8;
  --line: #d1d5db;
  --gutter: clamp(24px, 4.45vw, 64px);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; line-height: 1.6; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
h2 { font-size: 36px; line-height: 1.3; }
h3 { font-size: 24px; line-height: 1.3; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1312px); margin-inline: auto; }
.header { min-height: 96px; padding: 20px clamp(24px, 3.3vw, 47px); display: flex; align-items: center; gap: 27px; border-bottom: 1px solid var(--line); }
.header nav { display: flex; gap: clamp(10px, 2vw, 30px); align-items: center; margin-left: auto; font-size: 16px; font-weight: 600; }
.header nav[hidden] { display: none; }
.menu-toggle, .mobile-call { display: none; }
.header nav a, .phone { white-space: nowrap; }
.logo { display: inline-flex; align-items: center; width: 161px; height: 43px; flex: none; }
.logo img { display: block; width: 100%; height: auto; }
.mail-link::before { content: ""; display: inline-block; width: 16px; height: 12px; margin-right: 5px; background: url("assets/08748.svg") center no-repeat; }
.phone { display: inline-flex; justify-content: center; align-items: center; gap: 8px; background: var(--gold); color: white; text-align: center; line-height: 1.2; font-size: 11px; }
.phone strong { display: block; font-family: Archivo, Arial, sans-serif; font-size: 24px; letter-spacing: .02em; }
.phone::before { content: ""; flex: none; width: 27px; height: 27px; background: var(--phone-icon) center no-repeat; }
.phone--header { --phone-icon: url("assets/61064.svg"); min-width: 215px; min-height: 53px; padding: 8px 16px; }
.breadcrumb { height: 58px; display: flex; align-items: center; color: var(--muted); font-size: 14px; }
.hero { min-height: 685px; display: flex; align-items: center; color: white; background: linear-gradient(90deg, #02215075, #02215047 62%, transparent), url("assets/hero-aomori-yanagimachi.jpg") 33.33% 0 / 100.48% 100.62% no-repeat, #415c7d; }
.hero__content { width: min(calc(100% - 2 * clamp(24px, 3.75vw, 54px)), 1332px); padding-block: 42px; }
.hero h1 { font-size: clamp(38px, 4.17vw, 60px); line-height: 1.37; }
.hero h1 + p { margin-top: 14px; font-size: 22px; line-height: 38px; font-weight: 700; }
.hero__call { margin: 32px 0 5px; font-size: 17px; line-height: 38px; font-weight: 900; }
.phone--hero { --phone-icon: url("assets/233f3.svg"); width: min(100%, 384px); min-height: 92px; border-radius: 5px; gap: 10px; }
.phone--hero::before { width: 50px; height: 50px; }
.phone--hero strong { font-size: 30px; }
.phone--hero small { display: block; margin-top: 8px; font-size: 14px; }
.campaign { padding-block: 39.5px; }
.campaign__panel { min-height: 332px; display: grid; align-content: center; justify-content: center; padding: 25px; background: url("assets/free-rent-campaign-background.jpg") 52.77% 27.13% / 106% 316% no-repeat, linear-gradient(112deg, #f2f1ef 12%, #cbb27d 12.15%, #e9e7e4 12.45%, white 46%, #eae9e7 88%, #cbb27d 88.2%, #f2f1ef 88.5%); color: var(--navy); }
.campaign__label { display: flex; align-items: center; gap: 20px; font-size: 21px; color: var(--muted); }
.campaign__label::after { content: ""; width: 49px; height: 1px; background: url("assets/03d9e.svg") center no-repeat; }
.campaign__label span { background: var(--navy); color: white; font-size: 20px; font-weight: 700; padding: 4px 12px; }
.campaign h2 { font-size: clamp(35px, 4.05vw, 58px); white-space: nowrap; }
.campaign em { display: inline-flex; align-items: baseline; color: var(--gold); font-size: .68em; font-style: normal; }
.campaign em b { font-family: Georgia, serif; font-size: 3em; font-weight: 400; line-height: .95; }
.campaign__details { display: flex; align-items: center; justify-content: center; gap: 28px; text-align: center; color: var(--muted); }
.campaign__details strong { color: var(--navy); font-size: 24px; }
.campaign__phone { padding: 9px 28px; border-radius: 40px; white-space: nowrap; background: linear-gradient(90deg, #be8b31, #d6a947, #be8b31); color: white; font: 700 26px/1.3 Archivo, Arial, sans-serif; }
.eyebrow { color: var(--gold); font: 700 18px/1.45 Archivo, Arial, sans-serif; }
.muted { color: var(--muted); }
.office { padding-block: 49px 23px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 35px; }
.section-head .muted { font-size: 18px; }
.grid-three, .grid-two { display: grid; gap: 24px; }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.property { display: flex; flex-direction: column; min-height: 695px; padding: 18px 18px 36px; background: #f8fafb; box-shadow: 0 2px 15px #02215012; }
.property__image { height: 240px; margin-top: 156px; background-color: #e7edf3; background-repeat: no-repeat; }
.property__image--yamau { background-image: url("assets/94af7-hq.jpg"), url("assets/50cb6-hq.jpg"); background-position: center, center; background-size: 118.46% 118.46%, cover; }
.property__image--yanagimachi { height: 245px; margin-top: 152px; background-image: url("assets/aee77-hq.jpg"), url("assets/4845f-hq.jpg"); background-position: 95.5% 75%, center; background-size: 107.4% 106.6%, cover; }
.property__image--shindo { height: 382px; margin-top: 24px; background-image: url("assets/shindo-office.jpg"); background-size: 109.27% 128.5%; background-position: 48% bottom; }
.property h3 { margin-top: 22px; }
.property p { margin-top: 8px; color: var(--muted); }
.property .property__equipment { border-top: 1px solid var(--muted); padding-top: 12px; width: min(100%, 300px); }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-size: 17px; font-weight: 700; }
.arrow-link::after { content: ""; width: 35px; height: 35px; flex: none; background: url("assets/2ae8b.svg") center no-repeat; }
.property .arrow-link { margin-top: auto; align-self: flex-end; }
.office__contact { margin-top: 24px; min-height: 120px; padding: 18px 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 23px; font-weight: 700; border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.phone--outline::before { width: 29px; height: 29px; }
.phone--outline { --phone-icon: url("assets/36442.svg"); min-width: 270px; min-height: 68px; border: 1px solid var(--navy); color: var(--navy); background: white; }
.band { background: var(--band); padding-block: 55px; }
.history, .trust { min-height: 560px; padding: 25px 32px; }
.history { padding-top: 45px; color: white; background: linear-gradient(#031c43b8, #031c43b8), url("assets/history-hq.jpg") center / 100% 100% no-repeat, #234367; }
.history h2 { font-size: 24px; padding-bottom: 21px; background: url("assets/c02f4.svg") left bottom no-repeat; }
.history dl { margin-top: 20px; padding-left: 23px; background: url("assets/8ef2d.svg") left 4px no-repeat, url("assets/9a776.svg") 3px 8px no-repeat; }
.history dl div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; position: relative; min-height: 39px; }
.history dl div:nth-last-child(-n+2)::before { content: ""; position: absolute; top: 4px; left: -23px; width: 8px; height: 8px; background: url("assets/f50f0.svg") center no-repeat; }
.history dt { font: 700 21px/1.4 Archivo, Arial, sans-serif; }
.history dl div:last-child dt { color: var(--gold); }
.trust { background: white; }
.trust .muted { margin-top: 14px; font-size: 19px; }
.trust ol { list-style: none; counter-reset: trust; border-top: 1px solid var(--line); margin-top: 16px; padding: 12px 0 0; font-size: 23px; font-weight: 700; }
.trust li { counter-increment: trust; display: flex; gap: 18px; padding-block: 4px; }
.trust li::before { content: counter(trust, decimal-leading-zero); color: var(--gold); }
.services { padding-block: 30px 28px; }
.services .grid-three { margin-top: 14px; }
.service { border: 1px solid var(--line); }
.service__image, .warehouse__image { background-color: #e7edf3; background-repeat: no-repeat; }
.service__image { height: 214px; }
.service__image--meeting { background-image: url("assets/9bb81.jpg"); background-size: 100% 117.94%; background-position: bottom; }
.service__image--storage { background-image: url("assets/5b1d4.jpg"); background-size: 100% 117.94%; background-position: 0 49.22%; }
.service__image--parking { background-image: url("assets/parking-restored.webp"); background-size: cover; background-position: center; }
.service > div:nth-child(2) { padding: 12px 18px 18px; }
.service p { margin: 8px 0 15px; padding-top: 8px; color: var(--muted); background: url("assets/c02f4.svg") left top no-repeat; }
.pending { display: grid; place-items: center; min-height: 43px; border: 1px solid #e0e4e9; border-radius: 4px; background: var(--band); color: var(--muted); font-size: 15px; }
.warehouse { padding-block: 55px; }
.warehouse__panel { display: grid; grid-template-columns: 48% 52%; min-height: 283px; border-left: 4px solid var(--gold); box-shadow: 0 0 0 1px #edf0f3; }
.warehouse__text { padding: 38px 55px; align-self: center; }
.warehouse__text .pending { margin-top: 18px; width: 235px; min-height: 58px; }
.warehouse__image { background-image: url("assets/warehouse-maruyama-restored.webp"); background-size: 108.09% 175.69%; background-position: 83.6% 63.65%; }
.news, .contact { min-height: 370px; padding: 35px 40px; }
.news { background: white; }
.news ul { list-style: none; padding: 10px 0 0; }
.news li { display: flex; gap: 20px; padding: 11px 0; border-top: 1px solid var(--line); }
.news li span { color: var(--muted); flex: none; }
.news__link { display: inline-block; color: var(--navy); font-weight: 700; margin-top: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--navy); }
.contact { color: white; background: var(--navy); }
.contact__label { margin-top: 20px; }
.contact a { font: 700 38px/1.2 Archivo, Arial, sans-serif; letter-spacing: .03em; }
.footer { background: var(--navy); color: white; padding-block: 35px; }
.footer__inner, .footer nav { display: flex; justify-content: space-between; gap: 40px; }
.footer .logo { width: 180px; height: 66px; background-color: white; padding: 9px;  }
.footer address { margin-top: 14px; font-size: 14px; font-style: normal; }
.footer nav { font-size: 18px; }
.footer nav div { display: grid; align-content: start; gap: 12px; }
@media (max-width: 1170px) {
  .header { flex-wrap: wrap; gap: 12px 20px; }
  .header nav { order: 1; justify-content: space-between; flex-wrap: wrap; width: 100%; }
  .phone--header { margin-left: auto; }
  .campaign h2 { white-space: normal; }
  .trust ol { font-size: 19px; }
}
@media (max-width: 760px) {
  .breadcrumb { display: none; }
  h2 { font-size: 28px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .header {
    min-height: 72px;
    padding: 10px max(24px, env(safe-area-inset-right)) 10px max(24px, env(safe-area-inset-left));
    justify-content: space-between;
    gap: 0;
  }
  .header .phone--header { display: none; }
  .menu-toggle:not([hidden]) {
    display: grid;
    min-width: 48px;
    min-height: 48px;
    place-content: center;
    justify-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
  }
  .menu-toggle:focus-visible { outline: 3px solid var(--gold); }
  .menu-toggle__icon {
    width: 24px;
    height: 16px;
    position: relative;
    border-block: 2px solid currentColor;
  }
  .menu-toggle__icon::before, .menu-toggle__icon::after {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    border-top: 2px solid currentColor;
    transform: translateY(-50%);
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon { border-color: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(-50%) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: translateY(-50%) rotate(-45deg); }
  .header nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 10px;
    border-top: 1px solid var(--line);
  }
  .header nav a { padding: 10px 4px; min-height: 44px; }
  .header nav a + a { border-top: 1px solid var(--line); }
  .mobile-call {
    position: fixed;
    inset: auto 0 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    padding: 8px max(16px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: var(--navy);
  }
  .mobile-call__button {
    --phone-icon: url("assets/61064.svg");
    width: min(100%, 420px);
    min-height: 60px;
    border-radius: 4px;
    background-color: #94702e;
  }
  .mobile-call__button strong { font-size: 22px; }
  .mobile-call__button:focus-visible { outline-color: white; }
  .hero { min-height: 535px; background-size: auto, cover; background-position: center; }
  .hero h1 + p { font-size: 17px; line-height: 1.8; }
  .hero h1 + p br, .trust .muted br { display: none; }
  .campaign { padding-block: 24px 44px; }
  .campaign__label { flex-wrap: wrap; font-size: 15px; }
  .campaign__label::after { display: none; }
  .campaign__details, .office__contact, .section-head, .footer__inner { flex-direction: column; align-items: flex-start; }
  .campaign__details { margin-top: 12px; gap: 12px; text-align: left; }
  .campaign__details strong { font-size: 18px; }
  .grid-three, .grid-two, .warehouse__panel { grid-template-columns: 1fr; }
  .property { min-height: 0; }
  .property__image { height: clamp(245px, 65vw, 385px); margin-top: 0; }
  .property .arrow-link { margin-top: 24px; }
  .office__contact, .warehouse__text, .history, .trust, .news, .contact { padding: 24px; }
  .history, .trust, .news, .contact { min-height: 0; }
  .warehouse__image { min-height: 210px; }
  .footer nav { flex-wrap: wrap; gap: 20px; font-size: 15px; }
}
@media (max-width: 400px) {
  .header { padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right)); }
  .header .logo { width: 130px; }
  .phone--outline { min-width: min(100%, 250px); }
}

.news-page { padding-block: 48px; max-width: 860px; }
.news-page .news { min-height: 0; padding: 0; }
