@charset "UTF-8";
/* =========================================================
 * one-pr-footcare：本文まわりのサイト固有スタイル（エディタにも読み込まれます）
 *   1. 親テーマ style.css との差分（文字サイズ・見出し・表など、フットケア用の値）
 *   2. トップページのファーストビュー（.ash-fv）… 旧 ashimoto-common.css
 * ========================================================= */


/* =========================================================
 * トップページ mainimg：B案
 * PC：横長画像1200×630＋左右ブランドカラー背景
 * スマホ：縦長画像1024×1536
 * 切り替え：540px
 * ========================================================= */

/* 全体 */
.mainimg {
  position: relative;
  width: 100%;
  margin: 0 0 1em;
  padding: 0;
  overflow: hidden;
  background: var(--color-g, #f7f5ee);
  background: linear-gradient(
    to right,
    var(--color-g, #f7f5ee) 0%,
    #e7e1e1 100%
  );
}

/* A案のぼかし背景を無効化 */
.mainimg::before,
.mainimg::after {
  content: none;
  display: none;
}

/* PC用：横長画像 */
.mainimg img.minmb {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto 0 !important;
  padding: 0;
  border: 0;
  border-radius: 0;
}

/* スマホ用：初期状態は非表示 */
.mainimg img.maxmb {
  display: none;
}

/* スマホ：540px以下 */
@media screen and (max-width: 540px) {

  .mainimg {
    width: 100%;
    background: var(--color-g, #f7f5ee);
  }

  .mainimg img.minmb {
    display: none;
  }

  .mainimg img.maxmb {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
  }
}

/* ---------------------------------------------------------
 * トップの大きな画像の上に重ねる「お問い合わせ」ボタン
 *   画像（ogp-img0.jpg / ogp-imgs0.jpg）と同じ幅の .mainimg-in を基準にし、
 *   位置・大きさは画像に対する％、文字サイズ・角丸は幅に対する割合（cqw）で指定
 *   → 画面幅が変わっても、画像と一緒に同じ比率で伸び縮みします
 *   PC   ：1200×630 の画像上で 左66px・上482px・幅275px・高さ70px・文字27px
 *   スマホ：540×810 換算の画像上で 左148px・上735px・幅244px・高さ52px・文字21px
 * --------------------------------------------------------- */
.mainimg-in {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  container-type: inline-size;
}
.mainimg a.mainimg-btn {
  position: absolute;
  left: 5.5%;
  top: 76.51%;
  width: 22.92%;
  height: 11.11%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: var(--color-e);
  color: #fff !important;
  border-radius: min(1vw, 12px);
  border-radius: 1cqw;
  font-size: min(2.25vw, 27px);
  font-size: 2.25cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none !important;
  transition: opacity .15s ease, transform .15s ease;
}
.mainimg a.mainimg-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}
@media screen and (max-width: 540px) {
  .mainimg a.mainimg-btn {
    left: 27.41%;
    top: 90.74%;
    width: 45.19%;
    height: 6.42%;
    border-radius: 1.67vw;
    border-radius: 1.67cqw;
    font-size: 3.9vw;
    font-size: 3.9cqw;
    letter-spacing: .05em;
  }
}


/* ---------------------------------------------------------
 * 1. 親テーマ style.css との差分
 * --------------------------------------------------------- */
@media only screen and ( max-width : 359.9px ) {
body{font-size: -webkit-calc(100vw / 22.5); font-size: calc(100vw / 22.5);}
}
@media print, screen and (min-width: 360px) {
body{font-size:16px;}
}
main > section{padding-top: 1.5em !important;}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, main, .mce-content-body) a {
  color: var(--color-b);
  font-weight:600;
  text-decoration: underline;
  transition: color .15s ease, opacity .15s ease;
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h3:not(.noh), .m3,
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h4:not(.noh), .m4,
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h5:not(.noh), .m5,
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h6:not(.noh), .m6
{
  margin-top: 3.5em;
  margin-bottom: 0.25em;
  line-height:1.3;
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h1:not(.noh), .m1{
  font-size: 1.5em;
  line-height:1.3;
  font-weight: bold;
  margin: 1em auto 1em;
  padding: 1em 1.5em;
  border: 8px double  var(--color-c);
    clear: both;
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h2:not(.noh), .m2{
  font-size: 1.2em;
  line-height:1.3;
  font-weight: bold;
  padding: 1em 1.5em;
  border-left: 6px solid var(--color-b);
  background:  var(--color-g);
  margin-top: 3.5em;
  margin-bottom: 0.75em;
    clear: both;
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h3:not(.noh), .m3{font-size: 1.25em; font-weight: bold; color:var(--color-c);}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h4:not(.noh), .m4{font-size: 1.25em; font-weight: bold; color:var(--color-b);}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h5:not(.noh), .m5{font-size: 1.25em; font-weight: bold; color:var(--color-a);}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) h6:not(.noh), .m6{font-size: 1.25em; font-weight: bold; color:var(--color-d);}
section > h2:first-child, section > h3:first-child, section > h4:first-child, section > h5:first-child, section > h6:first-child,
.imgh + h2, .imgh + h3, .imgh + h4, .imgh + h5, .imgh + h6,
div > h2:first-child, div > h3:first-child, div > h4:first-child, div > h5:first-child, div > h6:first-child{margin-top: 1em !important;}
td > p:last-child{margin-bottom: 0em !important;}
@media (min-width: 834.1px) {
table.tright > tbody > tr > th{
    width:25% !important;
    background:var(--color-e);
    color:#fff;
    font-weight:700;
    text-align:left;
    padding:.9em 1.0em !important;
    position:relative;
    border-radius:6px 0 0 6px;
  }
table.tbottom > tbody > tr > th{
    width:25% !important;
    background:var(--color-e);
    color:#fff;
    font-weight:700;
    text-align:left;
    padding:.9em 1.0em !important;
    position:relative;
    border-radius:6px 0 0 6px;
  }
table.tbottom > tbody > tr > th:before{
    content:"";
    position:absolute;
    left:45%; top:100%;
    border:.5em solid transparent;
    border-top:.6em solid var(--color-e);
  }
}
@media (max-width: 834px) {
table.tright > tbody > tr > th{
    background:var(--color-a); color:#fff;
    font-weight:700; text-align:left;
    padding:.9em 1.0em !important;
    border-radius:8px 8px 0 0 !important;
    position:relative;
    margin:0 !important;
  }
table.tright > tbody > tr > th:after{
    content:"";
    position:absolute;
    left:50%; top:100%;
    transform:translateX(-50%);
    border:.55em solid transparent;
    border-top-color:var(--color-e);
  }
table.tbottom > tbody > tr > th{
    background:var(--color-e); color:#fff;
    font-weight:700; text-align:left;
    padding:.9em 1.0em !important;
    border-radius:8px 8px 0 0 !important;
    position:relative;
    margin:0 !important;
  }
table.tbottom > tbody > tr > th:before{ display:none !important; }
table.tbottom > tbody > tr > td:after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-18px;                        /* 三角の半分が行間に入る位置。-16～-22pxで調整 */
    transform:translateX(-50%);
    border:11px solid transparent;
    border-top-color:var(--color-e);
    pointer-events:none;
  }
}
table.ttt th {
    background: #eee;
    font-weight: bold;
    min-width: 12em;
  }
@media screen and (max-width: 540px) {
table.ttt th {
    min-width: unset;
  }
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) .wp-block-button__link,
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) .wp-element-button, .btn a, a.btn{
  display:inline-block; padding:.7em 1.2em; border-radius: var(--radius-m, .6rem);
  background: var(--color-e); color:#fff; font-weight:700; text-decoration:none !important;
  transition: filter .15s ease, opacity .15s ease, background-color .15s ease; margin:0.5em 0.5em;
}
.btns a, a.btns{
  display:inline-block; font-size:0.9em; padding:0.2em 0.5em; border-radius: 5px;
  background: var(--color-e); color:#fff; font-weight:700; text-decoration:none !important;
  transition: filter .15s ease, opacity .15s ease, background-color .15s ease;
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, main, .mce-content-body)
img:not([style*="width"]):not(.is-custom-size) {
  width: 100%;
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, main, .mce-content-body)
img[style*="width"],
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, main, .mce-content-body)
img.is-custom-size {
  max-width: 100%;
  height: auto;
}
#contents img {
  margin-bottom: 1em;
}
@media print, screen and (min-width: 540.1px) {
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.aligncenter:not([style*="width"]):not(.is-custom-size),
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  figure.aligncenter > img:not([style*="width"]):not(.is-custom-size) {
    width: 90%;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.aligncenter[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.aligncenter.is-custom-size,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  figure.aligncenter > img[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  figure.aligncenter > img.is-custom-size {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block[data-align="left"] > .wp-block-image,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block-image.alignleft,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  figure.alignleft:not([style*="width"]),
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-caption.alignleft {
    float: left;
    width: 36%;
    max-width: 36%;
    margin: 0 1em 1em 0;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block[data-align="right"] > .wp-block-image,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block-image.alignright,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  figure.alignright:not([style*="width"]),
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-caption.alignright {
    float: right;
    width: 36%;
    max-width: 36%;
    margin: 0 0 1em 1em;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block-image.alignleft[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  figure.alignleft[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-caption.alignleft[style*="width"] {
    float: left;
    max-width: 100%;
    margin: 0 1em 1em 0;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block-image.alignright[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  figure.alignright[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-caption.alignright[style*="width"] {
    float: right;
    max-width: 100%;
    margin: 0 0 1em 1em;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignleft:not([style*="width"]):not(.is-custom-size),
  img[class*="alignleft"]:not([style*="width"]):not(.is-custom-size) {
    float: left;
    width: 36%;
    max-width: 36%;
    margin: 0 1em 1em 0;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignright:not([style*="width"]):not(.is-custom-size),
  img[class*="alignright"]:not([style*="width"]):not(.is-custom-size) {
    float: right;
    width: 36%;
    max-width: 36%;
    margin: 0 0 1em 1em;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignleft[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignleft.is-custom-size,
  img[class*="alignleft"][style*="width"],
  img[class*="alignleft"].is-custom-size {
    float: left;
    max-width: 100%;
    margin: 0 1em 1em 0;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignright[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignright.is-custom-size,
  img[class*="alignright"][style*="width"],
  img[class*="alignright"].is-custom-size {
    float: right;
    max-width: 100%;
    margin: 0 0 1em 1em;
  }
}
@media screen and (max-width: 540px) {
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block[data-align="left"] > .wp-block-image,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block[data-align="right"] > .wp-block-image,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block[data-align="center"] > .wp-block-image,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block-image.alignleft,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-block-image.alignright,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  figure.alignleft,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  figure.alignright,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-caption.alignleft,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  .wp-caption.alignright {
    float: none;
    width: auto;
    max-width: 100%;
    margin: 0 auto 1em;
    text-align: center;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignleft:not([style*="width"]):not(.is-custom-size),
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignright:not([style*="width"]):not(.is-custom-size),
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.aligncenter:not([style*="width"]):not(.is-custom-size),
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignnone:not([style*="width"]):not(.is-custom-size) {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 1em;
  }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignleft[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignleft.is-custom-size,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignright[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignright.is-custom-size,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.aligncenter[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.aligncenter.is-custom-size,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignnone[style*="width"],
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body)
  img.alignnone.is-custom-size {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 1em;
  }
}
@media (max-width: 834px) {
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) .alignleft,
  :where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) .alignright {
    float: none;
    margin: 0 auto var(--gap-m, 1rem);
  }
}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) figcaption,
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) .wp-element-caption{
  font-size:.9em; color:#666; text-align:center; margin-top:.5em;
}
img.img90, .img90 img:first-child {width:90% !important; height:auto; margin:0 auto 1em;}
img.img75, .img75 img:first-child {width:75% !important; height:auto; margin:0 auto 1em;}
img.img50, .img50 img:first-child {width:50% !important; height:auto; margin:0 auto 1em;}
img.img30, .img30 img:first-child {width:30% !important; height:auto; margin:0 auto 1em;}
img.shikaku, .shikaku img { width:100%; min-height:100%; border-radius:0; object-fit:cover; object-position:50% 50%; }
img.yokonaga, .yokonaga img { width: 100%; min-height: 100%; object-fit: cover; object-position: 50% 50%; }
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) img,
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) video{
  border-radius: var(--radius-s, .35rem); max-width: 100%;
}
/* .cvd-term-desc：Content Vault Directory 7.0.14〜 が地域・サービスの一覧に出すタームの説明。.box1 と同じ見た目にする（2026-11-21） */
.box1, .editor-styles-wrapper .box1, .cvd-term-desc{
    display: block;
    clear: both;
    overflow: hidden;
    margin:  0.5em 0 3em;
    padding: 1em;
    text-align: left;
    line-height: 1.8;
    border: var(--color-a) solid 5px;
    background: #fff;
    border-radius: 10px;
}
.box2, .editor-styles-wrapper .box2{
    display: block;
    clear: both;
    overflow: hidden;
    margin:  0.5em 0 3em;
    padding: 1em;
    text-align: left;
    line-height: 1.8;
    border: var(--color-b) solid 5px;
    background: #fff;
    border-radius: 10px;
}
.box1 > p:last-child, .box2 > p:last-child, .box3 > p:last-child, .box4 > p:last-child, .box5 > p:last-child, .box6 > p:last-child,
.mbox1b > p:last-child, .mbox2b > p:last-child, .mbox3b > p:last-child, .cvd-term-desc > p:last-child{margin-bottom:0;}
/* 親テーマ style.css の「.box1 > 最初の見出しの上余白 0」と同じ指定を .cvd-term-desc にも */
.cvd-term-desc > h2:first-child, .cvd-term-desc > h3:first-child, .cvd-term-desc > h4:first-child, .cvd-term-desc > h5:first-child, .cvd-term-desc > h6:first-child{margin-top:0 !important;}
.bin > .box1{margin-bottom:2em;}
.kanarazu{
  font-size:0.8em; padding: 0.1em 0.3em; background: var(--color-c); color: #fff; border-radius: 3px; margin-left:1em;
  display: inline-block; white-space: nowrap;
}
.h3{height:3.6em;}
.bgff{background: rgb(255 255 255 / 30%);}
.maxss{width: 90% !important; max-width: 250px !important; margin-left: auto; margin-right: auto;}
.secbox {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
    background:var(--color-f);
    color:var(--color-d);
}
.secboxb {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction:row-reverse;
    overflow: hidden;
    background:var(--color-g);
    color:var(--color-d);
}
.sec .secbox, .sec .secboxb {color:var(--color-d); background:#fff; margin-bottom:2em;}
.secint{width:50%; margin:0 auto; padding:1em; display:flex; align-items:center; justify-content:center; font-size:18px; padding:1em 2em 1em; max-width:540px;}
.secboxb .secint strong, .secboxb .secint h2{color:var(--color-a);}
@media only screen and (max-width:539.9px) {
.secint {font-size:16px;}
}
@media only screen and (min-width:540px) and (max-width:810px) {
.secint {font-size: -webkit-calc(100vw / 45); font-size: calc(100vw / 45); padding:1em 1em 0;}
}
.faqstyle dt, .editor-styles-wrapper .faqstyle dt {
  margin-bottom: 1em; color: var(--color-e); text-indent: -1.5em; padding-left: 1.5em;
}
.faqstyle dt::before, .editor-styles-wrapper .faqstyle dt::before { color:var(--color-c); content: "Q."; font-weight:700; }
.gallery{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 24px;
}
@media (min-width:1000px) {
.gallery{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.gallery > p{
  display: contents;
  margin: 0;
}
.gallery img{
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f6f6f6;
  border-radius: 10px;
  display:block;
  cursor: zoom-in;
}
.gallery a{
  display:block;
}
@media screen and (max-width:540px) {
.fix-bg{height:100vh;}
.poa{width:90%;}
}
@media print, screen and (min-width:834px) {
.fix-bg{height:450px;}
}
iframe {
  width: 100%;
  max-width: 560px; /* 最大幅の制限（任意） */
  height: auto;
  aspect-ratio: 16 / 9; /* 縦横比を維持 */
  display: block;
  margin: 0 auto; /* 左右の中央寄せ */
}

/* ---------------------------------------------------------
 * 2. トップページのファーストビュー（旧 ashimoto-common.css）
 * --------------------------------------------------------- */
/* フットケアあしもと：特殊エリアのみの共通CSS
 * 通常の見出し・ボックス・段組み・ボタン等は style.css を使用。
 * 色はWordPressカスタマイザー連動のCSS変数を使用。
 */

/* トップページ：ヒーロー（PC） */
.ash-fv {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-a);
}
.ash-fv-photo { position: absolute; inset: 0; }
.ash-fv-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.ash-fv::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--color-g) 0%, var(--color-g) 29%, transparent 85%);
  opacity: .92;
  pointer-events: none;
}
.ash-fv-body {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 40px));
  max-width: 1100px;
  margin: auto;
  padding: 70px 0;
}
.ash-fv-body > p, .ash-fv-body h1 { max-width: 640px; }
.ash-fv h1 {
  color: var(--color-e);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.5;
  margin: 15px 0 22px;
  overflow-wrap: normal;
  word-break: keep-all;
}
.ash-fv .btn { margin: 5px 5px 5px 0; }

/* トップページ：最終CTA */
.ash-final-cta {
  background: var(--color-e);
  padding: 65px 20px;
  text-align: center;
  color: #fff;
}
.ash-final-cta h2 {
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  font-size: clamp(23px, 2.5vw, 32px);
}
.ash-final-cta p { color: #fff; }
.ash-final-cta .btn { background: var(--color-g); color: var(--color-e); }

/* スマホ：写真 → コピー → ボタンの縦並び */
@media screen and (max-width: 700px) {
  .ash-fv {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    height: auto;
    overflow: visible;
    background: var(--color-g);
  }
  .ash-fv-photo {
    position: relative;
    inset: auto;
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
  .ash-fv-photo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }
  .ash-fv::before { content: none; display: none; }
  .ash-fv-body {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 26px 20px 36px;
    background: var(--color-g);
    color: var(--color-e);
  }
  .ash-fv-body > p, .ash-fv-body h1 { max-width: none; }
  .ash-fv h1 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.5;
    margin: 15px 0 20px;
    padding: 16px 15px;
    border: 3px double var(--color-e);
    overflow-wrap: anywhere;
  }
  .ash-fv .btn { display: inline-block; margin: 4px 6px 4px 0; }
  .ash-final-cta { padding: 45px 16px; }
}

/* お客様の声：カードの写真はホワイトボード部分（横4：縦3）を切らずに表示 */
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) .onepr-voice-card .onepr-voice-photo{aspect-ratio:4/3;}
:where(.editor-styles-wrapper, .wp-site-blocks, .entry-content, #wrap, .mce-content-body) .onepr-voice-card .onepr-voice-photo img{object-position:center;}
