html{
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
}
html {
  margin: 0;
  padding: 0;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  font-family:'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
  font-size: 15px;
  color: #3a3f51;
  letter-spacing: 0.075em;
}

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

div,article,section,header,footer,figure { margin: 0; padding: 0; }
ul, ol { margin-top: 0; }
p { margin-top: 0; line-height: 1.5em; }
img {border-style: none; }
table { border-collapse: collapse; border-spacing: 0; }

a { text-decoration: none; }
a:link    { color: #0050a8; }
a:visited { color: #0050a8; }
a:hover   { color: #0050a8; text-decoration: underline; }
a:active  { color: #0050a8; }

.BrPc,.PcBr { display: none; }
.SmpNone,.SpNone { display: none; }

.CL { clear: both; }
.CF:after { clear: both; display: block; content: ""; }

/* ///// HEADER /////////////////////////////// */
header {
  position: sticky;
  top: 0px;
  z-index: 9998;
  width: 100%;
  height: 70px;
  background-color: #fff;
}
header.MenuFixed {
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}


#header_inner{
  width: 100%;
  height: 100%;
}
/* 会員ログインボタン */
#header_inner_rt { display: none; }

/* HEADER LOGO
--------------------------- */
#header_inner_lt,
#sp_logo {
  position: relative;
  width: 100%;
  height: 70px;
}
#header_inner_lt img,
#sp_logo img {
  position: absolute;
  top: 15px;
  left:10px;
  margin: 0;
  padding: 0;
  width: auto;
  height: 40px;
}

/* SP MENU BUTTON
--------------------------- */
#sp_menu_btn{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 50px;
  height:50px;
  cursor: pointer;
}
#sp_menu_btn span{
  display: inline-block;
  position: absolute;
  left: 14px;
  border-radius: 2px;
  width: 22px;
  height: 3px;
  background-color: #4198d2;
  transition: all .4s;
}
#sp_menu_btn span:nth-of-type(1) { top:15px; }
#sp_menu_btn span:nth-of-type(2) { top:23px; }
#sp_menu_btn span:nth-of-type(3) { top:31px; }

/* ///// SP MENU AREA ///////////////////////// */
#menu_wrap { display: none; }

#sp_menu_area {
  display: none;
  z-index: 9999;
  position:fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #fff;
    background-color: #4198d2;
}
body.active {
  touch-action: none;
  overflow-y: hidden;
}

/* 閉じるボタン
--------------------------- */
#sp_close_btn {
  position: absolute;
  z-index: 9999;
  top: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  cursor: pointer;
}
#sp_close_btn span{
  display: inline-block;
  position: absolute;
  left: 14px;
  border-radius: 2px;
  width: 30px;
  height: 3px;
  background-color: #4198d2;
  background-color: #fff;
  transition: all .4s;
}
#sp_close_btn span:nth-of-type(1) {
  top: 18px;
  left: 11px;
  transform: translateY(6px) rotate(-45deg);
}
#sp_close_btn span:nth-of-type(2){
  top: 30px;
  left: 11px;
  transform: translateY(-6px) rotate(45deg);
}

/* スマホメニュー
--------------------------- */
#sp_menu_scroll {
  height: calc(100% - 70px);
  overflow: scroll;
  overflow-x: hidden;
}
ul#sp_main_menu {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 30px 0 10px;
  width: 100%;
  height: auto;
  list-style-type: none;
}
#sp_main_menu li {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  width: 50%;
  text-align: center;
}
#sp_main_menu li a img{
  width: clamp(135px,26vw,200px);
}

/* 会員ログインボタン */
#sp_login{
  margin: 0 0 20px;
}
#login_btn{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  border: 2px solid #fff;
  margin: 0 auto;
  padding-left: 20px;
  width: 240px;
  height: 45px;
  background: #4198d2 url(/img/fm/ask01/frame/icon-login.png) 15% 10px / 18px no-repeat;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}
