* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* *,
*:before,
*:after {
  outline: 1px solid red !important;
} */


/*共通 */
body {
  color: #3A3A3A;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: bold;
  background-color: #FEFCF9;
  width: 100%;
}

section {
  margin: 5rem 0;
}

.container {
  width: auto;
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  font-size: 1.75em;
  color: #0E3453;
  margin-bottom: 1.143em;
}

h2 {
  font-size: 1.43em;
}

h3 {
  font-size: 1em;
  margin: 1em 1.5em;
}

p {
  font-size: 1em;
  line-height: 2em;
}

.tel {
  font-size: 1.75em;
}

img {
  width: 100%;
}

.center {
  text-align: center;
}

.flex {
  display: flex;
  margin: 0 auto;
  align-items: center;
}

a {
  text-decoration: none;
  color: #3A3A3A;
}

ul li {
  list-style: none;
}

ul {
  display: flex;
  gap: 2em;
}

.kadomaru {
  border-radius: 10px;
}

/*共通 ここまで*/



.w-30 {
  width: 30%;
}

.w-50 {
  width: 50%;
}


/*カラー */
.txt-blue {
  color: #0E3453;
}

.txt-yellow {
  color: #F7BA34;
}

.txt-white {
  color: #fff;
}

.bg-blue {
  background-color: #0E3453;
}

.bg-yellow {
  background-color: #F7BA34;
}

.bg-white {
  background-color: #fff;
}

.border-yellow {
  border: 1px solid #F7BA34;
}

.underline {
  border-bottom: 2px solid #F7BA34;
  display: inline-block;
}

/*カラー ここまで*/









/*ヘッダー */
header a {
  color: #0E3453;
}

.header-inner {
  display: flex;
  padding: 0.913em 4em;
  justify-content: space-between;
  align-items: center;
}

/*ヘッダー ここまで*/








/*MV */
.mv {
  margin: 0;
}

/*MV ここまで*/







/*ABOUT */
.about .flex {
  gap: 4em;
}

.about img {
  width: 100%;
}
/*ABOUT ここまで*/







/*サービス内容 */
.service .container {
  position: relative;
}

.service img {
  position: absolute;
  right: -176px;
  bottom: 206px;
  width: 20vw;
  max-width: 256px;
  height: auto;
  pointer-events: none;
  z-index: -1;
}

.service-owner .container {
  position: relative;
}

.service-owner img {
  position: absolute;
  left: -206px;
  bottom: -151px;
  width: 20vw;
  max-width: 260px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.service-owner {
  padding-bottom: 2em;
}

.explain h2 {
  margin-top: 1.391em;
}

.service-box h2 {
  padding-top: 2.435em;
}

.explain p {
  padding: 1.5em 3em 3em 3em;
}

.detail {
  margin-bottom: 2em;
}

.detail p {
  padding: 1.5em;
}

.exclamation::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url(../image/exclamation.png);
  margin-right: 6px;
  margin-left: 16px;
  background-size: contain;
  transform: translateY(3px);
}

/*サービス内容 ここまで*/






/*料金プラン */
.plan {}

.plan .flex {
  justify-content: space-between;
  gap: 4em;
}

.plan img {
  max-width: 200px;
  margin-top: 3em;
}

.plan h2 {
  margin-top: 1.652em;
}

.plan p {
  margin: 1em 0;
}

.plan-box {
  min-width: 368px;
  padding-bottom: 0.571em;
  margin-bottom: 0.571em;
}
/*料金プラン ここまで*/








/*借上げリフォーム転貸 */
.reform {
  margin-top: 8.5em;
}

.flex-box-step {
  padding: 1.261em 2.087em;
}

.reform img {
  min-width: 240px;
  padding-right: 2.5em;
}
/*借上げリフォーム転貸 ここまで*/








/*募集 */
.recruit {
  padding: 4rem 0;
}

.recruit .container {
  padding-top: 2.3757em;
  padding-bottom: 2.214em;
}

.recruit h1 {
  margin-bottom: 1.143em;
}

.tel {
  margin: 0.714em 0;
}
/*募集 ここまで*/








/*会社概要 */
.company .bg-white {
  padding: 5em 0;
}

