/* ============================================================
   相模原眼科 デザイントークン
   ワイヤーフレーム（globals.css）の変数名 × 相模原眼科の実カラー
   ============================================================ */
:root {
  /* ブランドカラー */
  --navy: #1A2C42;
  --blue: #195A88;
  --blue-mid: #007DD6;
  --blue-light: #D1ECFF;
  --teal: #148F77;

  /* システムカラー */
  --background: #ffffff;
  --foreground: #000000;
  --card: #ffffff;
  --card-foreground: #000000;
  --primary: #195A88;
  --primary-foreground: #ffffff;
  --secondary: #F2F3F4;
  --secondary-foreground: #195A88;
  --muted: #F2F3F4;
  --muted-foreground: #777777;
  --accent: #148F77;
  --accent-foreground: #ffffff;
  --destructive: #E74C3C;
  --destructive-foreground: #ffffff;
  --border: #dddddd;
  --input: #dddddd;
  --ring: #007DD6;
  --radius: 0.5rem;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}
html {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}
q, blockquote {
    quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none;
}
a img {
    border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    /*line-height: normal;*/
    line-height: 1.7;
    box-sizing: border-box;
    color: #000;
}
/*! based on html5doctor.com Reset Stylesheet v1.6.1 Author: Richard Clark - http://richclarkdesign.com */
html {
    box-sizing: border-box;
}
*, ::before, ::after {
    box-sizing: inherit;
}
body {
    background: transparent;
    color: #000;
    line-height: 1;
    -webkit-text-size-adjust: 100%;
}
html[lang="ja"] body {
    font-family: "Hiragino Sans", sans-serif;
    }
/* main elements group */
audio, canvas, progress, video {
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    zoom: 1;
    *display: inline;
    vertical-align: baseline;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
/* a */
* {
    box-sizing: border-box;
}
html, body {
    width: 100%;
    height: 100%;

}
body {
    -webkit-text-size-adjust: 100%;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-moz-selection {
   background: rgba(167, 181, 184, .8);
   /* Safari */
   color: #fff;
}
::selection {
    background: rgba(167, 181, 184, .8);
    /* Safari */
    color: #fff;
}

::-moz-selection {
   background: rgba(167, 181, 184, .8);
   /* Firefox */
   color: #fff;
}
img {
    vertical-align: bottom;
    -ms-interpolation-mode: bicubic;
}
/** ---------------- font/_default.scss - */

/*default_comp*/
.center {
    text-align: center !important;
}
.left {
    text-align: left !important;
}
.right {
    text-align: right !important;
}
.bold {
    font-weight: bold;
}
.normal {
    font-weight: normal;
}

.clearfix:after {
    content: ".";
    height: 0;
    clear: both;
    display: block;
    font-size: 0.1em;
    line-height: 0;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
    min-height: 1%;
    clear: both;
}
/* Hides from IE-mac \*/
* html .clearfix {
    height: 1%;
}
a {
    text-decoration: none;
    color: #313131;
}
/*.hide {
    display: none;
}*/
input {
    vertical-align: middle;
}
/*************************** setting end */
/*************************** comp */
html {
    font-size: 100%;
    font-weight: 500;
}
body{
}
.min{
    font-family: 'Hiragino Mincho Pro','æ¸¸ææ','Yu Mincho',YuMincho,serif;
}
/*header*/
#header{
    width: 100%;
    height: 110px;
}
.tagline{
    position: absolute;
    left: 30px;
    top: 10px;
    font-size: 13px;
}
.logo{
    width: 80%;
    max-width: 280px;
    position: absolute;
    left: 25px;
    top: 35px;
    /*transform: translateX(-50%);*/
}
.logo img{
	height: 58px!important;
	width: auto!important;
}
.h_tel{
    position: absolute;
    right: 50px;
    top: 50px;
}
.h_tel .tel_txt{
    font-size: 13px;
    line-height: 1;
    margin-bottom: 7px;

}
.h_tel .tel_num{
    font-size: 34px;
    line-height: 1;
    position: relative;
    transition: all .3s;
}

.h_tel .tel_num::before{
    content: '';
    position: absolute;
    left: -33px;
    width: 26px;
    height: 26px;
    background-image: url(../icon/icon_tel.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    top: 50%;
    transform: translateY(-50%);
}
.h_tel .tel_num a{
    line-height: 1;
    transition: all .3s;
}
.h_tel .tel_num a:hover{
    color: #007DD6;
}
/*footer*/
.footer{
    position: relative;
    padding: 50px 0 100px;
    text-align: center;
    border-top: 1px solid #ddd;
}
.f_logo{
    text-align: center;
    margin: 0 auto 35px;
}
.f_logo img{
    max-width: 223px;
    width: 100%;
    height: auto;
}
.f_address{
    text-align: center!important;
    margin-bottom: 37px;
}
.copyright{
    font-size: 14px;
    letter-spacing: 0.1em;
}
.pagetop {
  height: 40px;
  width: 40px;
  position: fixed;
  right: 15px;
  bottom: 15px;
  background: rgba(255, 255, 255, .5);
  border: solid 2px #195A88;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
}
.pagetop__arrow {
  display: block;
  height: 10px;
  width: 10px;
  border-top: 2px solid #195A88;
  border-right: 2px solid #195A88;
  transform: translateY(20%) rotate(-45deg);
}
.btt_btn{
    display: none;
}
@media screen and (max-width: 1200px) {
.tagline{
    font-size: 14px;
}
.logo{
}
.h_tel .tel_num{
    font-size: 30px;
}
.h_tel .tel_txt{
    font-size: 12px;
}
}

@media screen and (max-width: 1024px) {
#header{
    height: 100px;
}
.tagline{
    font-size: 12px;
    left: 30px;
}
.logo{
    width: 250px;
}
}
@media screen and (max-width: 768px) {
#header{
    height: 85px;
}
.logo{
    left: 25px;
    top: 20px;
    transform: translateX(0);
    width: 200px;
}
.tagline{
    display: none;
}
.h_tel{
    right: 25px;
    top: 25px;
}
.h_tel .tel_txt{
    font-size: 10px;
}
.h_tel .tel_num{
    font-size: 25px;
}
.f_logo{
    margin: 0 auto 25px;
}
.f_logo img{
    max-width: 150px;
}
.f_address{
    font-size: 15px!important;
}
.copyright{
    font-size: 12px;
}
.footer{
    padding: 30px 0 50px;
}
.btt_btn{
    display: block;
}
}
@media screen and (max-width: 599px) {
#header {
    height: 70px;
}
.h_tel {
    right: 20px;
    top: 28px;
}
.logo {
    left: 20px;
    top: 15px;
    width: 180px;
}
.h_tel .tel_num{
    font-size: 18px;
}
.h_tel .tel_num::before {
    left: -27px;
    width: 20px;
    height: 20px;
}
.h_tel .tel_txt{
    display: none;
}

/* ==== ページトップボタン: 全デバイスでスクロール時に表示（追記 20260821） ==== */
.btt_btn{ display:block !important; }
.pagetop{
  display:flex !important;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .3s ease, visibility .3s ease;
  right:20px; bottom:20px; width:46px; height:46px;
  background:#195A88; border-color:#195A88;
}
.pagetop .pagetop__arrow{ border-top-color:#fff; border-right-color:#fff; }
.pagetop.is-visible{ opacity:1; visibility:visible; pointer-events:auto; }
@media screen and (max-width:1000px){ .pagetop{ bottom:76px; } }
