@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&family=Zen+Old+Mincho&display=swap');

/* --- パソコン用（幅 769px 以上）--- */
@media screen and (min-width: 769px) {
  .target {
    margin-top: 110px; /* 上に100pxの隙間 */
  }
}

/* --- スマホ用（幅 768px 以下）--- */
@media screen and (max-width: 768px) {
  .target {
    margin-top: 70px; /* 上に40pxの隙間 */
  }
}

/* h2だけ明朝体に */
h2 {
  font-family: 'Zen Old Mincho', serif;
  font-weight: bold;
}

hr {
  border: none; /* 元のブラウザデフォルトをリセット */
  border-top: 1px solid #eeeeee; /* 好きな線を指定 */
  height: 0; /* 高さを消す */
  margin: 16px 0; /* お好みで上下の余白 */
}

/* コンテナ */
.yattre-policies-container {
    max-width: 800px;
    margin: 0 auto;
}

/* h2 スタイル */
.yattre-h2 {
  font-family: 'Zen Old Mincho', serif;
  font-weight: bold;
  text-align: center;
  font-size: 24px;
  margin-bottom: 40px;
  color: #569f59; /* 深めの緑 */
  position: relative;
  line-height: 1;
}

/* h2上の小文字 */
.yattre-h2-small {
  font-family: 'Zen Old Mincho', serif;
  font-weight: normal;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  font-size: 12px;
  line-height: 1;
  color: #4caf50; /* 明るめの緑でバランス */
  white-space: nowrap;
  pointer-events: none;
}

/* 改行 */
.text-sp {
  display: none;
}
.text-pc {
  display: block;
}

/* 改行 */
@media screen and (max-width: 768px) {
  .text-sp {
    display: block;
  }
  .text-pc {
    display: none;
  }
}

/* h1含むその他は Zen Maru Gothic */
body,
html:lang(ja) p,
html:lang(ja) span,
html:lang(ja) h1,
html:lang(ja) h3,
html:lang(ja) h4,
html:lang(ja) h6,
html:lang(ja) li,
html:lang(ja) a,
html:lang(ja) td,
html:lang(ja) th,
html:lang(ja) caption,
html:lang(en) p,
html:lang(en) span,
html:lang(en) h1,
html:lang(en) h3,
html:lang(en) h4,
html:lang(en) h6,
html:lang(en) li,
html:lang(en) a,
html:lang(en) td,
html:lang(en) th,
html:lang(en) caption {
  font-family: 'Zen Maru Gothic', sans-serif;
}

/* Google Fontsの!高速!!読み込み! */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gruppo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Mincho&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* 全体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

/* スクロール可能だがスクロールバー非表示 */
/* Chrome, Safari, Edge */
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent; /* 背景を透明にして見えなくする */
}

/* Firefox */
html {
  scrollbar-width: none; /* Firefoxでスクロールバー非表示 */
}

/* IE, Edge 旧版 */
body {
  -ms-overflow-style: none; /* IE 10+ 用 */
}

body {
  background-color: #ffffff;
  font-family: 'Zen Maru Gothic', sans-serif;
  margin: 0;
  padding: 0;
}
  
.section {
  display: none;
  min-height: 70vh;
}

.section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 34px;
}

::selection {
  color: #8ac496;
}

/* スマホや小さい画面では無効（非表示にする例） */
#container1 {
  padding: 0 30px;
}

/* 画面幅が768px以上（タブレット以上、一般的にパソコン画面）で表示 */
@media screen and (min-width: 768px) {
  #container1 {
padding: 0 150px;
  }
}

/* 更新サイズ */
.size111 {
font-size: 0.8em;
color: #000000; 
margin-left: 10px;
}

.link-button {
display: inline-block;
background-color: #333;
color: white;
padding: 4px 12px;
border-radius: 4px;
font-size: 0.8em;
text-decoration: none;
margin: 0 4px;
}

.link-button1 {
display: inline-block;
color: rgb(129, 194, 94);
text-decoration: none;
}

/* デスクトップでは非表示、スマホ（例：幅767px以下）で高さをとる */
.mobile-only-spacer {
display: none;
}
@media (max-width: 767px) {
.mobile-only-spacer {
display: block;
height: 60px; /* ここで空けたい高さを調整 */
}
}

/* スマホもPCも同じ高さ */
.pc-mobile-spacer {
  display: block;
  height: 60px; 
}

/* <br>のように区切る✖️スペース */
/* スマホ専用改行＋スペース（768px以下） */
@media screen and (max-width: 768px) {
  .bra-sp::after {
    content: "\A\3000";  /* 改行＋全角スペース */
    white-space: pre;
  }
}

