@charset "UTF-8";
/* CSS Document */
/* ===============================================
   MAC開発プロジェクトページ CSS
   =============================================== */

/*//////////PCサイズ///////////*/
@media screen and (min-width: 768px) {
  .sec-in {
    width: 85vw;
    margin: 0 auto;
	padding:5vw 0 0 0;
  }
/* ===============================================
   MACプロジェクト ヒーローセクション start
   =============================================== */

.mac-hero {
  position: relative;
  padding: 70px 0 0 0;
  width: 100vw;
  height: 67vw; /* 16:9比率よりやや縦長に */
  overflow: hidden;
}

.mac-hero__bg {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: relative;
}

/* 追加：背景を落ち着かせる透明乗算色レイヤー */
.mac-hero__bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 40, 20, 0.35); /* 深緑系の落ち着いたトーン */
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.mac-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: center;
  z-index: 2; /* 背景オーバーレイより上に配置 */
}

/* 白透明ボックス */
.mac-hero__box {
  background-color: rgba(255,255,255,0.85);
  color: #222;
  width: 28vw;
  margin: 4vw auto 0;
  padding: 2vw 1.5vw;
  font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
}

.mac-hero__ttl {
  font-size: 2rem;
  font-weight: 700;
  color: #006633;
  margin-bottom: 0.6vw;
}

.mac-hero__sub {
  font-size: 0.9rem;
  margin-bottom: 3vw;
}

.mac-hero__corp {
  font-size: 1.4rem;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 0.6vw 0;
  margin: 0 auto 1.2vw;
  width: 80%;
}

.mac-hero__lead {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1vw;
  font-family: 'Noto Serif JP', serif;
}

.mac-hero__sdgs {
  width: 18vw;
  display: block;
  margin: 0 auto;
}

/* 中央タイトル */
.mac-hero__center {
  position: absolute;
  bottom: 16vw;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.mac-hero__main {
	font-size: 2.5rem;
	font-family: "a-otf-ryumin-pr6n", serif;
	margin-bottom: 0.2vw;
	width: 28vw; /* 横幅を拡大 */
	border-bottom: 1px solid rgba(230,230,230,1.00);
	display: inline-block;
}

.mac-hero__subcorp {
  font-size: 1.8rem;
}

/* 緑帯キャッチ */
.mac-hero__bottom {
  position: absolute;
  bottom: 4vw;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0,102,51,0.60);
  width: 100vw; /* 横幅を拡大 */
  padding: 1.8vw 6vw;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.8;
  font-weight: 500;
}

/* ===============================================
   MACプロジェクト ヒーローセクション end
   =============================================== */


/* ===============================================
   MACプロジェクト 第二グリッドセクション　start
   =============================================== */

.mac-grid__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4vw 2vw; /* ← 行間が4vw・列間が2vw */
  margin-top: 4vw;
  align-items: stretch; /* 高さを自動で揃える */
}

.mac-grid__item {
  overflow: hidden;
  background-color: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 背景画像タイプ */
.mac-grid__bg {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

/* テキストボックス */
.mac-grid__white {
  background-color: #fff;
  padding: 0 2vw;
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: justify;
  flex: 1;
}

.mac-grid__white h3 {
  color: #006633;
  font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 1vw;
  line-height: 1.6;
  text-align: center;
}

.mac-grid__white h3 span {
  display: block;
  font-size: 1rem;
  color: #444;
}

/* 右下gif付き（3番目） */
.mac-grid__withimg {
  position: relative;
}

.mac-grid__withimg img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
}

/* 画像1枚（5番目）中央揃え */
.mac-grid__img {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.mac-grid__imgwrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mac-grid__imgwrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.mac-grid__text {
  position: absolute;
  bottom: 30%;
  left: 2vw;
  right: 2vw;
  text-align: center;
}

.mac-grid__text.white p {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 0.2vw 0.5vw rgba(0,0,0,0.4);
}

/* ===============================================
   MACプロジェクト 第二グリッドセクション　end
   =============================================== */

/* ===============================================
   MACプロジェクト YouTubeセクション　start
   =============================================== */
.mac-youtube{
padding:5vw 0;
}
.mac-youtube__wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9比率 */
  overflow: hidden;

  box-shadow: 0 0.5vw 1vw rgba(0, 0, 0, 0.15);
}

.mac-youtube__wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===============================================
   MACプロジェクト YouTubeセクション　end
   =============================================== */
/* ===============================================
   MACプロジェクト ロゴバナーセクション　start
   =============================================== */
.mac-banner{
padding:0vw 0;
}
.mac-banner__img {
  width: 100%;
  margin: 0 auto;
}
.mac-banner__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===============================================
   MACプロジェクト ロゴバナーセクション　end
   =============================================== */
   /* ===============================================
   MACプロジェクト Google Map セクション start
   =============================================== */
.mac-map{
padding: 5vw 0 0 0;
}
.mac-map__wrap {
  position: relative;
  width: 85vw;
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* アスペクト比を維持 */
  overflow: hidden;
}

.mac-map__wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none; /* グレー枠を完全除去 */
  display: block;
}

