/*
#lower は以前のCSSにひとつも依存しない用
*/

.contsTtl {
  background: url(../img/dot.png) repeat 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 150px;
}

.contsTtl h2 {
  text-shadow: 0 0 5px #fff;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 40px);
}
#lower main {
  padding-block: 30px;
}
#lower main h3.heading {
  background-color: #d6e9f1;
  padding: 0.5em 1em;
  font-size: clam(18px, 3vw, 26px);
  margin-bottom: 1em;
}
#lower h3.midashi {
  border-bottom: 1px dashed #ccc;
  color: #0080c0;
  font-weight: bold;
  line-height: 2;
  margin-bottom: 20px;
}
#lower h4.midashi {
  border: 2px solid #ccc;
  padding: 5px 1em;
  border-radius: 50px;
  font-weight: bold;
  background-color: #f2f2f2;
  margin-bottom: 20px;
}
#lower main section {
  margin-bottom: 50px;
}
#lower main section.lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (min-width: 769px) {
  #lower main {
    padding-block: 80px;
  }
}
/* スマホのみ */
@media (max-width: 480px) {
}
/* 小タブレット以上 */
@media (min-width: 481px) {
}
/*タブレットとPC */
@media (min-width: 768px) {
}
/* スマホとタブレット */
@media (max-width: 1023px) {
}
/* タブレット */
@media (min-width: 768px) and (max-width: 1023px) {
}
.shop_header {
  background-color: var(--main-color);
  color: #fff;
}
.shop_header .head_innr {
  display: flex;
  align-items: center;
  height: 60px;
  margin-inline: 3vw;
}
.shop_header .head_innr .logo a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 900;
  font-size: clamp(20px, 3vw, 26px);
}
.shop_header .head_innr .logo span img {
  max-height: 40px;
}
.shop_header .head_innr .right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}
.shop_header .head_innr .right ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
.shop_header .head_innr .right ul li a {
  display: block;
  padding: 0 0.5em;
  font-weight: bold;
}
.shop_header .head_innr .right .phone {
  flex-grow: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* スマホのみ */
@media (max-width: 480px) {
  .shop_header .head_innr .right {
    display: none;
  }
}
/* 小タブレット以上 */
@media (min-width: 481px) {
  .shop_header .head_innr {
    height: 80px;
  }
  .shop_header .head_innr .logo {
    font-size: 26px;
  }
  .shop_header .head_innr .logo span img {
    max-height: 50px;
  }
}
/* タブレット */
@media (min-width: 768px) and (max-width: 1023px) {
  .shop_header .head_innr .right ul {
    display: none;
  }
}
@media (max-width: 480px) {
  body.honten #footer {
    padding-bottom: 70px;
  }
  .honten_fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--main-color);
    display: flex;
    z-index: 999;
  }
  .honten_fixed > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 70px;
  }
  .honten_fixed > div a {
    flex-grow: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 600;
  }
  .honten_fixed > div.tel a {
    padding-right: 1em;
  }
}
/* 小タブレット以上 */
@media (min-width: 481px) {
  .honten_fixed {
    display: none;
  }
}

