@charset "utf-8";

/* MV
----------------------------------------------------------------------------------------------------*/
.mv-top {
 position: relative;
 width: 100%;
 max-width: 172rem;
 background-color: #FFF;
 margin: 16rem auto 0;
}

.mv-top__title {
 position: absolute;
 left: 4rem;
 top: 4rem;
 width: 78rem;
 text-align: left;
}

.mv-top__title__main {
 margin-bottom: 1.5rem;
 color: #5C9D4F;
 font-size: 8rem;
 font-weight: 700;
 font-feature-settings: "palt" 1;
 -webkit-text-size-adjust: 100%;
 text-align: left;
 line-height: 1.25;
}

.mv-top__title__sub {
 width: 55.3rem;
 font-size: 2.4rem;
 text-align: left;
 line-height: 1.75;
}

@media screen and (max-width: 767px) {
 .mv-top {
  max-width: 100%;
  margin: 8rem auto 0;
 }

 .mv-top__title {
  left: 3rem;
  top: 3rem;
  width: 33rem;
 }

 .mv-top__title__main {
  font-size: 2.4rem;
 }

 .mv-top__title__sub {
  width: 33rem;
  font-size: 1.8rem;
 }
}

/* Section - Common
----------------------------------------------------------------------------------------------------*/
.main {
 text-align: left;
}

.sec-content {
 display: flex;
 flex-wrap: wrap;
 width: min(95%, 172rem);
 height: auto;
 margin: 0 auto 16.5rem;
}

.sec-content img {
 width: 50%;
 height: auto;
 object-fit: cover;
}

.sec-content__body {
 width: 50%;
 background-color: #5C9D4F;
 color: #FFF;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 padding: 4rem;
 box-sizing: border-box;
 position: relative;
}

.sec-content__body .text {
 margin-bottom: 2rem;
 text-align: left;
}

.sec-content__body h2 {
 border-bottom: 1px solid #FFF;
 padding-bottom: 2rem;
 margin-bottom: 2rem;
 font-size: clamp(2.8rem, 3vw, 4.2rem);
 font-weight: bold;
}

.sec-content__body p {
 font-size: clamp(1.8rem, 2vw, 2.4rem);
 line-height: 1.75;
}

.arrow-button {
 position: absolute;
 /* bottom: 4rem;
 right: 4rem; */
 display: inline-block;
 /* width: 30rem; */
 height: 8rem;
 background-color: #FFF;
 color: #5C9D4F;
 border-radius: 0.4rem;
 font-size: 1.6rem;
 font-weight: bold;
 line-height: 8rem;
 text-align: center;
 text-decoration: none;
 cursor: pointer;
 transition: background-color 0.3s ease, color 0.3s ease;
}

.arrow-button:hover {
 background-color: #006934;
 color: #FFF;
}

.arrow-button .arrow {
 position: absolute;
 top: 50%;
 right: 2rem;
 width: 1.5rem;
 height: 1.5rem;
 border-top: 2px solid currentColor;
 border-right: 2px solid currentColor;
 transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 767px) {
 .sec-content {
  flex-direction: column;
  /* max-width: 330px; */
  margin: 0 auto 3.5rem;
 }

 .sec-content img {
  width: 100%;
 }

 .sec-content__body {
  position: inherit;
  width: 100%;
  padding: 1.5rem 1.5rem 3rem;
 }

 .sec-content__body p {
  line-height: 1.5;
 }

 .arrow-button {
  position: relative;
  bottom: 0;
  right: 0;
 }
}

/* Section Contact
----------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 767px) {
 .sec-contact {
  max-width: 33rem;
  margin: 3rem auto;
 }

 .header-button {
  width: 33rem;
  margin-bottom: 3rem;
 }

 .header-button .mail {
  left: 4rem;
 }

 .header-inner__tel {
  width: 33rem;
 }

 .header-inner__tel span {
  font-size: 5rem;
 }
}

/* Section News
----------------------------------------------------------------------------------------------------*/
.sec-news {
 width: min(90%, 84.6rem);
 margin: 8.5rem auto;
 padding: 3.5rem 0;
 background-color: #FFF;
}

.sec-news__head {
 display: flex;
 justify-content: space-between;
 align-items: center;
 width: 100%;
 margin: 0 auto;
 padding-bottom: 0.5rem;
 border-bottom: 1px solid #000;
}

.sec-news__head .sec-title {
 font-size: clamp(2.8rem, 4vw, 4.2rem);
 font-weight: 700;
 text-align: left;
}

