@charset "UTF-8";

/*---------------------------------------------------------
Reset
---------------------------------------------------------*/

html {
  /*overflow-x: hidden;*/
  scroll-behavior: smooth;
  background-color: #f4f4f4;
}

body {
  /*overflow-x: hidden;*/
}

html,
body,
div,
article,
section,
main,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
input,
textarea,
address,
nav,
table,
th,
td,
a,
p,
img,
figure,
span,
em,
small {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

small {
  font-size: 12px;
  line-height: 1.2;
}

small.kumamon {
  font-size: 60%;
}

main {
  display: block;
}

ul,
li {
  list-style-type: none;
}

table {
  border-collapse: collapse;
}

img {
  border: none;
}

a {
  text-decoration: none;
}

a,
button {
  outline: none;
}

a:focus,
button:focus {
  outline: none;
}

.mt4 {
  margin-top: 4px !important;
}

.mt8 {
  margin-top: 8px !important;
}

.mt16 {
  margin-top: 16px !important;
}

.mt24 {
  margin-top: 24px !important;
}

.mt40 {
  margin-top: 40px !important;
}

.mb40 {
  margin-bottom: 40px;
}

.bold {
  font-weight: bold;
}

.res-pc {
  display: block !important;
}

.res-sp {
  display: none !important;
}

.widthSp {
  width: calc(100% - 48px);
  margin: 40px auto;
}

.center {
  text-align: center !important;
}

.center_margin {
  margin: 0 auto;
}

.bold {
  font-weight: bold;
}

.left {
  text-align: left !important;
}

.right {
  text-align: right !important;
}

@media only screen and (max-width: 959px) {
  .res-pc {
    display: none !important;
  }

  .res-sp {
    display: block !important;
  }

  .widthSp {
    margin: 16px auto;
  }
}

.anchor-target {
  scroll-margin-top: 120px;
}

/*---------------------------------------------------------
font
---------------------------------------------------------*/

/*---------------------------------------------------------
common
---------------------------------------------------------*/

html {
  font-size: 62.5%;
}

@media only screen and (min-width: 320px) and (max-width: 414px) {
  html {
    font-size: 2.41546vw;
  }
}

@media screen and (min-width: 768px) and (max-width: 1240px) {
  html {
    font-size: 0.80645vw;
  }
}

body {
  margin: inherit;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  color: #151b28;
  line-height: 1.6;
  letter-spacing: 0.04em;
  min-width: 320px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-break: break-word;
  font-weight: 500;
  position: relative;
  /*overflow: hidden;*/
  background-color: #f2f2f2;
}

@media only screen and (max-width: 959px) {
  body {
    margin: inherit;
    font-size: 1.4rem;
    color: #3b3b3b;
    line-height: 1.8;
    letter-spacing: 0.04em;
  }

  .anchor-target {
    scroll-margin-top: 0;
  }
}

img {
  width: 100%;
  vertical-align: bottom;
}

a {
  color: #fff;
  text-decoration: none;
  transition: color 0.4s ease;
  /* ← duration単体を削除して、明示的にプロパティ指定 */
}

a:hover {}

.underline {
  text-decoration: underline;
}

.underline:hover {
  text-decoration: none;
}

.bgwhite {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
}

@media only screen and (max-width: 959px) {
  .bgwhite {
    padding: 24px;
  }
}

/*---------------------------------------------------------
header
---------------------------------------------------------*/
header {
  position: fixed;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: flex-start;
  background: transparent;
  transition: background-color 0.4s ease;
  top: 0;
}

/* スクロール後に付与するクラス */
header.scrolled {
  background: #f2f2f2;
}

/* =============================
     左側（ロゴ）
============================= */
header .headerL {
  padding-left: 40px;
}

header .headerL .logo {
  width: 110px;
  margin-top: 16px;
  transition: 0.3s ease;
}

/* =============================
     右側（ナビ）
============================= */
header .headerR {
  padding: 24px 24px 24px 0;
}

header .headerR ul {
  display: flex;
  align-items: center;
}

header .headerR ul li {
  padding: 0 16px;
}

header .headerR ul li.btnlist {
  padding-right: 0;
}

/* =============================
     ナビリンク（btn以外）
============================= */
header .headerR ul li a:not(.btn) {
  color: #00030b;
  font-weight: bold;
  font-size: 16px;
  position: relative;
  padding-bottom: 28px;
  /* 下線との間隔 */
  transition: color 0.3s ease;
}

header .headerR ul li a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #00030b;
  transition: width 0.3s ease, background 0.3s ease;
}

