@charset "UTF-8";
/* about.html専用: パソコンで旧デザインを維持し、スマホだけ表示を組み替える。 */
body.legacy-illustration .about-mobile-view {display:none;}
body.legacy-illustration .about-original-layout {display:block;}
@media screen and (max-width: 940px) {
  body.legacy-illustration #MainCenter {overflow:visible !important; text-align:left; min-width:0;}
  body.legacy-illustration #MainContents {min-width:0; padding:0 12px 22px;}
  body.legacy-illustration .about-original-layout {display:none !important;}
  body.legacy-illustration .about-mobile-view {display:block; min-width:0; max-width:100%; margin:12px auto 0; color:#554735; font-size:15px; line-height:1.75; overflow-wrap:anywhere;}
  .about-mobile-view *, .about-mobile-view *::before, .about-mobile-view *::after {box-sizing:border-box;}
  .about-mobile-view img {max-width:100%; height:auto; vertical-align:middle;}
  .about-m-heading {position:relative; overflow:hidden; padding:22px 16px 12px; background:linear-gradient(140deg,#fff5dc 0%,#fff 100%); border-radius:14px; border:1px solid #ffe4bd; text-align:center;}
  .about-m-heading .about-m-eyebrow {margin:0 0 4px; color:#c57926; font-size:10px; font-weight:700; letter-spacing:.12em;}
  .about-m-heading h1 {margin:0 0 10px; padding:0; font-size:21px; line-height:1.4; color:#9b4d18; font-weight:800;}
  .about-m-heading p {margin:0; font-size:14px; line-height:1.6; color:#664a34;}
  .about-m-heading .about-m-mascot {display:block; width:86px; height:auto; margin:6px auto -5px;}
  .about-m-section {margin:19px 0; padding:16px 14px; background:#fff; border-radius:12px; border:1px solid #f0e0c7; box-shadow:0 2px 8px rgba(116,81,31,.05);}
  .about-m-section h2 {margin:0 0 13px; padding:0 0 9px 11px; border-left:5px solid #ef8c24; border-bottom:1px solid #f3e4d3; color:#8b4a1c; line-height:1.4; font-weight:800; font-size:18px;}
  .about-m-section p {margin:0 0 11px; line-height:1.8;}
  .about-m-section p:last-child {margin-bottom:0;}
  .about-m-ideas {display:grid; grid-template-columns:1fr; gap:10px;}
  .about-m-idea {display:flex; align-items:center; min-height:64px; padding:9px 11px; border-radius:9px; color:#fff; gap:10px;}
  .about-m-idea .about-m-idea-num {flex:0 0 40px; font-size:23px; font-weight:800; opacity:.9; text-align:center;}
  .about-m-idea p {flex:1; margin:0; color:inherit; font-size:14px; font-weight:600; line-height:1.5;}
  .about-m-idea.green {background:#81b72a;}
  .about-m-idea.red {background:#cb7170;}
  .about-m-idea.orange {background:#f29820;}
  .about-m-idea.blue {background:#59bfc3;}
  .about-m-products {display:grid; grid-template-columns:1fr; gap:14px;}
  .about-m-product {padding:11px; border:1px solid #f0dfc9; border-radius:10px; background:#fffdf8; min-width:0;}
  .about-m-product h3 {margin:0 0 7px; color:#7d451b; font-size:16px; line-height:1.4;}
  .about-m-product > a:first-of-type {display:block; line-height:0;}
  .about-m-product img {display:block; width:100%; height:auto; border-radius:6px;}
  .about-mobile-view a.about-m-link, .about-mobile-view a.about-m-final-link {display:block; margin:10px auto 0; padding:11px 13px; border-radius:7px; background:#eb831d; color:#fff; text-align:center; font-size:14px; font-weight:700; line-height:1.5; text-decoration:none;}
  .about-m-option-image {display:block; width:100%; border-radius:5px;}
  .about-m-section.about-m-media .about-m-media-image {padding:9px; background:#fff8ea; border-radius:8px; text-align:center;}
  .about-m-section.about-m-media .about-m-media-image img {width:100%; max-width:567px; height:auto;}
  .about-mobile-view a.about-m-secondary {display:block; margin-top:10px; font-size:13px; text-align:center; color:#a45b1b; text-decoration:underline;}
  .about-m-final {margin:20px 0 12px; padding:21px 15px; background:#fff3d8; border:1px solid #f1d7aa; border-radius:12px; text-align:center;}
  .about-m-final h2 {margin:0 0 8px; font-size:19px; color:#854c19;}
  .about-m-final p {margin:0;}
  .about-mobile-view a:focus-visible {outline:3px solid #bd5800;outline-offset:3px;}
}
@media screen and (max-width:360px) {
  .about-m-heading h1 {font-size:19px;}
  .about-m-section {padding:14px 11px;}
  .about-m-section h2 {font-size:17px;}
}

/* 2026-11-02: 以前の画像デザインは保持して、PC画面の本文だけ中央へ配置 */
@media screen and (min-width: 941px) {
  body.legacy-illustration #MainCenter > .about-original-layout {
    display: block;
    width: 880px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  body.legacy-illustration .about-original-layout > table {
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0;
  }
}
/* スマホ版も本文の表示領域を画面中央に置く。文章は読みやすい左揃えを維持 */
@media screen and (max-width: 940px) {
  body.legacy-illustration #MainCenter > .about-mobile-view {
    display: block;
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}
