@charset "utf-8";

/* Reset
----------------------------------------------------------------------------------------------------*/
/* === 基本リセット === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === HTML / BODY === */
html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  color-scheme: light dark;
  /* OSのテーマに追従 */
  tab-size: 2;
  scrollbar-gutter: stable;
}

body {
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  color: #000;
}

/* === タイポグラフィ === */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  line-height: calc(1em + 0.5rem);
  text-wrap: balance;
  /* 見出し改行を最適化 */
}

/* === リスト === */
ul,
ol {
  padding-left: 1.5em;
  /* マーカーは残す */
}

/* === メディア === */
img,
picture,
video,
svg {
  max-inline-size: 100%;
  block-size: auto;
  display: block;
}

/* === 表 === */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* === リンク === */
a {
  color: inherit;
  text-decoration: none;
}

/* === ユーザビリティ === */
:focus-visible {
  outline: 3px solid CanvasText;
  outline-offset: 2px;
}

/* アンカー移動時にヘッダーに隠れないように */
:target {
  scroll-margin-block: 8vh;
}

/* Button */
.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 250px;
  height: 60px;
  padding: 0 13px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  /* 左右余白 */
  border: 1px solid #000;
  border-radius: 10px;
  text-decoration: none;
  background-color: #fff;
  transition: all 0.5s ease;
  box-sizing: border-box;
  font-feature-settings: "palt";
  letter-spacing: 0;
}

.button.contact {
  justify-content: flex-start;
}


.button.disable {
  opacity: 0.3;
  pointer-event: none;
}

.button span {
  font-size: 1.6rem;
  color: #000;
  display: inline-block;
  width: 80%;
  text-align: center;
  transition: all 0.6s ease;
}

.button-icon {
  width: 20px;
  transition: all 0.6s ease;
}

.button:hover {
  border: 1px solid #93af2f;
  color: #FFF;
  border-radius: 5px;
  background-color: #93af2f;
}

.button:hover span {
  color: #FFF;
}

.button:hover .button-icon {
  fill: #FFF;
}

/* ALL
----------------------------------------------------------------------------------------------------*/
html {
  font-size: 62.5%;
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-feature-settings: "palt";
  font-weight: 500;
  line-height: 1.75;
}

p {
  text-align: justify;
  /* 両端揃えにする */
  text-justify: inter-character;
  /* CJK（日本語）なら文字間で配分（ブラウザ依存） */
  -ms-text-justify: distribute;
  /* 古いIE向けのフォールバック */
  -webkit-text-align-last: left;
  /* 最終行を左揃え (ベンダー接頭辞) */
  -moz-text-align-last: left;
  text-align-last: left;
  /* 最終行を左揃え */
  line-height: 1.8;
  /* 読みやすさの調整（任意） */
  hyphens: none;
  /* 自動ハイフネーションを切る（日本語向け） */
  word-break: break-word;
  overflow-wrap: break-word;
}

.disable {
  pointer-events: none;
}

.vpc768 {
  display: block;
}

.vsp768 {
  display: none;
}

@media screen and (max-width: 768px) {
  .vpc768 {
    display: none;
  }

  .vsp768 {
    display: block;
  }
}

/* Navigation
----------------------------------------------------------------------------------------------------*/
header {
  width: 100%;
  background-color: #FFF;
  position: fixed;
  height: 0;
  top: 0;
  transition: transform 0.36s cubic-bezier(.22, .9, .3, 1), opacity 0.28s ease;
  transform: translateY(-140px);
  /* 初期は上に隠す（ヘッダー高さに合わせて） */
  opacity: 0;
  will-change: transform, opacity;
  z-index: 1220;
  /* height: 138px; */
  /* --- footer に到達したときにヘッダーを確実に画面外に出す（透明化させない） --- */
  transition: transform 0.36s cubic-bezier(.22, .9, .3, 1), opacity 0.28s ease;
  will-change: transform, opacity;
}

/* スクロールして表示したいときに付けるクラス */
header.visible {
  height: auto;
  transform: translateY(0);
  opacity: 1;
  height: auto;
}

.navigation {
  max-width: 1920px;
  margin: 0 auto;
  padding: 48px 50px 43px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* height: 138px; */
}

header h1 img {
  width: 412px;
}

/* 下層ページで初期表示を確実にする（JS 実行前のチラつき回避） */
.header-fixed-sub header {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* フッター到達でヘッダーを上に完全にしまう（クリック不可に） */
header.hidden-by-footer {
  transform: translateY(-150px) !important;
  /* ヘッダー高さに合せて十分に上に移動 */
  opacity: 1 !important;
  /* 透明化はしない（背景色は保持） */
  pointer-events: none !important;
  /* クリックを受けない */
}


.menu-toggle {
  display: none;
  /* ハンバーガー非表示 */
}

.nav-menu ul {
  display: flex;
  gap: clamp(12px, 2.5vw, 60px);
  list-style-type: none;
  padding: 0;
}

.nav-menu li {
  font-size: 2rem;
  font-weight: 500;
}

.nav-menu li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  transition: all ease 0.5s;
  cursor: pointer;
}

