@charset "UTF-8";
/* ========================================
CSS Variables
======================================== */
:root {
  --color-primary: #004098;
  --color-white: #FFFFFF;
  --color-gray: #7F7F7F;
  --color-gray-bg: #F4F4F4;
  --color-border: #D1D1D1;
  --color-light-blue: #DDE2E8;
  --color-light-selco-blue: #E5EDF9;
  --color-text: #333;
  --font-noto-sans: 'Noto Sans JP', sans-serif;
  --font-noto-serif: 'Noto Serif JP', serif;
  --font-libre: 'Libre Baskerville', serif;
  --swiper-theme-color: #004098;
  --swiper-pagination-bullet-inactive-color: #666;
}

/* ========================================
Reset & Base
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-noto-sans);
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

@media (max-width: 768px) {
  #cmsmenu {
    display: none;
  }
}
/* ========================================
Header
======================================== */
.header {
  background: var(--color-white);
  position: fixed;
  z-index: 50;
  width: 100%;
}
@media (max-width: 768px) {
  .header {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  }
}
.header .header__container {
  max-width: none;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 50px;
}
.header .header__logo {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
@media (max-width: 1100px) {
  .header .header__logo {
    gap: 3px;
    flex-direction: column;
    align-items: flex-start;
  }
}
.header .header__logo img {
  width: 192px;
  height: 53px;
}
.header .header__logo-main {
  margin: 0;
  flex: 0 0 192px;
  line-height: 1;
  display: flex;
}
@media (max-width: 1100px) {
  .header .header__logo-main {
    flex-basis: auto;
  }
}
.header .header__logo-sub {
  padding-top: 5px;
  padding-bottom: 1px;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .header .header__logo-sub {
    padding-top: 0;
    padding-left: 30px;
  }
}
.header .header__menu-box {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 12px;
}
.header .header__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (min-width: 769px) {
  .header .header__sns {
    padding-right: 10px;
  }
}
.header .header__sns ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.header .header__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
}
@media (max-width: 768px) {
  .header .header__sns ul.sns-items-5 .header__sns-link {
    width: 20px;
    height: 20px;
  }
  .header .header__sns ul.sns-items-6 .header__sns-link {
    width: 15px;
    height: 15px;
  }
}
.header .header__menu {
  display: flex;
  gap: 10px;
}
.header .header__menu-btn {
  flex: 0 0 120px;
}
.header .header__menu-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  height: 26px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.header .header__hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  gap: 7px;
}
.header .header__hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #717171;
  transition: all 0.3s ease;
}
.header .header__hamburger span:not(.header__hamburger-text):first-child {
  transform-origin: center;
}
.header .header__hamburger span:not(.header__hamburger-text):nth-child(2) {
  transform-origin: center;
}
.header .header__hamburger .header__hamburger-text {
  padding-top: 5px;
  font-size: 8.5px;
  font-weight: bold;
  color: #717171;
  height: auto;
  background: none;
  font-family: Arial, sans-serif;
}
.header .header__hamburger.active span:not(.header__hamburger-text):first-child {
  transform: translateY(9px) rotate(45deg);
}
.header .header__hamburger.active span:not(.header__hamburger-text):nth-child(2) {
  transform: translateY(0) rotate(-45deg);
}

@media (max-width: 768px) {
  .header .header__container {
    padding: 0 10px;
    height: 66px;
  }
  .header .header__logo {
    flex-direction: column-reverse;
  }
  .header .header__logo-main img {
    width: 144px;
    height: 40px;
  }
  .header .header__logo-sub {
    padding-left: 0;
    font-size: 10px;
    line-height: 1.2;
  }
  .header .sp_wrap {
    display: block;
  }
  .header .header__menu-box {
    gap: 15px;
    margin-top: 16px;
  }
  .header .header__nav {
    display: flex;
    gap: 10px;
  }
  .header .header__menu {
    display: none;
  }
  .header .header__hamburger {
    display: flex;
  }
}
/* ========================================
Global Navigation
======================================== */
.global-nav {
  background: var(--color-light-blue);
  padding: 16px 0;
}
.global-nav .global-nav__list {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 960px) {
  .global-nav .global-nav__list {
    gap: 0;
  }
}
@media (max-width: 768px) {
  .global-nav .global-nav__list {
    gap: 0;
  }
}
.global-nav .global-nav__list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 26px;
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .global-nav .global-nav__list li a {
    min-width: 77px;
    padding: 4px 3px;
  }
}
@media (max-width: 768px) {
  .global-nav .global-nav__list li a {
    font-size: 12px;
  }
}
.global-nav .global-nav__external a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}
.global-nav .global-nav__external a img {
  width: 15px;
  height: 15px;
}