/* ===============================================
   MACプロジェクト Google Map セクション end
   =============================================== */
/* ===============================================
   MACプロジェクト 会社概要セクション start
   =============================================== */

.mac-company {
  margin-top: 6vw;
  color: #222;
  font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
}

.mac-company__ttl {
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-bottom: 2vw;
  position: relative;
}

.mac-company__ttl::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 1.6rem;
  background-color: #006633;
  margin-right: 0.8rem;
}

.mac-company__list {
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid #ccc;
  font-size: 1.4rem;
  line-height: 1.8;
}

.mac-company__row {
  display: flex;
  border-bottom: 1px solid #ccc;
  padding: 1.2vw 0;
  align-items: flex-start;
}

.mac-company__row dt {
  width: 20%;
  font-weight: 600;
  position: relative;
  padding-left: 1.2rem;
}

.mac-company__row dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.2rem;
  height: 1.6rem;
  background-color: #006633;
}

.mac-company__row dd {
  width: 80%;
  margin: 0;
}

/* ===============================================
   MACプロジェクト 会社概要セクション end
   =============================================== */
/* ===============================================
   MACプロジェクト ギャラリーセクション start
   =============================================== */

.mac-gallery {
padding:5vw 0 0 0;
  font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
}

.mac-gallery__ttl {
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-bottom: 2vw;
}

.mac-gallery__ttl::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 1.6rem;
  background-color: #006633;
  margin-right: 0.8rem;
}

.mac-gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1vw;
}

.mac-gallery__grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ===============================================
   MACプロジェクト ギャラリーセクション end
   =============================================== */
/* ===============================================
   MACプロジェクト 参考リンクセクション start
   =============================================== */

.mac-reference {
  width: 85vw;
  margin: 4vw auto 0;
  font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
  color: #222;
  font-size: 1.1rem;
  line-height: 1.8;
}

.mac-reference__list {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.mac-reference__list a {
  color: #006633;
  text-decoration: none;
  border-bottom: 1px solid #006633;
  transition: opacity 0.3s;
}

.mac-reference__list a:hover {
  opacity: 0.6;
}

/* ===============================================
   MACプロジェクト 参考リンクセクション end
   =============================================== */
/* ===============================================
   MACプロジェクト お問い合わせボタン start
   =============================================== */

.mac-contact {
  margin: 6vw auto;
  text-align: center;
}

.mac-contact__btn {
  display: inline-block;
  background-color: #006633;
  color: #fff;
  text-decoration: none;
  padding: 1.2vw 4vw;
  font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: opacity 0.3s, transform 0.3s;
}

.mac-contact__btn:hover {
  opacity: 0.8;
  transform: translateY(-0.3vw);
}

/* ===============================================
   MACプロジェクト お問い合わせボタン end
   =============================================== */
     .PC {}
  .SP {
    display: none;
    max-width: 0%;
    max-height: 0%;
  }
}
/*//////////SPサイズ///////////*/
/*//////////SPサイズ///////////*/
/*//////////SPサイズ///////////*/
@media screen and (max-width:767px) {
  .sec-in {
    width: 87vw;
    margin: 0 auto;
  }
/* ===============================================
   MACプロジェクト ヒーローセクション（SP） start
   =============================================== */

.mac-hero {
  position: relative;
  width: 100vw;
  height: 90vh; /* スマホではやや縦長に確保 */
  overflow: hidden;
  padding: 70px 0;
}

.mac-hero__bg {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: relative;
}

/* 背景を落ち着かせる透明乗算色レイヤー */
.mac-hero__bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 40, 20, 0.35);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.mac-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: center;
  z-index: 2;
}

/* 白透明ボックス */
.mac-hero__box {
  background-color: rgba(255,255,255,0.88);
  color: #222;
  width: 70vw;
  margin: 10vw auto 0;
  padding: 5vw 4vw;
  font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
}

.mac-hero__ttl {
  font-size: 1.3rem;
  font-weight: 700;
  color: #006633;
  margin-bottom: 1.5vw;
}

.mac-hero__sub {
  font-size: 0.9rem;
  margin-bottom: 6vw;
  line-height: 1.6;
}

.mac-hero__corp {
  font-size: 1rem;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 2vw 0;
  margin: 0 auto 3vw;
  width: 85%;
}

.mac-hero__lead {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 3vw;
  font-family: 'Noto Serif JP', serif;
}

.mac-hero__sdgs {
  width: 40vw;
  display: block;
  margin: 0 auto;
}

/* 中央タイトル */
.mac-hero__center {
  position: absolute;
  bottom: 40vw;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.mac-hero__main {
width: 100vw;
  font-size: 1.8rem;
  font-family: "a-otf-ryumin-pr6n", serif;
  margin-bottom: 1vw;
 display: inline-block;
}

.mac-hero__subcorp {
  font-size: 1.2rem;
}

/* 緑帯キャッチ */
.mac-hero__bottom {
  position: absolute;
  bottom: 5vw;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0,102,51,0.85);
  width: 90vw;
  padding: 3vw 5vw;
  color: #fff;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 500;
}