a#login_btn:hover {
  background-color: #004a9f;
  text-decoration: none;
}

/* ///// MAIN VISUAL ////////////////////////// */

#main_image_area { width: 100%; }
#main_image { width: 100%; }
#main_image img { width: 100%; vertical-align: bottom; }

/* SUB PAGE MV
--------------------------- */
#main_image_area_bg {
  clear: both;
  width: 100%;
  background-color: #004a9f;
  background-position: left 40% center;
  background-repeat: no-repeat;
  background-size: cover;
}
#main_image_body {
  position: relative;
  width: 100%;
  height: 160px;
}
p#main_image_text {
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: 90%;
  text-align: right;
  line-height: 1.0em;
  letter-spacing: 3px;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  text-shadow:
     1px 1px 0px #004a9f, -1px -1px 0px #004a9f,
    -1px 1px 0px #004a9f,  1px -1px 0px #004a9f,
     1px 0px 0px #004a9f, -1px  0px 0px #004a9f,
     0px 1px 0px #004a9f,  0px -1px 0px #004a9f;
}
/*
  text-stroke: 1px #004a9f;
  -webkit-text-stroke: 1px #004a9f;
  */
p#main_image_text span{
  display: block;
  padding-right: 10px;
  text-align: right;
  line-height: 1.0em;
  font-size: 15px;
  font-style: italic;
}

/* ///// CONTENT ////////////////////////////// */

/* パンくずリスト
--------------------------- */
#breadcrumbs {
  clear: both;
  box-sizing: border-box;
  padding: 10px;
  width: 100%;
  background-color: #f0f0f0;
  font-size: 13px;
}

/* CONTENT BODY
--------------------------- */
.ContentBody {
  width: 100%;
}
.ContentBody:after {
  clear: both;
  display: block;
  content: "";
}

/* MAIN_AREA
--------------------------- */
#main_area {
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 480px;
  min-height: 200px;
  background-color: #fff;
}
/* two column */
.MainArea {
  box-sizing: border-box;
  padding: 10px;
}
/* one column */
#main_area.ContentBody {
  box-sizing: border-box;
  padding: 10px;
}
/* wide one column */
section.ContentArea {
  box-sizing: border-box;
  padding: 30px 0 10px;
  width: 100%;
  overflow: hidden;
}
.ContentArea .ContentBody {
  box-sizing: border-box;
  padding: 10px;
}

/* ///// SIDE_AREA ////////////////////////////// */
#side_area {
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 480px;
  background-color: #fff;
}
.SideArea {
  box-sizing: border-box;
  padding: 10px;
}

/* サイドメニュ
--------------------------- */
dl.SideMenu {
  display: block;
  margin: 0 0 20px;
  padding: 0px;
  width: 100%;
}
.SideMenu dt {
  display: block;
  margin: 0px;
  padding: 13px 5px;
  width: auto;
  background-color: #004a9f;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}

.SideMenu dl {
  margin: 0;
  padding: 0;
}
.SideMenu dd {
  margin: 0px;
  padding: 0px;
}
.SideMenu dd.SList {
  display: block;
  border-bottom: 1px #ccc dotted ;
}
.SideMenu a {
  display: block;
  padding: 10px 10px 10px 30px;
  width: auto;
  background: url(/img/fm/ask01/frame/sm-arrow.png) 8px center no-repeat;
  color: #444;
}
dl.CategoryMenu {
  margin: 0;
  padding: 0;
}
.CategoryMenu dt {
  border-bottom: 1px #ccc dotted ;
  padding: 10px 5px;
  background-color: #fff;
  text-align: center;
  font-weight: bold;
  color: #0070b0;
}
.CategoryMenu dd a {
  padding-left: 60px;
  background: url(/img/fm/ask01/frame/sm-arrow.png) 16px center no-repeat;
}
a#sm_current,
dd.SmCurrent a { font-weight: bold; }

/* サイドバナー
--------------------------- */
ul.SideBanner {
  display: block;
  margin: 0 auto;
  padding: 0px;
  width: 300px;
  list-style-type: none;
}
.SideBanner li {
  display: block;
  margin: 0 0 10px 0;
  padding: 0px;
  text-align:center;
}
.SideBanner a {
  display: block;
  width: 100%;
}
.SideBanner img {
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
}

/* ///// CONTACT AREA /////////////////////////////// */

/* イベント案内、訪問診療
--------------------------- */
#info.ContentArea,
#home_care.ContentArea{
  padding: 0;
}
#info .ContentBody,
#home_care .ContentBody{
  padding: 0;
  overflow: hidden;
}
/* PC */
@media (min-width: 768px){
  #info{
    background: linear-gradient(90deg, #4198d2 0%, #4198d2 50%, #eafbff 50%, #eafbff 100%);
  }
  #home_care{
    background: linear-gradient(90deg, #fff 0%, #fff 50%, #4198d2 50%, #4198d2 100%);
  }
  #info .ContentBody,
  #home_care .ContentBody{
    display: flex;
  }
  #home_care .ContentBody{
    flex-direction: row-reverse;
  }
}