@media (max-width: 768px) {
  .global-nav {
    display: none;
  }
}
/* ========================================
Mobile Navigation
======================================== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
  overflow-y: auto;
}
.mobile-nav.active {
  height: calc(100vh - 70px);
  background: var(--color-white);
  opacity: 1;
  visibility: visible;
  border-top: 1px solid var(--color-border);
}
.mobile-nav.active .mobile-nav__list {
  display: block;
}
.mobile-nav.active .mobile-nav__external_sites {
  display: flex;
}
@media (max-width: 768px) {
  .mobile-nav {
    display: block;
    top: 66px;
  }
}
.mobile-nav__top {
  display: flex;
  background: var(--color-primary);
  border-top: 1px solid var(--color-primary);
}
.mobile-nav__btn {
  flex: 1;
}
.mobile-nav__btn a {
  display: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 15px;
  height: 26px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.mobile-nav__btn:last-child {
  border-right: none;
}
.mobile-nav__list {
  display: none;
  padding: 20px;
  padding-top: 0;
}
.mobile-nav__list li {
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav__list li a {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 500;
}
.mobile-nav__external_sites {
  display: none;
  margin: 10px 0 0;
  padding: 0 20px;
  justify-content: center;
  gap: 0 20px;
}
.mobile-nav__external_sites a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  gap: 3px;
}
.mobile-nav__external_sites a::after {
  display: block;
  content: '';
  background: transparent url(../assets/common/external-link.svg) no-repeat center right;
  width: 18px;
  height: 18px;
}

/* ========================================
Footer
======================================== */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 30px;
}
.footer .footer__content {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.footer .footer__logo {
  display: flex;
  flex-direction: column;
  flex: 0 0 240px;
  gap: 0;
}
@media (max-width: 768px) {
  .footer .footer__logo {
    flex-basis: auto;
  }
}
.footer .footer__logo img {
  width: 183px;
  height: auto;
}
.footer .footer__logo-sub {
  padding-left: 32px;
  font-size: 13px;
  font-weight: 700;
}
.footer .footer__address {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 7px;
}
.footer .footer__address .mail {
  margin-left: 11px;
}
@media (max-width: 941px) {
  .footer .footer__address .tel {
    display: block;
  }
  .footer .footer__address .mail {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .footer .footer__address .tel {
    display: inline;
  }
  .footer .footer__address .mail {
    margin-left: 11px;
  }
}
.footer .footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
@media (max-width: 768px) {
  .footer .footer__nav {
    gap: 5px;
  }
}
.footer .footer__links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 700;
}
.footer .footer__brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.footer .footer__brand a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  padding-right: 16px;
}
.footer .footer__brand a::after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translatey(-50%);
  display: block;
  content: '';
  background: transparent url(../assets/common/external-link_wh.svg) no-repeat center right;
  width: 12px;
  height: 12px;
}

@media (max-width: 768px) {
  /* Footer */
  .footer {
    padding: 30px 10px;
    margin-bottom: 72px;
    border-bottom: 1px solid #a1abb7;
  }
  .footer .footer__content {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }
  .footer .footer__logo {
    align-items: center;
    text-align: center;
  }
  .footer .footer__logo-sub {
    padding: 0;
  }
  .footer .footer__nav {
    align-items: center;
  }
  .footer .footer__links ul {
    justify-content: center;
    gap: 0px 15px;
    max-width: 372px;
  }
}
/* ========================================
Responsive Design - Tablet (641px - 960px)
======================================== */
@media (min-width: 641px) and (max-width: 960px) {
  /* Work Detail Page - パディング調整 */
  .work-detail .work-detail__container {
    padding: 40px 30px 80px;
  }
}
/* ========================================
Round Button
======================================== */
.round-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 50px;
  border: 1px solid var(--color-primary);
  border-radius: 30px;
  background: white;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  position: relative;
  transition: all 0.3s ease;
}
.round-button:hover {
  background: var(--color-primary);
  color: white;
}

/* ========================================
Back Button
======================================== */
.back-button {
  display: flex;
  justify-content: center;
  margin: 30px auto;
}
@media (max-width: 768px) {
  .back-button {
    margin: 13px auto;
  }
}
.back-button--outline {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 50px;
  border: 1px solid var(--color-primary);
  border-radius: 30px;
  background: white;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  position: relative;
  transition: all 0.3s ease;
}
.back-button--outline:hover {
  background: var(--color-primary);
  color: white;
}
@media (min-width: 769px) and (max-width: 960px) {
  .back-button--outline {
    width: 260px;
    height: 45px;
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .back-button--outline {
    width: 220px;
    height: 45px;
    font-size: 14px;
  }
}
.back-button--outline .back-arrow {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 11px;
}
.back-button--outline .back-arrow svg {
  position: absolute;
}
@media (max-width: 768px) {
  .back-button--outline .back-arrow svg {
    width: 5px;
    height: 10px;
    left: 20px;
  }
}

/* ========================================
Footer Nav (Smart Phone)
======================================== */
.mobile-footer-nav {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
  width: 100vw;
  height: 72px;
  background: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 769px) {
  .mobile-footer-nav {
    display: none;
  }
}
.mobile-footer-nav__container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.mobile-footer-nav__btn {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* ========================================
セルコホームの住まい・ローカルメニュー
======================================== */
.selcohome-house__local_menu {
  background: #f8f5f2;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
@media (max-width: 900px) {
  .selcohome-house__local_menu {
    padding: 10px 0;
  }
}
.selcohome-house__local_menu-list {
  display: flex;
  justify-content: center;
  gap: 5px 10px;
  flex-wrap: wrap;
  padding: 0 15px;
}
.selcohome-house__local_menu-item {
  flex: 1 0 200px;
}
@media (max-width: 900px) {
  .selcohome-house__local_menu-item {
    flex-basis: calc(50% - 20px);
  }
}
.selcohome-house__local_menu-item a {
  display: block;
  font-size: 14px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  background: white;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .selcohome-house__local_menu-item a {
    height: 32px;
    line-height: 32px;
  }
}
.selcohome-house__local_menu-item.active a {
  background: #d5c8ba;
  color: white;
  font-weight: 700;
}

/*# sourceMappingURL=common.css.map */
