@charset "utf-8";

/**
 * ヘッダー
 */
header {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  container-type: inline-size;
  container-name: header;
}

/**
 * ロゴ
 */
.logo {
  flex: 0 0 250px;
  padding: 0;
  position: relative;
  display: flex;
  margin: auto 0;
}

.logo h1 a {
  /* display: block; */
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--primary-text-color);
  font-size: 1.3em;
  text-align: left;
}

/**
 * ナビゲーション
 */
 nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-left: auto;
  padding: 0;
}

.nav-links-items {
  flex: 1;
  margin-top: auto;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  list-style: none;
  width: fit-content;
  margin-left: auto;
  padding: 0;
  gap : 20px;
  /* 不要な枠線を削除 */
  border: none;
}

.nav-links li a {
  display: block;
  padding: 0;
  font-weight: 500;
  font-size: 0.7em;
  color: var(--primary-text-color);
  text-decoration: none;
  transition: color var(--transition-duration);
  /* 不要な枠線を削除 */
  border: none;
  text-align: center;
}

.nav-links li a:hover {
  color: var(--hover-color);
}

/**
 * サブテキスト
 */
.nav-links li a::after {
  content: attr(data-desc);
  display: block;
  text-align: center;
  font-family: var(--font-family-dancing);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--secondary-color);
}

/**
 * お問い合わせボタン
 */
.contact-link-button {
  width: 120px;
  margin-left: 10px;
  text-align: center;
  flex-shrink: 0;
}

.contact-link-button a {
  display: block;
  height: 100%;
  padding: 3em 1em 20px;
  background-color: var(--secondary-color);
  color: var(--btn-text-color);
  font-size: 0.9rem;
  border-bottom-left-radius: var(--border-radius-lg);
  border-bottom-right-radius: var(--border-radius-lg);
  text-decoration: none;
  transition: background-color var(--transition-duration);
}

.contact-link-button a:hover {
  background-color: #2980b9;
  color: var(--btn-text-color);
}

/**
 * ハンバーガーメニュー
 */
.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 30px;
  height: 4px;
  margin: 6px;
  background-color: var(--btn-text-color);
  transition: all var(--transition-duration) ease;
}

/**
 * スクロールダウン
 */
.scrolldown4 {
  position: absolute;
  bottom: -5%;
  right: 50%;
  transform: translateX(50%);
  animation: scrollArrowMove 1s ease-in-out infinite;
}

@keyframes scrollArrowMove {
  0% { bottom: -5%; }
  50% { bottom: 0%; }
  100% { bottom: -5%; }
}

.scrolldown4 span {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--btn-text-color);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.scrolldown4::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -3px;
  width: 2px;
  height: 10px;
  background-color: var(--btn-text-color);
  transform: skewX(-31deg);
}

.scrolldown4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2px;
  height: 20px;
  background-color: var(--btn-text-color);
}

/**
 * フッター
 */
footer {
  position: relative;
  margin: 0;
  padding: 0;
  container-type: inline-size;
  container-name: footer;
}

#footer-contact .items {
  width: 100%;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
}

#footer-contact .items li {
  width: 50%;
  margin: 0;
  text-align: center;
  position: relative;
}

#footer-contact li a {
  position: relative;
  width: 100%;
  height: 200px;
  display: block;
  background-color: rgba(var(--color-black-rgb), 0.7);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: darken;
  color: var(--btn-text-color);
  font-size: 2.5em;
  font-weight: 300;
}

footer h1 {
  font-family: var(--font-family-serif);
  font-style: normal;
  font-weight: 600;
}

#footer-contact li a.tel {
  background-image: url("../images/photo003.jpg");
  border-top-left-radius: var(--border-radius-sm);
  border-bottom-left-radius: var(--border-radius-sm);
}

#footer-contact li a.mail {
  background-image: url("../images/photo004.jpg");
  border-top-right-radius: var(--border-radius-sm);
  border-bottom-right-radius: var(--border-radius-sm);
}