header .headerR ul li a:not(.btn):hover::after {
  width: 100%;
}

/* current ページ */
header .headerR ul li a.current:not(.btn)::after {
  width: 100%;
}

/* 通常のホバー時：下線アニメーション */
header .headerR ul li a:not(.btn):hover::after {
  width: 100%;
}

/* メガメニューが開いているとき（hover中）も下線を維持 */
.hasMegaMenu:hover>a:not(.btn)::after {
  width: 100%;
}

/* =============================
     お問い合わせボタン
============================= */
header .headerR ul li .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  background: #161f4e;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

header .headerR ul li .btn:hover {
  background: #020517;
}

header .headerR ul li .btn .icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 8px solid #fff;
  flex-shrink: 0;
  margin-left: 0;
  transition: transform 0.3s ease;
}

header .headerR ul li .btn:hover .icon {
  transform: translateX(4px);
}

/* =============================
   TOPページ（黒背景用）
============================= */
header.dark .headerR ul li a:not(.btn) {
  color: #fff;
  /* ナビ文字を白に */
}

header.dark .headerR ul li a:not(.btn)::after {
  background: #fff;
  /* 下線も白に */
}

/* ============================
   メガメニュー全体
============================ */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #161d43;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
  z-index: 8;
  box-sizing: border-box;
  overflow: hidden;
  /* ← 微妙なはみ出し防止 */
}

/* ↓↓↓ 検証用 一時固定モード ↓↓↓ 
.mega-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  z-index: 9999 !important;
}
/* ↑↑↑ 検証終わったら削除 ↑↑↑ */

.mega-menu a:hover::after {
  content: none !important;
}

