/*
Theme Name: Zip Original Theme
Theme URI:
Author: aurinko-web
Description: Original WordPress Theme
Version: 1.0
*/

/* =========================
    Reset / Base 
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
html {
  scroll-snap-type: none;
}
html, body {
  height: 100%;
  font-family: "Shippori Mincho", serif;
}
body.index {
  overflow: hidden;
  color: #fff;
  background: #6f8078;
}
body.arch {
  overflow: hidden;
  color: #fff;
  background: #6f8078;
}
body.real {
  overflow: hidden;
  color: #fff;
  background: #b8ab76;
}
main {
  overflow-x: clip;
}
.sp {
	display: none;
}
.pc {
	display: block;
}
@media (max-width: 768px) {
  html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
  }
  body.arch {
    overflow: hidden;
    color: #fff;
    background: #6f8078;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
  }
  body.real {
    overflow: auto;
    color: #fff;
    background: #b8ab76;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
  }
.sp {
	display: block;
}
	.pc{
		display: none;
	}
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  width: 100%;
  display: block;
}
/* ========================= 
     Font 
========================= */

.l-m-r,
.l-b-r,
.o-s-r {
  font-family: "Old Standard TT", serif;
  font-weight: 400;
  font-style: normal;
}

.s-m-r {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

/* ========================= 
     Toppage用CSS 
========================= */

/* ========================= 
   コンテナ
========================= */

.split-container {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}


/* ========================= 
   左右共通
========================= */

.split {
  position: relative;

  /* 左右50%からスタート */
  flex: 0 0 50%;
  min-width: 0;

  height: 100%;
  box-sizing: border-box;
  overflow: hidden;

  display: flex;
  align-items: center;

  cursor: pointer;

  /* 拡大・縮小スピード */
  transition: flex-basis 0.9s ease-in-out;
}


/* 左 */
.split.left {
  justify-content: flex-end;
  padding-right: 3%;
}


/* 右 */
.split.right {
  justify-content: flex-start;
  padding-left: 3%;
}


/* ========================= 
   背景
========================= */

.split::before {
  content: "";
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  transition:
    transform 0.9s ease-in-out,
    filter 0.9s ease-in-out;

  z-index: 0;
}


/* Architecture */
.split.left::before {
  background-image: url("img/top_l.png");
}


/* Architecture オーバーレイ */
.split.left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(90, 119, 107, .3);
}


/* Real Estate */
.split.right::before {
  background-image: url("img/top_r.png");
}


/* Real Estate オーバーレイ */
.split.right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(127, 104, 5, .3);
}


/* ========================= 
   テキストレイアウト
========================= */

.split-inner {
  position: relative;
  z-index: 2;

  transition: transform 0.7s ease-in-out;
}


/* 左寄せ */
.split.left .split-inner {
  text-align: right;
}


/* 右寄せ */
.split.right .split-inner {
  text-align: left;
}


/* タイトル（英語） */
.split h1 {
  font-size: clamp(44px, 7vw, 100.8px);
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}


/* 日本語 */
.split h2 {
  font-size: clamp(20px, 1.6vw, 23px);
  letter-spacing: .3em;
  margin-bottom: 16px;
  color: #fff;
}


/* 英文 */
.split p {
  font-size: 15px;
  line-height: 1.8;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}


/* ========================= 
   背景画像ホバー
========================= */

.split:hover::before {
  transform: scale(1.08);
  filter: brightness(0.8);
}


/* ========================= 
   PC：左右拡張
========================= */

/* Architecture にカーソル */
.split-container.left .split.left {
  flex-basis: 70%;
}

.split-container.left .split.right {
  flex-basis: 30%;
}


/* Real Estate にカーソル */
.split-container.right .split.right {
  flex-basis: 70%;
}

.split-container.right .split.left {
  flex-basis: 30%;
}


/* ========================= 
   SP対応
========================= */

@media (max-width: 768px) {

  .split-container {
    flex-direction: column !important;
    width: 100%;
    height: 100svh;
  }


  .split {
    width: 100%;
    flex: 0 0 50svh;
    height: 50svh;

    /* SPでは左右幅のアニメーション不要 */
    transition:
      height 0.9s ease-in-out,
      opacity 0.9s ease-in-out;
  }


  .split.left {
    padding-right: 3%;
  }


  .split.right {
    padding-left: 3%;
  }


  .split h1 {
    font-size: 44px;
  }


  .split h2 {
    font-size: 20px;
  }


  /* オーバーレイ（可読性アップ） */
  .split::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
  }


  /* Architectureを開いたとき */
  .split-container.left .split.left {
    flex-basis: 100svh;
    height: 100svh;
  }


  /* Real Estateを開いたとき */
  .split-container.right .split.right {
    flex-basis: 100svh;
    height: 100svh;
  }


  /* 反対側を閉じる */
  .split-container.left .split.right,
  .split-container.right .split.left {
    flex-basis: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
  }

}
/* ========================= 
     Page Fade Transition 
========================= */
/* 初期状態 */
body.fade {
  opacity: 1;
  transition: opacity 0.6s ease;
}
/* フェードアウト */
body.fade-out {
  opacity: 0;
}

/* ========================= 
     基本（第3階層以降：黒） 
========================= */
/* ========================= 
     デフォルト（黒） 
========================= */
#menu li a {
  color: #000;
  transition: color 0.4s ease;
}
.badge {
  color: #000;
  border-color: #000;
  transition: all 0.4s ease;
}
.logo img {
  content: url("img/zip_logo2.png");
  transition: all 0.3s ease;
  height: 40px;
  width: auto;
}
/* ========================= 
MV時（白） ※ここが必ず勝つように強める 
========================= */
body.is-light #menu li a {
  color: #fff !important;
}
body.is-light .badge {
  color: #fff !important;
  border-color: #fff !important;
}
body.is-light .logo img {
  content: url("img/zip_logo2.png") !important;
}
/* ========================= 
第1・第2階層（白） 
========================= */
body.arch #menu li a, body.real #menu li a {
  color: #fff !important;
}
body.arch .badge, body.real .badge {
  color: #fff !important;
  border-color: #fff !important;
}
body.arch .logo img, body.real .logo img {
  content: url("img/zip_logo2.png") !important;
}
.index .logo img, .arch .logo img, .real .logo img, .post .logo img {
  content: url("img/zip_logo2.png");
}

/* ========================= 
   Header / Logo 
========================= */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}

.logo {
  position: fixed;
  top: 30px;
  left: 5%;
  z-index: 10;
}

.logo img {
  height: 40px;
}


/* ========================= 
   Menu（PC：中央固定） 
========================= */

#menu {
  position: fixed;
  top: 20px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;

  z-index: 100;
}

#menu li {
  list-style: none;

  margin: 20px 30px;

  font-size: 15px;

  text-transform: uppercase;

  letter-spacing: .1rem;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#menu li a:hover {
  opacity: 0.6;
}