.tenken main h3.heading {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
}
.tenken .innr {
  padding: 8px;
  margin-bottom: 30px;
}
.tenken .photoL {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}
.tenken .koumoku {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px;
}
.tenken .koumoku > div.artical {
  border: 1px solid #ccc;
}
.tenken .koumoku .artical h4 {
  background-color: #f2f2f3;
  padding: 0.5em 1em;
  margin-bottom: 1em;
}
.tenken .koumoku .artical .innr {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 8px;
}
.tenken .koumoku .artical .innr .photo {
  flex-basis: calc(30% - 15px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tenken .koumoku .artical .innr ul {
  flex-basis: calc(70% - 1.5em);
}
.tenken h3.heading {
  background-color: #d6e9f1;
  font-weight: bold;
  padding: 0.5em 1em;
  margin-bottom: 1em;
}

@media (min-width: 768px) {
  .tenken .koumoku {
    flex-direction: row;
  }
  .tenken .koumoku > div.artical {
    flex-basis: calc(50% - 7.5px);
  }
  .tenken .koumoku .artical .innr {
    flex-direction: row;
  }
  .tenken .photoL {
    flex-direction: row;
    gap: 30px;
  }
  .tenken .photoL > div {
    flex-basis: calc(50% - 15px);
  }
}

.access .item {
  margin-bottom: 80px;
}
.access .innr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.access main h3.heading {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 600;
}
.access .text {
  display: flex;
  flex-direction: column;
}
.access .text p.addr {
  margin-top: auto;
}
.access .photo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.access .photo > .w100 {
  flex-basis: 100%;
}
.access .photo > div {
  flex-basis: calc(33.3% - (20px / 3));
}
.access .shopMap iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
}
@media screen and (max-width: 767px) {
  .access .innr {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .access .item {
    margin-bottom: 50px;
  }
  .access .text p.addr {
    margin-top: 1em;
  }
}

.toiawase dl dt {
  background-color: #d6e9f1;
  font-weight: bold;
  padding: 0.5em 1em;
}
.toiawase dl dd {
  margin-bottom: 1em;
  padding: 1em;
}
.toiawase .toiOK {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
  min-height: 30vh;
}
.toiawase .toiOK ul.err {
  margin-left: 1.5em;
}
.toiawase .toiOK ul.err li {
  list-style-type: disc;
  list-style-position: outside;
  color: #f00;
}

/*タブレットとPC */
@media (min-width: 768px) {
  .toiawase dl dt {
    font-size: 20px;
  }
}

.navgationWrap {
  display: flex;
  flex-direction: column-reverse;
  gap: 30px;
}
.navgationWrap .logo {
  display: none;
}
.navgationWrap .navSide ul li a {
  display: block;
  background-image: url(../img_n/ico_maru2.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 26px;
  line-height: 2.5;
  font-weight: 500;
}
.navgationWrap .navTtl {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
.navgationWrap .navTtl h4 {
  font-weight: 700;
  font-size: 26px;
  color: var(--main-color);
  line-height: 1.1;
}
.navgationWrap .navTtl h4 {
  font-size: 42px;
}
.navgationWrap .navShop .listBox .shop a .text,
.navgationWrap .navShop .listBox .shop a ul.icon {
  display: none;
}
.navgationWrap .navShop .listBox {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}
.navgationWrap .navShop .listBox .shop {
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
}
.navgationWrap .navShop .listBox .shop a {
  display: block;
  flex-grow: 2;
  padding: 8px;
}
.navgationWrap .navShop .listBox .shop a.blank {
  background-image: url(../img_n/arrow02.png);
  background-repeat: no-repeat;
  background-position: right 5px top 5px;
}
.navgationWrap .navShop .listBox .shop .shopname {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0.5em;
}
.navgationWrap .navShop .listBox .shop .shopname h3 {
  line-height: 1.1;
  flex-basis: calc(100% + 60px);
  font-size: 90%;
}
.navgationWrap .navShop .listBox .shop .shopname .brand {
  flex-basis: 60px;
}
.navgationWrap .navShop .listBox .shop .addr {
  line-height: 1.2;
  font-size: 80%;
}
.navgationWrap .navShop .serviceNav dt {
  color: #00428a;
  font-size: 18px;
  font-weight: 600;
}
.navgationWrap .navShop .serviceNav dd {
  margin-bottom: 15px;
}
.navgationWrap .navShop .serviceNav dd ul li {
  border-bottom: 1px dotted #ccc;
  padding-left: 1em;
}
.navgationWrap .navShop .serviceNav dd ul li a {
  display: flex;
  align-items: center;
  padding: 0.5em 0;
}
.navgationWrap .navShop .serviceNav dd ul li a.blank::after {
  content: url(../img_n/arrow02.png);
}
@media (min-width: 768px) {
  .navgationWrap {
    flex-direction: row-reverse;
    justify-content: center;
    gap: 50px;
  }
  .navgationWrap a:hover {
    background-color: rgba(55, 55, 55, 0.1);
  }
  .navgationWrap .navSide {
    flex-basis: 300px;
  }
  .navgationWrap .navShop {
    flex-basis: calc(100% - 350px);
  }
  .navgationWrap .navTtl {
    flex-direction: row;
    align-items: baseline;
    gap: 1em;
  }
  .navgationWrap .navTtl h4 {
    font-size: 42px;
  }
  .navgationWrap .navShop .listBox {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }
  .navgationWrap .navShop .listBox .shop {
    flex-basis: calc(33.3% - 10px);
  }
  .navgationWrap .navShop .listBox .shop .shopname h3 {
    font-size: 16px;
  }
  .navgationWrap .navShop .serviceNav dt {
    font-size: 24px;
  }
}

/* 過去の共通CSS依存分。body_idがsecondのときに発動させてる */
/***************************************************
中身　
***************************************************/
@media (min-width: 769px) {
  #second .contents .container {
    width: 1075px;
  }
}
#second .contents h3.midashi {
  border-bottom: 1px dashed #ccc;
  color: #0080c0;
  font-weight: bold;
  line-height: 2;
  margin-bottom: 20px;
}
#second .contents h4.midashi {
  border: 2px solid #ccc;
  padding: 5px 1em;
  border-radius: 50px;
  font-weight: bold;
  background-color: #f2f2f2;
  margin-bottom: 20px;
}
#second .contents p {
  margin-bottom: 1em;
}
#second .contents strong {
  font-weight: bold;
}
#second .contents p.komeR {
  text-align: right;
  margin-bottom: 0px;
}
.scroll_table table,
#second .contents .block_table table {
  margin-bottom: 20px;
}
.scroll_table table tr th {
  padding: 5px;
  border: 1px solid #ccc;
  background-color: #efefef;
}
.scroll_table table tr td {
  padding: 5px;
  border: 1px solid #ccc;
}
.scroll_table table thead tr th {
  background-color: #ebebeb;
  text-align: center;
  vertical-align: middle;
}
.scroll_table table tbody tr th {
  background-color: #f7f7f7;
  text-align: left;
}
.scroll_table table tfoot tr th,
.scroll_table table tfoot tr td {
  border-top: 2px solid #ccc;
}
#second .contents .col2:after,
#second .contents .col2_clear:after,
#second .contents .col4:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
#second .contents .col2 ul {
  width: 100%;
}
#second .contents table.price td {
  text-align: right;
}

