/*------------------------------------------------------------
 レイアウト（タブレット）
-------------------------------------------------------------*/

@media screen and (max-width: 960px){
  
  .fv-cta {
    max-width: 960px;
  }
  .fv-cta::before {
    font-size: 30px;
   }
}

@media screen and (max-width: 768px){
  
  .innner {
  	width: 96%;
  }
  .fv-cta {
    max-width: 768px;
  }
  .fv-cta::before {
    font-size: 24px;
   }
}

/*------------------------------------------------------------
 レイアウト（スマホ）
-------------------------------------------------------------*/

@media screen and (max-width: 640px){

  html {
    font-size: 16px;
  }

  body {
  	min-width: 100%;/*ipad用のmin-width: 980px;を打消し*/
  }
  
  #header .inner,
  #catch .inner,
  #whatsnew .inner,
  #information .inner,
  .footer-cta .inner,
  #footer-link .inner,
  #bottom .inner {
    width: 96%;
  }
  
  video {
  	width: 100%;
    max-width: 100%;
  }
    
  a#gokai {
    position: relative;/*style.cssのabsoluteを打ち消し*/
    bottom: 100px;
    font-size: 20px;
  }
  .fv-cta {
    max-width: 640px;
   }
  .fv-cta::before {
    bottom: 115px;
text-shadow: 0px 0px 5px #000000;
    font-size: 22px;
   }
  
  .top-banner {
    padding: 0 8px;
  }
   
  .go-next a {
    padding: 16px 25px 16px 25px;
  }
  
  #pbody {
    padding-top: 6px;
  }
  
  #wrapper {/*iScroll適用のための設定。削除不可*/
    position: relative;
z-index:1;
width:100% ;
overflow:hidden;
    padding-bottom: 76px;/*#ctaのスペース確保*/
  }
  
  .sp-none {
  	display: none;
  }
   
  .pc-none {
    display: block;
    visibility: visible;
  }
  
  .check {
    margin: 0;
    padding: 6px 6px 6px 6px;
    font-size: 1.1rem;
  }
  
  .header-tel .tel-number {
    display: none;
  }
  
  .top-img-r {
    margin: 0 0 30px 0px;
    float: none;
    display: block;
    max-width: 100%;
  }
  
  .usp-box {
    width: 100%;
  }
  
  #top .toppage-section {
    padding: 30px;
  }
  
  .contents-menu {
    display: block;
    justify-content: unset;
  }
  
  .contents-menu-box,
  .contents-menu-box2 {
    width: 100%;
  }
  
  .footer-cta {
    padding: 20px 0px;
  }
  
  .footer-cta-wrapper {
    justify-content: space-between;
  }
  
  .footer-cta h1 {
    font-size: 24px;
  }
  
  .footer-cta-item {
    border-radius: 20px;
    padding: 20px 20px;
    width: calc((100% - 15px) / 2);
    font-size: 20px;
  }
  
  .footer-cta-item.eme {
    font-size: 13px;
  }
  
  .footer-tel .tel-number {
    font-size: 26px;
  }
  
  #bottom {
  	/*margin-top: 50px;*/
    /*position: absolute;
    bottom: 0;*/
    display: block;
  }
  #mouse #main {
    padding: 20px 20px;
  }
  #mouse .flex-item-about-l {
    width: 100%;
  }
  
  #mouse .flex-item-about-r {
    margin: 30px 0 0;
    width: 100%;
  }
  
  .top-invisalign .flex.flex-col-3 .flex-item {
    margin-right: 0;
    width: 100%;
  }
  .top-invisalign li a {
    padding: 12px 16px 12px 30px;
    text-align: left;
  }
  .invisalign {
    display: block;
    justify-content: unset;
    width: 90%;
    margin: 0 auto;
  }
  .invisalign-copy {
    padding: 30px 20px 10px;
  }
  .invisalign-box {
    width: 100%;
    margin: 20px 0 30px;
  }
  .invisalign-link {
    font-size: 1rem;
    line-height: 1.3;
  }
  .nav-title {
    margin: 40px 0 16px;
    padding: 0 2%;
    font-size: 25px;
  }
  .nav-title::before {
    margin: 14px 0 0px;
    font-size: 18px;
  }
  /*
  #top h2, .nav h2 {
    margin: 40px 0 16px;
    font-size: 25px;
  }
  
  #top h2::before, .nav h2::before {
    margin: 14px 0 0px;
    font-size: 18px;
  }*/
/*--------------------------------------------------------
 グローバルナビ
-------------------------------------------------------*/
.gnav {
z-index: 2;
}

.gnav li {
width: 100%;
}

.gnav li a {
width: 100%;
border-bottom: 1px solid #0b8da0;
text-align: left;
position: relative;
font-size: 18px;
line-height: 60px;
}

