/* ----------- */
/* float       */
/* ----------- */
.float-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;
  background: #e8f4ff;
  box-shadow: 0 -3px 10px rgba(0,0,0,0.08);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.float-show {
  opacity: 1 !important;
  pointer-events: auto;
  transform: translateY(0) !important;
}


/* 内側の横並び */
.float-inner , .link-inner {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 90%;
  max-width: 1042px;
  margin: 0 auto;
}
.float-inner > a,
.link-inner > a {
  position: relative;
}
.link-wrapper {
  background: #e8f4ff; 
  padding: 20px 0;
  margin: 40px 0;
}

/* -----------*/
/* button     */
/* -----------*/

.float-btn , .link-btn {
  flex: 1;
  text-align: center;
  background: #0091d6;  
  color: #fff;
  text-decoration: none;
  padding: 20px 16px;
  border-radius: 50px;
  font-size: 2rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.float-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .float-inner , .link-inner {
    flex-direction: column;
  }
  .float-btn , .link-btn {
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    transition: opacity 0.2s;
  }
  .link-wrapper {
  margin: 0 0 30px 0;
  }

}

.link__icon-pdf,
.link__icon-blank,
.link__iconn-ex {
  position: absolute;
  top: 0;
  right: 2.5rem;
  bottom: 0;
  display: block;
  width: 1.3rem;
  height: auto;
  margin-block: auto;
}

/*-----------------------------------------------------------*/

.c-page-hokku-touch__main-visual {
  --_background: #7bd5ff;
  background-color: var(--_background);
}

.c-page-hokku-touch__main-visual-body {
   text-align: center;
   padding: 40px 0; 
}
@media (max-width: 768px) {
  .c-page-hokku-touch__main-visual-body {
    padding: 10px 0; 
  }
}
.c-page-hokku-touch__main-visual-body picture,
.c-page-hokku-touch__main-visual-body img {
  display: inline-block;
}

.c-page-hokku-touch__main-visual-title {
  position: relative;
  grid-area: title;
}
.c-page-hokku-touch__main-visual-title :where(img) {
  display: block flow;
  inline-size: 100%;
  max-width: 1042px;
  block-size: auto;
}

.c-page-hokku-touch__kv {
  position: relative;
  grid-area: title;
  display: flex;
  justify-content: center;
  padding: 40px 0; 

}
.c-page-hokku-touch__kv picture {
  max-width: 1042px;
  width: 100%;
}
.c-page-hokku-touch__kv img {
  display: block;
  width: 100%;
  height: auto;
}

.c-page-hokku-touch__parts {
  position: relative;
  grid-area: title;
  display: flex;
  justify-content: center;
  padding: 40px 0; 

}
.c-page-hokku-touch__parts picture {
  max-width: 800px;
  width: 100%;
}
.c-page-hokku-touch__parts img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .c-page-hokku-touch__parts {
    padding: 20px 0; 
  }
}

.contact-section {
  background-color: #0091d6; /* 背景色 */
  padding: 50px 20px;
}

.contact-block {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff; /* 白背景のカード風 */
  padding: 30px 40px;
  border-radius: 12px;
  display: flex;
  flex-direction: column; /* デフォルトは縦並び（スマホ向け） */
  gap: 20px;
  font-size: 1.8rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item__title {
  width: 180px; /* 見出し幅固定 */
  font-weight: bold;
  color: #333;
  text-align: right;
  flex-shrink: 0;
}

.contact-item__description {
  flex: 1;
  color: #333;
  line-height: 1.6;
}

@media (min-width:767px) {
  .contact-block {
    flex-direction: column;
  }

  .contact-item {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .contact-item {
     gap: 0;
  }
  .contact-item__description {
    flex: 1;
    line-height: 1.4;
  }
  .contact-item {
    flex-direction: column;
  }

  .contact-item__title {
    text-align: left;
    width: auto;
    margin-bottom: 6px;
  }
}

.c-footer-hokku-touch {
  margin-block-end: 100px;
}
@media (max-width: 768px) {
  .c-footer-hokku-touch {
    margin-block-end: 150px;
  }
}


.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 125px;
  z-index: 5;
  display: block;
  width: 5rem;
  height: 5rem;
  cursor: pointer;
  visibility: hidden;
  background-color: #8e8e8e;
  background-image: url("/img/icon-arrow-scroll.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 2.9rem 2.9rem;
  border: 1px solid #fff;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 200ms;
}
@media (max-width: 768px) {
  .scroll-top {
    right: 10px;
    bottom: 155px;
    width: 4.5rem;
    height: 4.5rem;
    background-size: 1.9rem 1.9rem;
  }
}
.scroll-top span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
}
.scroll-top[data-scroll-top="show"] {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 300ms,
    visibility 300ms;
}
.scroll-top[data-scroll-top="hidden"] {
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 200ms,
    visibility 200ms;
}
.scroll-top:focus {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 300ms,
    visibility 300ms;
}