@charset "UTF-8";

/**
 * トップページのスタイル
 * NOTE: トップページのスタイルは、サイト内で使いまわし可能である想定です
**/


/**
 * トップページの地図検索画面
 * NOTE: 
**/
.home_map {
  position: relative;
  z-index: 1;
}
#home #page_top {
  display: none;
}

/**
 * search result wrap
 * NOTE: 一覧
**/
@media (max-width: 767.98px) {
  .home_map .search_result_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0;
    padding: 0;
  }
}


/**
 * search result item
 * NOTE: 一覧の結果１つ
**/
.home_map .search_result_item {
  --home-map-result-item-img-width: 96px;
  --home-map-result-item-gap: 8px;
  border-top: none;
  border-right: none;
  border-bottom: solid 2px var(--site-border-c);
  border-left: none;
  margin: 0;
  padding: 16px;
}
.home_map .search_result_item.select {
  background: #fffada;
}
.home_map .search_result_wrap:has(.search_result_item.select) .search_result_item {
  opacity: 0.5;
}
.home_map .search_result_wrap:has(.search_result_item.select) .search_result_item.select {
  opacity: 1;
}
.home_map .search_result_item.select::after,
.home_map .search_result_item.select::before ,
.home_map .search_result_item::after,
.home_map .search_result_item::before {
  display: none;
}
@media (max-width: 767.98px) {
  .home_map .search_result_item {
    border-top: none;
    border-right: solid 2px var(--site-border-c);
    border-bottom: none;
    border-left: none;

    /* TODO: 余白の計算で使う数値が定数なので変数にしたい */
    min-width: calc( 100svw - 8px * 2 );
    padding: 8px 12px;
  }
  .home_map .search_result_item:last-child {
    border-right: none;
  }
}

.home_map .search_result_item .img_parts {
  width: var(--home-map-result-item-img-width);
  gap: var(--home-map-result-item-gap);
}
.home_map .search_result_item .img_parts .main_img img {
  aspect-ratio: 4 / 3;
}
@media (max-width: 767.98px) {
  .home_map .search_result_item .img_parts {
    background: transparent;
  }
  .home_map .search_result_item .img_parts .main_img img {
    width: 100%;
    height: auto;
  }
}
.home_map .search_result_item .text_parts {
  width: calc(100% - var(--home-map-result-item-img-width) - var(--home-map-result-item-gap));
}
/* 画像無しの場合 */
.home_map .search_result_item .text_parts:first-child {
  width: 100%;
}
@media (max-width: 767.98px) {
  .home_map .search_result_item .text_parts {
    padding: 0;
  }
}

@media (max-width: 767.98px) {
  .home_map .search_result_item .title_parts {
    padding: 0 0 4px;
  }
}

.home_map .price_parts {
  gap: 2px 0;
}
.home_map .price_parts .price_title {
  width: 4em;
}
.home_map .price_parts *+.price_title {
  margin-left: 0;
}
.home_map .price_parts .price_text {
  width: calc( 100% - 4em );
  flex: auto;
}
@media (max-width: 767.98px) {
  .home_map .price_parts {
    line-height: 1.2;
  }
  .home_map *+.price_parts {
    margin-top: 4px;
  }
}

@media (max-width: 767.98px) {
  .home_map .address_parts .address_text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .home_map .address_parts .address_title:nth-child(n+3) {
    display: none;
  }
  .home_map .address_parts .address_text:nth-child(n+3) {
    display: none;
  }
}

.home_map .info_parts {
  width: calc(100% + var(--home-map-result-item-img-width) + var(--home-map-result-item-gap));
  margin-left: calc( (var(--home-map-result-item-img-width) + var(--home-map-result-item-gap)) * -1 );
  gap: 2px 0;
}
.home_map .info_parts .info_title {
  width: 5em;
}
.home_map .info_parts *+.info_title {
  margin-left: 0;
}
.home_map .info_parts .info_text {
  font-feature-settings: 'paltf';
  width: calc( 100% - 5em );
  flex: auto;
}
@media (max-width: 767.98px) {
  .home_map .info_parts {
    display: none;
  }
}