/* ========================= 
   ハンバーガー
   PCでは非表示
========================= */

.hamburger {
  display: none;

  position: fixed;

  top: 25px;
  right: 20px;

  width: 30px;
  height: 30px;

  padding: 0;

  z-index: 9999;

  background: none;
  border: none;

  cursor: pointer;
}


/* ========================= 
   ハンバーガーの線
========================= */

.hamburger span {
  position: absolute;

  left: 0;

  width: 30px;
  height: 2px;

  margin: 0;

  background: #000;

  transform-origin: center;

  transition:
    top 0.3s ease,
    transform 0.4s ease,
    opacity 0.3s ease,
    background-color 0.3s ease;
}


/* 1本目 */

.hamburger span:nth-child(1) {
  top: 6px;
}


/* 2本目 */

.hamburger span:nth-child(2) {
  top: 14px;
}


/* 3本目 */

.hamburger span:nth-child(3) {
  top: 22px;
}


/* ========================= 
   ハンバーガー色切替
========================= */

body.is-light .hamburger span,
body.arch.is-light .hamburger span,
body.real.is-light .hamburger span {
  background: #fff;
}


/* ========================= 
   ハンバーガー OPEN → ×
========================= */

.hamburger.open span:nth-child(1) {
  top: 14px;

  transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  top: 14px;

  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  top: 14px;

  transform: rotate(-45deg);
}


/* メニューOPEN時も白 */

body.is-light .hamburger.open span,
body.arch.is-light .hamburger.open span,
body.real.is-light .hamburger.open span {
  background: #fff;
}


/* ========================= 
   SPメニュー
========================= */

.sp-menu {
  position: fixed;

  inset: 0;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.4s ease;

  z-index: 9998;

  overflow: hidden;

  margin-top: -100px;
}


/* ========================= 
   SPメニュー背景
========================= */

.sp-menu::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(111, 128, 120, .95);

  z-index: -1;
}


/* ========================= 
   SPメニュー OPEN
========================= */

.sp-menu.open {
  opacity: 1;

  pointer-events: auto;
}


/* ========================= 
   SPメニュー LIST
========================= */

.sp-menu-list {
  list-style: none;

  text-align: center;

  margin: 0;
  padding: 0;
}

.sp-menu-list li {
  margin: 20px 0;

  padding-bottom: 30px;

  font-size: 36px;

  letter-spacing: .3rem;
}

.sp-menu-list a {
  color: #fff;

  text-decoration: none;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


/* ========================= 
   スマホ切替
========================= */

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

  #menu {
    display: none;
  }

  .pc-badge {
    display: none;
  }

  .hamburger {
    display: block;
  }

}
/* ========================= 
     Badge 
========================= */
.badge {
  position: fixed;
  top: 30px;
  right: 5%;
  z-index: 20;
  text-align: center;
  width: 110px;
  height: 110px;
  border: 1px solid #000;
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
  background: rgba(255, 255, 255, 0.1);
  letter-spacing: .2rem;
  transition: all 0.4s ease;
}
/* SPバッジ */
/*.sp-badge {
  margin-top: 40px;
  border-color: #000;
  color: #000;
} */
/* worksページのバッジ */
body.works .badge, body.news .badge, body.contact .badge {
  color: #333;
  border: 1px solid #333;
  background: rgba(0, 0, 0, 0.05);
}
.badge div {
  font-size: 18px;
}
.badge div span {
  font-size: 13px;
}
@media (max-width: 768px) {
  .badge1 {
    bottom: 5%;
    right: 10%;
  }
  .badge2 {
    bottom: 5%;
    left: 10%;
  }
  .sp-badge {
    position: fixed;
    z-index: 20;
    text-align: center;
    width: 130px;
    height: 130px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    background: rgba(255, 255, 255, 0.1);
    letter-spacing: .2rem;
  }
  .badge1 div, .badge2 div {
    font-size: 18px;
    color: #fff;
  }
  .badge1 div span, .badge2 div span {
    font-size: 13px;
    color: #fff;
  }
}
/* ========================= 
     Section 
========================= */
.area {
  position: relative;
  overflow: hidden;
  opacity: 0.3;
  transition: opacity 0.8s ease;
}

.area.active {
  opacity: 1;
}

/* ========================= 
   PC
========================= */
@media (min-width: 769px) {

  .area {
    height: 100vh;
  }

}

/* ========================= 
   SP
========================= */
@media (max-width: 768px) {

  .area {
    min-height: 100vh;
    min-height: 100svh; /* ← スマホ対策 */
    padding: 100px 20px 60px;
    box-sizing: border-box;
    scroll-snap-align: start;
  }

}
/* ========================= 
     Background 
========================= */
.Section-Image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: 1.2s ease;
}
.area.active .Section-Image {
  opacity: 1;
  transform: scale(1);
}
/* 背景指定 */
/* 背景 */
.img-bg-arch {
  background-image: url("img/top_arch.png");
  background-size: cover;
  background-position: center;
}
/* フィルター（こっちに持たせる） */
.overlay-arch {
  position: absolute;
  inset: 0;
  background: rgba(90, 119, 107, 0.4);
  opacity: 0;
  transition: opacity 1s ease;
}
.area.active .overlay-arch {
  opacity: 1;
}
.img-bg-real {
  background-image: url("img/top_real.png");
  background-size: cover;
  background-position: center;
}
/* フィルター（こっちに持たせる） */
.overlay-real {
  position: absolute;
  inset: 0;
  background: rgba(127, 104, 5, 0.3);
  opacity: 0;
  transition: opacity 1s ease;
}
.area.active .overlay-real {
  opacity: 1;
}
.img-bg-02 {
  background-color: #A5B7AE;
}
.img-bg-03 {
  background-color: #D2CAA8;
}
/* ========================= 
     Overlay（修正済）
========================= */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0..2);
  opacity: 0;
  transition: 1s;
}
.area.active .overlay {
  opacity: 1;
}
@media (max-width: 768px) {
	.overlay {
  display: none;
}
}
/* ========================= 
     Content 
========================= */
.Section-Content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-name {
  position: fixed;
  left: 5%;
  top: 50%;
  writing-mode: vertical-rl;
  letter-spacing: .2rem;
}
/* ========================= 
     MV 
========================= */
#mv h1 {
  font-size: clamp(70px, 8vw, 115.2px);
  text-align: center;
  line-height: 1;
  letter-spacing: .6rem;
}
#mv h1 span {
  font-size: clamp(24px, 2.4vw, 34.56px);
}

