@charset "utf-8";
/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
:focus {
  outline: 0;
}
ol, ul {
  list-style: none;
}
table {
  border-collapse: separate;
  border-spacing: 0;
}
caption, th, td {
  font-weight: normal;
  text-align: left;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
}
blockquote, q {
  quotes: """";
}
a img {
  border: 0;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  font: 17px/2.0 "Lucida Sans Unicode", "Lucida Grande", "メイリオ", "Meiryo", Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", sans-serif;
  color: #333;
  -webkit-text-size-adjust: none;
}
/* リンク設定
------------------------------------------------------------*/
a {
  margin: 0;
  padding: 0;
  text-decoration: none;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  font-size: 100%;
  font-weight: bold;
  color: #1b9fd0; /* 35cc91から変更 */
}
a:hover, a:active {
  outline: none;
  color: #cdcdcd;
}
/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after, .post:after, ul.post li:after, nav#mainNav .inner:after {
  content: "";
  display: table;
  clear: both;
}
nav .panel, nav#mainNav, .newsTitle, .bg, .post, ul.post li, nav#mainNav .inner {
  zoom: 1;
}
/* レイアウト
------------------------------------------------------------*/
/* 共通 */
#wrapper {
  max-width: 1210px;
  width: 100%;
  margin: 0 auto;
}
.inner {
  max-width: 1210px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
#header {
  text-align: center;
}
#content {
  width: 1210px;
  margin: 0 auto; /* 中央寄せ */
  padding: 40px 0 50px;
}
/* ヘッダー
------------------------------------------------------------*/
#header h1 {
  padding: 10px 0;
  font-size: 80%;
  font-weight: bold;
  text-align: left;
}
.contact {
  float: right;
  text-align: right;
  font-size: 80%;
  margin-top: -22px;
  font-weight: bold;
  font-family: "ヒラギノ角ゴ StdN", "Hiragino Kaku Gothic StdN";
  color: #555555;
}
.contact .tel {
  margin-top: -5px;
  font-size: 180%;
  font-family: "ヒラギノ角ゴ StdN", "Hiragino Kaku Gothic StdN";
}
#header h2 {
  clear: both;
  margin-bottom: 10px;
  text-align: center;
  color: #000000;
  font-size: 160%;
  font-weight: bold;
}
#header h2 img {
  width: 180px;
}
#mainImg img {
  width: 100%;
  height: auto;
}
.post {
  margin: 0 0 20px 0;
}
/* タイポグラフィ
------------------------------------------------------------*/
h2.title {
  clear: both;
  margin-bottom: 50px;
  padding-bottom: 7px;
  text-align: center;
  font-size: 150%;
  font-weight: bold;
}
h2.title span {
  padding-bottom: 10px;
  border-bottom: 2px solid #222;
}
h2.recentpost {
  margin: 15px 0 25px;
  padding: 15px 0;
  font-size: 140%;
  font-weight: normal;
  border-bottom: 2px solid #111;
}
.post p {
  padding-bottom: 15px;
}
.post ul {
  margin: 10px 0 20px 20px;
}
.post ul li {
  padding-left: 5px;
  list-style: disc;
}
.post ol {
  margin: 0 0 10px 30px;
}
.post ol li {
  list-style: decimal;
}
.post h1 {
  margin: 15px 0 25px;
  padding: 15px 0;
  font-size: 150%;
  font-weight: bold;
  border-bottom: 3px solid #000000;
}
.post h2 {
  margin: 15px 0 25px;
  padding: 15px 0;
  font-size: 130%;
  font-weight: normal;
  border-bottom: 2px solid #000000;
}
.post h3 {
  margin: 15px 0 25px;
  padding: 15px 0;
  font-size: 125%;
  font-color: 000;
  font-weight: normal;
  border-bottom: 1px solid #000000;
}
.post h4 {
  margin: 15px 0 10px;
  padding: 15px 0;
  font-size: 110%;
  font-weight: normal;
}
.post h5 {
  margin: 15px 0 10px;
  padding: 15px 0;
  font-size: 110%;
  font-weight: normal;
}
.post h6 {
  margin: 15px 0 10px;
  padding: 15px 0;
  font-size: 110%;
  font-weight: normal;
}
.post blockquote {
  clear: both;
  padding: 10px 0 10px 25px;
  margin: 10px 0 25px 0px;
  border-left: 5px solid #e9e9e9;
}
.post blockquote p {
  padding: 5px 0;
}
table {
  border-collapse: separate;
  border-spacing: 0;
}
.post table {
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 10px 0 30px;
  width: 100%;
}
.post table th {
  padding: 15px;
  border: #aaaaaa solid;
  border-width: 0 0 1px 1px;
  font-weight: normal;
}
.post table td {
  padding: 15px;
  border: 1px #aaaaaa solid;
  border-width: 0 0 1px 1px;
}
.post dt {
  font-weight: normal;
}
.post dd {
  padding-bottom: 10px;
}
/*  */
.post img {
  max-width: 100%;
  height: auto;
}
img.aligncenter {
  display: block;
  margin: 5px auto 30px auto;
  text-align: center;
}
img.alignright {
  margin: 5px 0 30px 30px;
}
img.alignleft {
  margin: 5px 30px 30px 0;
}
.alignright {
  float: right;
}
.alignleft {
  float: left;
}
/* サイドバー　ウィジェット
------------------------------------------------------------*/
section.widget ul {
  margin: 0 0 10px 0;
}
p.banner {
  padding-bottom: 20px;
}
p.banner img {
  max-width: 280px;
  height: auto;
}
p.banner img:hover {
  cursor: pointer;
  opacity: .8;
}
section.widget h3 {
  clear: both;
  margin: 0 0 10px;
  padding: 5px 0;
  font-size: 130%;
  font-weight: bold;
  border-bottom: 3px solid #000000;
}
section.widget ul {
  margin: 30px 0 30px 0;
}
section.widget li a {
  display: block;
  margin-top: 15px;
  color: #000000;
  font-weight: bold;
}
section.widget li a:hover {
  color: #cdcdcd;
}
.newsTitle {
  clear: both;
  margin: 0 0 10px;
  padding: 5px 0;
  font-size: 130%;
  font-weight: bold;
  border-bottom: 3px solid #000000;
}
.newsTitle h3 {
  float: left;
}
.newsTitle p {
  float: right;
  padding: 5px 10px 0 10px;
  font-size: 70%;
}
.newsTitle p a {
  color: #000000;
}
.newsTitle p a:hover {
  color: #cdcdcd;
}
.news {
  margin: 30px 0 30px 0;
}
.news p {
  clear: both;
  margin-top: 15px;
}
.news p a {
  display: block;
  color: #000000;
  font-weight: bold;
}
.news span {
  padding-left: 10px;
}
.news a:hover span {
  color: #cdcdcd;
}
/* フッター
------------------------------------------------------------*/
#footer ul {
  padding: 15px 0 25px;
  text-align: center;
}
#footer li {
  display: inline-block;
  padding: 5px 16px;
}
*:first-child + html #footer li {
  display: inline;
}
#footer li:first-child {
  border: 0;
}
#footer li a {
  text-decoration: none;
  font-weight: normal;
  color: #000000;
}
#footer li a:hover {
  color: #cdcdcd;
}
#footer ul ul {
  display: none;
}
#copyright {
  clear: both;
  padding: 30px 0 37px;
  text-align: center;
  font-size: 10px;
}
#pagetop {
  position: fixed;
  right: 30px;
  bottom: 0px;
  font-size: 40px;
}
/* トップページ 最新記事4件
------------------------------------------------------------*/
ul.post {
  padding: 0;
}
ul.post li {
  padding: 20px 0 15px;
}
ul.post img {
  float: left;
  margin: 5px 25px 5px 0;
}
ul.post h3 {
  margin: -15px 0 5px 0;
  border: 0;
  font-size: 120%;
  font-weight: normal;
}
ul.post h3 a {
  color: #000000;
}
ul.post h3 a:hover {
  color: #cdcdcd;
}
/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width:1025px) {
  nav#mainnav {
    position: relative;
    margin-top: 40px;
  }
  nav#mainnav ul {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  nav#mainnav ul li {
    float: left;
  }
  /* ■PCメニュー */
  nav#mainnav ul li a {
    display: block;
    text-align: center;
    _float: left;
    height: 70px;
    padding: 10px 20px 0;
    line-height: 70px;
    font-size: 110%;
    font-weight: normal;
    color: #000000;
  }
  nav#mainnav ul li a span, nav#mainnav ul li a strong {
    display: block;
    font-size: 90%;
    line-height: 1.7;
  }
  nav#mainnav ul li a span {
    font-size: 70%;
    color: #1b9fd0; /* 35cc91から変更 */
  }
  nav#mainnav ul li a:hover span, nav#mainnav ul li a:hover {
    color: #cdcdcd;
  }
  nav#mainnav ul ul {
    width: 160px;
    border-top: 0;
  }
  nav#mainnav ul li ul {
    display: none;
  }
  nav#mainnav ul li:hover ul {
    display: block;
    position: absolute;
    top: 65px;
    text-align: center;
    z-index: 500;
  }
  nav#mainnav ul li li {
    background: #ffffff;
    border-bottom: 1px dotted #cdcdcd;
    float: none;
    width: 160px;
    height: 40px;
    line-height: 40px;
    margin: 0;
  }
  nav#mainnav ul li li:last-child {
    border: 0;
  }
  nav#mainnav ul li li a {
    width: 100%;
    height: 40px;
    padding: 0;
    line-height: 40px;
    font-size: 95%;
    text-lign: center;
  }
  nav#mainnav ul li li a:hover {
    color: #cdcdcd;
  }
  nav div.panel {
    display: block !important;
  }
  a#menu {
    display: none;
  }
}
/* iPadサイズ以下（1024px）からアコーディオンメニュー
------------------------------------------------------------*/
@media only screen and (max-width:1024px) {
  #header {
    position: fixed;
    width: 100%;
    background: #fffff0;
    z-index: 500;
  }
  #headerWrap {
    position: relative;
    width: 100%;
    height: 70px;
    border-bottom: 1px solid #cccccc;
  }
  #header h1 {
    display: none;
  }
  #header h2 {
    padding-top: 13px;
  }
  #header h2 img {
    max-height: 35px;
    width: auto !important;
  }
  a#menu {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 10px;
  }
  #menuBtn {
    display: block;
    position: absolute;
    top: 60%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: #000000;
    transition: .2s;
  }
  #menuBtn:before, #menuBtn:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    background: #000000;
    transition: .3s;
  }
  #menuBtn:before {
    margin-top: -7px;
  }
  #menuBtn:after {
    margin-top: 5px;
  }
  a#menu .close {
    background: transparent;
  }
  a#menu .close:before, a#menu .close:after {
    margin-top: 0;
  }
  a#menu .close:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  a#menu .close:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  .panel {
    width: 100%;
    display: none;
    overflow: hidden;
    position: relative;
    left: 0;
    top: 0;
    z-index: 100;
  }
  #mainnav {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: right;
    z-index: 500;
  }
  #mainnav ul {
    background: #ffffff;
    text-align: left;
  }
  #mainnav li a {
    position: relative;
    display: block;
    padding: 12px 25px;
    border-bottom: 1px solid #eeeeee;
    color: #000000;
    font-weight: bold;
  }
  #mainnav ul li a span {
    display: none;
  }
  #mainnav ul li li {
    border: 0;
  }
  #mainnav ul li li a {
    padding-left: 40px;
  }
}
/* iPadサイズ以下（1024px）から 1カラム表示に切り替え
*****************************************************/
@media only screen and (max-width:1024px) {
  #header .inner {
    max-width: none; /* 固定幅解除 */
    width: 100%;
    box-sizing: border-box;
  }
  #wrapper {
    padding-top: 70px;
  }
  #wrapper {
    width: 100%; /* デバイス幅いっぱい */
    padding: 0 15px; /* 左右に少し余白 */
    box-sizing: border-box;
  }
  .inner {
    max-width: none;
    width: 100%;
    padding: 0 15px; /* 必要なら余白 */
    box-sizing: border-box;
  }
  #header .contact {
    display: none;
  }
  nav#mainNav ul {
    margin: 0 auto;
  }
  nav#mainNav ul ul {
    padding: 0;
  }
  nav div.panel {
    float: none;
  }
  #mainImg {
    z-index: -100;
    margin-bottom: 30px;
    padding-top: 70px;
  }
  #content {
    width: 100%; /* 全幅に広げる */
    float: none; /* 念のため float解除 */
    margin: 0 auto;
    padding: 10px 0;
  }
  h2.first {
    margin-top: 80px;
  }
  h2.topFirst {
    margin-top: -80px;
  }
  .banner {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  p.banner img {
    width: 100%;
    height: auto;
  }
  section.widget_search {
    text-align: center;
  }
  #footer .inner {
    max-width: none;
    width: 100%;
    padding: 10px 12px 8px;
  }
  #footer li {
    margin-bottom: 10px;
  }
}
/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width:644px) {
  #header h2 img {
    max-width: 90%;
  }
  /* 
  #mainImg {
    height: 350px;
    overflow: hidden;
    position: relative;
    margin-bottom: 35px;
  }
  #mainImg img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
  } */
  h2.title {
    margin-bottom: 35px;
  }
  ul.post img {
    display: block;
    margin: 5px auto 20px auto;
    float: none;
    width: 100%;
  }
  img.alignright, img.alignleft {
    display: block;
    margin: 5px auto 20px auto;
  }
  .alignright, .alignleft {
    float: none;
  }
}
/* 施術例CSSスマホ対応 */
/* コンテナ幅：PCは 1140px に揃える */
.ba-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
  line-height: 1.6;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}
.ba-heading {
  font-size: clamp(20px, 2.4vw, 28px);
  margin: 0 0 16px;
  font-weight: 700;
}
/* グリッド（スマホ1列をデフォルト） */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
/* iPad～：2列 */
@media (min-width: 768px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 1140px～：3列 */
@media (min-width: 1140px) {
  .ba-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* カード */
.ba-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* タイトル → 画像 → 説明文 の縦並び */
.ba-title {
  font-size: 18px;
  margin: 16px 16px 0;
  font-weight: 700;
}
/* 画像は比率を統一してトリミング（必要なら比率調整） */
.ba-figure {
  margin: 12px 0 0;
  aspect-ratio: 4 / 3; /* ここを 16/9 などに変更可 */
  overflow: hidden;
  background: #f5f5f5;
}
.ba-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 説明文（カード下まで余白） */
.ba-text {
  margin: 12px 16px 16px;
  font-size: 14px;
  color: #333;
}
/* お好みでホバー */
.ba-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
.ba-title {
  padding: 12px 16px !important;
  margin: 0 !important;
  border-bottom: 1px solid #ddd;
  line-height: 1.4;
  word-break: break-word;
}
.clear {
  /* floatを解除 */
  clear: both;
}
/* 2025/11/06追加 */
.factory {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
}
.factory-left img {
  width: 350px; /* 画像サイズ調整 */
  height: auto;
  display: block;
}
.factory-right {
  flex: 1; /* 残り幅いっぱいにテキストを表示 */
}
.factory-right ul {
  list-style-type: "●　";
  padding-left: 0;
  margin-top: 15px;
}
@media screen and (max-width: 768px) {
  .factory {
    display: block;
  }
  .factory-left {
    float: none;
    width: 100%;
    margin: 0 0 15px 0; /* 下に余白を取る */
  }
  .factory-left img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }
  .factory-right {
    width: 100%;
    overflow: visible;
  }
  .factory-right ul {
    list-style-type: "●　";
    padding-left: 0;
  }
}