.hasMegaMenu:hover .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== 内側 ===== */
.mega-inner {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px 80px;
  /* ← 左右に20px余白で安定 */
  display: flex;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

/* ===== 左右ブロック ===== */
.mega-column {
  width: 45%;
  display: flex;
  gap: 40px;
}

.mega-big-title {
  display: block;
  transition: opacity 0.2s ease-in-out !important;
  -webkit-transition: opacity 0.2s ease-in-out !important;
  -o-transition: opacity 0.2s ease-in-out !important;
}

.mega-big-title:hover {
  opacity: 0.6;
}

.mega-column-cp {
  width: 100%;
}

/* ===== タイトル ===== */
a .mega-title {
  color: #fff !important;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.icon-large {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}

.megaarrow {
  width: 24px;
}

/* ===== タイトル下線 ===== */
.mega-underline {
  width: 120px;
  height: 1px;
  background: #fff;
  margin-bottom: 20px;
}

/* ===== 小要素 ===== */
.mega-menu .property-list-mega {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-menu .property-list-mega-cp {
  flex-direction: row;
  gap: 24px;
}

.mega-menu .property-list-mega a {
  padding-bottom: 8px !important;
}

.mega-menu .property-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 15px;
  gap: 6px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  margin-top: 4px;
}

.mega-menu .property-link:hover {
  opacity: 0.7;
}

.mega-menu .property-link .icon {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #fff;
  transition: transform 0.3s ease;
}

.mega-menu .property-link:hover .icon {
  transform: translateX(4px);
}

/* ===== 英語背景 ===== */
.mega-bg-text {
  position: absolute;
  bottom: 10px;
  right: 0;
  font-size: 110px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
}

/*---------------------------------------------------------
headerSP（スマホメニュー）
---------------------------------------------------------*/

/* =====================
基本レイアウト
===================== */
:root {
  --background-navbar: rgba(0, 3, 11, 0.96);
}


.headersp {
  position: relative;
  width: 100%;
  height: 80px;
  z-index: 8;
  background: #f2f2f2;
}

.topPage .headersp {
  background: none;
  position: absolute;
}

.headersp img {
  width: 80px;
  margin-left: 20px;
  margin-top: 24px;
}

/* =====================
ハンバーガーボタン
===================== */
.menu,
.menu span {
  display: inline-block;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  box-sizing: border-box;
}

.menu {
  position: fixed;
  top: 8px;
  right: 8px;
  width: 56px;
  height: 56px;
  z-index: 10;
  border: none;
  background: #161f4e;
  border-radius: 8px;
}

.menu span {
  position: absolute;
  left: 16px;
  width: 26px;
  height: 2px;
  background-color: #fff;
  z-index: 10;
}

.menu span:nth-of-type(1) {
  top: 18px;
}

.menu span:nth-of-type(2) {
  top: 28px;
}

.menu span:nth-of-type(3) {
  bottom: 16px;
}

/* メニュー開閉アニメーション */
.menu.active span:nth-of-type(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu.active span:nth-of-type(2) {
  opacity: 0;
}

.menu.active span:nth-of-type(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* =====================
メニュー本体（全画面表示）
===================== */
#nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9;
  width: 100%;
  height: 100vh;
  opacity: 0;
  background: #303860;
  transition: all 0.3s ease-in-out;
  visibility: hidden;
  color: #fff;

  /* スクロール可 */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

#nav::-webkit-scrollbar {
  display: none;
  /* Chrome / Safari */
}

#nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

#nav ul {
  margin: 20px 0;
  padding: 40px 20px;
}

#nav .btn {
  margin: 0 auto;
  display: block;
}

/* =====================
アコーディオンボタン
===================== */
.menuList li {
  border-bottom: 1px solid #585f86;
}

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  text-align: left;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.accordion-btn:hover {}

/* ＋／− 記号 */
.plusminus::after {
  content: "+";
  font-size: 40px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.accordion-btn.active .plusminus::after {
  content: "−";
}

/* =====================
アコーディオン中身
===================== */
.accordion-content {
  display: none;
  padding: 8px 0 16px;
}

.project_hm {
  margin-top: 24px;
}

/* =====================
アコーディオン内リンク修正
===================== */
.menuList .accordion-content {
  display: none;
  /* ← 最初は非表示に戻す */
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 0 0 16px;
}

.menuList .accordion-content a {
  display: flex;
  justify-content: space-between;
  /* テキスト左／矢印右 */
  align-items: center;
  text-align: left;
  padding: 10px 16px 16px 24px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #585f86;
  transition: opacity 0.3s ease;
}

.menuList .accordion-content a:hover {
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.05);
}

.menuList .accordion-content a:last-child {
  border-bottom: none;
}

/* 小さい矢印 */
.menuList .accordion-content .icon {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 8px solid #fff;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.menuList .accordion-content a:hover .icon {
  transform: translateX(4px);
}

/* =====================
SPメニュー共通リンク（全行）
===================== */
.menuList li>a {
  display: flex;
  justify-content: space-between;
  /* 左テキスト・右矢印 */
  align-items: center;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  padding: 20px 16px;
  transition: opacity 0.3s ease;
}

.menuList li>a:hover {
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.05);
}

/* =====================
SPメニュー専用アイコン（小矢印）
===================== */
.menuList .icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-right: 6px;
}

.menuList li>a:hover .icon {
  transform: translateX(4px);
}

/* 最後のリンクだけ下線なし */
.menuList li:last-child>a {
  border-bottom: none;
}

.project_hm {
  display: block;
  margin-top: 24px;
  /* ← この行がスペースの調整 */
}

/* =====================
FV
===================== */
.fv {
  position: relative;
  z-index: 0;
}

.fv .txbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #fff;
  text-align: center;
}

/* Swiper 高さ */
.mvswiper,
.mvswiper .swiper-wrapper,
.mvswiper .swiper-slide {
  height: 100vh;
}

.mvswiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

/* フェードの相性改善（公式推奨寄り） */
.swiper-fade .swiper-slide {
  pointer-events: none;
}

/* フェード中の再計算や干渉を抑える */

/* 背景（Ken Burns：transitionで） */
.mvswiper .slide-bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transform: scale(1.03) translateZ(0);
  /* ほんの少し拡大から開始 */
  transition: transform 6000ms linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

/* アクティブ中だけゆっくり拡大 */
.mvswiper .slide-bg.is-active {
  transform: scale(1.1) translateZ(0);
}

/* 余計なアニメは削除（animation: kenburns は不使用） */

/* モバイル高さ */
@media (max-width: 959px) {
  .fv {
    height: 80vh;
  }

  .fv .txbox {
    width: 80%;
  }

  .mvswiper,
  .mvswiper .swiper-wrapper,
  .mvswiper .swiper-slide {
    height: 80vh;
  }
}