.nav-menu li a::after {
  position: absolute;
  content: "";
  width: 100%;
  bottom: -5px;
  transform: scale(0, 1);
  transition: transform 0.5s;
  transform-origin: left top;
  border-bottom: solid 5px #93af2f;
}

.nav-menu li a:hover {
  opacity: 0.5;
}


.nav-menu li a:hover::after {

  transform: scale(1, 1)
}

.nav-menu li a .button-icon {
  margin-right: 5px;
}

.nav-menu .map-privacy {
  display: none;
}

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

  header h1 img {
    width: 260px;
  }

  .navigation {
    padding: 17px 30px 20px 13px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 61px;
    height: calc(6px * 3 + 15px * 2);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    /* メニューより前面 */
  }

  .menu-toggle span {
    display: block;
    width: 61px;
    height: 6px;
    background: #000;
    /* transition: all 0.3s ease; */
  }


  /* ハンバーガー → × に変形 */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(21px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-21px) rotate(-45deg);
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.active {
    display: block;
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    height: calc(100vh - 88px);
    /* ヘッダーを除いた画面いっぱい */
    color: #FFF;
    background: #41505f;
    padding: 20px;
    box-sizing: border-box;

    align-content: start;
    z-index: 1100;
  }

  .nav-menu.active ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 40px;
  }

  .nav-menu li {
    height: 90px;
    display: flex;
    align-items: center;
  }

  .nav-menu li a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
  }

  .nav-menu li a .button-icon {
    fill: #fff;
  }

  .nav-menu .map-privacy {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .nav-menu .map-privacy a:first-child {
    border-right: #FFF solid 1px;
  }

  .nav-menu .map-privacy a {
    font-size: 1.6rem;
    padding: 1px 10px;
  }
}


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

  header {
    height: 110px;
  }

  .nav-menu ul {
    margin: 0;
    padding: 0;
  }

  /* nav を画面固定にして header と隙間なく表示させる */
  .nav-menu {
    position: fixed;
    left: 0;
    right: 0;
    /* JS で --header-height をセットする（正しい var 構文） */
    top: var(--header-height, 60px);
    /* header 高さを差し引いた高さを確保（safe-area を考慮） */
    height: calc(100vh - var(--header-height, 60px) - env(safe-area-inset-top));
    overflow-y: auto;
    background: #fff;
    z-index: 9998;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    padding: 18px;
    transition: opacity .18s ease, transform .18s ease;
    will-change: top, opacity, transform;
  }

  .nav-menu.active {
    /* top は JS でセットするためここでは未指定にする */
    top: var(--header-height, 60px);
    height: calc(100vh - var(--header-height, 60px) - env(safe-area-inset-top));
  }


  /* メニュー開中に body をスクロール不可にする */
  body.nav-open {
    overflow: hidden;
    touch-action: none;
    /* iOS 等の余計な動作抑止（必要なら） */
  }




  /* ヘッダーが上/下に動く JS を止めるための見た目クラス（任意で） */
  header.nav-open-lock {
    /* もし header に transform/position を JS で切り替えているなら、
     nav-open中は固定表示にしたい場合の保険 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
  }



  /* モバイルではヘッダーの高さが小さい可能性があるので、隠し距離を下げる */
  .navigation.visible {
    transform: translateY(0);
  }

  header.hidden-by-footer {
    transform: none !important;
    opacity: 1 !important;
    /* 透明化はしない（背景色は保持） */
    pointer-events: auto !important;
  }
}

/* MAIN-CONTENTS
----------------------------------------------------------------------------------------------------*/

.main-contents {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 138px 205px 140px;
  background: #FFF;
  position: relative;
  z-index: 10;
}

.main-contents-subpage {
  margin: 0 auto;
  padding: 150px 160px;
}

@media screen and (max-width: 1510px) {
  /*.main-contents {
    padding: 0 30px 100px;
  }*/
  .main-contents.main-cnt-margin {
    padding-top: 1px;
  }
}

/* Footer
----------------------------------------------------------------------------------------------------*/

footer {
  position: relative;
  /* 既に relative なら OK */
  z-index: 1200;
  /* サイドパネル 1005 より上にする */
}

.f_nav-menu {
  position: relative;
  margin: 0;
  padding: 0;
  border-top: solid 1px #cccccc;
  border-bottom: solid 1px #cccccc;
  background-color: #FFF;
}