#footer-contact li svg {
  width: 50px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

.officehours {
  font-size: 0.9rem;
}

.officehours span {
  display: inline-block;
  padding-right: 5px;
}

#footer-contact li a > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

#footer-contact li:nth-child(2) div {
  font-size: 0.8em;
}

#footer-contact li a:hover {
  opacity: 0.7;
}

#footer-access.wrapper {
  margin: 30px 0;
  padding: 100px 0;
  position: relative;
  background-color: rgba(220, 235, 242, 0.9);
  background-image: url("../images/photo005.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: soft-light;
}

#footer-access .flex {
  align-items: stretch;
  justify-content: space-between;
  gap : 60px;
}

.ggmap {
  flex: 0 0 60%;
}

.ggmap iframe {
  width: 100%;
  height: 300px;
}

.company-info {
  padding-left: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(40% - 60px);
}

address {
  font-style: normal;
}

address .name {
  font-size: 1.3em;
  font-weight: 400;
  padding-bottom: 30px;
}

.copy {
  margin: 30px auto;
  text-align: center;
  font-size: 0.7rem;
}

#footer-footer .logo {
  width: 250px;
}

#footer-footer .footer-nav {
  width: calc(100% - (250px + 15px));
  margin-left: 15px;
}

footer .nav-links {
  align-items: flex-end;
}

footer .nav-links li a {
  color: var(--secondary-color);
  font-size: var(--font-size-sm);
  text-align: center;
}

footer .nav-links li a::after {
  color: var(--primary-text-color);
  font-size: 1rem;
}

#footer-access .btn_wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  padding-left: 50px;
}


.header_photo {
  position: relative;
  width: 100%;
  height: 200px;
  margin: 10px 0 0;
  overflow: hidden;
}

.header_photo .photo,
.header_photo .photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.header_photo .bgcolor {
  position: absolute;
  inset: 0; /* top, right, bottom, left をまとめた書き方 */
  background-color: rgba(var(--color-black-rgb), 0.7);
  z-index: 2;
}

.header_photo .headline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: max-content;
}


.breadcrumb {
  width: 100%;
  padding: 13px 0;
  margin: 0;
  border-bottom: 0.5px solid var(--border-color);
}

.breadcrumb .container {
  margin: 0 auto;
}

.breadcrumb ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 15px; /* 2つ目以降に左マージン */
  font-size: var(--font-size-small);
}

.breadcrumb li {
  position: relative;
  padding-right: 10px;
  font-size: .8rem;
}

/* ホームアイコン */
.breadcrumb li.home::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -18px;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  background: url("../images/icon_home.png") no-repeat center/cover;
}

/* 矢印アイコン（2つ目以降） */
.breadcrumb li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -17px;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  background: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 48 48%22%3E%3Cpath d%3D%22M16.5%2C37.23l17-12.71a.63.63%2C0%2C0%2C0%2C0-1l-17-12.71%22 fill%3D%22none%22 stroke%3D%22%23000%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22 stroke-width%3D%222%22/%3E%3C/svg%3E') no-repeat center/contain;
}
/* 最初に共通で両方非表示にしておく（あとで切り替え） */
.contact-link-button.pc,
.contact-link-button.sp {
  display: none;
}
.contact-link-button.sp a img {
  width: 90%;
  height: auto;
  margin: 0 auto;
}
/* 1280px以上 → .pcを表示 */
@media screen and (min-width: 1281px) {
  .contact-link-button.pc {
    display: block;
  }
}

/* ▼ 1280px以下（ノートPC対応） */
@media screen and (max-width: 1280px) {
  .logo {
    flex : 0 0 200px;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-links li a::after {
    font-size: 1.2rem;
  }
  .contact-link-button {
    width: 50px;
  }

  #footer-access .flex {
    gap: 30px;
  }
  .company-info {
    padding-left: 30px;
  }
  .contact-link-button.sp {
    display: flex;
        justify-content: flex-end;
        align-items: center;
  }
  
  /* sp版のimgの色反転（黒い線→白い線に見せる） */
  .contact-link-button.sp img {
    filter: invert(1);
  }
  .contact-link-button a {
    padding : 10px;
    width: 50px;
    height: 50px;
    margin-left: auto;

  }
  header .container {
    max-width: 99%;
  }
  
}