.home_map .search_result_item .box_btn {
  width: calc(100% + var(--home-map-result-item-img-width) + var(--home-map-result-item-gap));
  margin-left: calc( (var(--home-map-result-item-img-width) + var(--home-map-result-item-gap)) * -1 );
}

/**
 * トップページのメインビジュアル
 * NOTE: 
**/

/* メインビジュアル 背景の調整 */
[id="main_image"] {
  background: url("../images/main_image_01.png") no-repeat left 50% bottom 0%;
  background-size: cover;
}
@media (max-width: 1080.98px) {
  [id="main_image"] {
    background-position: left 33.33% bottom 0%;
    background-size: auto 100%;
  }
}
@media (max-width: 767.98px) {
  [id="main_image"] {
    background-position: left 31% bottom 0%;
    background-size: auto 100%;
  }
}

/* メインビジュアル コンテンツの基本的な位置と幅などのスタイル */
[id="main_image"] > .base_wrap {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  width: 100%;
  height: 640px;
}
@media (max-width: 1080.98px) {
  [id="main_image"] > .base_wrap {
    justify-content: center;
  }
}
@media (max-width: 767.98px) {
  [id="main_image"] > .base_wrap {
    display: block;
    width: 100%;
    height: auto;
    padding: 72px 0;
  }
}


/* メインビジュアル コンテンツの内部のスタイル */
.main_image__inner {
  text-align: center;
  max-width: 672px;
  width: 100%;
}


/* メインビジュアル ロゴ */
.main_image__logo {
  width: auto;
  height: 204px;
}
@media (max-width: 767.98px) {
  .main_image__logo {
    width: auto;
    height: 96px;
  }
}


/* メインビジュアル サイト名（デフォルト不使用） */
.main_image__title {
  color: var(--font-c);
  font-size: 28px;
  font-weight: 900;
  line-height: 32px;
}
*+.main_image__title {
  margin-top: 24px;
}
@media (max-width: 767.98px) {
  .main_image__title {
    font-size: 18px;
    line-height: 24px;
  }
  *+.main_image__title {
    margin-top: 16px;
  }
}


/* メインビジュアル キャッチコピー */
.main_image__slogan {
  color: var(--font-c);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}
*+.main_image__slogan {
  margin-top: 24px;
}
@media (max-width: 767.98px) {
  .main_image__slogan {
    font-size: 14px;
    line-height: 24px;
  }
  *+.main_image__slogan {
    margin-top: 16px;
  }
}


/* メインビジュアル 検索部品 */
/* メインビジュアル 検索部品 ラッパー */
.main_image__search {
  margin-top: 40px;
}
@media (max-width: 959.98px) {
  .main_image__search {
    margin-top: 20px;
  }
}
/* メインビジュアル 検索部品 コンテンツラッパー */
.main_image__search_inner {
  max-width: 672px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 959.98px) {
  .main_image__search_inner {
    max-width: 672px;
  }
}
@media (max-width: 767.98px) {
  .main_image__search_inner {
    max-width: 360px;
  }
}
/* メインビジュアル 検索部品 フォームタグ */
.main_image__form {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 16px;
}
@media (max-width: 767.98px) {
  .main_image__form {
    gap: 0;
  }
}
/* メインビジュアル 検索部品 セレクト */
.main_image__form_select {
  max-width: 200px;
  width: 100%;
}
.main_image__form_select .select {
  display: block;
  width: 100%;
}
.main_image__form_select .select select {
  height: var(--site-btn-height);
}
@media (max-width: 767.98px) {
  .main_image__form_select {
    max-width: none;
    width: 100%;
  }
}
/* メインビジュアル 検索部品 結合アイコン */
.main_image__form_sep {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  color: var(--site-c-main);
  font-size: 32px;
  line-height: 1;
}
@media (max-width: 767.98px) {
  .main_image__form_sep {
    width: 100%;
    height: 36px;
  }
}
/* メインビジュアル 検索部品 送信ボタン */
.main_image__form_submit {
  max-width: 136px;
  width: 100%;
}
@media (max-width: 767.98px) {
  .main_image__form_submit {
    max-width: none;
    margin: 12px auto 0;
  }
}


/**
 * トップページのコンテンツ
 * NOTE: 
**/