@media (max-width: 768px) {
  #second .contents .col2 ul li {
    float: left;
  }
}

@media (min-width: 769px) {
  #second .contents .col2 ul li {
    float: left;
    width: 33%;
  }
}

#second .contents .col2 ul li > div {
  padding: 5px;
}
.contents ul.list_disc,
#second .contents ul.list_num,
#second .contents ol.list_num {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
.contents ul.list_disc li {
  list-style-position: outside;
  list-style-type: disc;
}
#second .contents .list_num li {
  list-style-position: outside;
  list-style-type: decimal;
}
#second .contents .dl_indent dt {
  background-color: #d6e9f1;
  font-weight: bold;
}
@media (max-width: 768px) {
  #second .contents {
    padding: 20px 0;
  }
  #second .contents_head {
    padding: 20px 0;
  }
  #second .contents h3.midashi {
    font-size: 120%;
  }
  #second .contents h4.midashi {
    font-size: 120%;
  }
  #second .contents p.komeR {
    font-size: 70%;
  }
  #second .contents .lead,
  #second .contents section {
    margin-bottom: 30px;
    font-size: 80%;
  }
  #second .contents .img {
    margin-bottom: 10px;
  }
  #second .contents .table_scroll {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* テーブルが潰れないように */
  #second .contents .table_scroll table {
    min-width: 720px;
    border-collapse: collapse;
  }

  /* 右端に「続きがある」グラデーション */
  #second .contents .table_scroll::after {
    content: "";
    position: sticky;
    right: 0;
    top: 0;
    float: right;
    width: 40px;
    height: 100%;
    min-height: 120px;
    pointer-events: none;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 1)
    );
  }
  #second .contents .block_table table,
  #second .contents .block_table table tbody,
  #second .contents .block_table table thead,
  #second .contents .block_table table tfoot,
  #second .contents .block_table table tr,
  #second .contents .block_table table th,
  #second .contents .block_table table td {
    display: block;
  }
  #second .contents .block_table table {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
  }
  #second .contents .block_table table th {
    background-color: #f2f2f2;
    border-top: 1px solid #ccc;
    padding: 5px;
  }
  #second .contents .block_table table td {
    border-top: 1px solid #ccc;
    padding: 5px;
  }
  #second .contents .col2_clear ul li > div {
    margin-bottom: 10px;
  }
  #second .contents .col3 ul li > div {
    margin-bottom: 10px;
  }
  #second .contents .col4 ul {
    width: 100%;
  }
  #second .contents .col4 ul li {
    float: left;
    width: 50%;
  }
  #second .contents .col4 ul li:nth-child(2n + 1) {
    clear: both;
  }
  #second .contents .col4 ul li > div {
    padding: 5px;
  }
  #second .contents .dl_indent dt {
    padding: 5px 0.5em;
    margin-bottom: 15px;
  }
  #second .contents .dl_indent dd {
    padding: 0px 5px 1em;
    margin-bottom: 15px;
  }
}
@media (min-width: 769px) {
  #second .contents {
    padding: 50px 20px;
  }
  #second .contents_head {
    padding: 50px 0;
  }
  #second .contents_head h2 {
    font-size: 36px;
  }
  #second .contents h3.midashi {
    font-size: 26px;
  }
  #second .contents h4.midashi {
    font-size: 22px;
  }
  #second .contents p.komeR {
    font-size: 14px;
  }

  #second .contents .lead,
  #second .contents section {
    margin-bottom: 50px;
  }
  #second .contents .photoR:after,
  #second .contents .photoL:after,
  #second .contents .col3:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
  #second .contents .img {
    margin-bottom: 10px;
  }
  #second .contents .photoC .img {
    text-align: center;
  }
  #second .contents .photoR .img {
    float: right;
    max-width: 400px;
  }
  #second .contents .photoR .text {
    float: left;
    max-width: 600px;
  }
  #second .contents .photoL .img {
    float: left;
    max-width: 400px;
  }
  #second .contents .photoL .text {
    float: right;
    max-width: 600px;
  }
  #second .contents .block_table table {
    width: 100%;
  }
  #second .contents .block_table table tr th {
    padding: 5px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
  }
  #second .contents .block_table table tr td {
    padding: 5px;
    border: 1px solid #ccc;
  }
  #second .contents .col2_clear ul {
    width: 100%;
  }
  #second .contents .col2_clear ul li {
    float: left;
    width: 50%;
  }
  #second .contents .col2_clear ul li > div {
    padding: 5px;
  }

  #second .contents .col3 ul {
    width: 100%;
  }
  #second .contents .col3 ul li {
    float: left;
    width: 33.3%;
  }
  #second .contents .col3 ul li:nth-child(3n + 1) {
    clear: both;
  }
  #second .contents .col3 ul li > div {
    padding: 10px;
  }
  #second .contents .col4 ul {
    width: 100%;
  }
  #second .contents .col4 ul li {
    float: left;
    width: 25%;
  }
  #second .contents .col4 ul li > div {
    padding: 10px;
  }
  #second .contents .dl_indent dt {
    padding: 10px 1em;
    margin-bottom: 30px;
    font-size: 20px;
  }
  #second .contents .dl_indent dd {
    padding: 0px 15px 2em;
    margin-bottom: 30px;
  }
}

