/*
Theme Name: Cocoon Child
Template: cocoon-master
*/

@charset "UTF-8";
/*font for icon*/
@import url(https://db.onlinewebfonts.com/c/d44f5c18179598dfd8f5b2e525301a45?family=GLYPHICONS+Halflings);

@font-face {
  font-family: "GLYPHICONS Halflings";
  src: url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.eot");
  src: url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.eot?#iefix") format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.woff2") format("woff2"),
    url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.woff") format("woff"),
    url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.ttf") format("truetype"),
    url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.svg#GLYPHICONS Halflings") format("svg");
}

/*css for header*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* Bootstrap Root Variables */
:root {
  --bs-blue: #0d6efd;
  --bs-gray: #6c757d;
  --bs-gray-900: #212529;
  --bs-white: #fff;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-border-color: #dee2e6;
  --bs-border-radius: 0.375rem;
  --bs-border-width: 1px;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
}

/* Global Reset */
* {
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
}

footer {
    position: sticky;
    top: 100vh;
    width: 100%;
    background: #fff !important;
    margin-top: 50px;
}

.article h2 {
  background-color: unset;
  color: #333;
  margin-bottom: 0 !important;
  padding-left: 0;
  font-weight: bold;
  line-height: unset !important;
  font-weight: unset !important;
}


.article .wp-block-heading {
  padding-bottom: 10px;
}

.article h2 span {
  font-weight: bold;
}

a {
  color: var(--bs-gray-900);
  text-decoration: none;
}

img {
  width: 100%;
  vertical-align: middle;
}

h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

/* Bootstrap Container */
.navbar .container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
	height: 56px;
}

@media (min-width: 576px) {
.navbar .container {

    max-width: 540px;
  }
}

@media (min-width: 768px) {
.navbar .container {

    max-width: 720px;
  }
}

@media (min-width: 992px) {
.navbar .container {

    max-width: 960px;
  }
}

@media (min-width: 1200px) {
.navbar .container {

    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
.navbar .container {

    max-width: 1320px;
  }
}

/* Bootstrap Navbar */

.navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 0.5rem;
    --bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 0.65);
    --bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), 0.8);
    --bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3);
    --bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-brand-padding-y: 0.3125rem;
    --bs-navbar-brand-margin-end: 1rem;
    --bs-navbar-brand-font-size: 1.25rem;
    --bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-nav-link-padding-x: 0.5rem;
    --bs-navbar-toggler-padding-y: 0.25rem;
    --bs-navbar-toggler-padding-x: 0.75rem;
    --bs-navbar-toggler-font-size: 1.25rem;
    --bs-navbar-toggler-icon-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e);
    --bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), 0.15);
    --bs-navbar-toggler-border-radius: var(--bs-border-radius);
    --bs-navbar-toggler-focus-width: 0.25rem;
    --bs-navbar-toggler-transition: box-shadow 0.15s 
ease-in-out;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  height: 72px;
  width: 100%;
}

.navbar-expand-lg {
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.navbar > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.bg-body-tertiary {
  background-color: #f8f9fa !important;
}

/* Bootstrap Form */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  appearance: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin: 0;
}

.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control::placeholder {
  font-size: 16px;
  color: #cecece;
  opacity: 1;
}

/* Bootstrap Flex Utilities */
.d-flex {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
}

.btn:hover {
  color: var(--bs-body-color);
}

/* Bootstrap Button */
.btn {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: var(--bs-border-width) solid transparent;
  border-radius: var(--bs-border-radius);
  background-color: transparent;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin: 0;
  flex-shrink: 0;
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-outline-secondary:focus {
  box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.5);
}

.btn-outline-secondary {
    color: #6c757d;
    border: 1px solid #6c757d;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:active {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
}

.btn-outline-secondary:disabled {
    color: #6c757d;
    background-color: transparent;
    border-color: #6c757d;
}

/* Bootstrap Icons (bi-search) */
.bi-search::before {
  content: "🔍";
}

/* ===== Custom Styles ===== */

/* ロゴサイズ */
.logo-size {
  width: 100px;
  height: auto;
}

/* 検索バーの幅 */
.search_width {
  width: 400px;
  max-width: 400px;
  margin: 0;
  align-items: center;
  flex-shrink: 0;
}

/* オレンジのテキストボックス */
.text-box-orange {
  color: #fff;
  background-color: #F07300;
  border-color: #F07300;
  display: inline-block;
  padding: 5px 20px;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 16px;
}

.text-box-orange:hover {
  color: #fff;
  background-color: #d66400;
}

/* スマホのみ表示 */
.only-sp {
  display: none;
}

/* PC表示（iPadPro以上） */
.only-over-iPadPro {
  display: block;
  flex-shrink: 0;
}