@media (max-width: 768px) {
#mv h1  {
  font-size: 44px;
  letter-spacing: .2rem;
}
#mv h1 span {
    font-size: 20px;
    letter-spacing: .2em;
  }
}
/* ========================= 
     Feature 
========================= */
.feature {
  display: grid;
  grid-template-columns: 30% 40% 30%;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  margin-top: 100px;
}
@media (min-width: 769px) and (max-width: 1080px) {

  .feature {
    width: 96%;
    margin-left: 5%;
  }

}
/* 左 */
.feature__title {
  padding: 40px 0 40px 40px;
}
.feature__title h2 {
  font-size: 28px;
}
.feature__title img {
  width: 40px;
}
/* 中央 */
.feature__image {
  position: relative;
  padding: 40px;
  text-align: center;
}
.feature__overlay {
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7vw;
  letter-spacing: .2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* 右 */
.feature__text {
  padding: 40px;
}
.feature__text h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.feature__text p {
  font-size: 14px;
  line-height: 1.8;
}
/* ボタン */
.btn {
  font-size: 16px;
  margin-top: 40px;
  letter-spacing: .2rem;
  display: inline-block;
  transition: transform 0.3s ease-out;
}
.btn:hover {
  transform: scale(1.2);
}
/* ========================= 
     Scroll UI 
========================= */
/*スクロールバー*/
.scroll {
  display: inline-block;
  position: absolute;
  bottom: 0;
  padding: 10px 10px 110px;
  color: #fff;
  font-size: 14px;
  font-family: serif;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: capitalize;
  left: 50%;
  transform: translateX(-50%);
}
.scrollbar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1px;
}
.scrollbar::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: 0;
  width: .5px;
  height: 50px;
  background: #fff;
}
.scrollbar::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -3.7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: circlemove 3s ease-in-out infinite, cirlemovehide 3s ease-out infinite;
}
@keyframes circlemove {
  0% {
    bottom: 95px;
  }
  100% {
    bottom: 0px;
  }
}
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 768px) {
/* MVを基準にする */
#mv {
  position: relative;
  height: 100vh;
}

/* スクロールUI */
.scroll {
  position: absolute;
  bottom: 0px; /* ← 少し余白 */
  left: 50%;
  transform: translateX(-50%);
}

/* バー */
.scrollbar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

}
/* ========================= 
     Footerエリア 
========================= */

.footer-area {
  position: relative;
}

/* =========================
   下半分の背景
========================= */

.footer-bg-arch,
.footer-bg-real {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 50%;

  z-index: 2;

  display: flex;
  align-items: center;
}

/* Architecture */
.footer-bg-arch {
  background: #A5B7AE;
}

/* Real Estate */
.footer-bg-real {
  background: #D2CAA8;
}


/* =========================
   Footer 中身
========================= */

.footer-inner {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;

  width: 90%;
  max-width: 1000px;

  margin: 0 auto;

  color: #fff;
}


/* =========================
   左側
========================= */

.footer-left {
  text-align: left;
}

.footer-logo {
  width: 100px;
  margin-bottom: 20px;
}

.footer-company {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}

.footer-left p {
  font-size: 14px;
  line-height: 1.8;
}


/* =========================
   右側
========================= */

.footer-right {
  text-align: right;
}


/* GET IN TOUCH */

.footer-cta {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.1em;

  margin-bottom: 30px;

  text-align: left;
}


/* =========================
   ボタン
========================= */

.footer-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.footer-buttons a {
  padding: 12px 24px;

  font-size: 20px;
  letter-spacing: 0.1em;

  text-decoration: none;
  text-align: center;

  transition: all 0.3s ease;
}

.footer-buttons a span {
  font-size: 14px;
  letter-spacing: normal;
}


/* 枠線 */

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
}


/* hover */

.footer-buttons a:hover {
  transform: translateY(-2px);
  background: rgba(225, 225, 225, 0.1);
  opacity: 0.8;
}


/* =========================
   Footer SP
========================= */

@media (max-width: 768px) {

  /* 下半分の背景 */
  .footer-bg-arch,
  .footer-bg-real {
    height: 100%;

    display: flex;
    align-items: center;
  }

  /* Footer中身 */
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 90%;
    max-width: 100%;

    margin: 0 auto;
    padding: 0;

    gap: 20px;

    text-align: center;
  }

  /* 並び順 */
  .footer-right {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .footer-left {
    order: 2;
    width: 100%;
    text-align: center;
  }

  /* GET IN TOUCH */
  .footer-cta {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
  }

  /* ボタン */
  .footer-buttons {
    display: flex;
    flex-direction: column;

    gap: 15px;

    width: 100%;
    max-width: 300px;

    margin: 0 auto;
  }

  .footer-buttons a {
    width: 100%;
    padding: 14px 20px;
    text-align: center;
  }

  /* ロゴ */
  .footer-logo {
    width: 100px;
    margin: 0 auto 20px;
  }

  .footer-left p {
    text-align: center;
  }

}

/* ========================= 
     Responsive 
========================= */
@media (max-width: 768px) {
  body {
    overflow: auto;
  }
	
/* =========================
   SP：feature調整（見切れ対策）
========================= */

  /* 中央コンテンツ */
  .Section-Content {
    align-items: flex-start; /* ← 上寄せにする */
    padding-top: 80px;
  }

	
/*  .feature {
    grid-template-columns: 1fr;
  }*/

  /* featureを縦並び */
/*  .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }*/

 /* レイアウトを縦に */
  .feature {
    display: block;
    position: relative;
	margin-top: 0;
  }

  /* タイトル */
  .feature__title {
    text-align: left;
    width: 100%;
    max-width: 320px; /* ← レイアウト崩れ防止 */
    position: relative;
    z-index: 2;
    padding: 0 20px;
  }

  .feature__title h2 {
    font-size: 22px;
  }

  /* 画像 */
  .feature__image {
    padding: 0;
    max-width: 280px; /* ← ここでサイズ制御 */
    position: relative;
    width: 75%;           /* ← 小さめ */
    margin-left: auto;    /* ← 右寄せ */
    margin-top: -40px;    /* ← 少し上にずらして重なり */
    z-index: 1;
  }

  .feature__image img {
    width: 100%;
    height: auto;
  }

  /* 背景英字 */
    .feature__overlay {
        position: absolute;
        top: -50%;
        left: 50%;
		transform: translateX(-50%);
        font-size: 13vw;
        opacity: 0.2;
        z-index: 0;
        pointer-events: none;
		
    }

  /* テキスト */
  .feature__text {
    padding: 20px;
    text-align: center;
  }

  .feature__text h3 {
    font-size: 20px;
	text-align: left;
  }

  .feature__text p {
    font-size: 15px;
	text-align: left;
  }
  /* テキスト */

  /* ボタン */
  .feature__image .btn {
    display: block;
    margin-top: 15px;
    text-align: right;
	}

  #mv h1 {
    font-size: 8.2vw;
  }
}
/* =========================
   works,news,contact共通
========================= */

body.works,
body.news,
body.contact {
  overflow: auto;
  color: #333;
  background: #fff;
}

