@charset "UTF-8";
/*
Template: swell
Theme Name: HAMA CHILD
Theme URI: https://swell-theme.com/
Description: 浜松こども基金
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
*/


/* フォント指定 */

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
}
.zen-kaku-gothic-new-regular {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.zen-kaku-gothic-new-bold {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* 全体 */
.w-900 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.w-800 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.w-640 {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.w-600 {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.w-480 {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}
.w-240 {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}
.w-160 {
    width: 100%;
    max-width: 160px;
    margin: 0 auto;
}
.w-80 {
    width: 100%;
    max-width: 80px;
    margin: 0 auto;
}
.relative {
    position: relative !important;
}
.absolute {
    position: absolute !important;
}
.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}
.mt--4 {
    margin-top: -1rem;
}
.mt--8 {
    margin-top: -2rem;
}
.mt--12 {
    margin-top: -3rem;
}

.br-r img {
    border-radius: 2rem !important;
}

.br-row-0 td {
    border-left: none;
    border-right: none;
}

.l-content {
    margin-bottom: 0 !important;
}

/* 固定ページタイトル非表示 */
h1.c-pageTitle {
    display: none;
}
.l-mainContent__inner>.post_content {
    margin-top: 0;
}

@media (min-width: 600px) {
    .l-content {
        padding-top: 2em;
    }
}

/* トップページ */
.top #content {
    padding-top: 1rem;
}
.p-mainVisual {
    max-width: 1200px;
    margin: 0 auto;
}
.p-mainVisual img {
    border-radius: 2rem;
}

.p-mainVisual__textLayer {
    bottom: 0;
    display: block;
}
.p-mainVisual__slideTitle {
    position: absolute;
    text-align: left;
    bottom: 5%;
    font-weight: bold;
}

@media (min-width:960px) {
.home .-type-simple .p-postList__body {
    display: flex;
    justify-content: space-between;
}
}
.-type-simple .p-postList__link {
    padding-top:.25rem;
    padding-bottom:.25rem;
}
.home .-type-simple .p-postList__body time {
    font-size: 1rem;
}

.home .-type-simple .p-postList__body time::before {
    display: none;
}

#member img {
    background: #7EBDC2;
    border-radius: 50%;
    padding: .5rem;
}


/*  投稿ページ */
.single-post .l-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
    max-width: 800px;
}
.single-post .l-mainContent__inner>.post_content {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.num_circle_orange li:before {
    background-color: #EA5514;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #EA5514;
    box-sizing: content-box;
    color: #fff;
    content: counter(li);
    counter-increment: li;
    display: block;
    height: 1.8em;
    left: 1px;
    line-height: 1.8;
    padding: 0;
    position: absolute;
    text-align: center;
    top: -.15em;
    -webkit-transform: scale(.75);
    transform: scale(.75);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    width: 1.8em;
}


/* 右サイド固定ボタンのラッパー */
.side-fixed-buttons {
    display: none;
}
@media (min-width: 960px) {
    .side-fixed-buttons {
      position: fixed;
      right: 0;
      top: 30%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 8px;
      z-index: 1000;
    }

    /* 共通ボタンスタイル */
    .side-fixed-buttons a {
      display: flex;
      align-items: center;
      justify-content: center;
      writing-mode: vertical-rl; /* 縦書き */
      text-orientation: mixed;
      width: 40px;
      padding: 20px 10px;
      font-size: 14px;
      font-weight: bold;
      color: #fff;
      text-decoration: none;
      letter-spacing: 0.1em;
      border-radius: 8px 0 0 8px; /* 左側だけ角丸 */
      transition: opacity 0.2s ease, width 0.2s ease;
    }

    .side-fixed-buttons a:hover {
      opacity: 0.85;
    }

    /* 「助成を受ける」ボタン */
    .side-fixed-buttons .btn-grant {
      background-color: #7ebdc2;
    }

    /* 「寄付する」ボタン */
    .side-fixed-buttons .btn-donate {
      background-color: #F39800;
    }
}

.error404 .l-content {
    margin-bottom: 6em !important;
}

/* フッター */
.l-footer__foot .l-container {
    border-top: 1px solid #fafafa;
    max-width: 1200px;
    padding-top: 1rem;
}
.c-listMenu a {
    border-bottom: none;
    padding: .5em 1em .5em 1.5em;
    transition: padding .25s;
}
@media (min-width: 960px) {
.w-footer__box {
    padding: 1rem 0;
}

}
/* フッターウィジェットボックスのはみ出し修正 */
@media (min-width: 960px) {
  .w-footer__box {
    min-width: 0;
  }
}
/* フッター内の alignfull ブロックを通常幅に戻す */
.l-footer .alignfull {
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  position: static !important;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-block-social-link {
    background-color: rgb(255 255 255 / 0);
    border: 1px solid #ffffff;
}


/* アーカイブページ */
.archive .l-content {
    padding-bottom: 8rem;
}
.archive .c-pageTitle {
    display: block;
}
.archive .c-pageTitle__subTitle {
    display: none;
}

input::placeholder {
  opacity: 0.8;
  color: #aaa;
  font-size: 0.9rem;
}

/* シェイプ */
/* ===== ラッパー（基準となるrelative） ===== */
.card-wrapper {
  position: relative;
  margin: 0 auto;
}

/* ===== グレーのシェイプ共通 ===== */
.shape {
  position: absolute;
  z-index: -99;
}

/* 左のシェイプ */
.shape-l {
  width: 300px;
  top: 25%;
  left: -240px;
}

/* 右のシェイプ */
.shape-r {
  width: 280px;
  top: -20%;
  right: -220px;
}

/* ===== メイン画像エリア ===== */
.card-image-wrap {
  position: relative;
  z-index: 1;
  width: 520px;
  margin: 0 auto;
}

.card-image {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* ===== 顔マークアイコン（card-wrapperを基準に配置） ===== */
.face-top {
  position: absolute;
  width: 90px;
  bottom: 80px;   /* card-wrapper基準で調整 */
  right: -40px;    /* card-wrapper基準で調整 */
  z-index: 2;
}

/* ===== モバイル：グレーシェイプを非表示 ===== */
@media (max-width: 600px) {
  .shape {
    display: none;
  }

  .card-wrapper {
    width: 100%;
  }

  .card-image-wrap {
    width: 90%;
  }

  .face-top {
    width: 80px;
    bottom: 33%;
    right: -10%;
  }
}

/* 区切り線 */

.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.shape-divider .shape-fill {
    fill: #F7F7F7;
}


/* 見出し装飾 */
/* === deco共通 === */
.deco_o, .deco_blue, .deco_l-blue,
.home h2.deco_o, .home h2.deco.blue, .home h2.deco_l-blue {
  position: relative !important;
  margin-bottom: 6rem !important;
}
h2.deco_o, h2.deco_blue, h2.deco_l-blue {
  margin-bottom: 3rem !important;
}
/* ========================================
   deco_o（オレンジ）
======================================== */
/* 中央揃え（is-style-section_ttl使用） */
.post_content .is-style-section_ttl.deco_o::after {
  content: " " !important;
  background-image: url("https://hama-child.com/cms/wp-content/uploads/2026/02/title_deco_orange.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center; /* ← 中央に */
  position: absolute !important;
  top: 2.8rem;
  left: 0;
  width: 100% !important;
  height: 30% !important;
}
/* 左揃え（has-text-align-left、is-style-section_ttlなし） */
.post_content .deco_o.has-text-align-left::after {
  content: " " !important;
  background-image: url("https://hama-child.com/cms/wp-content/uploads/2026/02/title_deco_orange.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center; /* ← 左に */
  position: absolute !important;
  top: 2.8rem;
  left: 0;
  width: 100% !important;
  height: 30% !important;
}
/* ========================================
   deco_blue（青）
======================================== */
.post_content .is-style-section_ttl.deco_blue::after {
  content: " " !important;
  background-image: url("https://hama-child.com/cms/wp-content/uploads/2026/02/title_deco_blue.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  position: absolute !important;
  top: 2.8rem;
  left: 0;
  width: 100% !important;
  height: 30% !important;
}
.post_content .deco_blue.has-text-align-left::after {
  content: " " !important;
  background-image: url("https://hama-child.com/cms/wp-content/uploads/2026/02/title_deco_blue.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  position: absolute !important;
  top: 2.8rem;
  left: 0;
  width: 100% !important;
  height: 30% !important;
}
/* ========================================
   deco_l-blue（水色）
======================================== */
.post_content .is-style-section_ttl.deco_l-blue::after {
  content: " " !important;
  background-image: url("https://hama-child.com/cms/wp-content/uploads/2026/02/title_deco_lightblue.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  position: absolute !important;
  top: 2.8rem;
  left: 0;
  width: 100% !important;
  height: 30% !important;
}
.post_content .deco_l-blue.has-text-align-left::after {
  content: " " !important;
  background-image: url("https://hama-child.com/cms/wp-content/uploads/2026/02/title_deco_lightblue.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  position: absolute !important;
  top: 2.8rem;
  left: 0;
  width: 100% !important;
  height: 30% !important;
}

/* 表デザイン */
.br-w-0 td {
    border: none;
}
.br-w-1 td {
    border:solid 0.25rem;
}

.hr-br {
    height: 3px;
    width: 120px;
    border-radius: 1rem;
}


/* tailwind記述 */
/* Tailwind CSS Spacing System
  Scale: 1 = 0.25rem = 4px
*/

/* --- MARGIN (m, mx, my, mt, mr, mb, ml) --- */

/* 0 (0px) */
.m-0 { margin: 0px; } .mx-0 { margin-left: 0px; margin-right: 0px; } .my-0 { margin-top: 0px; margin-bottom: 0px; }
.mt-0 { margin-top: 0px; } .mr-0 { margin-right: 0px; } .mb-0 { margin-bottom: 0px; } .ml-0 { margin-left: 0px; }

/* 0.5 (2px) */
.m-0\.5 { margin: 0.125rem; } .mx-0\.5 { margin-left: 0.125rem; margin-right: 0.125rem; } .my-0\.5 { margin-top: 0.125rem; margin-bottom: 0.125rem; }
.mt-0\.5 { margin-top: 0.125rem; } .mr-0\.5 { margin-right: 0.125rem; } .mb-0\.5 { margin-bottom: 0.125rem; } .ml-0\.5 { margin-left: 0.125rem; }

/* 1 (4px) */
.m-1 { margin: 0.25rem; } .mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; } .my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.mt-1 { margin-top: 0.25rem; } .mr-1 { margin-right: 0.25rem; } .mb-1 { margin-bottom: 0.25rem; } .ml-1 { margin-left: 0.25rem; }

/* 2 (8px) */
.m-2 { margin: 0.5rem; } .mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; } .my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.mt-2 { margin-top: 0.5rem; } .mr-2 { margin-right: 0.5rem; } .mb-2 { margin-bottom: 0.5rem; } .ml-2 { margin-left: 0.5rem; }

/* 4 (16px) */
.m-4 { margin: 1rem; } .mx-4 { margin-left: 1rem; margin-right: 1rem; } .my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; } .mr-4 { margin-right: 1rem; } .mb-4 { margin-bottom: 1rem; } .ml-4 { margin-left: 1rem; }

/* 8 (32px) */
.m-8 { margin: 2rem; } .mx-8 { margin-left: 2rem; margin-right: 2rem; } .my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; } .mr-8 { margin-right: 2rem; } .mb-8 { margin-bottom: 2rem; } .ml-8 { margin-left: 2rem; }

/* 12 (48px) */
.m-12 { margin: 3rem; } .mx-12 { margin-left: 3rem; margin-right: 3rem; } .my-12 { margin-top: 3rem; margin-bottom: 3rem; }
.mt-12 { margin-top: 3rem; } .mr-12 { margin-right: 3rem; } .mb-12 { margin-bottom: 3rem; } .ml-12 { margin-left: 3rem; }

/* --- PADDING (p, px, py, pt, pr, pb, pl) --- */

/* 0 (0px) */
.p-0 { padding: 0px; } .px-0 { padding-left: 0px; padding-right: 0px; } .py-0 { padding-top: 0px; padding-bottom: 0px; }
.pt-0 { padding-top: 0px; } .pr-0 { padding-right: 0px; } .pb-0 { padding-bottom: 0px; } .pl-0 { padding-left: 0px; }

/* 0.5 (2px) */
.p-0\.5 { padding: 0.125rem; } .px-0\.5 { padding-left: 0.125rem; padding-right: 0.125rem; } .py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.pt-0\.5 { padding-top: 0.125rem; } .pr-0\.5 { padding-right: 0.125rem; } .pb-0\.5 { padding-bottom: 0.125rem; } .pl-0\.5 { padding-left: 0.125rem; }

/* 1 (4px) */
.p-1 { padding: 0.25rem; } .px-1 { padding-left: 0.25rem; padding-right: 0.25rem; } .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.pt-1 { padding-top: 0.25rem; } .pr-1 { padding-right: 0.25rem; } .pb-1 { padding-bottom: 0.25rem; } .pl-1 { padding-left: 0.25rem; }

/* 2 (8px) */
.p-2 { padding: 0.5rem; } .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; } .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.pt-2 { padding-top: 0.5rem; } .pr-2 { padding-right: 0.5rem; } .pb-2 { padding-bottom: 0.5rem; } .pl-2 { padding-left: 0.5rem; }

/* 4 (16px) */
.p-4 { padding: 1rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pt-4 { padding-top: 1rem; } .pr-4 { padding-right: 1rem; } .pb-4 { padding-bottom: 1rem; } .pl-4 { padding-left: 1rem; }

/* 8 (32px) */
.p-8 { padding: 2rem; } .px-8 { padding-left: 2rem; padding-right: 2rem; } .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-8 { padding-top: 2rem; } .pr-8 { padding-right: 2rem; } .pb-8 { padding-bottom: 2rem; } .pl-8 { padding-left: 2rem; }

/* 12 (48px) */
.p-12 { padding: 3rem; } .px-12 { padding-left: 3rem; padding-right: 3rem; } .py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-12 { padding-top: 3rem; } .pr-12 { padding-right: 3rem; } .pb-12 { padding-bottom: 3rem; } .pl-12 { padding-left: 3rem; }

/* --- 特殊なスケール（大きな余白など） --- */
.m-16 { margin: 4rem; } .mt-16 { margin-top: 4rem; } .mb-16 { margin-bottom: 4rem; }
.p-16 { padding: 4rem; } .pt-16 { padding-top: 4rem; } .pb-16 { padding-bottom: 4rem; }

.m-24 { margin: 6rem; } .mt-24 { margin-top: 6rem; } .mb-24 { margin-bottom: 6rem; }
.p-24 { padding: 6rem; } .pt-24 { padding-top: 6rem; } .pb-24 { padding-bottom: 6rem; }

.m-32 { margin: 8rem; } .p-32 { padding: 8rem; }
.m-64 { margin: 16rem; } .p-64 { padding: 16rem; }
.m-96 { margin: 24rem; } .p-96 { padding: 24rem; }

/* Auto */
.m-auto { margin: auto; } .mx-auto { margin-left: auto; margin-right: auto; } .my-auto { margin-top: auto; margin-bottom: auto; }
.mt-auto { margin-top: auto; } .mr-auto { margin-right: auto; } .mb-auto { margin-bottom: auto; } .ml-auto { margin-left: auto; }