.front-page {
  padding: 40px 20px;
  /* background: #f7efe3; */
  /* max-width: 1200px; */
  margin: 5px auto 10px;
}

h2 {
  color: #f2ae2d;
}

.top-news {
    background: #ffffff;
    width: 25%;
    position: absolute;
    top: 9%;
    right: 0;
    z-index: 1;
    padding: 7px 0px 7px 17px;
}

.top-news h2 {
    color: #7fa4cb;
    font-size: 1.3rem;
    margin: 5px 0;
}

/* NEWSカード */
.news-card {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: 0.3s;
}

/* ホバー */
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.news-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  text-decoration: none;
  color: inherit;
}

.news-card p {
  color: #555555;
  font-size: 0.9rem;
  margin: 0;
}

.news-card h3 {
  color: #7fa4cb;
  margin: 0;
}

/*.top-visual*/
.top-visual {
  position: relative;
  padding: 50px 0;
}

.top-img {
  position: relative;
  width: calc(100% + 40px);
  max-width: none;
  height: 1000px;
  margin: 0 auto 40px;
  background:
    url("../images/icon/top-bard.png") no-repeat left 20% top 165px / 120px,
    url("../images/icon/top-bard2.png") no-repeat right 20% bottom 10px / 120px,
    url("../images/maintop.png") no-repeat center top 140px / 800px;
}

.top-text {
  text-align: center;
  font-weight: 500;
  color: #7fa4cb;
  display: none;
}

.top-text-right {
  position: absolute;
  right: 10%;
  top: 25%;
  font-size: 1.3rem;
  color: #7fa4cb;
  writing-mode: vertical-rl;
}

.top-text-right h3 {
  font-weight: 500;
  letter-spacing: 5px;
  line-height: 2;
}

.top-text-left {
  position: absolute;
  color: #7fa4cb;
  font-size: 1.3rem;
  writing-mode: vertical-rl;
  left: 10%;
  top: 25%;
  height: 400px;
}

.top-text-left h3 {
  font-weight: 500;
  letter-spacing: 5px;
  line-height: 2;
}

.top-text-left .second-p {
  position: absolute;
  top: 32%;
}

.top-visual 
{
  width: 100%;
}

.concept {
  text-align: center;
  overflow: hidden;
  padding: 0 20px 100px;
  /* background: url(../images/icon/background-area.png) no-repeat center bottom / 100%; */
}

.concept-underline {
  margin-top: 40px;
  font-size: 20px;
  line-height: 2.1;
  font-weight: 500;

  text-decoration-line: underline;
  text-decoration-color: #7fa0c0;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.highlight {
  color: #f0a432;
  font-weight: bold;
}

.concept-img {
  display: none;
}

/* NEWS全体 */
.news {
  display: flex;
  padding: 20px 10px;
  text-align: center;
  gap: 20px;
}

/* リスト */
.news-head {
  display: none;
}

.news-left {
  margin-top: 20px;
  width: calc(25% - 20px);
}

.news-left h2 {
  color: #f2ae2d;
  font-size: 1.2rem;
  margin: 0;
}

.news-left p {
  font-size: 0.7rem;
  margin: 0;
}

/* ボタンエリア */
.news-more {
  margin-top: 10px;
  margin-right: -50px;
}

/* リスト */
.news-list {
  margin-top: 20px;
  width: 75%;
}

/* 日付 */
.news-date {
  font-size: 12px;
  color: #888;
  margin: 0;
}

/* タイトル */
.news-title {
  margin-top: 5px;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.consult {
  padding: 20px;
  text-align: center;
  font-size: 18px;
}

.consult-title-sp {
  display: none;
}

.consult-title-pc {
  display: block;
  color:#7fa4cb;
  font-size: 18px;
}

.consult-btn {
  display: none;
}

.qr-mail {
  background-image: url("../images/QR.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 120px;
}

.welcome {
  padding: 70px 20px 20px;
  text-align: center;
}

.welcome-body {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.welcome-left,
.welcome-right {
  width: 60%;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;      /* 上下中央 */
}

.welcome-left-image,
.welcome-right-image {
  width: 100%;
  aspect-ratio: 2 / 3;
}

.welcome-left-flower {
  position: absolute;
  top: 5%;
  left: 0;
  width: 20%;
  aspect-ratio: 1 / 2;
  transform: rotate(50deg);
  background: url("../images/leftflour.png") no-repeat center / contain;
}

.welcome-left-image {
  background: url("../images/welcome-img.png");
  background-repeat: no-repeat;
  background-size: 85%;
  background-position: 30% 60%;
}

.welcome-right-flower {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20%;
  aspect-ratio: 1 / 2;
  transform: rotate(50deg);
  background: url("../images/rightflour.png") no-repeat center / contain;
}

.welcome-right-image {
  background: url("../images/welcome-img2.png");
  background-repeat: no-repeat;
  background-size: 85%;
  background-position: 30% 60%;
}

.welcome-card {
  background: #ffffff;
  padding: 20px;
  margin-top: 15px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  line-height: 1.8;
  font-size: 15px;
}

.signature-midorihome {
  text-align: right;
  margin: 35px 0 10px;
  position: relative;
}

.signature-midorihome p {
  margin: 0;
}

.signature-midorihome h4 {
  margin: 10px 0;
  font-weight: normal;
  font-size: medium;
}

.signature-midorihome::after {
  content: "";
  position: absolute;
  right: 240px;
  top: 50%;
  transform: translateY(-50%);
  width: 25%;
  max-width: 115px;
  aspect-ratio: 5/6;
  background: url("../images/icon/top-bard.png") no-repeat center center / contain;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 767px) {
  .front-page {
    padding: 20px 10px;
  }

  .top-visual {
    width: 100%;
    margin-top: 0;
    margin-bottom: 70px;
  }

  .top-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    height: unset;
    background:
      url("../images/icon/top-bard.png") no-repeat left top / 90px,
      url("../images/icon/top-bard2.png") no-repeat right bottom 2% / 90px,
      url("../images/maintop.png") no-repeat center top / 400px;
  }

  .top-text {
    display: block;
  }
  .top-text-left,
  .top-text-right {
    display: none;
  }

  .top-news {
    display: block;
    width: 95%;
    top: 90%;
    padding: 5px;
  }

  .concept-img {
    display: block;
    height: 200px;
    background: url("../images/icon/VisualTextimg.png") no-repeat;
  }

  .consult {
    background: #7fa4cb;
  }

  .consult-title-sp {
    display: block;
    color: #ffffff;
    text-decoration-line: underline;
  }

  .consult-title-pc {
    display: none;
  }

  .consult-btn {
    display: block;
  }

  .news {
    display: block;
  }

  .news-head {
    display: block;
  }

  .news-head h2 {
    margin: 0;
  }

  .news-head p {
    font-size: 1.17rem;
    font-weight: bold;
    margin: 0;
  }

  .news-left {
    display: none;
  }

  .news-list {
    width: 100%;
  }

  .welcome-left {
    display: none;
  }

  .welcome-right {
    display: none;
  }
}
