@charset "utf-8";

/* 小タイトル部分指定 */
.event-title-1 h2 {
  font-size: 30px;
  font-family: 'Noto Serif JP', serif;
  color: #4f7a94;
  background-color: #ffffff;
  padding-bottom: 10px;
  border-bottom: 1px solid #4f7a94;
  border-left: 5.5px solid #4f7a94;
  padding-top: 8px;
  padding-left: 15px;
  width: 100%;
}

/* ３つ並ぶ所のみ */
.other-01 p {
  margin: 5px 0 5px;
}


/* エリア指定 */
.event-area-01,
.event-area-02 {
  display: flex;
  justify-content: space-between;
  width: 1300px;
  max-width: 97%;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
}

.unit-1 {
  width: 49%;
  text-align: center;
}

.unit-2 {
  width: 49%;
}

.mainimage,
.soudankai {
  width: 90%;
  margin-top: 20px;
}

/* イメージ写真と設計相談会 */
.soudankai {
  display: flex;
  margin-top: 30px;
  margin-left: 5%;
}

.soudankai-image {
  width: 36%;
}

.soudankai-p {
  width: 64%;
}

.soudankai-p h5 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 25px;
}

.soudankai-p h5::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background-color: #000000;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
}


/* 支店ボタン */

.shiten-link-button-area {
  display: grid;
  grid-template-columns: repeat(auto-fit, 125px);
  column-gap: 20px;
  row-gap: 30px;
  justify-content: center;
  margin-top: 25px;
}

.shiten-link-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 167px;
  height: 37px;
  border-radius: 5px;
  background-color: #BBDBF3;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-size: 13px;
  font-weight: 700;
  position: relative;
}

.shiten-link-button::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 8px;
  transform: rotate(45deg) translateY(-50%);
  width: 6px;
  height: 6px;
  border-width: 1px 1px 0 0;
  border-style: solid;
  border-color: #333;
}

.shiten-link-button:hover {
  background-color: #005A99;
  color: #fff;
}

.shiten-link a:hover::after {
  border-color: #f2f2f2 #f2f2f2 transparent transparent;
}


/* インスタ */
.insuta {
  width: 150px;
  height: 95px;
  align-items: center;
  padding-top: 10px;
  margin-left: 30px;
}

.insuta img {
  width: 46.5px;
}

.insuta p {
  font-size: 10px;
}

.insuta:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}



/* イメージを共有する */
.kyouyu {
  padding: 10px;
}

.kyouyu-photo {
  display: flex;
}

.kyouyu-photo01 {
  width: 60%;
  margin-top: 10px;
}

.kyouyu-photo02 {
  width: 35%;
  margin-top: 12px;
  margin-left: 10px;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* その他 */

.other {
  padding: 10px;
}

.other-kinds {
  display: flex;
  margin-top: 10px;
}

.other-kinds h4 {
  font-size: 15px;
  color: #ffffff;
  background-color: #4f7a94;
  padding: 4px;
  text-align: center;
}

.other-a {
  width: 33%;
  padding: 10px;
}

.other-01 img {
  width: 100%;
  margin-top: 15px;
}

@media screen and (max-width: 1100px) {

  .other-01 p,
  .soudankai-p p {
    font-size: 12px;
  }

}

@media screen and (max-width: 800px) {

  /* 小タイトル部分指定 */
  .event-title-1 h2 {
    font-size: 24px;
    line-height: 1.3;
    font-family: 'Noto Serif JP', serif;
    color: #4f7a94;
    background-color: #ffffff;
    padding-bottom: 10px;
    border-bottom: 1px solid #4f7a94;
    border-left: 5.5px solid #4f7a94;
    padding: 6.4px 0 8.0px 12px;
    width: 100%;
  }

}


@media screen and (max-width: 580px) {

  /* エリア指定 */
  .event-area-01,
  .event-area-02 {
    display: block;
    width: 580px;
    max-width: 97%;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
  }

  .unit-2 {
    width: 100%;
  }


}