@charset "utf-8";
/* CSS Document */
body {
  background-color: #ffffff;
  font-weight: bold;
  font-family: sans-serif;
  line-height: 1.6;
}
p, li, span, a {
  font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-align: justify;
  text-decoration:none;
}

h1, h2, h3, h4 {  
	font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
}

#wrapper {
  max-width: 960px;
  width: 95%;
  margin: 0 auto;
}

#header {
  width: 100%;
  height: auto;
  /*background: url("header.jpg") no-repeat center top;
  background-size: cover;
  margin-top: 1em; */
}
#header h1{
letter-spacing: -0.4rem;
    background: #361703;
    text-align: center;
    color: white;
    padding: 4px 0px;
    font-size: 52px;
    font-weight: 400;
margin:0;
}
#header .header-info p{
text-align:center;
margin: 0;
}

#header p.catchphrase{
    font-size: 13px;
font-family: sans-serif;
}

#header p.address{

}
#header p.tel{
font-size: 2em;
    color: #d66c1e;
}
#header p.tel .priority{
font-size: 0.7em;
    margin-right: 1em;
    color: #361703;
}
#gnavi ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
  margin: 1em 0;
  list-style: none;
}

#gnavi li {
  flex: 1 1 30%;
  margin: 0.5em;
  background-color: #794825;
  text-align: center;
  border-radius: 4px;
}

#gnavi a {
  text-align: center;
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  padding: 1em 0;
}

#gnavi a:hover {
  color: #D66C1E;
}

#container {
  display: flex;
    flex-direction: row-reverse;
  flex-wrap: wrap;
}

#sidenavi {
  flex: 1 1 30%;
}
#contents {
	display: flex;
  flex: 1 1 70%;
  flex-direction: column;
}

#contents h2{color: #794825;
    text-align: center;
    padding: 10px 3px;
    border-radius: 5px;border: 2px solid #794825;line-height: 1.2em;}

.TOP_list{display: flex;flex-wrap: wrap;  /* 折り返し有効 */
  gap: 10px; }
  
.TOP_list dl {  width: calc(50% - 5px); /* 2列分割。gapを考慮して調整 */
  box-sizing: border-box;  color: #fff;
}
a.block-link {  display: block;          /* ブロック要素にする */
  width: 100%;             /* 必要に応じて幅を指定 */
  height: 100%;            /* 親要素の高さに合わせたい場合 */
  text-decoration: none;   /* 下線を消す */
  color: inherit;          /* テキスト色を親に合わせる */
    
}
  .TOP_list dl dt{font-size:1.5em;border-bottom: 1px solid;
    line-height: 1em;
    padding-bottom: 10px;}
.TOP_list dl dd { margin-inline-start: 0;}
 
.treatment-flow {
  background: #fff;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  flex:1;
  box-sizing: border-box;
    width: 100%;
  width: -webkit-fill-available;
}

.treatment-flow h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 3px solid #8B4513;
  padding-bottom: 0.5rem;
  color: #4b2c1d;
}

.treatment-flow .step, .TOP_list dl {
  background: linear-gradient(to right, #835139, #a7683a);
  color: #fff;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.treatment-flow .step h3 {
  margin-block-start: 0;
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #fff;
  padding-bottom: 0.25rem;
}

.treatment-flow .step p {
  font-size: 1rem;
  margin: 0;
}
.top_side{padding:0 1rem;}
.top_side img.Chiropractor_image {width:100%;max-width:200px;margin: auto;}

iframe{ width:100%;max-width:400px;aspect-ratio: 16/9; /* アスペクト比（縦横比）を指定 */
}

/* 太字だけ強調 */
.treatment-flow .step strong {
  font-weight: bold;
  background-color: rgba(255,255,255,0.2);
  padding: 0 0.25em;
  border-radius: 4px;
}

/* モバイル対応 */
@media (max-width: 600px) {
  .treatment-flow {
    padding: 1rem;
  }

  .treatment-flow h2 {
    font-size: 1.5rem;
  }

  .treatment-flow .step h3 {
    font-size: 1.1rem;
  }

  .treatment-flow .step p {
    font-size: 0.95rem;
  }
}

#sidenavi ul {
 list-style: none;
    margin-block-start: 1em;
    padding-inline-start: 0;
  border: double 4px #3A1D08;
  border-radius: 8px;
  padding: 0;
}

#sidenavi li {
  border-bottom: solid 1px #3A1D08;
  padding: 0.5em 0;
}
#sidenavi li:last-child{
  border-bottom: none;
}
#sidenavi img {
  width: 100%;
  height: auto;
  display: block;
}
#sidenavi a {display: flex;
  flex-direction: column;
	justify-content: center;  /* 横方向の中央揃え */
  align-items: center;      /* 縦方向の中央揃え */
  width: auto;             /* 必要に応じて調整 */
  height: 60px;             /* 高さを固定 */
  text-decoration: none;
	color: #361703;
	 /* background-image: linear-gradient(61deg, #3b1e0c, rgba(170, 90, 37, 1)); */
	line-height: 0;

}
#sidenavi a span {font-size:0.7em;line-height: 1.2em;padding: 7px 0;}
#contents h2 .and {font-size:0.7em;line-height: 1em;padding: 0;}

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

#footer {
  margin-top: 2em;
  padding: 2em 0;
  text-align: center;
  color: #3b1e0c;
  font-family: serif;
  background-color: #f9f9f9;
}

#footer .f_inner {
  max-width: 650px;
  margin: auto;
}

#footer h1.f_name {
  font-size: 2em;
  margin-bottom: 0.5em;
}

#footer .f_tel,
#footer .f_add {
  font-size: 1em;
  margin: 0.3em 0;
}

.original-gradient {
  background-image: linear-gradient(to right, #835139, #a7683a);
}
.step{padding: 2em;
    border-radius: 5px;
    margin: 1em 0;
    color: white;}

/* スマホ対応 */
@media (max-width: 768px) {
#header h1{
font-size:30px;
}
#header p.tel{font-size: 1.2em;}
#header .header-info p{}
  #gnavi li {
    flex: 1 1 100%;
  }

  #container {
    flex-direction: column;
  }

  #side,
  #contents {
    flex: 1 1 100%;
  }
  #gnavi a{font-size: 1em;}

  #gnavi ul {
      flex-wrap: nowrap;
  }
}
#footer h1.f_name{    font-size: 1.5rem;}

/*フォント*/
.zen-antique-regular {
  font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
}

