@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================================================
   1. Swellデフォルトヘッダー・フッター非表示
   ========================================================================== */
#header.l-header,
.l-header__bar,
.l-fixHeader,
.p-spMenu,
#footer.l-footer {
  display: none !important;
}

/* ==========================================================================
   2. SWELL グローバルスタイルのリセット（カスタムヘッダー・フッター用）
   ※ ルート要素は くるまみちクリニック（h-anti-age.jp）の元マークアップに合わせ
      #header / #footer とする
   ========================================================================== */
#header,
#footer {
  box-sizing: border-box;
  line-height: 1.5;
  font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", Arial, Helvetica, sans-serif;
}

#header *,
#footer * {
  box-sizing: border-box;
}

/* nav */
#header nav,
#footer nav {
  margin-top: 0;
  padding-bottom: 0;
}

/* a */
#header a,
#footer a {
  color: inherit;
  text-decoration: none;
}

/* li */
#header li,
#footer li {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

#header li::before,
#footer li::before {
  content: none;
}

/* ul / dl */
#header ul,
#header dl,
#footer ul,
#footer dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* p */
#header p,
#footer p {
  margin: 0;
}

/* small / address */
#header small,
#footer small,
#footer address {
  font-size: inherit;
  color: inherit;
  font-style: normal;
}

/* img */
#header img,
#footer img {
  max-width: 100%;
  height: auto;
  border-style: none;
  vertical-align: middle;
}

/* clearfix（元テーマは .clearfix / float レイアウト） */
#header::after,
#headerInner::after,
#headerLeft::after,
#headerRight::after,
#naviButton::after,
#searchBox::after,
#footerInner::after,
.fixed_box ul::after {
  content: "";
  display: table;
  clear: both;
}

/* PC / SP 画像出し分け（元テーマの .pc / .sp クラス相当） */
#header img.sp,
#footer img.sp {
  display: none;
}
@media screen and (max-width: 767px) {
  #header img.pc,
  #footer img.pc {
    display: none;
  }
  #header img.sp,
  #footer img.sp {
    display: inline-block;
  }
}

/* ==========================================================================
   3. くるまみちクリニック ヘッダー（PC / SP）
   （元サイト genova_tpl のスタイルを移植。em は base 62.5% = 10px 換算で px 化）
   ========================================================================== */

/* --- PC ヘッダー --- */
#header {
  width: 100%;
  margin: 0 auto;
  text-align: left;
  padding-bottom: 0;
}
/* 元サイトは body 全幅にブラウンのヘッダーバナーを敷いていたため、
   ヘッダー範囲に収める形で #header を全幅バナー、#headerInner を中央 800px にする */
#header #headerInner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
@media screen and (min-width: 768px) {
  #header {
    background: #50382c url(assets/images/header_bg_1217.jpg) no-repeat top center;
  }
}
@media screen and (max-width: 820px) and (min-width: 768px) {
  #header {
    background-position: 50.6% top;
  }
}
#header #headerLeft {
  max-width: 515px;
  float: left;
  width: 65%;
}
#header #headerLeft h1 {
  font-size: 11px;
  font-weight: 400;
  color: #fff;
  margin-top: 3px;
  margin-left: 5px;
}
#header #headerLeft h2 {
  margin-top: 0;
}
#header #headerLeft h2 a {
  margin-left: 2px;
}
#header #headerLeft h2 a img {
  margin-top: 15px;
}
#header #headerLeft h3 {
  font-size: 10px;
  font-weight: 400;
  line-height: 2.1em;
  margin-left: 75px;
  letter-spacing: 0.1em;
  color: #bda49a;
}
#header #headerRight {
  max-width: 275px;
  float: right;
  width: 35%;
}
#header #headerRight ul#naviButton {
  padding-left: 0;
  position: relative;
  height: 37px;
  width: 53.5%;
  margin-left: auto;
}
#header #headerRight ul#naviButton li {
  list-style-type: none;
  position: absolute;
}
#header #headerRight ul#naviButton li#outline {
  right: 17%;
}
#header #headerRight ul#naviButton li a.naviButton {
  display: block;
  width: 100%;
  height: 37px;
  background-repeat: no-repeat;
  color: #fff;
  font-size: 11px;
  text-decoration: underline;
}
#header #headerRight ul#naviButton li a.naviButton span {
  padding-top: 10px;
  display: block;
  text-align: center;
  letter-spacing: -0.1em;
}
#header #headerRight div#telNumber {
  margin-top: 18px;
  float: right;
}
#header #headerRight form {
  text-align: right;
}
#header #headerRight form ul#searchBox {
  margin-top: 11px;
  padding-left: 151px;
}
#header #headerRight form ul#searchBox li {
  float: left;
  list-style-type: none;
}
#header #headerRight form ul#searchBox li#searchInput {
  margin-right: 2px;
}
#header #headerRight form ul#searchBox li#search-button {
  padding-top: 1px;
}
#header #headerRight form li#search-button input {
  width: 31px;
  height: 18px;
  background-image: url(assets/images/b_search.gif);
  background-repeat: no-repeat;
  cursor: pointer;
	border: none;
    position: relative;
    top: 4px;
}
#header #headerRight form input#search {
  border: 1px solid #ccc;
  width: 80px;
  height: 18px;
  color: #999;
  font-family: Arial;
	font-size: 10px;
    padding-left: 0;
    background: #fff;
}

