/* ===========================================
   Header
   =========================================== */

.header .inner .link.logo {
  max-width: unset;
  max-height: unset;
  width: 172px;
  height: 35px;
}

.header .inner .link.logo img {
  width: 100%;
  height: auto;
}

@media (min-width: 890px) {
  .header .inner .link.logo {
    max-width: unset;
    max-height: unset;
    width: 310px;
    height: 63px;
  }
}

/* ===========================================
   Navigation
   =========================================== */

/* Hamburger menu (open state) */
.menu-open :where(.hamburger-menu) .item {
  background-color: var(--navigation-text-color);
}
.navigation .contents .block .list .heading {
  font-size: var(--text-sm);
}

/* 768px〜889px: 親テーマのデスクトップレイアウトを上書きしモバイル表示を維持 */
@media (min-width: 768px) and (max-width: 889px) {
  .navigation .contents {
    padding: 40px var(--content-spacing);
  }

  .navigation .contents .block {
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
    padding-block: 24px;
    grid-template-columns: unset;
    align-items: unset;
  }

  .navigation .contents .block .heading {
    font-size: var(--text-sm);
  }

  .navigation .contents .block .list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-lg);
    grid-template-columns: unset;
  }
}

/* 890px以上: デスクトップレイアウト */
@media (min-width: 890px) {
  .navigation .contents {
    padding: 60px var(--navigation-spacing);
  }

  .navigation .contents .block {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
  }

  .navigation .contents .block .list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================================
   Footer
   =========================================== */
.footer {
  column-gap: var(--gap-lg);
}
.footer .copyright-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.footer .snsIconColorVer {
  display: flex;
  gap: 20px;
  justify-content: center;
  @media (max-width: 767px) {
    display: none;
  }
}
.footer .snsIconColorVer .link {
  display: block;
  width: 30px;
  height: 30px;
}
.footer .snsIconColorVer .link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.footer .copyright {
  grid-column: span 2;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-gray-color);
  padding-block: var(--p-md);
}
.footer .copyright .link {
  text-decoration: none;
  color: var(--text-gray-color);
}
/* Footer contact info - PC layout matching Figma */
.footer .information .contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer .information .tel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: -moz-fit-content;
  width: fit-content;
  gap: var(--p-sm);
  font-size: 28px;
  font-weight: 400;
  line-height: normal;
}
.footer .information .logo:hover {
  opacity: 0.7;
}
.footer .information .tel::before {
  font: var(--fa-font-solid);
  content: '\f095';
  display: inline-block;
  padding-top: var(--p-md);
  font-size: var(--text-lg);
}
.footer .information .tel:hover {
  color: var(--main-color);
}
.footer .information .tel:hover::before {
  color: var(--main-color);
}
@media (min-width: 768px) {
  .footer .copyright-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    grid-column: 1 / -1;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .footer .information .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .footer .snsIconColorVer {
    justify-content: flex-end;
  }

  .footer .information .logo {
    width: unset;
    height: unset;
  }

  .footer .information .text {
    gap: 0 0px;
  }

  .footer .information .tel {
    font-size: 28px;
    line-height: 1.2em;
  }

  .footer .information .tel::before {
    padding-top: 4px;
  }

  .footer .information .address {
    font-size: 12px;
    line-height: 1.5em;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .footer .information .text {
    font-size: 12px;
    line-height: 1.5em;
  }
}

@media (min-width: 1020px) {
  .footer .information .contact-info {
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
  }
}

/* ===========================================
   First view (Mac Chrome)
   =========================================== */

@keyframes slideAnime-no-scale {
  0% {
    opacity: 0;
    z-index: 10;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    z-index: 1;
  }
}

.is-mac-chrome .fv .picture01 {
  animation-name: slideAnime-no-scale;
  animation-duration: 24s;
  animation-iteration-count: infinite;
  animation-delay: 0s;
}

.is-mac-chrome .fv .picture02 {
  animation-name: slideAnime-no-scale;
  animation-duration: 24s;
  animation-iteration-count: infinite;
  animation-delay: 8s;
}

.is-mac-chrome .fv .picture03 {
  animation-name: slideAnime-no-scale;
  animation-duration: 24s;
  animation-iteration-count: infinite;
  animation-delay: 16s;
}

.is-mac-chrome .fv .title {
  z-index: 11;
}

/* ===========================================
   News
   =========================================== */

.post-news .title,
.post-news .title a,
.post-news .heading .link {
  cursor: pointer;
}

/* ===========================================
   About Us page
   =========================================== */

.page-profile .page-contents {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg, 20px);
}

.page-profile .about-imgs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.page-profile .about-imgs .img {
  width: 254px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  flex: 0 1 254px;
}