@media screen and (max-width: 1024px) {
}
/* ------------------------------
   768px以下（タブレット・小型PC）
------------------------------ */
/* ▼ 768px以下（タブレット対応） */
@media screen and (max-width: 768px) {
  /* ヘッダー関連 */
  .burger {
    display: block;
    position: relative;
    width: fit-content;
    margin-left: auto;
  }
  
  .burger.active {
    z-index: 10000;
    transition: ease 0.4s;
    position: absolute;
    top: 50px;
    right: 50px;
  }

  .nav-links-items {
    width: calc(100% - 200px - 15px);
    margin : auto 0;
  }
  .nav-links-items .nav-links {
    list-style: none; /* リストのマーカーを非表示にする */
    display: none; /* 初期状態では非表示 */
}
  .contact-link-button {
    display: none;
  }¥
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* ハンバーガーメニュー展開時 */
  .global-navi.active {
    position: fixed;
    z-index: 9999;
    background-color: rgba(66, 66, 66, 0.8);
    padding: 100px 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: ease 0.4s;
  }
  
  .global-navi.active .nav-links {
    display: block;
    margin: 0 auto;
  }
  
  .global-navi.active .nav-links li a {
    color: #fff;
    display: block;
    text-align: center;
    font-size: 1.4em;
    padding: 10px;
  }
  
  .global-navi.active .nav-links li a::after {
    display: none;
  }

  .line1, .line2, .line3 {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
  }

  .burger.active .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger.active .line2 {
    opacity: 0;
  }

  .burger.active .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .burger.active div {
    background-color: #fff;
  }

  /* フッター関連 */
  #footer-contact .items {
    flex-direction: column;
  }

  #footer-access .flex {
    flex-direction: column;
  }
  #footer-contact .items li {
    width: 100%;
  }

  .company-info {
    width: 100%;
    padding-top: 50px;
    padding-left: 0;
  }

  #footer-access .btn_wrapper {
    position: relative;
    padding-left: 0;
    padding-top: 30px;
  }

  #footer-access.wrapper {
    padding: 50px 0;
    margin-bottom: 80px;
  }

  address {
    text-align: center;
    padding-bottom: 40px;
  }

  address .name {
    padding-bottom: 10px;
  }

  p.address,
  p.number {
    font-size: 0.9em;
  }

  .header_photo {
    height: 140px;
  }

  .header_photo .headline h2 {
    font-size: 1.2em;
    line-height: 1.4;
  }

  #footer-contact li a.tel,
  #footer-contact li a.mail {
    border-radius: var(--border-radius-sm);
    margin-bottom: 5px;
  }
  #footer-footer .logo {
    margin : 0 auto;
  }
  nav {
    align-items: flex-start;

  }
}

/* ▼ 600px以下（スマホ標準サイズ対応） */
@media screen and (max-width: 600px) {
  /* 特に必要な指定があればここに追加（今回は必要なら言ってください） */
}

/* ▼ 550px以下（小さめスマホ対応） */
@media screen and (max-width: 550px) {
  #footer-contact .items li {
    width: 100%;
    margin-bottom: 10px;
  }

  #footer-contact li a {
    border-radius: var(--border-radius-sm);
    font-size: 2em;
  }

  #footer-contact li a > div {
    width: 50%;
  }

  .ggmap {
    width: 100%;
  }

  .company-info {
    width: 100%;
    padding: 30px 0 0;
  }

  #footer-access .btn_wrapper {
    padding: 40px 0;
  }

  #footer-footer {
    padding-bottom: 30px;
  }

  #footer-footer .logo {
    margin-bottom: 0;
  }
}