@charset "UTF-8";

/* モバイルレイアウト : 480 px およびそれ以下. */

/* --------------------------------------------------------
共通
-------------------------------------------------------- */

span{/* スマホでは改行 */
  display: block;
}

#toc ul{
  margin: 0 auto;
  width: 90%;
  flex-wrap: wrap;
}

/* --------------------------------------------------------
アクセスマップ
-------------------------------------------------------- */

section.content01 .address{
  width: 100%;
}

section.content01 .address > h3{
  display: block;
  padding: 3% 0;
}

section.content01 .address > h3 p{
  color: var(--main-color);
}

section.content01 .address .title{
  width: 100%;
  justify-content: flex-start;
}

section.content01 .clinicName{
  line-height: 1;
  p{
    font-size: 2.5rem;
  }
  p.alphabet{
    line-height: 1.5;
    font-size: 1.5rem;
  }
}

.parking{
  text-align: left;
}

section.content01 h5{
  font-size: 1.8rem;
  padding-bottom: 0;
  margin-bottom: 0;
}

.parking ul{
  color: #000;
  display: flex;
  gap: 10%;
}

a.googlemap, a.googlemap:visited {
    width: 80%;
    display: block;
    background: #fff;
    padding: 3% 8%;
    margin: 7% auto 7%;
    border-radius: 50px;
    border: 1px solid var(--main-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10%;
    color: var(--main-color);
}

.googlemap p{
    color: var(--main-color);
    padding: 0;
    margin: 0;
}

/* --------------------------------------------------------
車でご来院の方
-------------------------------------------------------- */

.accessBg{
  background: #E8E0D4;
  padding: 8% 5%;
  margin: 5% 0 8%;
  border-radius: 20px;
}

.accessTxt h4{
  display: flex;
  gap: 5%;
  text-align: left;
}

.accessTxt h4 img{
  height: auto;       /* 縦は自動 */
  max-width: 100%;    /* はみ出し防止 */
  flex: 0 0 auto;     /* flexで潰されない */
  object-fit: contain;/* 万一サイズ拘束された時も比率維持 */
}

.accessTxt h4 p{
  color: var(--sub-color);
  padding: 0;
  margin: 0;
  font-size: 2.0rem;
}

.accessWrap hr{
  border: none;
  height: 2px; /* 線の太さ */
  background-image: repeating-linear-gradient(
    to right,
    #9e7c55 0,
    #9e7c55 8px,   /* 線の長さ */
    transparent 8px,
    transparent 16px /* 間隔 */
  );
}

.accessWrap:nth-of-type(2){
  padding-top: 5%;
}

/* --------------------------------------------------------
電車・バスでご来院の方
-------------------------------------------------------- */
.content03 h5{
  color: #692F0E;
  font-size: 1.8rem;
  text-align: left;
  margin: .5em 0;
}

.content03 h5 + p{
  margin: .5em 0;
}


/* タブレットレイアウト : 981px～。モバイルレイアウトからスタイルを継承。 */
@media print, screen and (min-width: 980px) {

/* --------------------------------------------------------
共通
-------------------------------------------------------- */

span{/* スマホでは改行 */
  display: inline-block;
}

#toc ul{
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  flex-wrap: wrap;
  justify-content: center;
}

.content01 h3.h3Ul{
  padding-top: 20px;
}

/* --------------------------------------------------------
アクセスマップ
-------------------------------------------------------- */

section.content01{
  width: 800px;
  margin: 0 auto;
}

section.content01 > h3{
  margin-bottom: 50px;
}

section.content01 .address > h3 {
  width: 300px;
}

section.content01 .address{
  width: 400px;
}

section.content01 .address .title{
  gap: 0.5em;
}

section.content01 address{
  text-align: left;
  margin: 0;
}

.accessPcWrap{
  display: flex;
  align-items: flex-start;
  gap: 40px; /* 左右の余白 */
}

.parking ul{
  gap: 60px;
}

section.content01 h5{
  padding-top: 0;
  margin-top: 10px;
}

a.googlemap, a.googlemap:visited {
  width: 300px;
  padding: 10px 30px;
}

/* --------------------------------------------------------
車でご来院の方
-------------------------------------------------------- */

section.content02{
  padding-top: 0;
}

.accessBg{
  max-width: 1200px;
  padding: 50px 100px;
  margin: 50px auto;
}

.accessWrap:nth-of-type(2) {
    padding-top: 30px;
}

.accessTxt h4{
  gap: 20px;
}

/* --------------------------------------------------------
電車・バスでご来院の方
-------------------------------------------------------- */
section.content03 .accessTxt h4{
  padding: 0;
}

section.content03 .pcFlexbox{
  flex-direction: row;
}

section.content03 .accessWrap{
  width: 50%;
}

section.content03 .accessWrap:nth-of-type(2){
  padding: 0;
}

}