.gnav i {
position: absolute;
top: 17px;
right: 10px;
font-size: 24px;
font-weight: bold;
color: #075a67;
}

.gnav2 {
display: none;
  width: 100%;
  background: #fff;
  position: relative;
  padding: 0px;
  border-bottom: 1px solid #0D9EB4;
  border-right: 1px solid #0D9EB4;
  border-left: 1px solid #0D9EB4;
}

.gnav2 li a {
padding: 4px 0;
display: block;
background: #fff;
/*float: left;*/
color: #053138;
line-height: 50px;
width: 100%;
border-top: 2px solid #0b9eb4;
border-bottom: 2px solid #0b9eb4;
}

/*
.gnav2 li a:hover {
border: none;
}*/
/*
.gnav2 li {
  	font-size: 14px;
  	font-weight: normal;
  	text-align: left;
    display: inline;
}*/

/*--------------------------------------------------------
 症例
-------------------------------------------------------*/
.ba-flex {
gap: 12px !important;
}
.ba-item figure {
width: auto !important;
height: auto !important;
}
.ba-item figcaption {
font-size: 0.8rem !important;
left: 10px !important;
bottom: 10px !important;
font-weight: normal !important;
}
.ba-item {
/*width: 47% !important;*/
}
.ba-item+.ba-item::before {
/*border-width: 8px 0 8px 8px !important;
left: -9% !important;
top: calc(50% - 0px) !important;*/
display: none;
}
/*--------------------------------------------------------
 フォーム
-------------------------------------------------------*/
.msp-form dl {
width: 100%;
}

.msp-form dt {
  	margin: 0;
  	padding: 10px 0 10px;
width: 100%;
  	float: none;
  	font-weight: bold;
  	text-align: left;
}

.msp-form dd {
  	margin: 0;
  	padding: 0 0 10px;
width: 100%;
}

.msp-form dd input,textarea {
  	padding: 4px 10px;
width: 100%;
}

.msp-form dd select {
  	padding: 4px 10px;
}  
    
  
img {
max-width: 100%;
}
  
  .cont h1 {
  	margin-top: 6px;
  }
  
  .cont h2 {
  	margin: 30px auto 20px;
  }
  
  .cont-img-r {
    margin: 0 auto 20px;
  	float: none;
    width: 100%;
    max-width: 100%;
  }
  
  .cont-img-l {
    margin: 0 auto 20px;
  	float: none;
    width: 100%;
  }
  
  .cont-img-s {
  	width: 100%;
  }
  
  .cont iframe {
  	width: 100%;
  }

.inner {
width: 100%;  
}
  
  #header {
  	height: auto;
  }
  
  #header h1 {
  	color: #aaa;
  }
  
  #header .inner {
    background: none;
    padding: 10px 2%;
  }
  
  #logo {
  	width: 50%;
  }
  
  #header div.yoyaku a {
  	display: none;
  }
  
  #gnav {
  	display: none;
    height: auto;
  }
  
  #catch {
  	height: 300px;
  }
  
  #catch-img {
  	position: relative;
    left: 0;
    top: -12px;
    border: none;
  }
  
  div.case {
  	margin: 10px auto 4px;
    width: 100%;
  }
  
  #sasshi {
  	padding: 20px;
  }
  
  #sasshi h3 {
  	font-size: 20px;
    line-height: 1.2;
    float: none;
    width: auto;
  }
  
  img#sasshi-thumb {
  	width: 30%;
  }
  
  #sasshi-desc {
  	width: 100%;
    margin-bottom: 20px;
  }
  
  a#seikyu {
position: relative;
    top: 10px;
    left: 0;
line-height: 1.1em;
  }
  
/*コンテンツページ小冊子請求*/
#sasshi-cont {
  	padding: 20px;
}

#sasshi-cont h3 {
  	font-size: 20px;
}

img#sasshi-cont-thumb {
width: 25%;
margin-bottom: 16px;
}

#sasshi-cont-desc {
  	width: 100%;
    margin-bottom: 20px;
}
  
a#seikyu-cont {
position: relative;
    top: 10px;
    left: 0;
}
  
  #nav {
  	width: 100%;
  }
  
  #nav h1 {
    margin-bottom: 0;
  	font-size: 1.2em;
    font-size: bold;
  }
  
  #nav .navlist a {
  	padding: 16px 16px 16px 50px;
    font-size: 1.1em;
  }
    
  #doctorsfile {
  	display: none;
  }
  
#main {
  	margin: 6px 0 0;
    padding: 20px 20px;
 	  width: 100%;
  	font-size: 17px;
}