/* ===============================================
   MACプロジェクト ヒーローセクション（SP） end
   =============================================== */


/* ===============================================
   MACプロジェクト グリッドセクション　start
   =============================================== */

.mac-grid__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5vw;
  margin-top: 8vw;
}

.mac-grid__bg {
  background-size: cover;
  background-position: center;
  height: 50vw;

  position: relative;
}

.mac-grid__white {
  background-color: #fff;
  padding: 5vw;
  border-radius: 3vw;
}

.mac-grid__white h3 {
  color: #006633;
  font-size: 1.2rem;
  margin-bottom: 3vw;
}

.mac-grid__text {
  position: absolute;
  bottom: 5vw;
  left: 5vw;
  right: 5vw;
  text-align: left;
}

.mac-grid__text.white p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.mac-grid__text {
  position: absolute;
  bottom: 5vw;
  left: 5vw;
  right: 5vw;
  text-align: left;
}

.mac-grid__text.white p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* ===============================================
   MACプロジェクト グリッドセクション　end
   =============================================== */
/* ===============================================
   MACプロジェクト YouTubeセクション　start
   =============================================== */
.mac-youtube{
padding:5vw 0;
}
.mac-youtube__wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9比率 */
  overflow: hidden;
  box-shadow: 0 0.5vw 1vw rgba(0, 0, 0, 0.15);
}

.mac-youtube__wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===============================================
   MACプロジェクト YouTubeセクション　end
   =============================================== */
/* ===============================================
   MACプロジェクト ロゴバナーセクション　start
   =============================================== */

.mac-banner {
  position: relative;
  width: 100%;
  overflow: hidden; /* ← トリミングOK */
}

.mac-banner__img {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mac-banner__img img {
  position: relative;
  width: 150vw;         /* ← SP時も画面幅の2倍まで拡大 */
  max-width: none;      /* ← ← ここが重要！ SP Safari対策 */
  height: auto;         /* ← 高さは比率に従って自動 */
  left: 50%;
  transform: translateX(-50%);
  display: block;
  object-fit: cover;    /* ← 縦横比を保ちながらトリミング */
}
/* ===============================================
   MACプロジェクト ロゴバナーセクション　end
   =============================================== */
/* ===============================================
   MACプロジェクト Google Map セクション start
   =============================================== */

.mac-map__wrap {
  position: relative;
  width: 87vw;
  margin: 0 auto;
  height: 50vh;
  overflow: hidden;
}

.mac-map__wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  border: none;
  display: block;
}

/* ===============================================
   MACプロジェクト Google Map セクション end
   =============================================== */
/* ===============================================
   MACプロジェクト 会社概要セクション start
   =============================================== */

.mac-company {
  margin-top: 12vw;
  color: #222;
}

.mac-company__ttl {
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-bottom: 5vw;
}

.mac-company__ttl::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 1.4rem;
  background-color: #006633;
  margin-right: 1rem;
}

.mac-company__list {
  width: 87vw;
  margin: 0 auto;
  border-top: 1px solid #ccc;
  font-size: 1.1rem;
  line-height: 1.8;
}

.mac-company__row {
  display: block;
  border-bottom: 1px solid #ccc;
  padding: 4vw 0;
}

.mac-company__row dt {
  font-weight: 600;
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 1vw;
}

.mac-company__row dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.2rem;
  height: 1.1rem;
  background-color: #006633;
}

.mac-company__row dd {
  margin: 0;
}

/* ===============================================
   MACプロジェクト 会社概要セクション end
   =============================================== */
/* ===============================================
   MACプロジェクト ギャラリーセクション start
   =============================================== */

.mac-gallery {
  padding: 5vw 0;
}

.mac-gallery__ttl {
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-bottom: 5vw;
}

.mac-gallery__ttl::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 1.4rem;
  background-color: #006633;
  margin-right: 1rem;
}

.mac-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3vw;
}

.mac-gallery__grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ===============================================
   MACプロジェクト ギャラリーセクション end
   =============================================== */
/* ===============================================
   MACプロジェクト 参考リンクセクション start
   =============================================== */

.mac-reference {
  width: 87vw;
  margin: 8vw auto 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
}

.mac-reference__list {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.mac-reference__list a {
  color: #006633;
  text-decoration: none;
  border-bottom: 1px solid #006633;
}

.mac-reference__list a:hover {
  opacity: 0.6;
}

/* ===============================================
   MACプロジェクト 参考リンクセクション end
   =============================================== */

/* ===============================================
   MACプロジェクト お問い合わせボタン start
   =============================================== */

.mac-contact {
  margin: 12vw auto;
  text-align: center;
}

.mac-contact__btn {
  display: inline-block;
  background-color: #006633;
  color: #fff;
  text-decoration: none;
  padding: 4vw 10vw;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: opacity 0.3s, transform 0.3s;
}

.mac-contact__btn:hover {
  opacity: 0.8;
  transform: translateY(-1vw);
}

/* ===============================================
   MACプロジェクト お問い合わせボタン end
   =============================================== */
  .PC {
    display: none;
    max-width: 0%;
    max-height: 0%;
  }
  .SP {}

}

