@charset "UTF-8" ;

/* ナビの調整 */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255);
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #f7a738;
}

/* ハンバーガーメニューカラー変更 */
.navbar-toggler{
  background-color: #428bca;
}
/* ハンバーガーメニュー三本線変更 */
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/* ページのフェードイン表示 */
body {
  animation: fadeIn 0.5s ease 0s 1 normal;
  -webkit-animation: fadeIn 0.5s ease 0s 1 normal;
}

/* 画像の最大幅指定 */
img
{
  max-width: 100% ;
  height: auto ;
}

/* 画像下に余白をつくらない */
.contents-image img {
  vertical-align: bottom;
}
 
.contents-image img {
  display: block;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示 */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示 */
@media only screen and (max-width: 960px) {
.pc { display: none !important; }
.sp { display: block !important; }
}

/* 480px以下の画面に適用するCSS */
@media screen and (max-width:481px)
{
  /* ロゴ画像 */
  .logo
  {
    width: auto ;
  }
}


/* ヘッダー */
.header
{
  text-align: center ;
  padding: 0 ;
  margin-bottom: 0 ; 
}

/* ヘッダー画像位置 */
.relative {
    position: relative;
}


/* 写真に文字乗せ */
.example {
  position: relative;
  }
.example p {
  position: absolute;
  top: 65%;
  left: 26%;
  margin:0;
  padding:0;
  color: #007bff;
  font-weight: bold;
  font-size: 1.2vw;
  line-height: 1.5;
  padding: 15px 15px;
  text-shadow: 5px 5px 5px #e8e8e8;
}
@media screen and (max-width: 960px) {
.example p {
  top: 10%;
  left: 5%;
  margin:0;
  padding:0;
  font-size: 3.5vw;
}
}


/* 「RightToLeft」を適用する箇所 */
.RightLeft {
  animation-duration: 1s;/* アニメーション時間 */
  animation-name: RightToLeft;/* アニメーション名 */
  animation-iteration-count: 1;/* アニメーションの繰り返し回数*/
}


/* フッター */
.footer
{
  border-top: 1px solid #3f3f3f ;
  text-align: center ; 
  margin: 0;
  padding: 0;
  color : #545454;
  background-image: url("../photo/0_top/000_pc_space.jpg");
}


/* Web ページ全体のフェードイン表示 */
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

/* 要素が画面内に入ったらふわっとフェードイン */
/* 画面外にいる状態 */
.fadein {
    opacity : 0.1;
    transform : translate(0, 50px);
    transition : all 500ms;
    }
 
/* 画面内に入った状態 */
.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
    }


/* 白く両サイドを塗る処理 */
.main-side-under {
  width: 100vw;
  background-color: #fff
  }


/* 表のスタイル */
table1 {
  border-collapse: collapse;
}
table th, table td {
  border: solid 1px #e2e2e2;
cellpadding:"100";
}
td, th {
padding: 0 5px;
}
table {
  border-collapse: collapse;
/*  border-collapse: separate;*/
  border-spacing: 0;
}


/* 表の横スクロール */
@media (max-width: 769px) {
.scroll{
/* tableをスクロール可能にする */
overflow: auto;
/* tableセル内文字の折り返しを禁止 */
white-space: nowrap;
}

/* ↓tableにスクロールバーを追加 ここから */
.scroll::-webkit-scrollbar{
height: 5px;
}
.scroll::-webkit-scrollbar-track{
/* スクロールバーのスクロール範囲の色 */
background: #F6F6F6;
}
.scroll::-webkit-scrollbar-thumb {
/* スクロールバーのツマミの色 */
background: #C2C2C2;
}
/* tableにスクロールバーを追加 ここまで↑ */

.scroll table{
/* tableの幅を100%に */
width:100%;
}
}