/*テーブル*/
.table-wrapper {
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.company-table th {
  padding: 1em;
  border-bottom: 1px solid #e0e5ea;
  text-align: right;
  vertical-align: top;
  width: 28%;
  color: #003366;
  font-weight: bold;
  white-space: nowrap;
}

.company-table td {
  padding: 1em;
  border-bottom: 1px solid #e0e5ea;
  text-align: left;
  vertical-align: top;
}

tr:last-child th,
tr:last-child td {
  border-bottom: none;
}


.company-table td a {
  color: #0066cc;
  text-decoration: none;
}

.company-table td a:hover {
  text-decoration: underline;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 600px) {
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    min-width: 100%;
  }

  .company-table tr {
    margin-bottom: 1.2em;
    border-bottom: 1px solid #e0e5ea;
    padding-bottom: 0.8em;
  }

  .company-table th {
    background: none;
    color: #003366;
    font-weight: bold;
    text-align: left;
    padding: 0 1em;
    border: none;
  }

  .company-table td {
    border: none;
    padding-bottom: 1em;
  }

    .company-table tr:last-child {
    border: none;
  }

}

/*テーブルここまで*/

/*会社概要 ここまで*/







/*フッター*/
footer a {
  color: #fff;
}

footer .flex {
  padding: 1.313em 4em 7.25em 4em;
  justify-content: space-between;
}

.copyright {
  font-size: 14px;
  font-weight: 400;
}
/*フッター ここまで*/




/* ========= Header & Global Nav ========= */

/* ハンバーガー初期非表示（PC用） */
.hamburger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger:focus {
  outline: 2px solid #ffd54f; /* アクセシビリティ */
  outline-offset: 2px;
}

.hamburger-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #222;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.hamburger-bar:nth-child(1) { top: 14px; }
.hamburger-bar:nth-child(2) { top: 21px; }
.hamburger-bar:nth-child(3) { top: 28px; }

/* 開いた時の×変形 */
.hamburger.is-active .hamburger-bar:nth-child(1) {
  top: 21px; transform: rotate(45deg);
}
.hamburger.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger-bar:nth-child(3) {
  top: 21px; transform: rotate(-45deg);
}

/* PC時の横並び */
.global-nav ul {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}


/* ====== ブレークポイント（SP表示） ====== */
@media (max-width: 960px) {

  /* ヘッダー左右配置 */
  .header-inner {
    padding: 0 1em;
  }

    /* ラッパーのボックスを消す＝幅ゼロ化 */
  .header-inner > .nav-box { 
    display: contents;
  }

  /* ハンバーガー表示 */
  .hamburger { 
    display: block; 
  }

  /* ナビはデフォルト非表示（縦メニュー） */
  .global-nav {
    position: fixed;
    inset: 0 0 0 auto;          /* 右側からスライド */
    width: min(80vw, 320px);
    height: 100dvh;
    background: #fff;
    box-shadow: -8px 0 16px rgba(0,0,0,.08);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 1000;
    padding: 80px 24px 24px;    /* 上部はボタン分の余白 */
  }

  .global-nav.is-open {
    transform: translateX(0);
  }

  .global-nav ul {
    display: block;
  }

  .global-nav li + li {
    margin-top: 16px;
  }

  .global-nav a {
    display: block;
    padding: 12px 4px;
    font-size: 1.1rem;
  }

  /* 背景をスクロールさせない */
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  /* 右スライドメニュー用の黒半透明オーバーレイ */
  .nav-overlay {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    z-index: 900;
  }
  .nav-overlay.is-show {
    opacity: 1;
    visibility: visible;
  }

  /* 既存の .nav-box の横並び影響を抑制（可読性向上） */
  header .nav-box nav ul {
    gap: 0;
  }
}














@media screen and (max-width: 600px) {
  body {
    font-size: 14px;
  }

  section {
    margin: 3rem 0;
  }

  .container {
    padding: 0 1.5em;
  }

  /* flexを縦並びに変更 */
  .flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .w-50,
  .w-30 {
    width: 100%;
  }

  /* ABOUTセクション */
  .about .flex {
    gap: 2em;
  }

  /* サービス内容：背景画像の位置調整 */
  .service img,
  .service-owner img {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 2em;
  }

  /* プラン：縦並び */
  .plan .flex {
    flex-direction: column;
    gap: 2em;
  }

  .plan-box {
    width: 100%;
    min-width: auto;
  }

  /* リフォーム：縦並び */
  .flex-reform {
    flex-direction: column;
  }

  .reform-box {
    width: 100% !important;
  }

  .reform img {
  padding: 2.5em;
}

.flex-box-step{
  padding: 1.5em;
}
 .reform .flex-box{
  padding: 0 1.5em 1.5em 1.5em;
}

  /* 募集セクション */
  .recruit .container {
    margin: 0 1.5em;
    padding: 2em 1em;
  }

  .recruit-explain{
    padding: 0 1.5em!important;
  }

  .tag{
    width: 85%!important;
  }

  /* フッター */
  footer .flex {
    flex-direction: column;
    padding: 2em 1em;
    gap: 1.5em;
  }

  footer ul {
    flex-direction: column;
    gap: 1em;
  }
}