.works-title,
.news-title,
.contact-title,
.thanks-title {
  padding-top: 240px;
  text-align: center;
  width: 100%;
}

.works-title h1,
.news-title h1,
.contact-title h1,
.thanks-title h1 {
  font-size: 60px;
  letter-spacing: .3rem;
}

.works-title h1 span,
.news-title h1 span,
.contact-title h1 span,
.thanks-title h1 span {
  font-size: 20px;
}


@media (max-width:768px) {

  .works-title,
  .news-title,
  .contact-title,
  .thanks-title {
    padding-top: 160px;
  }

  .works-title h1,
  .news-title h1,
  .contact-title h1,
  .thanks-title h1 {
    font-size: 40px;
    letter-spacing: .26rem;
  }

  .works-title h1 span,
  .news-title h1 span,
  .contact-title h1 span,
  .thanks-title h1 span {
    font-size: 18px;
  }

}
/* ========================= 
Works メインビジュアル（1件強調） 
========================= */
/* ========================= 
レイアウト調整（右60%画像） 
========================= */
/* ラッパー（高さ確保） */
.works-features {
  position: relative;
  min-height: 500px;
}
/* 各Feature */
.works-feature {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
/* 表示状態 */
.works-feature.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
/* レイアウト */
.works-feature__inner {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  position: relative;
  margin: 0 auto;
}
.works-feature__text {
  width: 90%;
  position: relative;
  z-index: 2;
  margin-right: -5%;
}
/* 画像（右側・画面いっぱい） */
.works-feature__image {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 780px;
  height: 500px;
  overflow: hidden;
}
/* 画像本体（トリミング） */
.works-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← これが超重要 */
  object-position: center;
  display: block;
}
/* ========================= 
     アニメーション（空気感あり）
========================= */
/* 初期状態 */
.works-feature__text, .works-feature__image {
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.98);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
} /* 表示 */
.works-feature.active .works-feature__text, .works-feature.active .works-feature__image {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
/* 時差（テキスト → 画像） */
.works-feature.active .works-feature__text {
  transition-delay: 0s;
}
.works-feature.active .works-feature__image {
  transition-delay: 0.25s;
}
/* ========================= 
     テキスト 
========================= */
/* 英文タイトル */
.works-feature__text h2 {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: #000;
}
/* サブ */
.works-feature__text p {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}
/* ========================= 
     スマホ 
========================= */
@media (max-width:768px) {
  .works-feature__inner {
    grid-template-columns: 1fr;
  }
.works-features {
  position: relative;
  min-height: 300px;
}
.works-feature__text {
    padding-top: 110px;
    width: 100%;
    text-align: left;
    order: 1;
  }
  .works-feature__image {
    order: 2;
  }
  .works-feature__text h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
.works-feature__image {
    top: -30px;
    max-width: 220px;
    height: 270px;
}
}
/* タブ */
.works-tabs {
  display: flex;
  justify-content: center;
  gap: 4%;
  margin: 60px 0;
  flex-wrap: wrap;
}
.works-tab {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  border: 1px solid #777;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.works-tab span {
  font-size: 12px;
}
/* ホバー */
.works-tab:hover {
  transform: scale(1.08);
  background: rgba(0, 0, 0, 0.05);
}
/* アクティブ */
.works-tab.active {
  background: #A5B7AE;
  color: #fff;
  /* border消さない（重要） */
  border: 1px solid #A5B7AE;
}
/* 一覧 */
.works-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
/* ========================= 
     カード本体 
========================= */
.work-item {
  display: flex;
  flex-direction: column;
}
/* =========================
     画像エリア（ここが本体）
========================= */
.work-image {
  position: relative;
  overflow: hidden; /* ← 重要：ここだけで切る */
  width: 100%;
}
/* 画像 */
.work-image img {
  width: 100%;
  height: 340px; /* ← 枠固定（安定） */
  object-fit: cover; /* ← どんな画像もトリミング */
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}
/* hoverズーム（画像だけ） */
.work-item:hover .work-image img {
  transform: scale(1.1);
}
/* 画像暗くするレイヤー（画像内だけ） */
.work-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.work-item:hover .work-image::after {
  opacity: 1;
}
/* ========================= 
     タイトル（完全に外） 
========================= */
.work-title {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
  position: relative;
}
/* スマホ */
@media (max-width:768px) {
  .works-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 20px;
    scroll-snap-type: x mandatory;
	flex-wrap: nowrap;
  }
  .works-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    border-radius: 50px; /* ← 丸 → ピル型 */
    width: auto;
    height: auto;
    padding: 10px 16px;
    font-size: 12px;
    line-height: 1.4;
    border: 1px solid #ccc;
    background: #fff;
    white-space: nowrap;
    transition: all 0.3s ease;
  }
  .works-list {
    grid-template-columns: 1fr;
  }
  .works-tab span {
    display: none; /* 日本語は非表示（スッキリ） */
  }
  .works-tab.active {
    background: #A5B7AE;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .works-tab:hover {
    transform: none; /* スマホでガタつき防止 */
  }
}
/* =========================
   News List
========================= */

.news-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}


/* =========================
   News Item
========================= */

.news-item {
  display: flex;
  flex-direction: column;
}

.news-item-link {
  display: block;
  color: inherit;
  text-decoration: none;
}


/* =========================
   News Image
========================= */

.news-image {
  position: relative;
  overflow: hidden;

  width: 100%;
  height: 340px;
}


/* 画像 */

.news-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1);
  transition: transform 0.6s ease;
}


/* hoverズーム */

.news-item:hover .news-image img {
  transform: scale(1.1);
}


/* 画像暗くするレイヤー */

.news-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.15);

  opacity: 0;

  transition: opacity 0.4s ease;

  pointer-events: none;
}

.news-item:hover .news-image::after {
  opacity: 1;
}


/* =========================
   アイキャッチなし
========================= */

.news-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  padding: 30px;

  box-sizing: border-box;

  /* Architectureと同じモスグリーンに変更 */
  background: #A5B7AE;
}

.news-image-placeholder span {
  position: relative;
  z-index: 1;

  color: #fff;

  font-size: 18px;
  line-height: 1.8;
  letter-spacing: .08em;

  text-align: center;
}


/* =========================
   News Title
========================= */

.news-item-title {
  position: relative;

  margin: 12px 0 0;

  font-size: 14px;
  line-height: 1.7;

  color: #333;
}


/* =========================
   Pagination
========================= */

.news-pagination {
  display: flex;
  justify-content: center;

  width: 100%;

  margin: 70px auto 0;
  padding: 0 20px 100px;

  box-sizing: border-box;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 42px;

  margin: 0 4px;
  padding: 0 10px;

  border: 1px solid #333;

  box-sizing: border-box;

  color: #333;
  background: #fff;

  font-size: 12px;
  letter-spacing: .05em;

  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
  background: #333;
  color: #fff;
}