/* 動き配慮 */
@media (prefers-reduced-motion: reduce) {
  .mvswiper .slide-bg {
    transition: none;
    transform: none;
  }
}

/*---------------------------------------------------------
ローディング
---------------------------------------------------------*/
/* ローディング全体 */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #17204e;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}

/* ロゴアニメーション */
.loading-logo img {
  width: 240px;
  opacity: 0;
  transform: translateY(30px);
  animation: logoUp 2s ease-in-out forwards;
}

@keyframes logoUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  40% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  80% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px) scale(1.05);
  }
}

/*---------------------------------------------------------
幅
---------------------------------------------------------*/

.w160 {
  width: calc(100% - 80px);
  margin: 0 auto;
  max-width: 1200px;
}

.w960 {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 20px;
}

.w640 {
  width: 640px;
  margin: 0 auto;
}

@media only screen and (max-width: 959px) {
  .w160 {
    width: calc(100% - 40px);
    max-width: inherit;
  }

  .w640 {
    width: 100%;
  }
}

/*---------------------------------------------------------
三本線タイトル
---------------------------------------------------------*/
.lines div {
  height: 1px;
  background: #17204e;
  margin: 6px 0;
  width: 0;
  transition: width 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

.lines.show div {
  width: 100%;
}

.subtitle {
  font-size: 14px;
  margin: 20px 0 10px;
  margin-top: 80px;
}

.title-wrapper {
  display: inline-block;
  overflow: hidden;
  /* マスク必須 */
  vertical-align: bottom;
  /* 行の位置を揃える */
}

.title {
  font-size: 48px;
  line-height: 48px;
  font-weight: bold;
  color: #16204a;
  letter-spacing: 2px;
  display: inline-block;
  transform: translateY(60px);
  /* px固定に変更 */
  transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 0.8s ease;
  opacity: 0;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.title.show {
  transform: translateY(0);
  opacity: 1;
}

.catch {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.6;
  text-align: left;
}

.boldtext {
  font-weight: bold;
  font-size: 24px;
  text-align: left;
  line-height: 36px;
}

@media only screen and (max-width: 959px) {
  .title {
    font-size: 48px;
    line-height: 48px;
  }

  .catch {
    font-size: 24px;
  }

  .boldtext {
    font-size: 20px;
  }
}

/*---------------------------------------------------------
flex_box
---------------------------------------------------------*/

.flex_box_01 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

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

@media (max-width: 959px) {
  .flex_box_01 {
    display: block;
    gap: 0;
  }

  .subtitle {
    font-size: 14px;
    margin: 20px 0 10px;
    margin-top: 80px;
  }
}

/*---------------------------------------------------------
btn
---------------------------------------------------------*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: #161f4e;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  min-width: 280px;
  max-width: 280px;
}

.btn:hover {
  background: #020517;
}

/* 右矢印（通常のボタン用） */
.btn .icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 8px solid #fff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.btn:hover .icon {
  transform: translateX(4px);
}

/* =============================
   戻るボタン専用
============================= */
.btn-back-wrapper {
  text-align: center;
  margin-top: 40px;
}

.btn-back {
  display: inline-flex;
  /* 幅はテキストに合わせる */
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #161f4e;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  margin: 0 auto;
}

.btn-back:hover {
  background: #020517;
}

/* 左矢印 */
.btn-back .icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 8px solid #fff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.btn-back:hover .icon {
  transform: translateX(-4px);
}

/* =============================
   SPサイズ調整
============================= */
@media only screen and (max-width: 959px) {
  .btn {
    padding: 14px 20px;
    min-width: 180px;
    max-width: 220px;
    margin: 0 auto;
    font-size: 14px !important;
  }

  .btn-back {
    padding: 14px 20px;
    font-size: 14px;
  }
}

/*---------------------------------------------------------
Top about-section
---------------------------------------------------------*/

.base-section {
  padding: 0;
  margin-top: 80px;
}

.about-section .flex_box_01 {
  margin-top: 80px;
}

/* 左側 */
.about-left {
  width: 48%;
}

.desc {
  margin: 32px 0 48px;
  text-align: left;
}

.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 420px;
  margin: 0 auto;
}

.about-left .buttons {
  margin: 0 auto 0 0;
}

