/*
Theme Name:vieaq-theme
*/

/*=================
common
=================*/
:root {
  --main-bg-color: #DDDCDA;
  --main-color: #ffffff;
  --title-color: #ffffff;
  --text-color: #0a1934;
  --accent-color-blue: #55889C;
  --accent-color-lightBlue:#EDF2F9;
  --column-bg:#EDF2F9; 
  --column-hover-bg:#8ba6bd; 
}

body {
  position: relative;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  word-break: break-all;
  margin: 0;
  background: #ffffff;
  line-height: 2.0;
}

p,
span,
li {
  font-family: var(--font-family);
  font-weight: 500;
  line-height: 1.8;
}
ul{
  padding: 0;
  margin: 0;
}

a {
  color: var(--main-color);
  text-decoration: none;
  transition: all 0.5s;
}

li {
  list-style: none;
}

img {
  width: 100%;
  height: auto;
}

/*=================
　ｈ1　タイトル
/*=================*/
.h1-title{
  text-align: center;
}
.h1-title-en{
  font-size: clamp(2rem, 1.273rem + 3.64vw, 4rem);
  font-weight: normal;
}
.h1-title-jp{
  font-size: 1rem;
  font-weight: normal;
}
.title-bg{
  position: relative;
  height: 70px;
}
.title-bg::before{
  content: "";
  background: url(../img/column/column_bg.svg);
  background-size: cover;
  position: absolute;
  top: -99%;
  width: 100%;
  height: 200%;
  z-index: -1;
}

/*=================
　コラム一覧ページ
カテゴリー選択ボタン
/*=================*/
.salon{
background: var(--column-bg);
}
.category-buttons {
width: 100%;
position: relative;
max-width: 1440px;
margin: 0 auto;
}

.category-buttons-inner{
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.category-buttons .category-salon-h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.category-salon-ul a{
font-weight: bold;
}
.category-salon-ul li {
  display: flex;
  flex-wrap: wrap;
}
.category-salon-ul{
  padding-bottom: 20px;
}
.category-salon-ul > li > a::after {
    content: '|';
    display: inline-block;
    font-size: 18px;
    margin-left: 5px;
}
.category-salon-ul ul.children{
    padding-left: 10px;
}
.category-btn,
.category-salon-ul ul.children li a{
  display: inline-block;
  color:var(--text-color);
  text-decoration: none;
  border:solid 1px;
  transition: all 0.3s ease;
  border-radius: 30px;
  padding: 3px 15px 0;
  width: fit-content;
  line-height: 1.5;
  font-weight: normal;
}

.category-btn:hover,
.category-salon-ul ul.children li a:hover{
  background: var(--column-hover-bg);
  color: var(--title-color);
  transition: all 0.3s ease;
}
@media screen and (min-width: 1920px) {
  .category-buttons::before{
    top: -140%;
    width: 100%;
    height: 350%;
  }
}
@media screen and (min-width: 1025px) {
.category-salon-ul{
  display: flex;
  gap: 30px;
  margin: 0 auto;
}
}

/* 店舗一覧 */
.salon-list {
  width: 100%;
  position: relative;
  padding-top: 40px;
  padding-bottom: 5%;
  max-width: 1440px;
  margin: 0 auto;
}
.salon-h2{
  font-size: 18px;
  width: 90%;
  margin: 0 auto 10px;
} 
.salon-list-inner {
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  background: var(--main-color);
}
.salon-list-inner > h3{
  padding: 20px;
  text-align: center;
  background: var(--column-hover-bg);
  color: var(--title-color);
}
.salon-list-inner > h4{
  padding: 20px;
  text-align: center;
  border-bottom: dashed 1px;
}
.posts-ul{
margin-bottom: 10px;
}
li.posts-li {
    margin: 20px 0;
    background: #fff;
}
.salon-name{
  font-weight: bold;
  padding: 10px;
  background: var(--column-bg);
  font-size: 18px;
  margin: 0 auto 10px;
}
.salon-link{
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}
.salon-link > a{
  color: var(--text-color);
  text-decoration: none;
  border: solid 1px;
  transition: all 0.3s ease;
  padding: 15px;
  line-height: 1.5;
  font-weight: bold;
  margin: 10px 0;
  font-size: 14px;
  text-align: center;
  width: 49%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.salon-link > a:hover{
  background: var(--column-bg);
  transition: all 0.3s ease;
}
.salon-link-icon {
  max-width: 60px;
  margin: 0 auto 10px;
}
.salon-hpb p{
  line-height: 1.2;
}
.salon-link p{
  font-weight: bold;
  font-size: 12px;
}

@media screen and (min-width: 1025px) {
  .posts-ul{
    display: flex;
    gap: 20px;
    padding: 0;
  }
  li.posts-li {
    width: 50%;
  }
  .salon-link{
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
  }
  .salon-link > a{
    max-width: 130px;
  }
}