.sec-news__body {
 width: 100%;
 margin: 1.5rem auto;
}

.newsList {
 width: 100%;
 margin: 0;
 padding: 0;
}

ul.newsList {
 list-style-type: none;
}

.newsList li {
 text-align: left;
}

.newsList li a {
 display: block;
 color: #333333;
 text-decoration: none;
}

.newsList li .label {
 padding: 0;
 width: min(90%, 9.6rem);
 border-radius: 0;
 font-size: clamp(1.2rem, 3vw, 1.6rem);
 font-weight: 500;
 text-align: center;
}

.newsList li .link {
 display: block;
 padding: 1rem 0;
}

.newsList .note {
 padding: 0 3rem;
 margin-top: 1rem;
 font-size: clamp(1.6rem, 3vw, 1.8rem);
 font-weight: 500;
 letter-spacing: 0;
 vertical-align: top;
 word-wrap: break-word;
}

.newsList .date {
 width: min(90%, 22.7rem);
 margin-right: 3rem;
 font-size: clamp(1.4rem, 3vw, 1.8rem);
 font-weight: 500;
 word-wrap: break-word;
}

.sec-news__button {
 margin-top: 5rem;
}

.sec-news__button .arrow-button {
 position: relative;
 display: inline-block;
 width: 30rem;
 height: 8rem;
 background-color: #5C9D4F;
 color: #FFF;
 border-radius: 0.4rem;
 font-size: 1.6rem;
 font-weight: bold;
 line-height: 8rem;
 text-align: center;
 text-decoration: none;
 cursor: pointer;
}

.sec-news__button .arrow-button:hover {
 background-color: #006934;
 color: #FFF;
}

.sec-news__button .arrow-button .arrow {
 position: absolute;
 top: 50%;
 right: 2rem;
 width: 1.5rem;
 height: 1.5rem;
 border-top: 2px solid #FFF;
 border-right: 2px solid #FFF;
 transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 767px) {
 .sec-news {
  margin: 5rem auto;
  padding: 2rem 2rem 1rem;
 }

 .sec-news__head {
  /*width: 33rem;*/
  padding-bottom: 2rem;
 }

 .sec-news__head .sec-title {
  /*font-size: 2.8rem;*/
  font-weight: 500;
 }

 .sec-news__body {
  /*width: 33rem;*/
 }

 .newsList li {
  margin-bottom: 1rem;
 }

 .newsList li .label {
  /*width: 6.5rem;*/
  /*font-size: 1.2rem;*/
 }

 .newsList li .link {
  display: flex;
  align-items: flex-start;
  /*flex-wrap: nowrap;*/
  flex-wrap: wrap;
  padding: 0.5rem 0;
 }

 .newsList .note {
  display: block;
  /*width: 18rem;*/
  width: 100%;
  padding: 0;
  margin-top: 0;
  /*margin-left: 0.5rem;*/
  /*font-size: 1.4rem;*/
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: top;
  word-wrap: break-word;
 }

 .newsList .date {
  display: block;
  width: auto;
  margin-right: 1rem;
  /*font-size: 1.4rem;*/
  font-weight: 500;
  word-wrap: break-word;
 }

 .sec-news__button {
  margin-top: 3rem;
 }

 .sec-news__button .arrow-button {
  height: 6rem;
  line-height: 6rem;
 }
}

/* Section Link
----------------------------------------------------------------------------------------------------*/
.sec-link {
 width: 100%;
 max-width: 178rem;
 padding: 0 3rem;
 margin: 10rem auto 23rem;
}

.link-section {
 text-align: left;
}

.link-section h2 {
 font-size: clamp(2.8rem, 3vw, 4.2rem);
 font-weight: 700;
 border-bottom: 1px solid #000;
 margin-bottom: 2rem;
 padding-bottom: 1.5rem;
}

.link-list {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1rem;
 list-style: none;
 padding: 0;
 margin: 0;
}

.link-list li a {
 display: inline-flex;
 align-items: center;
 text-decoration: none;
 color: #000;
 font-size: 2rem;
 font-weight: bold;
 position: relative;
}

.link-list li a::after {
 content: "";
 display: inline-block;
 width: 1.6rem;
 height: 1.6rem;
 background-image: url("../img/icon-window.svg");
 background-size: contain;
 background-repeat: no-repeat;
 margin-left: 1rem;
 vertical-align: middle;
}

@media (min-width: 768px) {
 .link-list {
  grid-template-columns: repeat(3, 1fr);
 }
}