/* リンクの処理 */
a{
  color: #36F; 
  text-decoration: none; 
}
a:hover{ color : #33CCFF;}
A.AAA:LINK { color:white; text-decoration:none }
A.AAA:VISITED { color:white; text-decoration:none }
A.AAA:ACTIVE { color:white; text-decoration:underline }
A.AAA:HOVER { color:#ff7043; text-decoration:underline}


/* 内部リンクのズレ調整 */
a.anchor{
    display: block;
    padding-top: 70px;
    margin-top: -70px;
}


/* 動的ボタン */
.ex-4 button{
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
  border: none;
  padding: .625rem 2rem;
  box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
  cursor: pointer;
  display: inline-block;
  transition: all .22s;
}
.ex-4 button:hover{
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
  filter: brightness(130%);
}
.ex-4 button.b-1{
  background: #fff;
}
.ex-4 button.b-2{
  background: #007bff;
}


/* テキストシャドウ */
.shadow_t {
     text-shadow: 1px 1px 2px #BFBFBF;
}


/* 「RightToLeft」の動作内容 */
@keyframes RightToLeft {
  0% {
    opacity: 0;/* 透明 */
    transform: translateX(360px);/* X軸方向に360px */
  }
  100% {
    opacity: 1;/* 不透明 */
    transform: translateX(0);
  }
}

/* 「RightToLeft」を適用する箇所 */
.RightLeft {
  animation-duration: 5s;/* アニメーション時間 */
  animation-name: RightToLeft;/* アニメーション名 */
  animation-iteration-count: 1;/* アニメーションの繰り返し回数*/
}


/* 「SlideDown」の動作内容 */
@keyframes SlideDown {
0% {
    opacity: 0;/* 透明 */
    transform: translateY(-130px);/* Y軸方向に-50px */
}
100% {
    opacity: 1;/* 不透明 */
    transform: translateY(0);/* Y軸方向に0px */
}
}

/* 「SlideDown」を適用する箇所 */
.SlideDown {
  animation-duration: 2s;/* アニメーション時間 */
  animation-name: SlideDown;/* アニメーション名 */
  animation-iteration-count: 1;/* アニメーションの繰り返し回数*/
}


/* h見出し */
h1 {
  position: relative;
  padding: 0 .5em .5em 2em;
  border-bottom: 2px solid #ccc;
}
h1::before,
h1::after {
  position: absolute;
  content: '';
  border-radius: 100%
}
h1::before {
  top: .2em;
  left: .2em;
  z-index: 2;
  width: 22px;
  height: 22px;
  background: rgba(252, 196, 68, .7);
}
h1::after {
  top: .6em;
  left: .6em;
  width: 16px;
  height: 16px;
  background: rgba(210, 210, 210, .5);
}

h2 {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;  
  font-size: 1.6em;
}
h2 {
  position: relative;
  padding-bottom: .5em;
  border-bottom: 4px solid #ccc;
}
h2::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: #bcd6e8;
}

h3 {
  font-size: 1.4em; 
  position: relative;
  text-align: center;
}
h3 span {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0 em;
  padding: 0 1em;
  background-color: #f8f9fa;
  text-align: left;
}
h3::before {
  position: absolute;
  top: 50%;
  z-index: 1;
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #ccc;
  background: -webkit-linear-gradient(-45deg, transparent, #ccc 10%, #ccc 90%, transparent);
  background: linear-gradient(-45deg, transparent, #ccc 10%, #ccc 90%, transparent);
}


/* 円フェードイン */
.en {
  margin: 10px;
  position: relative;
}

.item {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0;
  animation: 1s fadeIn forwards;
}

.is-1 {
  top: 0;
  left: 0;
  background: #FFC820;
  box-shadow:1px 1px 12px -1px #615f5a;
  animation-delay: 1s;
}
.is-2 {
  top: 90px;
  left: 70px;
  background: #FFC2B1;
  box-shadow:1px 1px 12px -1px #615f5a;
  animation-delay: 2s;
}
.is-3 {
  top: 180px;
  left: 140px;
  background: #FD8B7C;
  box-shadow:1px 1px 12px -1px #615f5a;
  animation-delay: 3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.2; }
}


/* 高城歯科2ページのフォーム */
.content-section-a {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.content-section-b {
    padding: 50px 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading-spacer {
    float: left;
    width: 200px;
    border-top: 3px solid #e7e7e7;
}

.lead {
    font-size: 18px;
    font-weight: 400;
}


/* 動く→ */
a.tj-btn-1 {
   position:relative;
   text-align:center;
   display:inline-block;
   padding:.9em 2em .3em 1em;
   font-size:1em;
   font-weight:bold;
   line-height:1em;
   text-decoration:none;
   color:#fff;
   background:rgba(252, 196, 68, .5);
   border-radius:10px;
}

a.tj-btn-1:after{
   position:absolute;
   top:50%;
   right:.5em;
   transform: translateY(-50%);
   content: "≫";
   animation:infinite movearrow 1.5s ;
}

@keyframes movearrow {
   0%{margin:0 15px 0 -15px;opacity:.3;}
}



/* カード調整 */
.card__overviewtext{
  font-size: 12px;
  line-height: 150%;
}
.card-skin{
  box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
}


/* カード全体にリンク広げる */
.hoge {
    position: relative;
    z-index: 1; /* 必要であればリンク要素の重なりのベース順序指定 */
}
.hoge a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent:-999px;
    z-index: 2; /* 必要であればリンク要素の重なりのベース順序指定 */
}
.hoge:hover {
    filter:alpha(opacity=70);/* IE 6,7*/
    -ms-filter: "alpha(opacity=70)";/* IE 8,9 */
    -moz-opacity:0.7;/* FF , Netscape */
    -khtml-opacity: 0.7;/* Safari 1.x */
    opacity:0.7;
    zoom:1;/*IE*/
}


/* スマホから電話発信 */
@media(min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}