/* =========================
   News Empty
========================= */

.news-empty {
  grid-column: 1 / -1;

  margin: 40px 0 100px;

  text-align: center;

  font-size: 14px;
  line-height: 2;
}


/* =========================
   News SP
========================= */

@media (max-width:768px) {

  .news-list {
    grid-template-columns: 1fr;
    gap: 30px;

    padding: 40px 20px;
  }

  .news-image {
    height: 220px;
  }

  .news-image-placeholder {
    padding: 20px;
  }

  .news-image-placeholder span {
    font-size: 15px;
    line-height: 1.8;
  }

  .news-item-title {
    margin-top: 10px;

    font-size: 14px;
  }

  .news-pagination {
    margin-top: 50px;
    padding-bottom: 80px;
  }

  .news-pagination .page-numbers {
    min-width: 38px;
    height: 38px;

    margin: 0 3px;

    font-size: 11px;
  }

}
/* ========================= 
     Footer（Works用：白背景） 
========================= */
.footer-works {
  background: #fff;
  color: #333;
  padding: 100px 20px 80px;
  border-top: 1px solid #eee;
}
/* レイアウトはそのまま流用 */
.footer-works .footer-inner {
  display: grid;
  grid-template-columns: 45% 55%;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}
/* 左 */
.footer-works .footer-left {
  text-align: left;
  color: #333;
}
.footer-works .footer-logo {
  width: 100px;
  margin-bottom: 20px;
}
.footer-works .footer-company {
  font-size: 20px;
  margin-bottom: 10px;
}
/* 右 */
.footer-works .footer-right {
  text-align: left;
}
/* タイトル */
.footer-works .footer-cta {
  font-size: 48px;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}
.black {
  color: #555;
}
/* ボタン */
.footer-works .footer-buttons {
  display: flex;
  gap: 20px;
}
/* ボタン（黒版） */
.footer-works .btn-outline {
  border: 1px solid #333;
  color: #333;
}
.footer-works .btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
/* ========================= 
     スマホ 
========================= */
@media (max-width: 768px) {
  .footer-works .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  /* 並び順 */
  .footer-works .footer-right {
    order: 1;
    text-align: center;
  }
  .footer-works .footer-left {
    order: 2;
    text-align: center;
  }
  .footer-works .footer-cta {
    font-size: 32px;
  }
  .footer-works .footer-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .footer-works .footer-buttons a {
    width: 100%;
    text-align: center;
    padding: 14px;
  }
}
/* ========================= 
     WorksポストとAboutページ 
========================= */
/* ========================= 
     デフォルト（） 
========================= */
/* デフォルトは黒 */
/*.post #menu li a, .post .badge {
  color: #000;
  border-color: #000;
}*/
.post .logo img {
  content: url("img/zip_logo2.png");
}
/* MVだけ白 */
/*.post .is-light #menu li a, .post .is-light .badge { color: #fff; border-color: #fff; }*/
.post .is-light .logo img {
  content: url("img/zip_logo.png");
}
/* ========================= 
全画面背景写真タイトルMV 
========================= */
.onpt-title {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
/* works詳細背景画像 */
.onpt-title__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  animation: worksBgZoom 10s ease-out forwards;
}
/* うっすらフィルター */
.onpt-title__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* ← 好みで調整 */
}
/* about背景画像 */
.about-title__bg {
  position: absolute;
  inset: 0;
  background-image: url("img/about_bg.png"); /* 好きな画像に変更OK */
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  animation: worksBgZoom 10s ease-out forwards;
}
/* うっすらフィルター */
.about-title__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* ← 好みで調整 */
}
/* タイトル */
.onpt-title h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(60px, 7vw, 100.8px);
  line-height: 1.1;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(20px);
  animation: titleFade 1.2s ease forwards;
  animation-delay: 0.3s;
}
/* サブ */
.onpt-title span {
  font-size: clamp(20px, 2vw, 28.8px);
}
/* 背景ズーム */
@keyframes worksBgZoom {
  from {
    transform: scale(1.15);
  }
  to {
    transform: scale(1);
  }
} /* タイトルフェード */ @keyframes titleFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========================= 
     スマホ 
========================= */
@media (max-width:768px) {
  .onpt-title h1 {
    font-size: 12vw;
  }
  .onpt-title span {
    font-size: 4vw;
  }
}
/* ========================= 
     Works 投稿一覧 
========================= */
.works_post-list {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}
/* 各画像枠 */
.works_post-img {
  position: relative;
  overflow: hidden; /* ← ズームの切り抜き */
  cursor: pointer;
}
/* 画像 */
.works_post-img img {
  width: 100%;
  height: 260px; /* ← 統一感（重要） */
  object-fit: cover; /* ← どんな画像でも綺麗にトリミング */
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}
/* hoverズーム */
.works_post-img:hover img {
  transform: scale(1.08);
}
/* ほんのり暗くする */
.works_post-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.works_post-img:hover::after {
  opacity: 1;
}
/* ========================= 
     スマホ 
========================= */
@media (max-width:768px) {
  .works_post-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .works_post-img img {
    height: 220px;
  }
}

/* =========================
   Works Pagination
========================= */

.works-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 8px;

  width: 100%;

  margin: 70px auto 100px;
  padding: 0 20px;

  box-sizing: border-box;
}


.works-pagination .page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 42px;

  padding: 0 10px;

  border: 1px solid #333;
  border-radius: 0;

  background: #fff;
  color: #333;

  font-family: inherit;
  font-size: 12px;
  letter-spacing: .05em;

  cursor: pointer;

  transition:
    background .3s ease,
    color .3s ease;
}


.works-pagination .page-number:hover,
.works-pagination .page-number.active {
  background: #333;
  color: #fff;
}


/* PREV / NEXT */

.works-pagination .prev,
.works-pagination .next {
  padding: 0 18px;
}


/* =========================
   Works Pagination SP
========================= */

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

  .works-pagination {
    gap: 6px;

    margin-top: 50px;
    margin-bottom: 80px;
  }

  .works-pagination .page-number {
    min-width: 38px;
    height: 38px;

    padding: 0 8px;

    font-size: 11px;
  }

  .works-pagination .prev,
  .works-pagination .next {
    padding: 0 12px;
  }

}
/* =========================
   Works解説詳細テーブル
========================= */
.works_post-details {
  max-width: 1100px;
  margin: 0 auto 80px;
}
.detail-table {
  width: 40%;
  margin-left: auto; /* ←右寄せ */
  padding: 20px;
}
@media (max-width:768px) {
.detail-table {
  width: 100%;
}
}
/* 各行 */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid #ccc; /* ←横線 */
}
/* 最後にも線を入れる */
.detail-row:last-child {
  border-bottom: 1px solid #ccc;
}
/* ラベル（左） */
.label {
  font-size: 14px;
  letter-spacing: 0.1em;
}
/* 値（右） */
.value {
  font-size: 14px;
  text-align: right;
}