/* パソコン専用改行＋スペース（769px以上） */
@media screen and (min-width: 769px) {
  .bra-pc::after {
    content: "\A\3000";  /* 改行＋全角スペース */
    white-space: pre;
  }
}

/* <br>のように区切るのみ */
  /* スマホ専用改行（768px以下） */
  @media screen and (max-width: 768px) {
    .bre-sp::after {
      content: "\A";
      white-space: pre;
    }
  }

  /* パソコン専用改行（769px以上） */
  @media screen and (min-width: 769px) {
    .bre-pc::after {
      content: "\A";
      white-space: pre;
    }
  }

/* ページトップ */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
  z-index: 99999;
}

/* スマホ用 */
@media (max-width: 768px) {
  #scrollToTopBtn {
    width: 70px;
    height: 200px;
    right: -20px;
    bottom: 57px;
  }
}

/* PC用 */
@media (min-width: 769px) {
  #scrollToTopBtn {
    width: 200px;
    height: 200px;
    right: -75px;
    bottom: 10px;
  }
}

#scrollToTopBtn.show {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

#scrollToTopBtn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: floatY 4s ease-in-out infinite;
  transform-origin: center center;
  transition: transform 0.3s ease;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

#scrollToTopBtn:hover img,
#scrollToTopBtn:focus img {
  animation-play-state: paused;
  transform: scale(1.15) rotate(5deg);
  transition: transform 0.3s ease;
}

#scrollToTopBtn:active img {
  animation-play-state: paused;
  transform: scale(0.95) rotate(0deg);
  transition: transform 0.1s ease;
}

@media (hover: none) and (pointer: coarse) {
  #scrollToTopBtn:focus img {
    animation-play-state: running !important;
    transform: none !important;
  }
}