/**
 * トップページのセクション
 * NOTE: .home_wrap01は旧バージョン互換
**/

.home_wrap01,
.home_section {
  padding: 56px 0;
}
@media (max-width: 959.98px) {
  .home_wrap01,
  .home_section {
    padding: 40px 0;
  }
}
@media (max-width: 767.98px) {
  .home_wrap01,
  .home_section {
    padding: 32px 0;
  }
}


/**
 * トップページの2col セクション
 * NOTE: .base_wrapにdisplay: flexなどを指定し、その直下に.home_left_wrap、および.home_right_wrapを配置し使用します。
**/

.home_left_wrap {
  width: calc(100% - 300px);
}
@media (max-width: 959.98px) {
  .home_left_wrap {
    width: 100%;
    max-width: none;
  }
}

.home_right_wrap,
.home_specialty_wrap {
  width: 260px;
}
@media (max-width: 959.98px) {
  .home_right_wrap,
  .home_specialty_wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    max-width: none;
    width: 100%;
    margin: 20px auto;
    padding: 0;
  }
}


/**
 * area map
 * NOTE: 
**/

.area_wrap {
  position: relative;
  padding: 0 2px;
  margin: 0 0 64px;
}
@media (max-width: 767.98px) {
  .area_wrap {
    display: none;
  }
}
.area_wrap a {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  padding: 0 4px;
  margin: 0 0 4px 2px;
  background: #fff;
  color: var(--site-c-gray);
  border: solid 2px;
  border-radius: 2em;
  font-size: 12px;
  font-weight: 700;
  width: 88px;
  height: 24px;
}
.area_wrap p {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 8px;
  padding: 0;
}
.area_wrap img {
  width: 100%;
  height: auto;
}
.area_wrap__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (max-width: 1300.98px) {
  .area_wrap__box {
    font-size: 8.125px;
  }
}
.area_wrap > div {
  position: absolute;
  z-index: 1;
  width: 100%;
  text-align: center;
}
.area_wrap .map_color {
  fill: #ebebeb;
}
.area_wrap .pref_color {
  fill: none;
  stroke: #ffffff;
  stroke-width: 0.5;
  stroke-linecap: round;
  stroke-miterlimit: 100;
}
.area_wrap .box_color {
  opacity: 0.8;
}
.area_wrap .box_fill_color {
  fill: #ffffff;
}
.area_wrap .box_line_color {
  fill: none;
  stroke: var(--site-c-main);
  stroke-width: 0.5;
  stroke-miterlimit: 100;
}
.area_wrap .line_color {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: none;
  stroke: var(--site-c-main);
  stroke-miterlimit: 10;
}
.area_wrap .pin_color {
  fill: var(--site-c-main);
}
.area_wrap .area_name {
  fill: var(--site-c-main);
  font-weight: 700;
}

