/*
Theme Name: Twenty Twenty-Four 
ChildTemplate: twentytwentyfour*/
/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* サイト全体 */
body {
  font-family: "Helvetica Neue", "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}
.n2-ss-section-main-content {
  cursor: default !important;
}
#headerimg, .wp-block-post-title, #footer {
  display: none;
}
/*基準を1rem=10pxに設定*/
html {
  font-size: 62.5%;
}
/*最小値:1.1rem → 可変（0.9rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.6rem*/
.font-size-S {
  font-size: clamp(1.1rem, calc(0.9rem + 0.625vw), 1.4rem);
}
/*最小値:1.2rem → 可変（1rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.7rem*/
.font-size-M {
  font-size: clamp(1.2rem, calc(1rem + 0.625vw), 1.7rem);
}
/*最小値:1.6rem → 可変（2.2rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:2.9rem*/
.font-size-L {
  font-size: clamp(2.4rem, calc(2.2rem + 0.625vw), 2.9rem);
}
/* 最初は影なし */
.custom-header {
  background: #fff;
  height: 70px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
/* スクロールしたときだけ影を追加 */
.custom-header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* ヘッダー内部：flexで左右に配置 */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  padding: 0 5% 0 160px;
  position: relative; /* ロゴをabsolute配置するための基準 */
}
/* サイトブランディング：ロゴと社名 */
.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative; /* ロゴだけを飛び出させるために必要 */
}
/* ロゴ画像部分のみ下に飛び出す＆角丸 */
.logo-image {
  background: #202020;
  height: 130px;
  width: 130px;
  padding: 20px;
  border-bottom-right-radius: 20px;
  position: fixed;
  top: -20px;
  left: 0;
  transform: translateY(20px); /* ヘッダーから20px下へ */
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* ロゴ画像内のimg */
.logo-image a img {
  width: 100%;
  display: block;
}
/* サイトタイトル（社名） */
.site-title {
  font-weight: bold;
  color: #333;
  white-space: nowrap;
}
/* ナビゲーションメニュー */
.site-nav .nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
}
.site-nav .nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
/* ハンバーガーボタン初期状態 */


.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between; /* 3本線を均等配置 */
  width: 30px;
  height: 22px; /* 20px → 22pxに少し増やすと見やすくなる */
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

.slider-wrapper {
  position: relative;
  margin: calc(70px - clamp(4px, 1vw, 16px)) auto 0 auto;
  width: 100%;
  height: 100vh;
  /* 枠線と角丸 */
  border: clamp(4px, 1vw, 16px) solid #ffffff;
  border-radius: clamp(10px, 2vw, 30px);
  /* スライダーを内側に収めるためにオーバーフロー処理 */
  overflow: hidden;
}
/* スライダー本体が枠にフィットするように */
.slider-wrapper .n2-section-smartslider {
  height: 100% !important;
}
/* 矢印の位置調整とアニメーション */
.slider-arrow {
  width: 8%; /* 好きな大きさに調整 */
  margin: -5% auto 8%;
  height: auto;
  cursor: pointer;
  animation: fadeBlink 1.5s ease-in-out infinite;
  z-index: 200;
}
.slider-arrow img {
  width: 100%;
  height: auto;
  display: block;
}
/* ゆっくり優しい点滅アニメーション */
@keyframes fadeBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.greeting-section {
  padding: 60px 20px;
}
.greeting-header {
  position: relative;
  text-align: center;
  padding: 20px 0px;
  color: #1d1d1d;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 40px;
  letter-spacing: 2px;
}
.header-bg-image01 {
  position: absolute;
  width: 20%; /* ← ここで幅を指定。例: 100%, 1200px, clamp など */
  height: auto; /* 高さは自動計算（比率維持） */
  z-index: -1;
  max-width: 1600px; /* 任意：巨大すぎる画像の制限におすすめ */
  top: 10%; /* 上に持ち上げる。数値を調整可能 */
  left: 50%;
  transform: translateX(-50%);
  height: auto;
  z-index: -1;
}
.header-bg-image02 {
  position: absolute;
  width: 35%; /* ← ここで幅を指定。例: 100%, 1200px, clamp など */
  height: auto; /* 高さは自動計算（比率維持） */
  z-index: -1;
  max-width: 1600px; /* 任意：巨大すぎる画像の制限におすすめ */
  top: 10%; /* 上に持ち上げる。数値を調整可能 */
  left: 50%;
  transform: translateX(-50%);
  height: auto;
  z-index: -1;
}
.greeting-columns {
  display: flex;
  justify-content: center;
  padding: 0 20px;
}
/* 左：画像 */
.greeting-image {
  flex: 1;
  min-width: 300px;
}
.greeting-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}
.greeting-text {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  line-height: 1.9;
  gap: 1.2em;
  padding: 0 0 10px;
}
.signature-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}
.signature-wrapper p {
  margin: 0;
  font-weight: bold;
}
.signature-image {
  height: auto;
  max-height: 120px; /* 必要に応じて調整 */
  width: auto;
}
/* 汎用セクション */
.section {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 20px;
}
.section h2 {
  margin-bottom: 1rem;
  padding-left: 10px;
}
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}
.service-box {
  background: linear-gradient(-40deg, #96E9BD, #4E8EF5);
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}
.service-box p {
  text-align: left;
}
.service-box:hover {
  transform: translateY(-5px);
}
.service-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}
.service-box h3 {
  margin-bottom: 10px;
  color: #1d1d1d;
}
.service-box p {
  color: #333;
  line-height: 1.6;
}

