body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  background: #fff;
  scroll-behavior: smooth;
  position: relative;
}

.icon {
  position: absolute;
  top: 0;
  left: 0;
}

@media(max-width:768px) {
  .icon {
    top: -40px;
    left: -40px;
  }
}

.page-ttl {
  position: absolute;
  top: 150px;
  left: 120px;
  font-size: 2rem;
  line-height: 1.4;
  font-weight: bold;
}

@media (max-width:768px) {
  .page-ttl {
    top: 105px;
    left: 20px;
    font-size: 1.3rem;
    line-height: 1.2;
    z-index: 1;
  }
}

header {
  padding: 24px 0 8px 32px;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.08em;
}

header p {
  margin: 0 0 8px 0;
  font-size: 1rem;
}

#map-section {
  padding: 16px 0 24px 0;
  text-align: center;
  margin-bottom: 124px;
}

.japan-map-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}


.japan-map-img {
  padding-top: 30px;
  width: 60%;
  margin: 0 auto 120px;
  height: auto;
  display: block;
}

@media(max-width:768px) {
  .japan-map-img {
    width: 100%;
  }
}

/* 拠点ラベル配置・スタイル */
.map-label {
  position: absolute;
  font-weight: bold;
  font-size: 1.3rem;
  color: #444;
  background: #D9D9D9;
  border: 1px solid #aaa;
  box-shadow: 0 3px 3px #aaa;
  padding: 12px 32px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
  cursor: pointer;
  /* クリック時にズームする効果もOK */
}

.map-label:hover {
  background: #2988e3;
  color: #fff;
}

/* 札幌〜福岡の配置例（地図画像に合わせて微調整必須） */
.label-sapporo {
  top: 29%;
  right: 12%;
}

.label-tokyo {
  top: 50%;
  right: 17%;
}

.label-nagoya {
  top: 50%;
  left: 18%;
}

.label-osaka {
  top: 88%;
  right: 46%;
}

.label-fukuoka {
  bottom: 24%;
  left: 7%;
}

@media(max-width:768px) {
  .label-sapporo {
    top: 24% !important;
    right: 11% !important;
  }

  .label-tokyo {
    top: 61% !important;
    right: 22% !important;
  }

  .label-nagoya {
    top: 73%;
    left: 48%;
  }

  .label-osaka {
    top: 79%;
    right: 46%;
  }

  .label-fukuoka {
    bottom: 21%;
    left: 3%;
  }
}

/* SVG線のスタイル */
.japan-map-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* ラベルや画像をクリック可能に */
  z-index: 1;
}

.japan-map-lines line {
  stroke: #2988e3;
  stroke-width: 3.5;
  stroke-dasharray: 8 4;
  transition: stroke 0.2s;
}

/* ラベルhover時は対応する線の色も変える */
/* .map-label:hover~.japan-map-lines .line-sapporo,
.label-sapporo:hover~.japan-map-lines .line-sapporo {
  stroke: #fbbc04;
}

.map-label:hover~.japan-map-lines .line-tokyo,
.label-tokyo:hover~.japan-map-lines .line-tokyo {
  stroke: #fbbc04;
} */

/* スマホ時は位置や大きさを小さめに調整 */
@media (max-width: 600px) {
  .map-label {
    font-size: 1rem;
    padding: 1px 7px;
  }

  .label-sapporo {
    top: 4%;
    right: 6%;
  }

  .label-tokyo {
    top: 31%;
    right: 2%;
  }

  /* ... */
}

@media(max-width:768px) {
  .japan-map-lines {
    display: none;
  }
}

.office-section {
  padding: 60px 0 40px 0;
  margin-bottom: 124px;
  text-align: left;
  position: relative;
}

.--sapporo {
  background-image: url("../img/sapporo-bg.png");
}

.--tokyo {
  background-image: url("../img/tokyo-bg.png");
}

.--nagoya {
  background-image: url("../img/nagoya-bg.png");
}

.--fukuoka {
  background-image: url("../img/fukuoka-bg.png");
}


.sec-bg {
  clip-path: polygon(0 66%, 30% 31%, 100% 100%, 0% 100%);
  background: #E1FCFF;
  width: 100%;
  height: 430px;
  position: relative;
}

.office-section h2 {
  font-size: 4.4rem;
  margin: 0 0 68px 32px;
  font-weight: bold;
  display: inline-block;
  border-bottom: 2px solid #000;
  padding-bottom: 12px;
}

.office-en {
  font-size: 8rem;
  color: #dddddd;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  display: block;
  position: absolute;
  top: 48px;
  right: 18px;
}

.no-show {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin: 100px 0;
}

.swiper {
  width: 80%;
  margin: 0 auto;
  padding-bottom: 30px;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.23s, box-shadow 0.23s;
  cursor: pointer;
}

.swiper-slide img:hover {
  transform: scale(1.2);
}


@media (max-width: 768px) {
  .swiper-slide img {
    width: 100%;
    height: 300px !important;
  }

  .office-section h2 {
    font-size: 2rem;
    margin-left: 10px;
  }

  .office-en {
    font-size: 2rem;
    margin-left: 8px;
  }

  .swiper {
    width: 100%;
  }
}