[id="map"] {
  display: block;
  max-width: 1024px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
[id="map"] .area_name,
[id="map"] .pref_name {
  font-size: 14px;
}


/**
 * search forms
 * NOTE: 
**/

/* home_search_wrap */
.home_search_wrap {
  margin: 0 0 64px;
}
@media (max-width: 767.98px) {
  .home_search_wrap {
    padding: 16px 8px;
  }
}

/* box_search_list */
.box_search_list {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px;
}
.box_search_list__item {}
.box_search_list__item .select {
  width: 100%;
}
.box_search_list__item select {
  box-shadow: 2px 2px 0 0 var(--site-c-main-light);
  border-radius: 4px;
  border: solid 2px var(--site-c-main-light);
  font-size: 16px;
  font-weight: 500;
  line-height: 62px;
  width: 100%;
  height: 64px;
  padding: 0 14px;
}

/* home_kodawari_wrap */
.home_kodawari_wrap {
  position: relative;
}
@media (max-width: 767.98px) {
  .home_kodawari_wrap {
    margin: 0 -2px;
    padding: 0 8px;
  }
}

/* box_kodawari */
.box_kodawari {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: stretch;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.box_kodawari > a {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  box-shadow: 2px 2px 0 0 var(--site-c-main-light);
  border-radius: 4px;
  border: solid 2px var(--site-c-main-light);
  background: #fff;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  height: 64px;
  width: calc((100% - 4px * 2 ) / 3);
  margin: 0;
  padding: 0 16px;
}
@media (max-width: 767.98px) {
  .box_kodawari > a,
  .box_kodawari > div {
    width: calc((100% - 4px * 1 ) / 2);
  }
}


/**
 * コラム
 * NOTE: 
**/

.topics_wrap {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: stretch;
  margin: 0;
  gap: 32px;
}
@media (max-width: 767.98px) {
  .topics_wrap {
    flex-flow: column nowrap;
    justify-content: flex-start;
  }
}

.topics_left,
.topics_right {
  width: 100%;
  padding: 0;
  position: relative;
}
@media (min-width: 768px) {
  .topics_left:has(.box_more),
  .topics_right:has(.box_more) {
    padding: 0 0 calc( 16px + var(--site-btn-height) );
  }
}


.topics_wrap .box_more {
  display: flex;
  justify-content: center;
  align-items: center;
}
.topics_wrap .box_more .btn {
  max-width: 280px;
}
@media (min-width: 768px) {
  .topics_wrap .box_more {
    position: absolute;
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
  }
}
@media (max-width: 767.98px) {
  .topics_wrap .box_more {
    margin-top: 16px;
  }
}

.topics_wrap .c_title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: solid 2px var(--site-c-main);
  color: var(--site-c-main);
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  padding: 20px;
  margin-bottom: 16px;
  gap: 20px;
}
@media (max-width: 767.98px) {
  .topics_wrap .c_title {
    border-width: 1px;
    font-size: 16px;
    padding: 12px 16px;
    gap: 12px;
  }
}
.topics_wrap .c_title::after {
  content: attr(data-small);
  display: block;
  color: var(--font-c);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  margin: 0 0 0 auto;
  transform-origin: right center;
}
.topics_wrap .c_title:has(a)::after {
  display: none;
}

.topics_wrap .c_title > span {
  display: block;
}
.topics_wrap .c_title > a {
  display: block;
  color: var(--font-c);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05ex;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  margin: 0 0 0 auto;
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  transform: translate(0,0);
}
.topics_wrap .c_title > a::before {
  display: none;
}


/**
 * 都道府県検索
 * NOTE: 
**/

.box_pref {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  padding: 0 0 14px;
}
@media (max-width: 767.98px) {
  .box_pref {
    padding: 0 6px 6px;
  }
}

.box_pref + .box_pref {
  border-top: solid 2px #f2f2f2;
  padding: 14px 0;
}
@media (max-width: 767.98px) {
  .box_pref + .box_pref {
    padding: 6px;
  }
}

.box_pref::before {
  display: block;
  width: 72px;
  content: attr(data-pref-area-name);
  color: var(--site-c-main);
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 767.98px) {
  .box_pref::before {
    width: 100%;
    margin: 0 0 6px;
  }
}

.box_pref > li {
  margin-right: 8px;
}
@media (max-width: 767.98px) {
  .box_pref > li {
    width: 25%;
    margin: 0;
    padding: 2px;
  }
}

.box_pref a {
  display: block;
  border: solid 2px var(--site-c-main-light);
  border-radius: 4px;
  box-shadow: 2px 2px 0 0 var(--site-c-main-light);
  color: inherit;
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
  padding: 12px;
  width: 80px;
  text-align: center;
}
@media (max-width: 767.98px) {
  .box_pref a {
    padding: 8px;
    width: auto;
  }
}


/**
 * お知らせ
 * NOTE: 
**/

.home_news_list {
  margin-bottom: 12.5px;
}
@media (max-width: 767.98px) {
  .home_news_list {
    font-size: 12px;
  }
}
.home_news_list > li,
.home_news_list > li > a {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--font-c);
}
.home_news_list > li {
  padding: 16px;
}
.home_news_list > li + li {
  border-top: solid 1px var(--site-c-gray);
}
.home_news_list > li time {
  color: var(--site-c-gray);
}
.home_news_list > li p {
  width: calc(100% - 120px);
}
@media (max-width: 767.98px) {
  .home_news_list > li p {
    width: calc(100% - 96px);
  }
}