.f_nav-menu ul {
  width: min(90%, 1510px);
  padding: 40px 0;
  font-weight: 600;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  list-style-type: none;
}

.f_nav-menu li a {
  font-size: 2rem;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all ease 0.5s;
}

.f_nav-menu li a .button-icon {
  margin-right: 5px;
}

.f_submenu {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 160px;
}

.f_nav-menu li a::after {
  position: absolute;
  content: "";
  width: 100%;
  bottom: -5px;
  transform: scale(0, 1);
  transition: transform 0.5s;
  transform-origin: left top;
  border-bottom: solid 5px #93af2f;
}

.f_nav-menu li a:hover {
  opacity: 0.5;
}

.f_nav-menu li a:hover::after {
  transform: scale(1, 1)
}

@media screen and (max-width:840px) {
  .f_nav-menu ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 30px 0;
  }

  .f_nav-menu li {
    padding: 15px 0;
    display: flex;
    align-items: center;
  }

  .f_nav-menu li a {
    text-decoration: none;
  }
}

.page_top_btn {
  position: absolute;
  z-index: 990;
  height: 70px;
  width: 57px;
  top: 0;
  right: 48px;
  display: block;
}


/* 画像を重ねる */
.page_top_btn .ptb {
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0; と同じ */
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 形を崩さず収める */
  border: 0;
  -webkit-user-drag: none;
  transition: opacity .18s ease;
  pointer-events: none;
  /* 子imgがマウスイベントを阻害しないように */
}

/* リンクをブロック化してサイズ固定 */
.page_top_btn .page-top {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

/* ホバー時にホバー画像を表示 */
.page_top_btn .ptb.hover {
  opacity: 0;
}

.page_top_btn .page-top:hover .ptb.hover,
.page_top_btn .page-top:focus .ptb.hover,
.page_top_btn .page-top:active .ptb.hover {
  opacity: 1;
}

.page_top_btn .page-top:hover .ptb.normal,
.page_top_btn .page-top:focus .ptb.normal,
.page_top_btn .page-top:active .ptb.normal {
  opacity: 0;
}

.address {
  position: relative;
  background-color: #f5f5f5;
  padding: 120px 200px 155px;
}

.address_inner {
  max-width: 1920px;
  text-align: left;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  letter-spacing: 0;
}

.address_inner .company {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.58;
  margin: 0;
}


.address_inner .location {
  font-size: 1.8rem;
  line-height: 2.1;
}

.address_inner .tel {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.4;
}

.address_inner .time {
  font-size: 2rem;
  line-height: 1.9;
}

.address_inner .managing {
  font-size: 1.4rem;
  line-height: 2.7;
}

.f_submenu-inner {
  position: absolute;
  bottom: 0;
  right: 0;
}

.f_submenu-text {
  bottom: 0;
  color: #FFF;
  background-color: #41505f;
  width: 786px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 0 0 0;
  padding: 40px 50px;
}

.f_submenu-text ul {
  display: flex;
  list-style-type: none;
  padding-left: 0;
  font-size: 1.6rem;
}

.f_submenu-text ul li {
  line-height: 1;
  padding: 0 8px;
}

.f_submenu-text ul li:not(:last-of-type) {
  border-right: solid #FFF 1px;
}

.f_submenu small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
  font-feature-settings: "palt";
  letter-spacing: 0;
}

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

  .address {
    padding: 0;
  }

  .address_inner {
    padding: 30px;
  }

  .f_submenu {
    position: relative;
    height: auto;
  }

  .f_submenu-inner {
    position: relative;
    bottom: 0;
    right: 0;
  }

  .page_top_btn {
    top: -60px;
    right: 30px;
  }

  .f_submenu-text {
    width: 100%;
    display: inline-block;
    border-radius: 0;
    padding: 40px 50px;
    text-align: center;
  }

  .f_submenu-text ul {
    margin-bottom: 40px;
    justify-content: center;
  }
}

@media (pointer: fine),
(hover: hover) {
  a:where([href^="tel:"]) {
    pointer-events: none;
  }
}

/* PCでクリック無効にする */
@media (hover: hover) and (pointer: fine) {
  a:where([href^="tel:"]) {
    pointer-events: none;
    color: inherit;
    text-decoration: none;
    cursor: default;
  }
}

@media (max-width: 769px) {
  a:where([href^="tel:"]) {
    pointer-events: auto;
  }
}


/* MV
----------------------------------------------------------------------------------------------------*/
.upper-contents {
  max-width: 1920px;
  width: 100%;
  margin: 170px auto 0;
}

.mv-page {
  width: 100%;
  margin-bottom: 50px;
  position: relative;
  padding: 0 30px;
}