@media (min-width: 890px) {
  .page-profile .page-contents {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-lg, 20px);
  }

  .page-profile .table {
    flex: 1;
    max-width: calc(100% - 274px);
  }

  .page-profile .about-imgs {
    flex-direction: column;
    flex-wrap: nowrap;
    flex-shrink: 0;
    width: 254px;
    align-self: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .page-profile .about-imgs .img {
    width: 254px;
    max-width: 254px;
    flex: 0 0 auto;
  }
}

/* ===========================================
   intermediary
   =========================================== */
.access-denied {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
  background: none;
  color: #999;
  border: none;
}

.access-denied::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  display: block;
  height: 10px;
  width: 100%;
  margin: 0 auto;
  background-color: #ccc;
  border-radius: 5px;
}

.access-denied::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  display: block;
  height: 10px;
  width: 100%;
  margin: 0 auto;
  background-color: #999;
  border-radius: 5px;
  animation: loading 2s ease-out;
}

@keyframes loading {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.login-description {
  word-break: keep-all;
}

.intermediary-login-form {
  width: 100%;
}
.download-section,
.download-item {
  width: 100%;
}

/* ===========================================
   property search
   =========================================== */
.property-search-form-submit {
  background: #e2e2e2;
}
.property-search-form-submit #property-search-clear-button {
  background: #667cad;
  box-shadow: 0px 2px 0px 0px #3e4b69;
}

/* ===========================================
   CTA Contact Section (section-cta template)
   =========================================== */
.contact .contact-inner {
  box-sizing: border-box;
  border: solid 3px #cbb372;
  text-align: center;
}
.contact .title {
  font-size: 15px;
  background: #cbb372;
  text-align: center;
  color: #fff;
  font-weight: bold;
  line-height: 1.5;
  padding: 8px 5px;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
}
.contact .block {
  background: #f0eed7;
  padding: 15px;
}
.contact .block .tel-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap-sm);
  margin-bottom: 5px;
}
.contact .block .tel-wrapper::before {
  font: var(--fa-font-solid);
  content: '\f095';
  display: inline-block;
  padding-top: var(--p-md);
  font-size: var(--text-lg);
}
.contact .block .tel-wrapper .tel {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(26px, 8.3vw, 32px);
}
.contact .block .tel-wrapper:hover {
  color: var(--main-color);
}
.contact .block .tel-wrapper:hover .tel {
  color: var(--main-color);
}
.contact .block .information {
  color: #333;
  line-height: 1.5;
  font-size: 12px;
}
.contact .block .information .span {
  display: inline-block;
}
.contact .block .mail-wrapper {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}
.contact .block .mail-wrapper .mail {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 80px;
  background: #f9f9f9;
  border: 2px solid #e2e2e2;
  border-radius: 3px;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding-inline: var(--p-lg);
  max-width: 320px;
}
.contact .block .mail-wrapper .mail .span {
  margin-bottom: 2px;
  width: auto;
  padding-left: unset;
}
.contact .block .mail-wrapper .mail::before {
  font: var(--fa-font-solid);
  content: '\f0e0';
  display: inline-block;
  font-size: var(--text-xxl);
}
.contact .block .mail-wrapper .mail::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
}
.contact .block .mail-wrapper .mail:hover {
  transition: 0.3s;
  border-color: var(--main-color);
  background-color: var(--main-color);
  color: var(--text-contrast-color);
}
.contact .block .mail-wrapper .mail:hover::after {
  border-color: var(--text-contrast-color);
}
@media (min-width: 768px) {
  .contact {
    width: 100%;
    padding-inline-start: 0;
    padding-inline-end: 0;
    margin-top: 50px;
  }
}
@media (min-width: 800px) {
  .contact .title {
    flex-direction: row;
    justify-content: center;
    font-size: var(--text-lg);
  }
  .contact .block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 58px 20px 1fr;
    -moz-column-gap: var(--gap-xxl);
    column-gap: var(--gap-xxl);
  }
  .contact .block .tel-wrapper {
    grid-column: 1;
    grid-area: 2;
    margin-bottom: 0;
    justify-content: center;
    font-size: var(--text-xxxl);
  }
  .contact .block .tel-wrapper .tel {
    font-size: var(--text-xxxl);
  }
  .contact .block .information {
    grid-column: 1;
    grid-area: 3;
    font-size: 0.75rem;
    text-align: center;
  }
  .contact .block .mail-wrapper {
    grid-column: 2;
    grid-area: span 4;
    max-width: 400px;
  }
  .contact .block .mail-wrapper .mail {
    height: 100px;
    font-size: var(--text-xl);
    background-position: 30px 50%;
    line-height: 1;
    max-width: 400px;
    gap: 16px;
  }
}
@media (min-width: 900px) {
  .contact .block .information {
    font-size: var(--text-sm);
  }
}
