/****************************************
* main.css :ベース
* タグ要素、基本全て適用するデザイン
***************************************/
@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

a {
  display: block;
  color: currentcolor;
  cursor: pointer;
  text-decoration: none;
}

a:hover{
  cursor: pointer;
}

ul, li{
  margin-left: 0 !important;
  list-style: none !important;
}

.p-sub_pc_on {
  display: block;
}

.p-sub_sp_on {
  display: none !important;
}

table .p-sub_sp_on {
  display: none;
}

#page_no_side {
  width: 100%;
  margin: 0;
}

h1, h2, h3, section, [id] {
  scroll-margin-top: 88px; /* ヘッダーの高さ分 */
}

/****************************************
* main.css :コンテンツ
* 役割:ボタン,カード,見出し,フォーム部品
***************************************/
/* コンテンツ */

/* トップページ：基本デザイン */
/* コンテンツのカラーを簡易変数化　add tamashiro */
:root {
  /* color */

  /* brand */
  --primary-color : #1D5CA6;
  --secondary-color : #42444C;
  
  /* text */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-white: #ffffff;

  /* background */
  --color-bg: #ffffff;
  --color-bg-gray: #EDF4FD;
  --color-bg-dark: #42444C;

  /* fontsize */
  --top-head     :60px;
  --top-subhead  :36px;
  --top-text     :16px;
  --top-subtext  :16px;

  /* font */
  --font-mincho: 'Shippori Mincho B1', 'Shippori Mincho', serif;
  --font-sans:   'Noto Sans JP', sans-serif;
  --font-en:     'Inter', sans-serif;

  /* layout */
  --inner-max: 1300px;
  --inner-pad: 63px;
}

.p-sub_head{
  font-size: var(--top-subhead) !important;
  color: var(--primary-color);
  font-weight: 600;
  position: relative !important;
  margin-bottom: 4rem !important;
}

/*****************************************
 * コンポーネント　再利用パーツ 
 * Coponentのテーマカラー設定 
 * mainとsubの出し分けはデザインを見て判断 add tamashiro
 ****************************************/

/* ボタン */

.c-btn{
  width: 280px;
  padding: 1.2rem;
  background-color: var(--primary-color);
  color: var(--color-text-white);
  font-family: var(--font-mincho);
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  border-radius: 50px;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: background .5s cubic-bezier(0,0,0,1),
              color .5s cubic-bezier(0,0,0,1),
              border-color .5s cubic-bezier(0,0,0,1);
}
.c-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 33px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 7px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: border-color .5s cubic-bezier(0,0,0,1);
}

.c-btn:hover {
  background: var(--color-bg);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.c-btn:hover::after {
  border-left-color: currentColor;
}

.c-btn:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.c-btn.c-btn_return{
  width: 230px;
  color: var(--color-bg);
  background: var(--primary-color);
  border-color: transparent;
  padding-left: 3.2rem;
  padding-right: 1.8rem;
  position: relative;
}

.c-btn.c-btn_return::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 33px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-right: 7px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: border-color .5s cubic-bezier(0,0,0,1);
}

.c-btn.c-btn_return::after{ content: none; }