/* フェードアニメーション（追加） */
#scrollToTopBtn,
.hcy-mobile-nav {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hidden-fade {
  opacity: 0 !important;
  transform: translateY(20px);
  pointer-events: none !important;
}

/* 共通アニメーション */
.fade-hide {
  opacity: 0 !important;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none !important;
}

.fade-show {
  opacity: 1 !important;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: auto;
}

/* ニュース */


                .blog10-container {
                max-width: 800px;
                margin: 0 auto;
                padding: 40px 40px 20px 40px;
                min-height: auto;
                box-sizing: border-box;
                line-height: 1.6;
            }
            
            .blog10-container * {
                box-sizing: border-box;
            }

            .blog10-header-section {
                display: flex;
                align-items: center;
                margin-bottom: 5px;
            }

            .blog10-date {
                font-size: 14px;
                color: #666;
                font-weight: normal;
            }

            .blog10-share-btn {
                border: none;
                cursor: pointer;
                text-decoration: none;
                background: none;
                padding: 0;
                margin: 0;
                margin-left: 8px;
                border-radius: 50%;
                overflow: hidden;
            }

            .blog10-share-btn img {
                width: 30px;
                height: 30px;
            }

            .blog10-title {
                font-size: 22px;
                font-weight: bold;
                color: #333;
                margin-bottom: 30px;
                margin-top: 5px;
                text-align: left;
                line-height: 1.6;
                border-bottom: 1px solid #ddd;
                padding-bottom: 20px;
            }

            .blog10-content {
                font-size: 16px;
                line-height: 1.8;
                margin-bottom: 30px;
                text-align: left;
            }

            .blog10-project-image {
                width: 100%;
                max-width: 800px;
                height: auto;
                margin-bottom: 30px;
                border-radius: 8px;
                overflow: hidden;
            }



            .blog10-company-link {
                text-align: left;
                margin-top: 0;
                margin-bottom: 0;
                padding-top: 0;
            }

            .blog10-company-link a {
                color: #4a90e2;
                text-decoration: none;
                font-weight: bold;
            }

            .blog10-company-link a:hover {
                text-decoration: underline;
                color: #357abd;
            }

            @media (max-width: 768px) {
                .blog10-container {
                    padding: 20px 15px 15px 15px;
                }

                .blog10-title {
                    font-size: 20px;
                    margin-bottom: 20px;
                    padding-bottom: 15px;
                }

                .blog10-date {
                    font-size: 12px;
                }

                .blog10-content {
                    margin-bottom: 20px;
                }

                .blog10-project-image {
                    margin-bottom: 20px;
                }

                .blog10-company-link {
                    margin-top: 0;
                    margin-bottom: 0;
                    padding-top: 0;
                }

                .blog10-description {
                    font-size: 14px;
                }
            }

            /* Desktop styles for larger screens */
            @media (min-width: 769px) {
                .blog10-container {
                    max-width: 1000px;
                    padding: 50px 50px 30px 50px;
                    line-height: 1.7;
                }

                .blog10-header-section {
                    margin-bottom: 8px;
                }

                .blog10-date {
                    font-size: 14px;
                }

                .blog10-share-btn {
                    margin-left: 10px;
                }

                .blog10-share-btn img {
                    width: 35px;
                    height: 35px;
                }

                .blog10-title {
                    font-size: 22px;
                    margin-bottom: 40px;
                    margin-top: 5px;
                    padding-bottom: 25px;
                    line-height: 1.6;
                }

                .blog10-content {
                    font-size: 16px;
                    line-height: 1.9;
                    margin-bottom: 40px;
                }

                .blog10-project-image {
                    max-width: 1000px;
                    margin-bottom: 40px;
                    border-radius: 10px;
                }

                .blog10-paragraph {
                    font-size: 16px;
                }

                /* Arrow icon scaling for desktop */
                .fa-solid.fa-arrow-down {
                    font-size: 120px !important;
                }

                /* Image caption text scaling */
                div[style*="text-align: right"] span {
                    font-size: 15px !important;
                }
            }

            /* Extra large desktop styles */
            @media (min-width: 1200px) {
                .blog10-container {
                    max-width: 1200px;
                    padding: 60px 60px 40px 60px;
                }

                .blog10-title {
                    font-size: 22px;
                    margin-bottom: 45px;
                    margin-top: 5px;
                    padding-bottom: 30px;
                }

                .blog10-content {
                    font-size: 16px;
                    line-height: 2.0;
                    margin-bottom: 45px;
                }

                .blog10-date {
                    font-size: 14px;
                }

                .blog10-share-btn img {
                    width: 38px;
                    height: 38px;
                }

                .blog10-project-image {
                    max-width: 1200px;
                    margin-bottom: 45px;
                }

                .blog10-paragraph {
                    font-size: 16px;
                }

                .fa-solid.fa-arrow-down {
                    font-size: 130px !important;
                }

                div[style*="text-align: right"] span {
                    font-size: 16px !important;
                }
            }

            /* 一時的なテキストエリア用 */
            .blog10-temp-textarea {
                position: fixed !important;
                left: -9999px !important;
                top: -9999px !important;
                opacity: 0 !important;
                pointer-events: none !important;
            }

            /* ボディの余白を削除 */
            body {
                margin: 0;
                padding: 0;
            }

            html {
                margin: 0;
                padding: 0;
            }

            /* blog10プレフィックス追加スタイル */
            .blog10-section {
                position: relative;
                isolation: isolate;
            }

            .blog10-paragraph {
                margin: 0;
            }

/* 通報・ブロックボタン */
  .block-report-container {
    position: fixed;
    bottom: 12px;
    right: 12px;
    z-index: 99999;
  }
  .br-button {
    background: white;
    border: 1px solid #888;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    transition: box-shadow .2s ease, transform .15s ease;
    white-space: nowrap;
  }
  .br-button.blocked {
    border-color: #d9534f;
    color: #d9534f;
    font-weight: 600;
  }
  .br-button:active {
    transform: scale(.95);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
  }

  .br-popover {
    position: absolute;
    bottom: 110%;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 6px 0;
    min-width: 140px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    font-size: 13px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
    transform-origin: bottom right;
    opacity: 0;
  }
  .br-popover.show {
    display: flex;
    animation: pop-in .25s cubic-bezier(.22,.66,.33,1) forwards;
  }
  .br-popover.hide {
    animation: pop-out .15s ease-in forwards;
  }
  @keyframes pop-in {
    from { opacity: 0; transform: translateY(6px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes pop-out {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(4px) scale(.97); }
  }
  .br-popover::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 14px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: white;
  }
  .br-option {
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .15s;
    outline: none;
  }
  .br-option:hover, .br-option:focus {
    background: #f2f2f2;
  }
  .br-option span {
    flex: 1;
  }
  .br-option i {
    width: 16px;
    text-align: center;
  }

  /* モーダル背景白 */
  .br-blocked-placeholder {
    position: fixed;
    inset: 0;
    background: white;
    pointer-events: auto;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .br-blocked-card {
    background: transparent;
    border-radius: 14px;
    padding: 28px 24px;
    max-width: 440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #1e1e27;
    position: relative;
    border: none !important;
    box-shadow: none !important;
  }
  .br-icon {
    font-size: 42px;
    align-self: center;
    color: #d9534f;
    margin-bottom: 4px;
  }
  .br-blocked-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    letter-spacing: .4px;
    margin: 0;
  }
  .br-blocked-desc {
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }
  .br-time {
    background: #f5f6fa;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    border: 1px solid #e3e5ed;
  }
  .br-time-label {
    font-weight: 600;
    margin-right: 6px;
  }
  .br-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .br-unblock-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    flex: 1;
    min-width: 140px;
    transition: filter .2s;
  }
  .br-unblock-btn:active {
    filter: brightness(.85);
  }
  .br-small {
    font-size: 12px;
    text-align: center;
    color: #666;
  }

  @media (max-width: 600px) {
    .br-blocked-card {
      padding: 20px 16px;
    }
    .br-blocked-title {
      font-size: 18px;
    }
    .br-unblock-btn {
      font-size: 13px;
      padding: 10px 14px;
    }
  }

/* 下記に表示令 */
    .ggg-main-content {
      flex: 1;
      padding: 20px;
    }

    .ggg-main-content a:hover {
      opacity: 0.7;
    }

    .ggg-footer {
      text-align: center;
      padding: 20px 0;
      font-size: small;
    }

    .ggg-nav-container {
      display: inline-block;
      width: 80%;
      max-width: 300px;
      position: relative;
      height: 40px;
    }

    .ggg-nav-left {
      position: absolute;
      left: 0;
      transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    .ggg-nav-left:hover {
      transform: translateX(-3px);
    }

    .ggg-nav-right {
      position: absolute;
      right: 0;
      transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    .ggg-nav-right:hover {
      transform: translateX(3px);
    }

    .ggg-footer-links {
      margin-top: 10px;
    }

    .ggg-footer-link {
      color: #000000;
      margin: 0 5px;
      text-decoration: none;
    }

    .ggg-footer-brand {
      font-size: 1.5em;
      font-weight: bold;
      display: block;
    }

/* パソコン */
.ggg-footer-logo {
  max-width: 350px;
  width: 100%;
  height: auto;
}

/* スマホ */
@media (max-width: 600px) {
  .ggg-footer-logo {
    max-width: 300px;
  }
}

/* タイトル */
  .image-container {
    position: relative;
    width: 100%;
    height: 306px; /* 元画像の高さに合わせる */
    background-image: url('');
    background-size: cover;
    background-position: center;
  }

  .dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(217, 237, 209); /* 半透明の黒いオーバーレイ */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.184); /* ← 背景全体に影をつける */
    border-radius: 8px; /* 任意：角丸 */
    z-index: 0;
  }

  .centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    z-index: 1;
  }

  /* ↓ スマホサイズ対応（高さを小さく） */
  @media screen and (max-width: 768px) {
    .image-container {
      height: 170px;
    }

    .centered-text {
      font-size: 2em;
    }
  }