/* =========================
   Works Detail Gallery
========================= */

.works_post-gallery .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;

  gap: 30px;

  width: 100%;
}


/* Gallery Item */

.works_post-gallery .wp-block-gallery .wp-block-image {
  width: 100% !important;

  margin: 0 !important;
}


/* Image */

.works_post-gallery .wp-block-gallery .wp-block-image img {
  display: block;

  width: 100% !important;
  height: auto !important;

  object-fit: cover;
}


/* =========================
   Works Detail Gallery SP
========================= */

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

  .works_post-gallery .wp-block-gallery {
    grid-template-columns: 1fr !important;

    gap: 20px;
  }

}
/* ========================= 
   Aboutページ 
========================= */


/* ========================================
   PHILOSOPHY
======================================== */

.philosophy {
  position: relative;

  width: 100%;
  min-height: 100vh;

  padding: 180px 0 160px;

  background: #909580;

  overflow: clip;
}


/* ========================================
   PHILOSOPHY 背景文字
======================================== */

.philosophy__bg-title {
  position: sticky;
  top: 40px;

  width: 100%;

  margin-bottom: -300px;

  color: rgba(255, 255, 255, 0.1);

  font-size: clamp(150px, 20vw, 220px);
  line-height: 1;

  text-align: center;
  white-space: nowrap;

  pointer-events: none;

  z-index: 0;
}


/* ========================================
   PHILOSOPHY CONTENTS
======================================== */

.philosophy__contents {
  position: relative;

  z-index: 1;

  width: calc(100% - 80px);
  max-width: 1200px;

  margin: 0 auto;
}


/* ========================================
   PHILOSOPHY BLOCK
======================================== */

.philosophy__block {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 8%;

  width: 100%;
  max-width: 900px;

  min-height: 650px;

  padding: 80px 0;
  margin: 0 auto;
}


/* 02のみ左右反転 */

.philosophy__block--reverse {
  flex-direction: row-reverse;
}


/* ========================================
   PHILOSOPHY TEXT
======================================== */

.philosophy__text {
  width: 42%;

  color: #fff;
}


/* 英字タイトル */

.philosophy__text h2 {
  margin: 0 0 20px;

  color: #fff;

  font-size: clamp(32px, 3vw, 46px);
  line-height: 1;
  letter-spacing: .05em;

  font-weight: 400;
}


/* 01 + 日本語見出し */

.philosophy__sub {
  display: flex;

  align-items: center;

  gap: 20px;

  margin-bottom: 35px;
}


/* 数字画像 */

.philosophy__number-img {
  display: block;

  width: 65px;
  height: auto;

  flex-shrink: 0;
}


/* 日本語小見出し */

.philosophy__label {
  margin: 0;

  color: #fff;

  font-size: 20px;
  line-height: 1.6;

  letter-spacing: .1em;
}


/* 本文 */

.philosophy__jp {
  margin: 0;

  color: #fff;

  font-size: 16px;
  line-height: 2;

  letter-spacing: .08em;
}


/* ========================================
   PHILOSOPHY IMAGE
======================================== */

.philosophy__image {
  width: 50%;
}


.philosophy__image img {
  display: block;

  width: 100%;
  height: auto;

  aspect-ratio: 3 / 3.5;

  object-fit: cover;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}


/* ========================================
   PHILOSOPHY Scroll Animation
======================================== */

.philosophy__block {
  opacity: 0;

  transform: translateY(50px);

  transition:
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(.22, 1, .36, 1);
}


/* 表示されたとき */

.philosophy__block.is-show {
  opacity: 1;

  transform: translateY(0);
}


/* ========================================
   PHILOSOPHY SP
======================================== */

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

  .philosophy {
    padding: 100px 0 80px;
  }


  /* 背景文字 */

  .philosophy__bg-title {
    top: 70px;

    margin-bottom: -80px;

    font-size: clamp(70px, 23vw, 120px);

    overflow: hidden;
  }


  /* CONTENTS */

  .philosophy__contents {
    width: calc(100% - 40px);
  }


  /* BLOCK */

  .philosophy__block,
  .philosophy__block--reverse {
    flex-direction: column;

    align-items: stretch;

    gap: 35px;

    min-height: auto;

    padding: 80px 0;
  }


  /* TEXT */

  .philosophy__text {
    width: 100%;
  }


  .philosophy__text h2 {
    margin-bottom: 25px;

    font-size: 28px;
    line-height: 1.3;
  }


  .philosophy__jp {
    font-size: 14px;
    line-height: 2;
  }


  /* IMAGE */

  .philosophy__image {
    width: 100%;
  }


  .philosophy__image img {
    width: 100%;
    height: auto;

    aspect-ratio: 4 / 3;

    object-fit: cover;
  }

}


/* ========================================
   ABOUT - OVERVIEW / ACCESS TITLE
======================================== */

.overview > h2,
.access > h2 {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 260px 0 120px;

  text-align: center;

  font-family: "Libertinus Math", serif;

  font-size: clamp(40px, 7vw, 60px);
  font-weight: 400;
  line-height: 1;

  letter-spacing: .05em;
}


/* ========================================
   OVERVIEW
======================================== */

.overview {
  position: relative;

  max-width: 1200px;

  margin: 0 auto;
}


/* 背景画像 */

.overview_bg {
  position: absolute;

  left: -50px;
  bottom: -80px;

  width: 53%;

  opacity: .8;

  overflow: hidden;

  z-index: -1;
}


/* ========================================
   OVERVIEW TABLE
======================================== */

.company-table {
  display: flex;

  gap: 80px;

  max-width: 880px;

  margin: 0 auto;

  padding: 0 20px;
}


.company-col {
  flex: 1;
}


/* 行 */

.row {
  margin-bottom: 40px;
}


/* 見出し */

.label {
  display: flex;

  align-items: center;

  margin-bottom: 10px;

  font-size: 16px;

  letter-spacing: .1em;

  white-space: nowrap;
}


/* 横線 */

.label::after {
  content: "";

  flex: 1;

  height: 1px;

  margin-left: 15px;

  background: #999;
}


/* 内容 */

.content {
  color: #333;

  font-size: 16px;
  line-height: 1.8;
}


.access {
  position: relative;

  max-width: 880px;

  margin: 0 auto;

  padding: 100px 20px;
}


.access_bg {
  position: absolute;

  right: -150px;
  bottom: 80px;

  width: 100%;

  opacity: .8;

  z-index: -1;

  pointer-events: none;
}


/* ========================================
   ACCESS MAP
======================================== */

.access-map {
  width: 100%;
  max-width: 880px;
  height: 400px;

  margin-bottom: 40px;
}


.access-map iframe {
  width: 100%;
  height: 100%;
}


/* ========================================
   ACCESS INFO
======================================== */

