﻿
@charset "UTF-8";

/* =========================================
   フッター
   site-colors.css 連動
========================================= */

/* フッター全体 */
.site-footer .main-box {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  background: var(--site-primary-soft, #FFF0F7);
}

/* 区切り線 */
.btm-border {
  border: none;
  height: 1px;
  background: #fff;
  border-radius: 2px;
}

/* 内側 */
.main-box .inner {
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  color: #3E3E3E;
}

/* フッター内リンク */
.site-footer .main-box .inner a:not(.btn),
.site-footer .main-box .inner a:not(.btn):visited {
  color: #3E3E3E !important;
}

/* リンクホバー */
.site-footer .main-box .inner a:not(.btn):hover {
  color: var(--site-primary-hover, #B8427F) !important;
}

/* ロゴ */
.main-box .top-img {
  width: 200px;
  text-align: center;
  margin-bottom: 30px;
}

/* =========================================
   お問い合わせエリア
========================================= */

.container-oto {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 20px;
}

.container-oto .left-content {
  width: 65%;
}

.container-oto .right-content {
  width: 30%;
  text-align: center;
}

.container-oto .top-img img {
  max-width: 100%;
  height: auto;
}

.container-oto .top-txt {
  margin-top: 20px;
}

/* =========================================
   お問い合わせボタン
========================================= */

.site-footer .container-oto a.btn,
.site-footer .container-oto a.btn:visited {
  display: block;
  background-color: var(--site-primary, #D45A98) !important;
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 16px;
}

/* ボタンホバー */
.site-footer .container-oto a.btn:hover {
  background-color: var(--site-primary-hover, #B8427F) !important;
  color: #FFFFFF !important;
}

/* =========================================
   カテゴリ一覧
========================================= */

.category-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  width: 90%;
  margin: 50px auto;
}

.category-container h2 {
  border-top: none;
  color: #3E3E3E;
}

.category-column {
  width: 48%;
  box-sizing: border-box;
}

.category-title {
  margin: 5px 0;
  padding: 0;
  font-size: 14px;
}

/* 子カテゴリ */
.category-children {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: flex-start;
}

.category-children li {
  padding: 3px 8px;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  position: relative;
}

/* カテゴリリンク */
.category-container a {
  text-decoration: none;
}

.category-container a:hover {
  text-decoration: underline;
}

/* 孫カテゴリ */
.category-grandchildren {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding-left: 10px;
  margin: 3px 0 0;
  list-style: none;
}

.category-grandchildren li {
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1.2;
}

/* =========================================
   スマートフォン
========================================= */

@media screen and (max-width: 560px) {

  .site-footer {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
  }

  .main-box .inner {
    width: 100%;
  }

  .category-container {
    display: block;
  }

  .category-column {
    width: 100%;
    box-sizing: border-box;
  }

  .container-oto {
    display: block;
    padding: 10px;
  }

  .container-oto .left-content {
    width: 100%;
  }

  .container-oto .right-content {
    width: 100%;
  }
}