/* h1のインラインスタイル対応 */
h1[style*="display:inline"],
h1[style*="display: inline"] {
  display: inline-block !important;
  margin: 0;
  flex-shrink: 0;
}

input[type='submit'] {
    border: 1px solid #6c757d;
    background-color: #f5f8fa;
    color: #333;
}

input[type='submit'], #bbp_reply_submit, .bp-login-widget-register-link a {
	width: 58px;
	height: 38px;
	padding: 6px 12px;
}

.search-edit, input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea, select {
    padding: 4px 12px;
    border: 1px solid var(--cocoon-basic-border-color);
    border-radius: var(--cocoon-basic-border-radius);
    font-size: var(--cocoon-default-text-size);
    width: 100%;
}

input[type="search" i] {
    padding-block: 5px;
    padding-inline: 12px;
}

input::placeholder,
textarea::placeholder {
  font-size: 12px;
  opacity: 1; 
}

/* レスポンシブ対応 */

/* iPad mini以下 (768px以下) */
@media (max-width: 768px) {
  .logo-size {
    width: 90px;
    height: auto;
  }
}

/* iPhone6sPlus以下 (599px以下) */
@media (max-width: 599px) {
  /* スマホのみ表示 */
  .only-sp {
    display: block;
  }

  /* スマホでは非表示 */
  .without-sp {
    display: none;
  }

  /* 検索バーを100%幅に */
  .search_width {
    width: 100%;
  }
	
  .navbar {
    height: 116px;
  }
}

/* iPadPro以下 (1024px以下) */
@media (max-width: 1024px) {
  .only-over-iPadPro {
    display: none;
  }
}

/* iPadPro以上 (1025px以上) */
@media (min-width: 1025px) {
  .only-under-iPadPro {
    display: none;
  }
}

@media (max-width: 599px) {
  .only-sp nav.navbar {
    padding-top: 0.05rem;
    padding-bottom: 0.05rem;
  }
}

/*css for fotter*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
	padding: 0;
}

/* Grid レイアウト */
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

/* フッター */
.footer {
	font-size: 15px;
    padding: 1rem;
	padding-bottom: 30px;
    color: #212529;
    background: #eee !important;
}

.footer__navi-heading {
    font-weight: 600;
}

.footer__navi li {
    margin-bottom: 0.75rem;
}

footer {
    position: sticky;
    top: 100vh;
    width: 100%;
    background: #44aa33;
    margin-top: 50px;
}

.copyright {
    text-align: center;
}

.footer_space {
    padding-top: 20px;
    padding-bottom: 50px;
    width: 750px;
    margin-right: auto;
    margin-left: auto;
}

/* レスポンシブデザイン */
/*このサイズより小さいときに適用(iPad)*/
@media (max-width: 768px) {
    .footer_space {
        width: auto;
    }
}

/* より小さい画面用の調整 */
@media (max-width: 480px) {
    .grid {
        flex-direction: column;
    }
    
    .footer {
        font-size: 14px;
    }
    
    .footer_space {
        padding-top: 15px;
        padding-bottom: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* 特定カテゴリをカテゴリ一覧に非表示 */
.cat-item.cat-item-257{display:none;}

/* wp-block-listの黒点無効化を解除 */
.wp-block-list {
  list-style: disc !important;
  padding-left: 2em; !important;  /* ← 左側の余白復活 */
}

.wp-block-list li {
  list-style-type: disc !important; /* ← 黒丸復活 */
}

.wp-block-button__link.btn-red {
	background-color: #CC0000;
	border-color: #CC0000;
	border-radius: 6px; 
	width: 50%;
	white-space: pre;
}

@media (max-width: 599px) {
	.wp-block-button__link.btn-red { 
		width: 100%;
	}
}

.btn-red:focus,
.btn-red.focus {
  color: #fff;
  background-color: #af0101;
  border-color: #af0101;
}

.btn-red:hover {
  color: #fff;
  background-color: #af0101;
  border-color: #af0101;
}

.wp-block-button__link:hover {
  text-decoration: none !important;
}

/* アピールエリア調整 */
.appeal-in, .wrap {
	padding-top: 0px;
	padding-bottom: 0px;
	margin-bottom: -20px;
}

.appeal-content {
	padding-top: 20px;
	padding-bottom: 10px;
}

.content-in.wrap {
	padding-top: 0px;
}

@media (max-width: 599px) {
	.content-in.wrap {
		padding-top: 10px;
	}
}

@media (max-width: 599px) {
  .appeal-in, .wrap {
	  padding-top: 10px;
  }
}

@media (max-width: 599px) {
	.content-in .main,
	.wrap .main {
		padding-top: 20px;
	}
}

/* h3タグの枠線消去 */
.article.post h3{
	border-right: none;
	border-top: none;
	border-bottom: none;
	margin-bottom: 10px;
}