#main h1 {
  margin-bottom: 30px;
  padding: 10px 20px;
  font-size: 1.5rem;
  line-height: 1.3;
}
  
  p#catchcopy {
  	font-size: 16px;
    text-align: center;
    position: relative;
    bottom: 56px;
    color: #000;
    text-shadow: 0px 0px 0px #fff;
  }
  
  .voice-box img {
  	width: auto;
    height: auto;
  }
  
  #usp h3 {
  	margin: 0px 0 10px 0;
    padding-top: 10px;
    clear: both;
  }
  
  div.usp-box {
  	padding: 16px;
  }
  
  div.usp-box img {
  	margin: 0;
    width: 100%;
  }
  
  div.usp-box p {
  	margin-right: 0;
  }
  
  .media-box h2 {
  	display: none;
  }
  
  #info-l,#info-r {
    margin: 0;
  	width: 100%;
  }
  #timetable .time {
    width: 80px;
  }
  #timetable td {
  	font-size: 14px;
  }
  
  #timetable p {
  	font-size: 14px;
  }
  
  #whatsnew {
  	/*display: none;*/
  }
  
  ul#newslist {
  	font-size: 14px;
  }
  
.cta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-bottom: env(safe-area-inset-bottom);
  background: #0D9EB4;
  z-index: 9999;
  border-top: 1px solid #fff;
}

.cta i {
  color: #075a67;
}

.cta i.fa-clipboard {
  color: #dd6013;
}

.cta-btn {
  display: block;
  padding: 8px 6px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  box-sizing: border-box;
}

.cta-btn:link,
.cta-btn:hover,
.cta-btn:visited {
  color: #fff;
}

.cta-text {
  display: block;
  font-size: 12px;
}

.cta-first {
  background: #ff940d;
  font-size: 1.2em;
}

.cta-reserve {
  background: #0D9EB4;
  font-size: 1.2em;
}

.cta-contact {
  background: #4ba2af;
}

.cta-access {
  background: #4ba2af;
}
  
/*------------------------------------------------------------
 バナー
-------------------------------------------------------------*/
#banner-area {
padding-top: 20px;
}

img.banner {
  	margin-bottom: 10px;
  	width: 100%;
}

img.banner.banner-l {
  	float: none;
    width: 100%;
}

img.banner.banner-r {
  	float: none;
    width: 100%;
}
  
/*------------------------------------------------------------
 院長の紹介
-------------------------------------------------------------*/
.director-nintei {
  	padding-top: 40px;
margin: 40px 0;
  	float: none;
  	clear: both;
}

.director-nintei img {
width: 100%;
}
  
  .gakkai {
display: block;
  	width: 100%;
}

.gakkai li {
display: inline-block;
  	padding: 10px 0;
  	font-size: 11px;
}

.gakkai img {
width: 100%;
}
  
/*------------------------------------------------------------
 治療タイプ
-------------------------------------------------------------*/
/*子どもの横顔*/
#child-yokogao dl {
 	margin: 0;
width: 100%;
  	float: none;
  	font-size: 1rem;
  	clear: both;
}

#child-yokogao dt img {
 	margin-top: 40px;
width: 100%;
}

/*各治療タイプの症例*/

#exam table td {
  	padding: 2px;
}

#exam table td img{

}

#exam .exam-title {
margin: 20px 0 4px;
}

/*レスポンシブtable*/
.lesp-table {
display: table;
}

.lesp-table-tr {
display: table-row;
}

.lesp-table-th {
display: table-cell;
  	padding: 10px;
  	min-width: 90px;
background: #e3dbd4;
  border: 1px solid #fff;
  	font-size: 12px;
  	text-align: left;
vertical-align: top;
}

.lesp-table-td {
display: table-cell;
padding: 10px;
  vertical-align: top;
  border: 1px solid #F4F1E9;
}



/*------------------------------------------------------------
 矯正治療の基礎知識
-------------------------------------------------------------*/

  
/*------------------------------------------------------------
 料金
-------------------------------------------------------------*/
.price {
display: block;
}

.price h3 {
  	margin: 16px 0 16px 0;
font-size: 1.2rem;
}

.price-left {
width: 100%;
  	min-width: 100%;
text-align: center;
}

.price-right {
width: 100%;
text-align: center;
}

.price-right p {
    text-align: left;
}

.price-amount {

}

/*クーポン*/
#coupon {
width: 100%;
}

#coupon img {
max-width: 100%;
}


}

/*------------------------------------------------------------
 スマホ（幅短い端末用）
-------------------------------------------------------------*/

@media screen and (max-width: 443px){
  
  .fv-cta {
    max-width: 443px;
  }
  .fv-cta::before {
    font-size: 20px;
  }
  a#gokai {
    font-size: 18px;
    padding: 16px 25px 16px 16px;
  }
  .smp-short {
    display: block;
    margin: 6px 0 0;
  }
}

@media screen and (max-width: 415px){
  p#catchcopy {
    bottom: 120px;
  }
  .whatsnew {
    padding: 40px 0px 0;
  }
@media screen and (max-width: 320px){
  
  #cta {
  	display: none;
  }
  
}