.transaction-flow {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  font-family: "Helvetica Neue", "Noto Sans JP", sans-serif;
}

.flow-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1d1d1d;
  letter-spacing: 1px;
  position: relative;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.flow-step {
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
  position: relative;
}

.flow-step:hover {
  transform: translateY(-5px);
}

.step-number {
  background: #4E8EF5;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 10px;
}

.step-title {
  font-size: 1.3rem;
  margin: 10px 0;
  color: #333;
}

.step-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* スマホ用調整 */
@media (max-width: 600px) {
  .flow-title {
    font-size: 1.6rem;
  }
  .step-title {
    font-size: 1.2rem;
  }
  .step-description {
    font-size: 0.95rem;
  }
}
.responsive-map-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9比率 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  max-width: 100%;
}
.responsive-map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* フッター */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* タブレット用レイアウト */
@media (min-width: 769px) and (max-width: 1289px) {
  .slider-wrapper {
    height: auto;
  }
    
}

/* スマホ用レイアウト */
@media (max-width: 768px) {
.custom-header {
  height: 70px;
}
  .header-inner {
    position: relative;
    display: flex;
    justify-content: center; /* 中央に配置 */
    align-items: center;
    height: 70px;
  }
    
  .site-branding {
    position: absolute;
    left: 190px;
    transform: translateX(-50%);
    text-align: center;
  }

/* ロゴ画像部分のみ下に飛び出す＆角丸 */
.logo-image {
  background: #202020;
  height: 100px;
  width: 100px;
  padding: 10px;
  border-bottom-right-radius: 20px;
  position: fixed;
  top: -20px;
  left: 0;
  transform: translateY(20px); /* ヘッダーから20px下へ */
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* ロゴ画像内のimg */
.logo-image a img {
  width: 100%;
  display: block;
}
  .site-title {
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 23px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
    position: fixed;
    top: 20px;
    right: 20px;
    transform: translateY(0);
  }
  .menu-toggle span {
    display: block;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
    
  .site-nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    padding: 0 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: max-height 0.5s ease;
    z-index: 105;
  }
  .site-nav.active {
    max-height: 500px;
    padding: 20px 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
  }
  .nav-list li a {
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    display: block;
  }
  .site-nav.active {
    display: flex;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav .nav-list {
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  .slider-wrapper .n2-section-smartslider, .slider-wrapper .n2-ss-section-main, .slider-wrapper .n2-ss-slider {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }
    
  .slider-wrapper {
    height: auto;
    margin: calc(0px - clamp(4px, 1vw, 16px)) auto 0 auto;
  }
　.slider-arrow {
  width: 15%; /* 好きな大きさに調整 */
  margin: -9% auto 8%;
}
    
  /* 挨拶セクション */
  .greeting-section {
    padding: 40px 15px;
  }
  .greeting-header {
    padding: 30px 15px;
    margin-bottom: 0px;
  }
    .header-bg-image01 {
    width: 40%;
    top: 15%;
  }      
    .header-bg-image02 {
    width: 60%;
    top: 15%;
  }
  /* 2カラム → 縦並び */
  .greeting-columns {
    flex-direction: column;
    gap: 20px;
  }
  .greeting-image, .greeting-text {
    min-width: 100%;
  }
  .greeting-text {
    padding: 0;
    line-height: 1.8;
    gap: 1em;
    text-align:left;
  }
  .signature-wrapper {
    text-align: left;
    display: block;
    margin-left: auto;
    margin-right: 0;
    width: fit-content;
  }

  .signature-wrapper p {
    text-align: left;
  }

  .signature-wrapper .signature-image {
    display: block;
    max-width: 100%;
    height: auto;
  }
    
  /* 汎用セクション */
  .section {
    padding: 0 15px;
    margin: 30px auto;
  }
  .section h2 {
    padding-left: 0;
    text-align: center;
    margin-bottom: 1rem;
  }
  /* サービス一覧 */
    
  .services {
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px;
    padding: 0px 10px;
  }
  .service-box {
    padding: 20px 15px;
    width: 100%;
  }
  .service-box p {
    line-height: 1.6;
  }
  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
}
/* 会社概要 */
.company-profile {
  padding: 2rem 1rem;
        max-width: 980px;
    margin: 70px auto;
}

.company-profile h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.table-wrapper {
  overflow-x: auto;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.profile-table th,
.profile-table td {
  padding: 1rem;
  border: 1px solid #ddd;
  text-align: left;
}

.profile-table th {
  background-color: #f0f0f0;
  width: 30%;
  font-weight: bold;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .profile-table th,
  .profile-table td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}


/* お問い合わせ */
.cf7 {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 20px;
}
.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.cf7__list dt:nth-of-type(n + 2), .cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}
.cf7__list dt {
  width: 35%;
  padding-top: 15px;
}
.cf7__list dd {
  width: 65%;
}
/* 必須・任意 */
.cf7__required, .cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}
.cf7__required {
  background: #BE1D1D;
}
.cf7__optional {
  background: #878D8E;
}
/* input・textarea */
.cf7__list dd input[type="text"], .cf7__list dd input[type="tel"], .cf7__list dd input[type="email"], .cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #F4F4F4;
}
/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}
.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: '';
}
.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #F4F4F4;
  color: #a5a5a5;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox, .cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}