.access-info {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 40px;

  max-width: 880px;

  margin: 40px auto 0;
}


.access-row {
  padding-bottom: 10px;
}


.access-text {
  line-height: 1.6;
}


.bold {
  font-weight: bold;
}


/* ========================================
   OVERVIEW / ACCESS SP
======================================== */

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

  /* タイトル */

  .overview > h2,
  .access > h2 {
    margin: 100px 0 40px;

    font-size: clamp(42px, 14vw, 60px);
    line-height: 1;

    text-align: center;
  }


  /* OVERVIEW */

  .company-table {
    flex-direction: column;
    gap: 0;
  }


  .row {
    margin-bottom: 30px;
  }


  /* ACCESS */

  .access_bg {
    right: 0;

    width: 80%;
  }


  .access-info {
    grid-template-columns: 1fr;

    gap: 20px;
  }


  .access-row {
    border-bottom: 1px solid #ccc;
  }

}

/* =========================
   Works Gallery クリック対策
========================= */

.works_post-img::before,
.works_post-img::after {
  pointer-events: none;
}

.works_post-img .works-gallery {
  position: relative;
  z-index: 2;
  display: block;
  cursor: zoom-in;
}

/* =========================
   Contact
========================= */

#contact_page {
  width: 100%;
  min-height: 100vh;
  padding: 140px 0 120px;
  background: #fff;
  color: #111;
}

#contact_page .container {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}

/* =========================
   Contact Wrapper
========================= */

.contact_wrapper {
  width: min(900px, 100%);
  margin: 100px auto 0;
}

.contact-form {
  width: 100%;
}


/* =========================
   Form Row
========================= */

.contact-form__row {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;

  min-height: 100px;

  border-bottom: 1px solid #ccc;
}

.contact-form__label {
  padding-right: 40px;
}

.contact-form__label,
.contact-form__label label {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.contact-form__label label {
  display: block;
}


/* =========================
   Required
========================= */

.required {
  margin-left: 3px;
  font-size: 12px;
}


/* =========================
   Checkbox
========================= */

.contact-form__checkbox {
  display: flex;
  align-items: center;
  width: 100%;
}

.contact-form__checkbox .wpcf7-form-control {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;

  gap: 15px 40px;
}

.contact-form__checkbox .wpcf7-list-item {
  margin: 0;
}

.contact-form__checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;

  font-size: 15px;
  line-height: 1.6;
}

.contact-form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;

  accent-color: #111;
  cursor: pointer;
}


/* =========================
   Field
========================= */

.contact-form__field {
  width: 100%;
}


/* =========================
   Input
========================= */

.contact-form__field input[type="text"],
.contact-form__field input[type="email"],
.contact-form__field input[type="tel"] {
  width: 100%;
  height: 56px;

  padding: 10px 15px;

  border: 0;
  border-radius: 0;

  background: #f5f5f5;
  color: #111;

  box-sizing: border-box;

  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;

  outline: none;

  appearance: none;
  -webkit-appearance: none;
}

.contact-form__field textarea {
  display: block;

  width: 100%;
  min-height: 220px;

  padding: 15px;

  border: 0;
  border-radius: 0;

  background: #f5f5f5;
  color: #111;

  box-sizing: border-box;

  font-family: inherit;
  font-size: 16px;
  line-height: 1.8;

  resize: vertical;
  outline: none;

  appearance: none;
  -webkit-appearance: none;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  background: #eee;
}


/* =========================
   Message
========================= */

.contact-form__row--message {
  align-items: start;
  padding: 35px 0;
}

.contact-form__row--message .contact-form__label {
  padding-top: 15px;
}


/* =========================
   Privacy
========================= */

.contact-form__privacy {
  margin-top: 50px;
  text-align: center;
}

.contact-form__privacy .wpcf7-list-item {
  margin: 0;
}

.contact-form__privacy label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  cursor: pointer;

  font-size: 14px;
  line-height: 1.8;
}

.contact-form__privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;

  margin: 0;

  accent-color: #111;
  cursor: pointer;
}

.contact-form__privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* =========================
   Required Note
========================= */

.contact-form__note {
  margin: 18px 0 0;

  text-align: center;

  font-size: 12px;
  line-height: 1.8;
}


/* =========================
   Submit
========================= */

.contact-form__submit {
  margin-top: 55px;
  text-align: center;
}

.contact-form__submit p {
  margin: 0;
}

.contact-submit {
  width: min(320px, 100%);
  height: 70px;

  border: 1px solid #111 !important;
  border-radius: 0 !important;

  background: #111 !important;
  color: #fff !important;

  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.15em;

  cursor: pointer;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.contact-submit:hover {
  background: #fff !important;
  color: #111 !important;
}


/* =========================
   Contact Form 7
========================= */

.contact-form .wpcf7-spinner {
  display: block;
  margin: 15px auto 0;
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 12px;
}

.contact-form .wpcf7-response-output {
  margin: 35px 0 0 !important;
  padding: 18px 20px !important;

  border-width: 1px !important;

  font-size: 13px;
  line-height: 1.8;
}


/* =========================
   Contact SP
========================= */

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

  #contact_page {
    padding: 100px 0 80px;
  }

  #contact_page .container {
    width: calc(100% - 40px);
  }


  /* =========================
     Wrapper
  ========================= */

  .contact_wrapper {
    width: 100%;
    margin-top: 65px;
  }


  /* =========================
     Form Row
  ========================= */

  .contact-form__row {
    display: block;

    min-height: 0;

    padding: 28px 0;
  }

  .contact-form__label {
    padding: 0;
    margin-bottom: 12px;

    font-size: 14px;
  }

  .contact-form__label label {
    font-size: 14px;
  }


  /* =========================
     Checkbox
  ========================= */

  .contact-form__checkbox {
    display: block;
  }

  .contact-form__checkbox .wpcf7-form-control {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px 25px;
  }

  .contact-form__checkbox .wpcf7-list-item {
    margin: 0;
  }

  .contact-form__checkbox label {
    font-size: 14px;
  }


  /* =========================
     Input
  ========================= */

  .contact-form__field input[type="text"],
  .contact-form__field input[type="email"],
  .contact-form__field input[type="tel"] {
    height: 52px;
    font-size: 16px;
  }

  .contact-form__field textarea {
    min-height: 180px;
    font-size: 16px;
  }


  /* =========================
     Message
  ========================= */

  .contact-form__row--message {
    padding: 28px 0;
  }

  .contact-form__row--message .contact-form__label {
    padding-top: 0;
  }


  /* =========================
     Privacy
  ========================= */

  .contact-form__privacy {
    margin-top: 40px;
    text-align: center;
  }

  .contact-form__privacy label {
    justify-content: center;
    font-size: 13px;
  }

  .contact-form__privacy input[type="checkbox"] {
    flex-shrink: 0;
  }


  /* =========================
     Required Note
  ========================= */

  .contact-form__note {
    text-align: center;
  }


  /* =========================
     Submit
  ========================= */

  .contact-form__submit {
    margin-top: 45px;
  }

  .contact-submit {
    height: 64px;
  }

}