/* 見出し領域 */
.flex-inner-lt{
  box-sizing: border-box;
  padding:  100px 0;
  width: 300px;
  background-color: #4198d2;
}
/* SP */
@media (max-width: 768px){
  .flex-inner-lt{
    padding: 20px 0;
    width: 100%;
  }
}

/* 見出し */
#info .HdgStyleE_,
#home_care .HdgStyleE_{
  margin-bottom: 0;
}
#info .HdgStyleE_ h1,
#home_care .HdgStyleE_ h1{
  font-size: clamp(26px,3.6vw,40px);
  white-space: nowrap;
  color: #fff;
}
#info .HdgStyleE_ h1 span,
#home_care .HdgStyleE_ h1 span{
  color: #fff;
}

/* コンテンツ領域 */
.flex-inner-rt{
  box-sizing: border-box;
  padding:  100px 10px 100px 30px;
  width: 800px;
  background-color: #eafbff;
}
#home_care .flex-inner-rt{
  padding:  100px 30px 100px 10px;
  background-color: #fff;
}
/* SP */
@media (max-width: 768px){
  .flex-inner-rt{
    padding: 20px 10px;
    width: 100%;
  }
  #home_care .flex-inner-rt{
    padding: 20px 10px;
  }
}

/* 訪問診療テキスト */
/* PC */
@media (min-width: 768px){
  #home_care .TextBox_ {
    margin: 0 auto;
    width: 600px;
  }
}

/* ///// FOOTER /////////////////////////////// */
footer {
  border-top: 3px solid #4298d3;
  padding: 30px 0 0;
  width: 100%;
  background-color: #fffdf5;
}

/* FOOTER LOGO
--------------------------- */
#ft_logo {
  margin-bottom: 20px;
  text-align: center;
}
#ft_logo img {
  width: auto;
  height: 40px;
}

/* FOOTER MENU
--------------------------- */
ul.FooterMenu {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 13px;
}
.FooterMenu li {
  border-top: 1px dotted #4298d3;
  width: 100%;
}
.FooterMenu a {
  display: block;
  margin: 0;
  padding: 10px 0 10px 40px;
  background: url(/img/fm/ask01/frame/sm-arrow.png) 10px center / 10px  no-repeat;
  font-weight: bold;
  color: #444;
}
.FooterMenu a:hover{
  color: #4198d2;
}

/* COPYRIGHT
--------------------------- */
#copyright {
  height: 50px;
  background-color: #004a9f;
}
#copyright p {
  margin: 0;
  text-align: center;
  line-height: 50px;
  font-size: 13px;
  color: #fff;
}

/* PAGE TOP
--------------------------- */
#pagetop_fixed {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 50px;
  height: 62px;
}
#pagetop_fixed img{
  width: 100%;
  height: 100%;
}