/* ハンバーガー（SP のみ表示） */
.toggleMenu {
  display: none;
}

@media screen and (max-width: 820px) and (min-width: 768px) {
  #header #headerRight form ul#searchBox {
    padding-left: 151px;
  }
}

/* PC ではドロワーメニューを隠す（元サイト仕様） */
@media screen and (min-width: 768px) {
  #header .header_menu {
    display: none;
  }
}

/* --- SP ヘッダー（ドロワー） --- */
@media screen and (max-width: 767px) {
  #header #headerLeft h1,
  #header #headerLeft h3,
  #header #telNumberWrap,
  #header #headerRight form,
  #header #headerRight {
    display: none;
  }
  #header {
    padding: 0;
    height: 60px;
	position: relative;
	z-index: 2;
  }
  #header #headerLeft {
    width: inherit;
    float: none;
  }
  #header .logo {
    position: relative;
    z-index: 2;
  }
  #header .logo img {
    width: 100%;
    max-width: 100%;
  }
  #header #headerLeft h2 {
    margin: 9px 0 0 20px;
    line-height: 0;
  }
  #header #headerLeft h2 a {
    margin-left: 0;
  }
  #header #headerLeft h2 a img {
    margin-top: 0;
    width: 269px;
  }
  #header .logo a:hover {
    text-decoration: none;
  }
  #header #headerRight {
    max-width: inherit;
  }

  .actine-on .logo {
    position: fixed !important;
    z-index: 999 !important;
  }

  /* ハンバーガーボタン */
  #header .toggleMenu {
    display: block;
    float: right;
    width: 60px;
    height: 60px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    margin-right: 0;
    position: fixed;
    top: 0;
    right: 0;
    background: #8a6350;
    z-index: 999;
  }
  .menu-trigger,
  .menu-trigger span {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
  }
  .menu-trigger {
    position: relative;
    width: 23px;
    height: 21px;
    margin: 19px auto 0;
    text-align: center;
  }
  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 9px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  .toggleMenu.active .menu-trigger span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
  }
  .toggleMenu.active .menu-trigger span:nth-of-type(2) {
    opacity: 0;
  }
  .toggleMenu.active .menu-trigger span:nth-of-type(3) {
    transform: translateY(-8px) rotate(45deg);
  }

  /* ドロワー本体 */
  #header .header_menu {
    float: none;
    clear: both;
    margin: 0;
  }
  #header .actine-on > .header_menu {
    position: fixed;
    background: #fff;
    width: 100%;
    height: 60px;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #header .header_menu .g_nav {
    display: none;
    text-align: center;
    background: #c8b1aa;
    position: fixed;
    width: 100%;
    height: calc(100% - 60px);
    overflow-y: scroll;
    top: 60px;
    left: 0;
    padding: 30px 0 0;
    z-index: 1;
    box-sizing: border-box;
  }
  /* ドロワーオープン時に表示 */
  #headerInner.actine-on .header_menu .g_nav {
    display: block;
  }

  #header .header_menu .g_nav > li {
    position: relative;
    border: none;
    background: #c8b1aa;
    width: 100% !important;
    margin-bottom: 2px;
    padding: 0 30px;
    box-sizing: border-box;
  }
  #header .header_menu .g_nav > li > a,
  #header .header_menu .g_nav > li > span {
    width: 100%;
    padding: 20px 40px 21px 20px;
    box-sizing: border-box;
    display: block;
    text-align: left;
    height: auto;
    font-size: 16px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
      Meiryo, sans-serif;
    background: #fff;
    letter-spacing: 0.1em;
    color: #22201e;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
  }
  #header .header_menu .g_nav > li > a span,
  #header .header_menu .g_nav > li > span span {
    margin: 0;
  }
  #header .header_menu .g_nav > li:first-child > a,
  #header .header_menu .g_nav > li:first-child > span {
    border-radius: 5px 5px 0 0;
  }
  #header .header_menu .g_nav > li:nth-child(9) > a,
  #header .header_menu .g_nav > li:nth-child(9) > span {
    border-radius: 0 0 5px 5px;
  }
  #header .header_menu .g_nav > li > a:hover,
  #header .header_menu .g_nav > li > span:hover {
    background: #8a6350;
  }
  #header .header_menu .g_nav > li > span:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #c8b1aa;
    border-left: 2px solid #c8b1aa;
    transform: rotate(-45deg);
    transition-duration: 0.2s;
    margin-top: -8px;
  }
  #header .header_menu .g_nav > li.hover > span:after {
    transform: rotate(135deg);
    margin-top: -3px;
  }
  #header .header_menu .g_nav > li > a sub,
  #header .header_menu .g_nav > li > span sub {
    margin: -2px 0 0 8px;
    display: inline-block;
    vertical-align: middle;
    bottom: 0;
    color: #fff;
    padding-top: 0;
    font-size: 10px;
  }
  #header .header_menu .g_nav > li dl {
    position: relative;
    top: 0;
    background: 0 0;
    padding: 0;
  }
  #header .header_menu .g_nav > li dl li:before {
    display: none;
  }
  #header .header_menu .g_nav > li dl li {
    padding-left: 0;
  }
  #header .header_menu .g_nav > li dt {
    display: none;
  }
  #header .header_menu .g_nav > li ul {
    position: inherit;
    display: none;
    top: 0;
    padding: 0;
  }
  #header .header_menu .g_nav > li ul li {
    display: block;
    margin-right: 0;
    border-top: 1px solid #c8b1aa;
  }
  #header .header_menu .g_nav > li ul li a {
    position: relative;
    display: block;
    padding: 20px 20px 21px 35px;
    box-sizing: border-box;
    text-align: left;
    background: #e8e7e7;
    font-size: 16px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
      Meiryo, sans-serif;
    letter-spacing: 0.1em;
    color: #22201e;
    line-height: 1.4;
    text-decoration: none;
  }
  #header .header_menu .g_nav > li ul li a:hover {
    text-decoration: none;
    background: #fff;
  }
  #header .header_menu .g_nav > li.hover ul {
    display: block;
    opacity: 1;
  }
  #header .header_menu .g_nav > li.last {
    display: block;
    background: #44c3ce;
    margin: 30px 0 0;
    padding-bottom: 70px;
  }
  #header .header_menu .g_nav > li.last ul {
    display: block;
  }
  .header_access_btn {
    padding: 40px 0;
  }
  .header_access_btn .tle {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
      Meiryo, sans-serif;
    font-size: 24px;
    letter-spacing: 0.15em;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 2;
  }
  #header .header_menu .g_nav > li.last ul li {
    border: none;
    margin-bottom: 6px;
  }
  #header .header_menu .g_nav > li.last ul li a {
    padding: 0;
    background: 0 0;
  }
  #header .header_menu .g_nav > li ul li img {
    width: auto;
    max-width: 100%;
  }
  #header .header_menu .g_nav > li > span {
    position: relative;
  }
}

