@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #f3f6ef;
  --sage-wash: #e8eee2;
  --white: #ffffff;
  --ink: #263749;
  --muted: #4c5f73;
  --blue: #35638b;
  --pale-blue: #e3effa;
  --line: #cfdeed;
  font-family: Inter, 'Noto Sans JP', 'Yu Gothic', sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
body { line-height: 1.85; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 2px solid #285986; outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }
#top { scroll-margin-top: 0; }
.wrap { width: min(1160px, 100% - 88px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 8px 16px; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: none; }

.top { background: var(--white); border-bottom: 1px solid var(--line); }
.header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 14px 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.05rem; font-weight: 700; letter-spacing: .045em; text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; width: 66px; height: 66px; border: 1px solid var(--line); border-radius: 50%; object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: .85rem; font-weight: 600; }
nav > a:not(.button) { text-decoration: none; }
nav > a:not(.button):hover { text-decoration: underline; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 20px; border: 1px solid transparent; border-radius: 99px; text-decoration: none; font-size: .9rem; font-weight: 700; }
.button:hover { text-decoration: underline; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #284e71; }
.outline { border-color: #7796b3; color: var(--blue); background: var(--white); }

.hero { padding-block: 42px 50px; background: linear-gradient(112deg, var(--sage-wash), var(--paper) 62%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: clamp(26px, 5vw, 72px); }
.hero-copy { container-type: inline-size; }
.hero-label { display: inline-block; border-radius: 99px; background: var(--pale-blue); color: var(--blue); padding: 5px 13px; font-size: .82rem; font-weight: 600; }
h1, h2 { font-weight: 700; }
h1 { margin-block: 19px 20px; font-size: min(9cqi, 3.25rem); line-height: 1.44; letter-spacing: .035em; }
.hero-copy > p:not(.hero-label) { max-width: 29em; color: var(--muted); line-height: 2.04; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero-photo img { display: block; width: 100%; height: clamp(330px, 37vw, 485px); object-fit: cover; object-position: 50% 54%; border-radius: 47% 47% 22px 22px / 31% 31% 22px 22px; }
.hero-photo figcaption { padding-top: 7px; text-align: right; color: var(--muted); font-size: .74rem; }

.section { padding-block: 64px; }
h2 { font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.45; letter-spacing: .035em; }
h3 { font-size: 1.16rem; line-height: 1.5; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.centered { justify-content: center; text-align: center; }
.section p { color: var(--muted); }
.guide-grid, .post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card { position: relative; display: grid; align-content: center; gap: 5px; min-height: 120px; padding: 17px 50px 17px 22px; border: 1px solid transparent; border-radius: 20px; background: #f8e3d5; text-decoration: none; }
.guide-card:nth-child(2) { background: #f6ebce; }
.guide-card:nth-child(3) { background: #f4dfe5; }
.guide-card:hover { border-color: #7796b3; }
.guide-card:hover strong { text-decoration: underline; }
.guide-card strong { font-size: 1.12rem; line-height: 1.5; }
.guide-card > span:not(.round-arrow) { font-size: .82rem; color: var(--muted); }
.round-arrow { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--blue); }

.properties { background: var(--sage-wash); }
.property-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.property { padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.property-buy { background: #f8e7d6; border-color: #d9b796; }
.property-rent { background: var(--pale-blue); border-color: #a9c3dc; }
.property h3 { margin-bottom: 14px; }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 46px; padding: 7px 12px; border-radius: 10px; background: rgb(255 255 255 / 70%); color: var(--blue); text-decoration: none; font-size: .88rem; font-weight: 600; }
.links a:hover { background: var(--white); text-decoration: underline; }
.text-link, .service-list a { display: inline-block; color: var(--blue); font-size: .89rem; font-weight: 700; }
.text-link:hover, .service-list a:hover { text-decoration-thickness: 2px; }

.service-layout, .company { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); align-items: start; gap: clamp(24px, 6vw, 90px); }
.service-layout h2 + p, .company h2 + p { margin-top: 14px; }
.service-list { display: grid; gap: 12px; }
.service-list article { padding: 19px 22px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid #81a6c8; border-radius: 4px 18px 18px 4px; }
.service-list article:nth-child(2) { border-left-color: #789ab6; }
.service-list article:nth-child(3) { border-left-color: #909ec8; }
.service-list p { margin-block: 6px 8px; }
#instagram { border-top: 1px solid var(--line); }
#instagram-title { display: flex; align-items: center; gap: .35em; }
#instagram-title svg { flex: none; width: .9em; height: .9em; }
.post { display: flex; flex-direction: column; align-items: flex-start; }
.post h3 { margin-bottom: 8px; }
.instagram-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; margin-bottom: 14px; border-radius: 10px; background: var(--white); }
.post p { margin-bottom: 14px; font-size: .92rem; }
.post .text-link { margin-top: auto; }

.company { padding: 35px; margin-block: 0 64px; border-radius: 26px; background: var(--sage-wash); }
.company .text-link { margin-top: 10px; }
.company-page main { max-width: 900px; }
.company-page h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.company-intro { max-width: 42em; }
.company-details { margin-top: 24px; }
.company-details h2 { margin-bottom: 14px; }
.company-details > .text-link { margin-top: 12px; }
.company-details dd { overflow-wrap: anywhere; }
nav a[aria-current="page"] { text-decoration: underline; }
dl > div { display: grid; grid-template-columns: minmax(64px, .34fr) 1fr; gap: 10px; border-top: 1px solid var(--line); padding-block: 9px; }
dl > div:last-child { border-bottom: 1px solid var(--line); }
dt { font-weight: 700; }
.contact { padding-block: 57px; background: var(--sage-wash); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 25px 55px; }
.contact p { margin-top: 12px; color: var(--muted); }
.contact-links { display: grid; gap: 8px; }
.contact-links a { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 9px 15px; background: var(--white); color: var(--blue); text-decoration: none; }
.contact-links a:hover { border-color: var(--blue); }
.contact-links a > span:first-child { grid-column: 1 / -1; font-size: .77rem; }
.contact-links strong { font-size: clamp(1rem, 1.65vw, 1.25rem); overflow-wrap: anywhere; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 18px; padding-block: 22px; color: var(--muted); font-size: .8rem; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .guide-card { padding-left: 14px; padding-right: 39px; }
  .round-arrow { right: 8px; width: 25px; height: 25px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header { flex-wrap: wrap; padding-block: 9px 6px; gap: 6px; }
  .brand { font-size: 1rem; }
  .brand-logo { width: 54px; height: 54px; }
  nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 4px 9px; font-size: .74rem; }
  nav a { display: inline-flex; align-items: center; min-height: 44px; }
  nav .button { padding: 4px 9px; gap: 4px; min-height: 40px; font-size: .74rem; }
  .hero-inner, .guide-grid, .property-grid, .post-grid, .service-layout, .company, .contact-layout { grid-template-columns: 1fr; }
  .hero { padding-block: 26px 22px; }
  .hero-inner { gap: 22px; }
  h1 { margin-block: 13px 14px; }
  .hero-photo img { height: clamp(210px, 63vw, 380px); border-radius: 28px 28px 13px 13px; }
  .section { padding-block: 43px; }
  .guide-grid { gap: 8px; }
  .guide-card { min-height: 82px; padding: 12px 45px 12px 16px; border-radius: 14px; }
  .round-arrow { right: 13px; }
  .property, .service-list article { padding: 16px; }
  .company { padding: 22px 17px; margin-bottom: 43px; }
  .contact { padding-block: 40px; }
}
