@charset "utf-8";
/*
Theme Name: なないろ接骨院
Description: なないろ接骨院のテーマ
Version: 1.0.0
Author: Design Nanairo
*/

/************** 
 リセット
**************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
li {
  list-style: inside;
  list-style-type: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  vertical-align: bottom;
}

/************** 
 テキスト
**************/
body {font-family:"Noto Serif JP", serif;color: #333;line-height: 1.8;letter-spacing: 2px;}

h1 {
  font-size: 24px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 20px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 14px;
}
p {
  font-size: 14px;
}
a {
  font-size: 14px;
}


/***********
本体
***********/
html {
  width: 100%;
  height: 100%;
  overflow: auto;
}
.container {
  padding-bottom: 50px;
}


/************
テキスト
************/
.contents-all h2{
  color: #00a496;
}
.contents-ver-text {
  display: flex;
  align-items: center;
  width: 100%;
  writing-mode: vertical-rl;
}
.contents-ver-text h2 {
  color: #00a496;
  line-height: 1.5;
}
.contents-ver-text p {
  margin-right: 15px;
  line-height: 2.2;
}


/****************
メインコンテンツ
****************/
.contents-main {
  margin: 0 auto;
  max-width: 1100px;
  padding: 50px 15px 0;
}
section {
  margin-bottom: 50px;
}

/* スライダー */
.dots-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
}
.dots-wrap li {
  width: 20px;
  height: 3px;
  margin-right:10px;
  background-color: #ccc;
  cursor: pointer;
}
.dots-wrap li:last-child {
  margin-right: 0;
}
.dots-wrap li:hover,
.dots-wrap li.slick-active {
  background-color: #00a496;
}
.dots-wrap button {
  display: none;
}

/* PCバー */
.pc-bar {
  display: none;
}

/*モバイルメニュー*/
.mobile {
  position: fixed;
  width: 100%;
  height: 50px;
  bottom: 0;
  right: 0;
  background-color: #005243;
  z-index: 2;
}
.mobile ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  height: 50px;
}
.mobile li {
  width: 100%;
  border-right: solid 1px #fff;
}
.mobile li:last-child {
  border-right: none;
}
.mobile a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.mobile i {
  font-size: 20px;
  margin-right: 5px;
}

/*ページトップボタン*/
.pagetop-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fbfdff;
  border-top: solid 1px #00a496;
  height: 50px;
}
.pagetop-mobile-arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #00a496;
  border-right: 3px solid #00a496;
  transform: translateY(20%) rotate(-45deg);
}

/* ボタン */
.contents-bt {
  margin: 30px 0 50px;
  display: flex;
  justify-content: center;
}
.contents-bt a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #00a496;
  color: #fff;
  border-radius: 15px;
  min-width: 200px;
  height: 50px;
  font-weight: bold;
  padding: 10px;
  transition: .5s;
}
.contents-bt a:hover {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/* コンタクトボタン */
.contact-box {
  background-color: #f8f5e3;
  padding: 30px 20px;
  border-radius: 10px;
}
.contact-box-title h2 {
  text-align: center;
  color: #00a496;
}
.contact-box-text {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}
.contact-box-bt {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-box-bt a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  height: 50px;
  background-color: #00a496;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  transition: .5s;
}
.contact-box-bt li {
  margin-top: 20px;
}
.contact-box-bt li:first-child {
  margin-top: 0;
}
.contact-box-bt a:hover {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/* ローディング */
.loader-container {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: #fff;
  z-index: 1000;
}
.loader-box {
  width: 100%;
  height: 100%;
  z-index: 100;
  position: relative;
}
.loader-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.loader-image {
  height: 60px;
  width: 200px;
}
.loader-image img {
  width: 100%;
  object-fit: cover;
}
.loader {
  margin-top: 10px;
  width: 200px;
  height: 10px;
  border-radius: 20px;
  color: #514b82;
  border: 2px solid;
  position: relative;
}
.loader::before {
  content: "";
  position: absolute;
  margin: 2px;
  inset: 0 100% 0 0;
  border-radius: inherit;
  background: currentColor;
  animation: l6 2s infinite;
}
@keyframes l6 {
    100% {inset:0}
}
/****************************
メディアスクリーン768px以上
****************************/
@media screen and (min-width:768px)
{
  /* テキスト */
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 26px;
  }
  h4 {
    font-size: 24px;
  }
  h5 {
    font-size: 22px;
  }
  h6 {
    font-size: 20px;
  }
  p {
    font-size: 16px;
  }
}


/****************************
メディアスクリーン834px以上
****************************/
@media screen and (min-width:834px)
{
  /* 本体 */
  .container {
    margin-bottom: 40px;
  }

  /* メインコンテンツ */
  section {
    margin-bottom: 100px;
  }

  /* ボタン */
  .contact-box-bt {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(48%, 1fr));
    column-gap: 4%;
    row-gap: 8%;
    flex-direction: initial;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 30px auto 0;
  }
  .contact-box-bt li {
    margin-top: 0;
  }
  .contents-bt {
    margin-bottom: 100px;
  }
  .contents-bt a {
    height: 60px;
  }

  /* スライダー */
  .dots-wrap li {
    width: 50px;
    height: 5px;
    margin-right: 20px;
  }
  
  /* ページトップ */
  .pagetop {
    display: inline;
    height: 50px;
    width: 50px;
    position: fixed;
    right: 0;
    bottom: 40px;
    background-color: #fbfdff;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    z-index: 2;
  }
  .pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #00a496;
    border-right: 3px solid #00a496;
    transform: translateY(20%) rotate(-45deg);
  }   
  /* ページトップ */
  .pagetop-mobile {
    display: none;
  }
}


/****************************
メディアスクリーン1200px以上
****************************/
@media screen and (min-width:1200px)
{
  /* テキスト */
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 28px;
  }
  h4 {
    font-size: 26px;
  }
  h5 {
    font-size: 24px;
  }
  h6 {
    font-size: 22px;
  }

  /* 本体 */
  .container {
    padding-bottom: 0;
  }

  /* テキスト */
  .contents-all h2,
  .contents-ver-text h2 {
    font-size: 32px;
  }

  /* モバイル */
  .mobile {
    display: none !important;
  }
  /* ページトップ */
  .pagetop {
    bottom: 0;
  }
  /* PCバー */
  .pc-bar {
    display: block;
    position: fixed;
    right: -80px;
   
    top: 150px;
    width: auto;
    height: auto;
    z-index: 10;
  }
  .pc-bar li {
    width: 80px;
    height: 80px;
    border-bottom: solid 1px #ccc;
    background-color: #00a496;
    color: #fff;
  }
  .pc-bar li:first-child {
    border-radius: 10px 0 0 0;
  }
  .pc-bar li:last-child {
    border-bottom: none;
    border-radius: 0 0 0 10px;
  }
  .pc-bar a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    height: 80px;
    width: 80px;
    font-size: 12px;
    letter-spacing: 0.05em;
  }
  .pc-bar i {
    font-size: 20px;
    margin-bottom: 8px;
  }

  /* コンタクトボタン */
  .contact-box {
    margin-bottom: 100px;
  }
}