.c-btn.c-btn_return:hover{
  background: var(--color-bg);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.c-btn.c-btn_return:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.c-btn.c-btn_return:active{
  filter: brightness(0.96);
}

/* l-innerのスタイルはlayoutへ移動
   u-はとりあえず据え置きです。tamashiro  */
.u-under_line {
  text-decoration: underline !important;
}

.u-inline{
  display: inline;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* 文字スライダー add tamashiro */
.c-loop_wrapper{
  display: flex;
  align-items: center;
  overflow: hidden;
}

.c-loop_area {
  display: flex;
  animation: loop-slide 55s infinite linear 1s both;
  list-style: none !important;
  margin: 0 !important;
  padding: 0;
  width: calc( 1740px * 2);
}

.c-loop_text {
  width: 1740px;
  flex-shrink: 0;
}

@keyframes loop-slide {
  0% {
    transform: translateX(0%);
  }

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

/* hover add tamashiro 
 *  <ul class="c-hover-opacity p-top_business-list "> 
 *  カーソルが範囲に入るとフェードがかかる 
 *  適用例：<li class="c-hover-opacity p-top_business-list-item">
 */
.c-hover-opacity:hover {
  opacity: 0.7;
  transition: 0.3s;
}

/* セレクトボタン */
.c-category-box-container {
    display: flex;
    justify-content: space-between; 
    gap: 73px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 20px 0;
}

.c-category-box {
    flex: 1;                       /* すべてのボタンを同じ幅にする */
    display: flex;
    align-items: center;
    justify-content: center;       /* テキストを中央寄せ */
    
    background-color: #f0f7ff;     /* 薄い青の背景 */
    border: 1px solid #1e50a2;     /* 紺色の枠線 */
    color: #1e50a2;                /* 文字色 */
    text-decoration: none;
    font-size: 14px;
    height: 50px;                  /* 高さの指定 */
    border-radius: 50px;           /* カプセル型にする */
    
    position: relative;            /* 矢印の位置基準 */
    padding: 0 30px;
}

/* 右側の小さな下矢印（▼） */
.c-category-box::after {
    content: "▼";
    font-size: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* ホバー時の演出（お好みで） */
.c-category-box:hover {
    background-color: #e0eeff;
}

/* slick  */
.c-slick-slider {
  position: relative;
  margin: 0;
  height: 100%;
}

.c-slick-list {
  height: 100%;
}

.c-slick-track {
  height: 100%;
}

.c-slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* table  */
.c-table{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 0 0 24px 0;
}

.c-table_th{
  background: #EDF4FD;
  border: 1px solid #E9E5DE;
  padding: 17px 25px;
  line-height: 2.2;
  border-top: 1px solid #E9E5DE;
  border-right: none;
  border-left: none;
  font-weight: bold;
  color: var(--color-text);
  vertical-align: middle;
}

.c-table_td{
  color: var(--color-text);
  border-top: 1px solid #E9E5DE;
  border-right: none;
  border-left: none;
  vertical-align: middle;
  border: 1px solid #E9E5DE;
  padding: 17px 25px;
  line-height: 2.2;
  background: #fff;
}

/* ページネーション */
.c-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 8px;
  width: 100%;
}

.c-pagination-inner {
  max-width: 210px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.page-nation {
  margin-top: 4vw;
}

.page-nation ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 1vw;
}
/* 数字ボタン */
.c-pagination-inner a.page-numbers,
.c-pagination-inner span.page-numbers {
  display: block;
  font-size: 14px;
  text-align: center;
  line-height: 40px;
  color: #333333;
  background-color: var(--color-bg-gray);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
/* 現在のページ */
.c-pagination-inner a.page-numbers.current,
.c-pagination-inner span.page-numbers.current {
  color: var(--color-bg);
  background-color: var(--primary-color);
  font-weight: bold;
}
/* 前へ・次へ */
.c-pagination-inner a.page-numbers.prev,
.c-pagination-inner a.page-numbers.next {
  font-size: 16px;
  color: var(--primary-color);
  background: none;
  font-weight: bold;
  width: auto;
  line-height: 40px;
  border-radius: 50%;
}

/* パンクズリスト */
.c-breadcrumb-wrap {
  max-width: 1030px;
  margin: 0 auto;
}
 
.c-breadcrumb {
  font-family: var(--font-mincho);
  color: var(--color-text-light);
  font-size: 12px;
  padding: 20px 0;
  display: flex;
}
 
.c-breadcrumb a {
  color: #42444c;
  text-decoration: none;
}
 
.c-breadcrumb .current,
.c-breadcrumb .current-item {
  color: var(--ss-navy);
  font-weight: 700;
}

@media screen and (max-width: 950px) {
  .c-breadcrumb {
    padding: 20px 20px;
  }
}

/* 物件一覧スライダー */
.c-property-list {
  margin-left: calc((100vw - min(100vw, 1100px)) / 2 + var(--inner-pad, 40px)) !important;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  list-style: none;
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

/* トップページの物件セクションは親側(.p-top-property__inner)で
   既に左余白を計算済みのため0にリセット */
.p-top-property__inner .c-property-list {
  margin-left: 0 !important;
}
 
.c-property-list::-webkit-scrollbar {
  display: none;
}
 
.c-property-list__item {
  flex: 0 0 auto;
  width: min(360px, 78vw);
  scroll-snap-align: start;
}
 
.c-property-list__img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}
 
.c-property-list__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
 
.c-property-list__img:hover img {
  transform: scale(1.05);
}

.c-property-list__label{
  display: inline-block;
  font-family: var(--font-mincho);
  background: var(--primary-color);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 8px;
}
 
.c-property-list__name {
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--ss-navy);
  font-weight: 700;
  margin-bottom: 10px;
}
 
.c-property-list__body {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--ss-black);
  line-height: 1.8;
}

.c-voice-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.c-voice-list__item {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
}

.c-voice-list__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.c-voice-list__avatar {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.c-voice-list__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ss-navy);
}

.c-voice-list__text {
  font-size: 16px;
  color: var(--ss-black);
  line-height: 1.8;
}

.c-column-list {
  grid-column: 2;
  grid-row: 1 / -1;
  list-style: none;
}

.c-column-list__item {
  border-top: 1px solid #ddd6c8;
}

.c-column-list__item:last-child {
  border-bottom: 1px solid #ddd6c8;
}

.c-column-list__link {
  display: block;
  position: relative;
  padding: 20px 40px 20px 0;
  text-decoration: none;
}

.c-column-list__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.c-column-list__date {
  font-size: 14px;
  color: #999;
}

.c-column-list__cat {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: #fff;
  background: #b5834a;
  border-radius: 3px;
  padding: 3px 10px;
}

.c-column-list__cat--news {
  background: #4a7ab5;
}

.c-column-list__cat--seller {
  background: #b5834a;
}

.c-column-list__title {
  font-size: 16px;
  color: var(--ss-black);
}

.c-column-list__arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--ss-navy);
}

.c-instagram-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.c-instagram-list__item a {
  display: block;
  aspect-ratio: 1 / 1;
}

.c-instagram-list__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s ease;
}

.c-instagram-list__item a:hover img {
  opacity: .85;
}

.c-btn_view-more:hover .c-btn_view-more_arrow.column circle {
  fill: #E5EEFA;
}

/* スクロールフェードイン（トップページ各セクション） */
.js-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}