/* =========================
   Thanks
========================= */

#thanks_page {
  width: 100%;
  min-height: 100vh;
  padding: 140px 0 120px;
  background: #fff;
  color: #111;
}

#thanks_page .container {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}


/* Message */

.thanks_wrapper {
  width: min(800px, 100%);
  margin: 100px auto 0;
  text-align: center;
}

.thanks_text {
  margin: 0;

  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.thanks_note {
  margin: 45px 0 0;

  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.04em;
}


/* Back */

.thanks_back {
  margin-top: 65px;
}

.thanks_back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: min(320px, 100%);
  height: 70px;

  border: 1px solid #111;

  color: #111;
  background: #fff;

  font-size: 14px;
  letter-spacing: 0.15em;
  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.thanks_back a:hover {
  background: #111;
  color: #fff;
}

/* =========================
   Thanks SP
========================= */

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

  #thanks_page {
    padding: 100px 0 80px;
  }

  #thanks_page .container {
    width: calc(100% - 40px);
  }

  .thanks_wrapper {
    width: 100%;
    margin-top: 65px;
    text-align: left;
  }

  .thanks_text {
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }

  .thanks_note {
    margin-top: 35px;

    font-size: 12px;
    line-height: 1.9;
    text-align: left;
  }

  .thanks_back {
    margin-top: 50px;
    text-align: center;
  }

  .thanks_back a {
    height: 64px;
  }

  .pc-only {
    display: none;
  }

}

/* =========================
   News Single
========================= */

#news_single {
  width: 100%;
  min-height: 100vh;

  padding: 220px 0 120px;

  background: #fff;
  color: #333;
}

#news_single .container {
  width: min(900px, calc(100% - 80px));
  margin: 0 auto;
}


/* =========================
   Header
========================= */

.news-single-header {
  width: 100%;
  margin-bottom: 60px;
  text-align: center;
}

.news-single-date {
  margin: 0 0 20px;

  font-size: 13px;
  letter-spacing: .1em;
}

.news-single-title {
  margin: 0;

  font-size: 32px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .08em;
}


/* =========================
   Eyecatch
========================= */

.news-single-image {
  width: 100%;
  margin-bottom: 70px;
}

.news-single-image img {
  display: block;

  width: 100%;
  height: auto;

  max-height: 600px;

  object-fit: cover;
}


/* アイキャッチなし */

.news-single-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  aspect-ratio: 16 / 9;

  padding: 50px;

  box-sizing: border-box;

  background: #A5B7AE;
}

.news-single-placeholder span {
  color: #fff;

  font-size: 24px;
  line-height: 1.8;
  letter-spacing: .08em;

  text-align: center;
}


/* =========================
   Content
========================= */

.news-single-content {
  width: min(760px, 100%);
  margin: 0 auto;

  font-size: 15px;
  line-height: 2.2;
  letter-spacing: .04em;
}

.news-single-content p {
  margin: 0 0 2em;
}

.news-single-content h2 {
  margin: 3em 0 1.2em;

  font-size: 22px;
  line-height: 1.7;
}

.news-single-content h3 {
  margin: 2.5em 0 1em;

  font-size: 18px;
  line-height: 1.7;
}

.news-single-content img {
  max-width: 100%;
  height: auto;
}


/* =========================
   Prev / Next
========================= */

.news-single-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;

  width: 100%;

  margin-top: 120px;

  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.news-single-navigation-item {
  min-height: 130px;
}

.news-single-navigation-item:first-child {
  border-right: 1px solid #ccc;
}

.news-single-navigation-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;

  width: 100%;
  height: 100%;
  min-height: 130px;

  padding: 25px 35px;

  box-sizing: border-box;

  color: #333;
  text-decoration: none;

  transition: opacity .3s ease;
}

.news-single-navigation-item a:hover {
  opacity: .5;
}

.news-single-navigation-next a {
  text-align: right;
}

.news-nav-label {
  display: block;

  margin-bottom: 10px;

  font-size: 12px;
  letter-spacing: .12em;
}

.news-nav-title {
  display: block;

  font-size: 13px;
  line-height: 1.7;
}


/* =========================
   Back to News
========================= */

.news-single-back {
  margin-top: 70px;

  text-align: center;
}

.news-single-back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: min(320px, 100%);
  height: 70px;

  border: 1px solid #333;

  color: #333;
  background: #fff;

  font-size: 13px;
  letter-spacing: .15em;

  text-decoration: none;

  transition:
    background .3s ease,
    color .3s ease;
}

.news-single-back a:hover {
  background: #333;
  color: #fff;
}


/* =========================
   News Single SP
========================= */

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

  #news_single {
    padding: 150px 0 80px;
  }

  #news_single .container {
    width: calc(100% - 40px);
  }


  /* Header */

  .news-single-header {
    margin-bottom: 40px;

    text-align: left;
  }

  .news-single-date {
    margin-bottom: 15px;

    font-size: 12px;
  }

  .news-single-title {
    font-size: 24px;
    line-height: 1.7;
  }


  /* Image */

  .news-single-image {
    margin-bottom: 50px;
  }

  .news-single-placeholder {
    padding: 30px;
  }

  .news-single-placeholder span {
    font-size: 18px;
  }


  /* Content */

  .news-single-content {
    width: 100%;

    font-size: 14px;
    line-height: 2;
  }

  .news-single-content h2 {
    font-size: 19px;
  }

  .news-single-content h3 {
    font-size: 17px;
  }


  /* Prev / Next */

  .news-single-navigation {
    display: block;

    margin-top: 80px;
  }

  .news-single-navigation-item {
    min-height: 0;
  }

  .news-single-navigation-item:first-child {
    border-right: 0;
    border-bottom: 1px solid #ccc;
  }

  .news-single-navigation-item a {
    min-height: 100px;

    padding: 20px 10px;
  }

  .news-nav-title {
    font-size: 12px;
  }


  /* Back */

  .news-single-back {
    margin-top: 50px;
  }

  .news-single-back a {
    height: 64px;
  }

}
/* =========================
   Large Screen
   1440px以上
========================= */

@media (min-width: 1441px) {

  .logo {
    left: calc((100vw - 1440px) / 2 + 72px);
  }

  .badge {
    right: calc((100vw - 1440px) / 2 + 72px);
  }

}
/* =========================
   Large PC
　 1600px以上
========================= */

@media (min-width: 1600px) {
  .feature__title h2 {
    font-size: 32px;
	}
.feature__text h3 {
    font-size: 26px;
    margin-bottom: 16px;
}
.feature__text p {
    font-size: 18px;
}

  .feature {
    width: 100%;
	grid-template-columns: 25% 50% 25%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

}