@media screen and (max-width: 480px) {
  #header #headerLeft h2 {
    margin-top: 13px;
  }
  #header #headerLeft h2 a img {
    width: 220px;
  }
  #header .header_menu .g_nav > li > a,
  #header .header_menu .g_nav > li > span {
    letter-spacing: 0;
    font-size: 14px;
  }
  #header .header_menu .g_nav > li ul li a {
    letter-spacing: 0;
    font-size: 14px;
    padding-left: 25px;
  }
  .header_access_btn .tle {
    letter-spacing: 0;
    font-size: 22px;
  }
}

/* ==========================================================================
   4. くるまみちクリニック フッター
   ========================================================================== */
#footer {
  background-image: url(assets/images/footer_bg.gif);
  background-repeat: repeat-x;
  background-position: 0 24px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding-bottom: 27px;
}
#footerInner {
  width: 100%;
  margin: 0 auto;
  text-align: left;
  max-width: 800px;
}
#footer #footerInner .pagetop {
  background-color: #fff;
  background-image: url(assets/images/bgall.gif);
  background-repeat: repeat-y;
}
#footer #footerInner .pagetop a {
  display: block;
  width: 94px;
  height: 24px;
  background-image: url(assets/images/pagetop.jpg);
  background-repeat: no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  margin: 0 6px 0 auto;
}
#footer #footerInner #footerLeft {
  margin-top: 20px;
}
#footer #footerInner #footerLeft ul {
  font-size: 10px;
}
#footer #footerInner #footerLeft li {
  display: inline;
}
#footer #footerInner #footerLeft li a {
  color: #fff;
  text-decoration: none;
}
#footer #footerInner #footerLeft address {
  font-style: normal;
  margin-top: 5px;
}

/* --- PC フッター追尾ボックス（スマホは移行しないため PC のみ） --- */
#footer .fixed_box li img {
  width: auto;
  max-width: 100%;
}
@media screen and (min-width: 768px) {
  #footer .fixed_box {
    position: fixed;
    transition-duration: 0.7s;
    z-index: 999;
    width: 488px;
    bottom: 0 !important;
    right: 0;
  }
  #footer .fixed_box li {
    float: left;
    width: 33.7%;
  }
  #footer .fixed_box li:nth-child(1) {
    width: 47%;
  }
  #footer .fixed_box li:nth-child(3) {
    float: right;
    width: 10.3%;
  }
}

@media screen and (max-width: 960px) {
  #footer {
    padding-bottom: 80px;
  }
  #footer #footerInner .pagetop {
    background: #fff;
  }
  #footer #footerInner #footerLeft {
    padding: 0 20px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 767px) {
  #footer {
    padding: 40px 0 30px;
    background: #5b3f32;
  }
  #footer #footerInner .pagetop {
    display: none;
  }
  #footer #footerInner #footerLeft {
    margin-top: 0;
  }
  /* スマホのフッター追尾は移行しない → 非表示 */
  #footer .fixed_box {
    display: none;
  }
}