/* ====== アンケート ====== */
  .jndr-contact-container {
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    min-height: 100vh;
    max-width: 600px;
  }

  .jndr-contact-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
  }

  .jndr-contact-form-group {
    margin-bottom: 30px;
  }

  .jndr-contact-form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
  }

  .jndr-contact-required {
    color: red;
  }

  /* 入力欄の共通背景 */
  .jndr-contact-form-input,
  .jndr-contact-radio-box,
  .jndr-contact-textarea {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    background-color: #f0f0f0; /* ← 背景削除しない */
    color: #333;
    outline: none;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
    display: block;
  }

  .jndr-contact-form-input:focus,
  .jndr-contact-textarea:focus {
    background-color: #e8e8e8;
  }

  /* ====== ラジオボタン ====== */
  .jndr-contact-radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }

  .jndr-contact-radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .jndr-contact-radio-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    position: relative;
  }

  .jndr-contact-radio-item input[type="radio"]:checked {
    border-color: #7ab88e;
    background-color: white;
  }

  .jndr-contact-radio-item input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #7ab88e;
  }

  .jndr-contact-radio-item label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
  }

  /* ====== 送信ボタン ====== */
  .jndr-contact-submit-button {
    display: block;
    padding: 12px 40px;
    border: 2px solid #666;
    background-color: transparent;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 20px auto 0 auto;
    box-sizing: border-box;
    width: auto;
    min-width: 200px;
  }

  .jndr-contact-submit-button:hover {
    background-color: #666;
    color: white;
  }

  .jndr-contact-redo-button {
    border: 2px solid red;
    background-color: red !important;
    color: #fff !important;
  }

  @media (max-width: 480px) {
    .jndr-contact-container {
      padding: 30px 15px;
    }
    .jndr-contact-form-title {
      font-size: 18px;
    }
    .jndr-contact-radio-group {
      flex-direction: column;
      gap: 15px;
    }
  }