@media screen and (max-width: 767px) {
 .sec-link {
  max-width: 37rem;
  padding: 0 2rem;
  margin: 5rem auto;
 }

 .link-list li a {
  font-size: 1.4rem;
 }
}

/*-----------------------------------------
昭和建設株式会社
-----------------------------------------*/
/* =========================
   MV 全体
========================= */
.mv-top {
 margin: 0;
 padding-top: 0;
 max-width: 100%;
 width: 100%;
 aspect-ratio: 1920 / 800;
 background-image: url("../img/mv_top1_pc.jpg");
 background-position: center right;
 background-size: 100% auto;
 overflow: hidden;
 position: relative;
 background-repeat: no-repeat;
}

.mv-top::after {
 width: 40%;
 height: 100%;
 position: absolute;
 content: "";
 top: 0;
 left: 0;
 z-index: 0;
}

/* =========================
   タイトルブロック
========================= */
.mv-top__title {
 margin-top: 16rem;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
 text-align: right;
 position: relative;
 z-index: 2;
}

/* ロゴ */
.mv-top__title__logo {
 position: absolute;
 left: 9%;
 top: 40%;
 transform: translateY(-50%);
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 14px;
}

.mv-top__title__logo img:first-child {
 width: clamp(150px, 13vw, 320px);
 height: auto;
}

.mv-top__title__logo img:last-child {
 width: clamp(160px, 12vw, 300px);
 height: auto;
}

.mv-top__title__txt {
 position: absolute;
 right: 30%;
 top: 15%;
 transform: translateX(-50%);
 transform: translateY(-50%);
}

/* サブコピー */
/* .mv-top__title__sub {
 font-size: clamp(1.6rem, 1.3vw, 2.4rem);
 line-height: 1.75;
 margin-bottom: clamp(0.2rem, 0.052vw + 0.10rem, 1rem);
 font-weight: 600;
 text-align: right;
} */
/* メインコピー */
.mv-top__title__main {
 font-size: clamp(1.8rem, 2.6vw, 5rem);
 font-weight: 700;
 line-height: 1.25;
 color: #000;
 text-align: left;
 font-feature-settings: "palt" 1;
}

@media screen and (max-width: 1400px) and (min-width: 768px) {
 .mv-top {
  /* min-height: 520px; */
  /* aspect-ratio: auto; */
  /* 比率固定を解除 */
  min-height: 70vh;
  /* 最低限の高さを保証 */
  background-size: cover;
  /* リピートせず全面表示 */
  background-position: center right;
 }
}

@media screen and (max-width: 767px) {
 .mv-top {
  aspect-ratio: 800 / 1200;
  background-image: url("../img/mv_top1_sp.jpg");
 }

 .mv-top::after {
  display: none;
 }

 .mv-top__title {
  position: static;
  margin-top: 12rem;
  display: flex;
  flex-direction: column;
 }

 /* ロゴ */
 .mv-top__title__logo {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  gap: clamp(14px, 2vw, 20px);
  order: 2;
 }

 .mv-top__title__txt {
  position: static;
  transform: translateY(0);
  margin: 0 auto;
  order: 1;
 }
}

/* =========================
   コンテンツ
========================= */
.sec-news__head {
 width: auto;
}

/*@media screen and (max-width: 767px) {
 .sec-news {
   max-width: 100%;
   min-width: 330px;
   width: auto;
  }
}*/
.button_area {
 text-align: right;
}

.link-box {
 width: min(90%, 400px);
 margin: 0 auto;
 padding: 0 20px;
 text-align: center;
}

.link-list {
 margin: 20px;
}

@media screen and (max-width: 767px) {
 .sec-content {
  min-width: 330px;
  max-width: auto;
  width: 100%;
  padding: 0 20px;
 }

 .button_area {
  text-align: center;
 }

 .link-list li a {
  font-size: 1.6rem;
 }
}

/* =========================
   リンク、ボタンカラー
========================= */
.link-box a.link-img {
 display: block;
 border: 1px solid #a8a8a8;
 border-radius: 10px;
 padding: 20px;
}

.sec-content__body {
 background-color: #2b7f21;
}

.sec-news {
 background-color: #f9fff0;
 padding: 3.5rem 2rem;
}

.arrow-button {
 position: relative;
 width: 30rem;
 color: #2b7f21;
}

.arrow-button:hover {
 background-color: #8fc42f;
 color: #FFF;
}

@media screen and (max-width: 767px) {
 .arrow-button {
  height: 6rem;
  line-height: 6rem;
 }
}