/*
Theme Name: SWELL Child
Template: swell
Version: 1.0.0
*/

.org-single {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.org-hero {
  background: #fff;
  border: 1px solid #e8ece9;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.org-logo img {
  max-width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}

.org-type {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.org-title {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.4;
}

.org-meta,
.org-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.org-chip,
.org-tag {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f4f8f6;
  font-size: 14px;
  line-height: 1.4;
}

.org-tag {
  background: #eef6ff;
}

.org-cta {
  margin-top: 10px;
}

.org-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #2f8f6f;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.org-button:hover {
  color: #fff;
  opacity: .92;
}

.org-localnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e5e5;
}

.org-localnav a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fafafa;
}

.org-section {
  margin-bottom: 42px;
}

.org-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #2f8f6f;
}

.org-content,
.org-text {
  line-height: 1.9;
}

.org-info {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #eee;
}

.org-info li {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.org-info strong {
  width: 140px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .org-title {
    font-size: 26px;
  }

  .org-info li {
    display: block;
  }

  .org-info strong {
    display: block;
    width: auto;
    margin-bottom: 6px;
  }
}
	.org-title-row{
display:flex;
align-items:center;
gap:20px;
justify-content:center;
margin-bottom:15px;
}

.org-logo img{
width:60px;
height:auto;
}

.org-title-area{
text-align:left;
}

.org-title{
margin:0;
font-size:32px;
}
@media(max-width:768px){

.org-title-row{
flex-direction:column;
text-align:center;
}

.org-title-area{
text-align:center;
}
}
.org-title-row{
display:flex;
align-items:center;
gap:18px;
justify-content:center;
margin-bottom:20px;
}

.org-thumbnail-top img {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.org-logo img{
width:60px;
height:auto;
}

.org-title-area{
text-align:left;
}

.org-title{
margin:0;
font-size:32px;
}
@media(max-width:768px){

.org-title-row{
flex-direction:column;
text-align:center;
}

.org-title-area{
text-align:center;
}

}
.org-id {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4f8f6;
  font-size: 13px;
  color: #333;
}
.org-edit-contact {
  margin: 56px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}

.org-edit-contact-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #666;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.org-edit-contact-btn:hover {
  color: #fff;
  opacity: .92;
}
.org-share {
  margin-top: 18px;
  text-align: center;
}

.org-share-label {
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.org-share-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.org-share-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

.org-share-x {
  background: #111;
}

.org-share-fb {
  background: #1877f2;
}

.org-share-line {
  background: #06c755;
}

.org-share-btn:hover {
  color: #fff;
  opacity: .92;
}

@media (max-width: 767px) {
  .org-share-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .org-share-btn {
    text-align: center;
  }
}
.org-thumbnail {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.org-thumbnail img,
.org-thumbnail .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.org-archive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.org-archive-header {
  margin-bottom: 32px;
}

.org-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.org-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.org-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.org-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
}

.org-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.org-card-body {
  padding: 16px;
}

.org-card-title {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 0 10px;
}

.org-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.org-card-excerpt p {
  margin: 0;
}

.org-archive-pagination {
  margin-top: 32px;
}

@media (max-width: 991px) {
  .org-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .org-archive-grid {
    grid-template-columns: 1fr;
  }
}
/* =======================
   強制上書き版（重要）
======================= */

.p-entry-content .org-archive-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin-top: 24px !important;
}

.p-entry-content .org-card {
  display: block !important;
  background: #fff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
}

.p-entry-content .org-card-thumb {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
}

.p-entry-content .org-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.p-entry-content .org-card-body {
  padding: 16px !important;
}

.p-entry-content .org-card-title {
  font-size: 16px !important;
  font-weight: bold !important;
  margin-bottom: 8px !important;
}

.p-entry-content .org-card-excerpt {
  font-size: 13px !important;
  color: #555 !important;
}

@media (max-width: 767px) {
  .p-entry-content .org-archive-grid {
    grid-template-columns: 1fr !important;
  }
}
.p-entry-content .org-category-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 24px !important;
}

.p-entry-content .org-category-button {
  display: inline-block !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: #f0f3f8 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.p-entry-content .org-category-button.is-active {
  background: #2f6fed !important;
  color: #fff !important;
}
.org-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.org-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.org-category-button {
  border: 1px solid #e0e6ef;
}

.org-category-button:hover {
  background: #eaf1ff;
}
.org-card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-card-thumb img[src*="default-org"] {
  object-fit: contain;
  padding: 20px;
}
.org-search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 10px;
}

.org-search-form input[type="text"] {
  flex: 1;
  min-width: 260px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.org-search-form button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #e60023;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.org-search-form button:hover {
  opacity: .92;
}

@media (max-width: 767px) {
  .org-search-form {
    flex-direction: column;
  }

  .org-search-form button {
    width: 100%;
  }
}
.org-search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}

.org-search-form input[type="text"] {
  flex: 1;
  min-width: 260px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.org-search-form button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #e60023;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.org-search-form button:hover {
  opacity: .92;
}

@media (max-width: 767px) {
  .org-search-form {
    flex-direction: column;
  }

  .org-search-form button {
    width: 100%;
  }
}