#second .contents a.hiraku {
  background-color: #0080c0;
  margin-left: 5px;
  padding: 0 1em;
  color: #fff;
  border-radius: 50px;
}
#second .contents a.hiraku:after {
  content: "\f08e";
  font-family: FontAwesome;
  padding-left: 5px;
}
@media (max-width: 768px) {
  #second .contents a.hiraku {
    font-size: 70%;
  }
}
@media (min-width: 769px) {
  #second .contents a.hiraku {
    font-size: 12px;
  }
}

#second .contents .breadcrumb {
  /*background-color: #F2F2F2;*/
  text-align: left;
}
#second .contents .breadcrumb ul li {
  display: inline;
}
#second .contents .breadcrumb ul > li + li:before {
  content: "\f105";
  font-family: FontAwesome;
  padding: 0 0.5em;
}

/********************************************************/
/* bottonアニメーション */
/********************************************************/

.button {
  display: inline-block;
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
/* 個別設定 */
a.button {
  color: #fff;
}
.button {
  position: relative;
  z-index: 2;
  background-color: #e50012;
  border: 2px solid #fff;
  color: #fff;
  line-height: 50px;
  overflow: hidden;
}
.button:hover {
  color: #000;
}
.button::after {
  left: -100%;
  width: 100%;
  height: 100%;
}
.button:hover::after {
  top: 0;
  left: 0;
  background-color: #f2f2f2;
}
@media (max-width: 768px) {
  a.button {
    width: 80%;
    margin: 0 auto;
  }
}
@media (min-width: 769px) {
  .button {
    width: 300px;
    margin-bottom: 20px;
  }
}

.scroll_hint {
  display: none;
}
.scroll_table table {
  width: 100%;
}
@media (max-width: 768px) {
  .scroll_hint {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    color: #666;
    text-align: right;
  }
  .scroll_table {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .scroll_table::-webkit-scrollbar {
    /*tableにスクロールバーを追加*/
    height: 5px;
  }
  .scroll_table::-webkit-scrollbar-track {
    /*tableにスクロールバーを追加*/
    background: #f1f1f1;
  }
  .scroll_table::-webkit-scrollbar-thumb {
    /*tableにスクロールバーを追加*/
    background: #bcbcbc;
  }
  .scroll_table_wrap {
    position: relative;
    margin-bottom: 15px;
  }

  /* 右端グラデーション + 矢印 */
  .scroll_table_wrap::after {
    content: "▶";
    position: absolute;
    right: 0px;
    top: 28px;
    bottom: 0;
    width: 48px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;

    color: #999;
    font-size: 18px;
    pointer-events: none;

    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.95)
    );
  }
  .scroll_table_wrap.scroll-end::after {
    opacity: 0;
  }
}