/* 右側 */
.about-right {
  text-align: center;
  width: 48%;
}

.topimg_info {
  max-width: 510px;
  text-align: center;
  display: block;
  margin: 0 auto;
}

@media (max-width: 959px) {
  .base-section {
    padding: 0;
    margin-top: 64px;
  }

  .about-section .flex_box_01 {
    margin-top: 40px;
  }

  /* 左側 */
  .about-left {
    width: 100%;
    margin-top: 40px;
  }

  .desc {
    margin: 16px 0 24px;
  }

  .buttons {
    display: block;
    gap: 16px;
    text-align: center;
    width: 100%;
  }

  .buttons .btn {
    margin-bottom: 16px;
  }

  /* 右側 */
  .about-right {
    width: 100%;
    margin-top: 24px;
  }

  .topimg_info {
    max-width: 240px;
  }
}

/*---------------------------------------------------------
画像マスク
---------------------------------------------------------*/
.reveal-mask {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  /* 中央寄せ */
}

.reveal-mask img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1s ease, transform 1s ease;
}

/* マスク（白い板） */
.reveal-mask::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  transform: translateX(0);
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2;
}

/* 発火したとき */
.reveal-mask.show img {
  opacity: 1;
  transform: scale(1);
}

.reveal-mask.show::after {
  transform: translateX(100%);
}

.img_imagephoto {
  margin-top: 80px;
}

@media (max-width: 959px) {
  .reveal-mask {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    /* 中央寄せ */
  }

  .img_imagephoto {
    margin-top: 64px;
  }
}

/*---------------------------------------------------------
Top 開発実績
---------------------------------------------------------*/

.property-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1600px;
  margin: 120px auto 80px;
}

.property-card {
  background: #fff;
  border-radius: 8px;
  /*
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    */
  overflow: hidden;
  font-family: "Noto Sans JP", sans-serif;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  /*
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    */
  transform: translateY(-4px);
}

.property-image {
  overflow: hidden;
}

.property-image img {
  width: 100%;
  display: block;
  height: inherit;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tagbox {
  display: flex;
  gap: 8px;
}

.status {
  display: inline-block;
  width: auto;
  max-width: max-content;
  font-size: 12px;
  padding: 2px 8px;
  margin-bottom: 8px;
  line-height: 1.4;
  font-weight: bold;
  color: #fff;
}

/* タグがない場合でも高さを確保 */
.property-title {
  margin-top: 0;
}

/* タグがある場合は上に戻す */
.status+.property-title {
  margin-top: 0;
}

/* バリエーション */
.status-construction {
  background: #221b48;
  color: #fff;
}

.status-story {
  background: #fff;
  border: 1px solid #d0d0d0;
  color: #151b28;
}

.property-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #151b28;
}

.property-info {
  font-size: 14px;
  color: #151b28;
  margin-bottom: 16px;
}

.property-info div {
  display: flex;
  margin-bottom: 6px;
}

.property-info dt {
  width: 80px;
  font-weight: bold;
}

.property-info dd {
  margin: 0;
  flex: 1;
}

.link-box {
  margin-top: auto;
  text-align: right;
}

.property-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  color: #1a1f50;
  text-decoration: none;
}

.property-link .icon {
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #1a1f50;
  transition: transform 0.2s ease;
}

.property-card:hover .property-link .icon {
  transform: translateX(3px);
}

@media (max-width: 959px) {
  .property-list {
    grid-template-columns: 1fr;
    margin: 40px auto 40px;
  }
}

.project-section .buttons {
  justify-content: center;
}

/*---------------------------------------------------------
Top 企業情報 採用
---------------------------------------------------------*/

.company_recruit-section .flex_box_01 {
  align-items: start;
}

.company_recruit-section .reveal-mask {
  margin: 64px 0 40px;
}

.company_recruit-section h3.catch {
  font-size: 32px;
  line-height: 48px;
  margin-bottom: 32px;
}

@media (max-width: 959px) {
  .company_recruit-section .reveal-mask {
    margin: 40px 0;
  }

  .company_recruit-section h3.catch {
    font-size: 24px;
    line-height: 32px;
  }
}

/*---------------------------------------------------------
Top News
---------------------------------------------------------*/

.news-section .flex_box_01 {
  align-items: end;
  margin-top: 40px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
  font-size: 14px;
}

.news-list li:last-child {
  margin-bottom: 0;
}