.mv-page-img {
  width: 100%;
  height: 550px;
  position: relative;
}

.mv-page-title {
  /*position: absolute;
  height: 160px;
  width: 650px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 43px 18px;
  background-color: #FFF;*/
}

.mv-page-title img {
  width: 450px;
}

@media screen and (max-width: 1510px) {
  .upper-contents {
    margin-bottom: 130px;
  }
}

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

  .upper-contents {
    margin: 88px auto 45px;
  }
}

@media screen and (max-width: 768px) {
  .mv-page {
    margin-bottom: 30px;
    padding: 0;
  }

  .mv-page-img {
    height: 330px;
  }

  .mv-page-title {
    position: absolute;
    height: 60px;
    width: 330px;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    /* 上の余白は削除（画像を下に寄せるため） */
    display: flex;
    /* flex を使って簡潔に下寄せ */
    align-items: flex-end;
    /* 子要素をコンテナの下端に揃える */
    justify-content: center;
    /* 横方向は中央 */
    box-sizing: border-box;
    background-color: #FFF;
  }

  .mv-page-title img {
    margin: 0 auto;
    width: 200px;
    padding-bottom: 0;
    /* 念のため */
    align-self: flex-end;
    /* 明示的に下揃え（保険） */
  }
}

/* breadcrumbs
----------------------------------------------------------------------------------------------------*/

.breadcrumbs {
  padding: 0 30px;
}

.breadcrumbs ul {
  display: flex;
  padding: 40px 0;
  border-top: solid 1px #cccccc;
  border-bottom: solid 1px #cccccc;
  list-style-type: none;
  margin-bottom: 0;
}

.breadcrumbs li {
  position: relative;
  display: inline;
  font-size: 2.4rem;
}

.breadcrumbs li::after {
  content: "〉";
  margin: 0 6px 0 18px;
}

.breadcrumbs li:last-child {
  font-weight: 700;
}

.breadcrumbs li:last-child::after {
  content: "";
  /* 最後は矢印消す */
}

.breadcrumbs a {
  color: #000;
  transition: all ease 0.5s;
}

.breadcrumbs li a:hover {
  color: #ccc;
}

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

  .breadcrumbs li {
    font-size: 1.4rem;
  }

  .breadcrumbs ul {
    padding: 18px 0;
  }
}

.page-button-group {
  display: flex;
  justify-content: center;
  gap: 46px;
  margin-bottom: 135px;
}


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

  .page-button-group {
    flex-direction: column;
    gap: 23px;
    margin: 0 auto;
    align-items: center;
  }
}


/*----------------------------------
改修
----------------------------------*/

.upper-contents {
	max-width: inherit !important;
	width: inherit !important;
	margin: 8vw auto 0 !important;
}
.upper-contents .mv-privacy,
.upper-contents .mv-page,
.upper-contents .mv-works,
.upper-contents .mv-contact {
	width: min(95%, 1840px);
	margin: 0 auto;
	padding: inherit;
}
h2.mv-privacy-img,
h2.mv-page-img,
h2.mv-works-img,
h2.mv-contact-img {
	display: flex;
	align-items: center;
	width: 100%;
	height: max(30vw, 330px);
}
h2 .mv-privacy-title,
h2 .mv-page-title,
h2 .mv-works-title,
h2 .mv-contact-title {
	width: min(80%, 650px);
	height: min(24%, 130px);
	display: flex;
	align-items: center;
	background-color: inherit;
	background: #fff;
}
h2 .mv-privacy-title img,
h2 .mv-page-title img,
h2 .mv-works-title img,
h2 .mv-contact-title img {
	width: auto;
	margin: 0;
	/*height: min(60%, 60px);*/
	height: 60px;
	padding: 0 1.5em;
}
.breadcrumbs {
	padding: 2em 0 0;
	margin: 0 auto;
	width: min(95%, 1840px);
}
.main-contents {
  max-width: unset;
  width: min(90%, 1495px);
  padding: 140px 0;
}
@media (max-width: 767px) {
	h2 .mv-privacy-title,
	h2 .mv-page-title,
	h2 .mv-works-title,
	h2 .mv-contact-title {
		bottom: 0;
		position: absolute;
		top: auto;
		left: 50%;
		transform: translateX(-50%);
		padding: 0;
		justify-content: center;
		box-sizing: inherit;
	}
	h2 .mv-privacy-title img,
	h2 .mv-page-title img,
	h2 .mv-works-title img,
	h2 .mv-contact-title img {
		align-self: unset;
		margin: 0 auto;
		padding: 0;
		height: 7vw;
	}
  .main-contents {
    padding: 0 15px 100px;
  }
}

