/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}
.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}
/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}
/* チェックボックス・ラジオボタン */
input[type="checkbox"], input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}
input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
}
/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}
input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: '';
}
/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder, .cf7__list dd input[type="tel"]::placeholder, .cf7__list dd input[type="email"]::placeholder, .cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}
/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder, .cf7__list dd input[type="tel"]::-ms-input-placeholder, .cf7__list dd input[type="email"]::-ms-input-placeholder, .cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}
/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder, .cf7__list dd input[type="tel"]:-ms-input-placeholder, .cf7__list dd input[type="email"]:-ms-input-placeholder, .cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}
/* 送信ボタン */
.cf7__button {
  padding-left: 72px;
  text-align: center;
}
input[type="submit"] {
  width: 260px;
  height: 60px;
  background: #000;
  color: #fff;
  transition: opacity .6s;
}
input[type="submit"]:hover {
  opacity: .6;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {
  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }
  .cf7__list dd {
    width: 100%;
  }
  .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }
  .cf7__list dd .wpcf7-checkbox, .cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
  }
  /* 送信ボタン */
  input[type="submit"] {
    width: 180px;
    height: 56px;
  }
}

.menu-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 200;
}

/* 共通スタイル */
.menu-toggle svg .line {
  fill: #333;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: 50% 50%;
}

/* アニメーション時のスタイル */
.menu-toggle.open .top {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.open .middle {
  opacity: 0;
}

.menu-toggle.open .bottom {
  transform: rotate(-45deg) translate(10px, -10px);
}

/* 売却バナー全体 */
/* バナーをページ中央にピッタリ配置 */
.sell-banner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  width: 100%;
}

/* バナー本体 */
.sell-banner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  height: 70px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #1db4c1, #60d188);
  background-size: 200% 200%;
  animation: shineEffect 3s infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  transition: transform 0.3s ease;
}

/* ホバーで少し拡大 */
.sell-banner-link:hover {
  transform: scale(1.05);
}

/* キラッと光るアニメーション */
@keyframes shineEffect {
  0% {
    background-position: 0% 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  }
  100% {
    background-position: 0% 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0);
  }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .sell-banner-link {
    width: 90%;
    height: 60px;
  }
}