.news-date {
  width: 100px;
  /* 日付の固定幅 */
  color: #666;
  flex-shrink: 0;
}

.news-text {
  color: #17204e;
  text-decoration: none;
  position: relative;
  display: inline-block;
  /* テキスト幅にフィット */
  padding-bottom: 2px;
}

.news-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  /* 初期は非表示 */
  height: 1px;
  background: #17204e;
  /* 線の色 */
  transition: width 0.3s ease;
}

.news-text:hover::after {
  width: 100%;
  /* テキスト幅まで伸びる */
}

@media (max-width: 959px) {
  .news-section .flex_box_01 {
    margin-top: 40px;
  }

  .news-btn {
    margin-top: 40px;
    text-align: center;
  }
}

/*---------------------------------------------------------
footer
---------------------------------------------------------*/
footer {
  background: #161f4e;
  color: #fff;
  padding: 8px 40px;
  font-size: 14px;
  margin-top: 120px;
}

/* 上段：電話・メール */
.footer-top {
  gap: 40px;
  margin-bottom: 80px;
  align-items: stretch;
}

.footer-box {
  flex: 1;
  background: #2a315d;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.footer-title {
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-box .btn {
  margin: 0 auto;
}

.footer-tel {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
  padding: 4px 0;
}

.footer-text {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 16px;
}

/* 中段：ロゴとナビ */
.footer-middle {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.footer-logo {
  width: 130px;
  font-weight: bold;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav li a {
  color: #fff;
  font-size: 14px;
}

.footer-nav li a:hover {
  opacity: 0.6;
}

/* 下段：個人情報とコピーライト */
.footer-bottom {
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #fff;
}

.footer-links a:hover {
  opacity: 0.6;
}

@media only screen and (max-width: 959px) {
  footer {
    padding: 80px 20px;
    margin-top: 80px;
  }

  /* 上段：電話・メール */
  .footer-top {
    gap: 40px;
    margin-bottom: 64px;
  }

  .footer-box {
    padding: 24px;
    margin-bottom: 16px;
  }

  .footer-title {
    margin-bottom: 16px;
  }

  .footer-box .btn {
    margin: 0 auto;
  }

  .footer-tel {
    font-size: 24px;
    margin-bottom: 16px;
    padding: 0;
  }

  .footer-text {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 16px;
  }

  /* 中段：ロゴとナビ */
  .footer-middle {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 64px;
  }

  .footer-logo {
    width: 130px;
    font-weight: bold;
    margin: 0 auto 40px;
  }

  .footer-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .footer-nav li {
    width: 23%;
  }

  .footer-nav li a {
    color: #fff;
    font-size: 14px;
  }

  .footer-nav li a:hover {
    opacity: 0.6;
  }

  /* 下段：個人情報とコピーライト */
  .footer-bottom {
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
  }

  .footer-links {
    display: flex;
    gap: 24px;
  }

  .footer-links a {
    color: #fff;
  }

  .footer-links a:hover {
    opacity: 0.6;
  }
}

/*---------------------------------------------------------
loopslider
---------------------------------------------------------*/

.loopslider {
  position: relative;
  z-index: 0;
  margin-top: 40px;
}

/*
右から左へ
----------------------------*/

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/*
IE11対策
----------------------------*/

_:-ms-lang(x)::-ms-backdrop,
.loopslider {
  display: -ms-grid;
  overflow: hidden;
}

/*----------------------------*/

.loopslider__wrap {
  display: flex;
  overflow: hidden;
}

.loopslider__list {
  display: flex;
  list-style: none;
  align-items: center;
}

.loopslider__list--left {
  animation: infinity-scroll-left 200s infinite linear 0.5s both;
}

.loopslider__item {
  width: calc(100vw / 3.4);
  margin-right: 64px;
}

.loopslider__item_mt {
  margin-top: 80px;
}

.loopslider__item>img {
  width: 100%;
}

.loopslider__wrap:hover .loopslider__list--left {
  /*
    animation-play-state: paused;
    */
}

@media screen and (max-width: 959px) {
  .loopslider {}

  .loopslider2 {}

  .loopslider__item {
    width: calc(100vw / 1.6);
    margin-right: 40px;
  }

  .loopslider__item2 {
    width: calc(100vw / 0.2);
    margin-right: 40px;
  }
}

/*---------------------------------------------------------
table
---------------------------------------------------------*/

table.base {
  width: 100%;
  margin-top: 40px;
}

table.base tr {
  border-top: 1px solid #d0d0d5;
  padding: 24px 0;
  display: block;
}

table.base tr.last {
  border-bottom: 1px solid #d0d0d5;
}

table.base td {
  width: 120px;
}

table.base td.tx {
  width: 800px;
}

@media screen and (max-width: 959px) {
  table.base {
    margin-top: 24px;
  }

  table.base tr {
    padding: 24px 0;
    display: block;
  }

  table.base td {
    width: 100%;
    display: block;
    font-weight: bold;
  }

  table.base td.tx {
    width: 100%;
    font-weight: normal;
  }
}

/*---------------------------------------------------------
base
---------------------------------------------------------*/

p.mt {
  margin-top: 80px;
}

p.line {
  position: relative;
  padding: 1rem 2rem;
  border-bottom: 1px solid #e0dfdf;
  max-width: 1120px;
  margin: 120px auto;
  width: 100%;
}

p.line:before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 16px;
  height: 1px;
  content: "";
  background: #10a5cc;
}

.inner1360 {
  max-width: 1360px;
  margin: 0 auto;
}

.inner1120 {
  max-width: 1120px;
  margin: 0 auto;
}

.inner960 {
  max-width: 960px;
  margin: 0 auto;
}

.pankuzu {
  padding: 16px 0;
  position: absolute;
  width: 100%;
  top: 88px;
}

.pankuzu ul {
  display: flex;
}

.pankuzu ul li {
  margin-right: 8px;
  font-weight: normal;
  color: #fff;
}

.pankuzu ul li a {
  color: #fff;
  font-weight: normal;
}

.anc {
  width: 960px;
  margin: 80px auto;
}

.anc ul {
  display: flex;
  justify-content: center;
}

.anc ul li {
  width: 293px;
  padding: 2%;
}

.anc ul li a {
  width: 100%;
  max-width: 293px;
}

.anc ul li .button_solid019 a:after {
  display: none;
}

span.circle {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: inherit;
  text-align: center;
  color: #fff;
  background-color: #0a3464;
  border-radius: 40px;
  padding: 1px 9px;
  margin-right: 16px;
}

.blue {
  color: #1e6cc3;
}

span.number {
  background: #00508e;
  color: #fff;
  font-family: "Urbanist", sans-serif;
  font-weight: bold;
  font-size: 32px;
  line-height: 36px;
  text-align: center;
  width: 56px;
  height: 56px;
  padding-top: 12px;
  border-radius: 40px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 16px;
}

@media only screen and (max-width: 959px) {
  p.mt {
    margin-top: 64px;
  }

  p.line {
    max-width: inherit;
    margin: 80px auto;
    width: calc(100% - 48px);
  }

  .inner1360 {
    max-width: inherit;
    width: 100%;
    margin: 0 auto;
  }

  .inner1120 {
    max-width: inherit;
    width: calc(100% - 48px);
    margin: 0 auto;
  }

  .inner960 {
    max-width: inherit;
    width: 80%;
    margin: 0 auto;
  }

  .anc {
    width: calc(100% - 48px);
    margin: 40px auto;
  }

  .anc ul {
    display: flex;
  }

  .anc ul li {
    width: 161px;
  }

  .anc ul li a {
    max-width: inherit;
  }

  .anc ul li .button_solid019 a:after {
    display: none;
  }

  span.circle {
    font-size: 16px;
    margin-right: 8px;
    padding: 7px;
  }

  .pankuzu {
    top: 72px;
  }
}

/*---------------------------------------------------------
fadein
---------------------------------------------------------*/

/* 画面外にいる状態 */

.fadein {
  opacity: 0.1;
  transform: translate(0, 40px);
  transition: all 2000ms;
}

/* 画面内に入った状態 */

.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

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


/*---------------------------------------------------------
pagetop
---------------------------------------------------------*/

.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #17204e;
  border: none;
  cursor: pointer;

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

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.3s;
}

/* 矢印 */
.pagetop .arrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg) translate(2px, 2px);
}

/* 表示 */
.pagetop.show {
  opacity: 1;
  pointer-events: auto;
}

/* ホバーしたら少し透過 */
.pagetop:hover {
  opacity: 0.7;
}