@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/***********************************
 * 共通
 ***********************************/

/* スマホ用改行 */

br.sp {
	display: none;
}
@media screen and (max-width: 480px) {
  br.sp {
    display: block;
  }
}

/* 見出し */

.article h1 {
	font-weight: normal;
	border-bottom: 2px solid red;
    padding: 0 0.2em 0.5em;
    margin-bottom: 1em;
}
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
	font-weight: normal;
}
.article h2 {
	padding: 0.6em 0.8em;
	border-left: 8px solid red;
}
.article h3 {
	border-top: none;
    border-right: none;
}

/* 見出しの補足説明 */

.sub-text {
  display: block;
  font-size: 0.7em;
  color: #666;
  font-weight: normal;
  margin-top: 0.3em;
  letter-spacing: 0.02em;
}

/* 段落 */

.article p {
	margin: 1.8em 0;
}
.article .block-box p {
	margin: 0;
}

/* ナビメニュー */

#header-container nav#navi,
#header-container nav#navi .navi-in>.menu-header .sub-menu {
	background-color: #DA0022;
}
#header-container nav#navi .navi-in a {
	color: white;
}

/* サイトネーム */

.logo-text {
    padding: 20px 0 0px;
}
.tagline {
    margin: 0.6em 1em 1.5em;
	font-size: inherit;
}

/* ラップボックス */

.box_wrap {
	margin: 0 0.5em;
}

/* イメージボックス */

.box_img {
	margin-bottom: 1.8em;
}
.box_img img {
	width: 100%;
}

/* ボタンボックス */

.box_btn {
	text-align: center;
}
.box_btn p {
	margin-bottom: 0.5em;
}

/* エントリーボックス */

.box_entry {
	justify-content: center;
	display: flex;
}
.box_entry .has-box-style {
	padding: 1em 2em;
	display: inline-block;
	width: 96%;
}
.box_entry .text {
	justify-content: center;
	margin: 0.5em 0;
}

/* ノートボックス */

.box_note {
  background-color: #fff;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%), linear-gradient(180deg, #ccc 1px, transparent 1px);
  background-size: 8px 100%, 100% 2.5em;
  line-height: 2.5em;
  padding-bottom: 1px;
}
.box_note dt {
  margin-left: 1em;
}
@media screen and (max-width: 480px) {
  .box_note dt {
    margin-left: 0;
  }
}
.box_note dt span {
  padding: 0.4em 0.5em;
}
.box_note dt span.detail {
   font-weight: normal;
   color: #666;
   font-size: 0.8em;
   margin-left: 1em;
}
.box_note dd {
  margin-left: 2em;
}
.box_note dd.list span {
  margin-right: 1em;
}
@media screen and (max-width: 480px) {
  .box_note dd {
    margin-left: 1em;
  }
}
.box_note p {
	margin: 0 1em;
	padding: 0;
}

/* common-icon-box */

@media screen and (max-width: 480px) {
    .is-style-information-box, .is-style-question-box, .is-style-alert-box, .is-style-memo-box, .is-style-comment-box, .is-style-ok-box, .is-style-ng-box, .is-style-good-box, .is-style-bad-box, .is-style-profile-box, .information-box, .question-box, .alert-box, .information, .question, .alert, .memo-box, .comment-box, .common-icon-box {
        padding: 1.8em 1.5em;
    }
}
@media screen and (max-width: 480px) {
    .is-style-information-box::before, .is-style-question-box::before, .is-style-alert-box::before, .is-style-memo-box::before, .is-style-comment-box::before, .is-style-ok-box::before, .is-style-ng-box::before, .is-style-good-box::before, .is-style-bad-box::before, .is-style-profile-box::before, .information-box::before, .question-box::before, .alert-box::before, .information::before, .question::before, .alert::before, .memo-box::before, .comment-box::before, .common-icon-box::before {
        content: "";
    }
}

/* has-box-style */

.has-box-style {
    margin: 1em 0.5em !important;
}
.has-box-style p {
    margin: 0;
}
@media screen and (max-width: 480px) {
    .box_entry {
        display: grid;
        justify-content: normal;
    }
}
	
/* ボタン */

.btn {
	font-size: 1em;
	margin: 0.5em 0;
    padding: 1em;
    border-radius: 10px;
    font-weight: normal;
	width: 100%;
	max-width: 270px;
}

/* 画像 */

img.bunner {
	border-radius: 4px;
}
img.bunner:hover {
	opacity: 0.8;
}

/* テーブル */

table:not(.has-border-color) th,
table:not(.has-border-color) td {
  border-color: rgb(255 119 0 / 17%);
}

/* リスト */

ul {
    padding: 0 1em;
    margin: 1em 0 1.8em;
}
@media screen and (max-width: 834px) {
    .article ul, .article ol {
        padding-left: 0.5em;
    }
}

/* マーカー（黄色下線） */

.marker {
  background: #ffea85;
  padding: .08em .15em;
  border-radius: 3px;
  box-decoration-break: clone;
}

/* 一覧を見るボタン */

.archive-link {
    text-align: center;
    padding-right: 0.5em;
    margin-top: 1em;
}
.archive-link a {
    text-decoration: none;
}

/* カード表示（ショートコード） */

.custom-post-card {
  display: flex;
  gap: 15px;
  padding: 15px;
  margin: 1em 0;
  border-radius: 8px;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.custom-post-card .thumb {
  flex: 0 0 160px;
  height: 120px;
  overflow: hidden;
}
.custom-post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.custom-post-card .post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.custom-post-card .post-title {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 1.1em;
  border-bottom: 1px dotted #DDD;
}
.custom-post-card .meta {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}
.custom-post-card .meta .category {
	background-color: #EEF;
    padding: 0 0.5em;
}
.custom-post-card .excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .custom-post-card {
    flex-direction: column;
  }
  .custom-post-card .thumb {
    width: 100%;
    height: 180px;
  }
}

/* ボックスコンテンツ */

.has-box-style {
    margin: 1.8em 0;
}

/* テーブルノーデザイン */

table.no-design,
table.no-design tr,
table.no-design tr th,
table.no-design tr td {
	margin: 0;
	padding: 0;
	border: none;
	background-color: transparent;
}

/* ■よくある質問集 */
.faq-item {
    display: block;
	margin-bottom: 1.8em;
}
.custom-posts.simple .faq-item {
  border-bottom: 1px solid #ddd;
  padding: 1em 0;
}
.faq-question, .faq-answer {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8em;
}
.faq-icon {
  display: inline-block;
  font-weight: bold;
  font-size: 1.2em;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  margin-right: 10px;
  flex-shrink: 0;
}
.faq-icon.q {
  background-color: #007bff; /* 青（質問） */
}
.faq-icon.a {
  background-color: #e53935; /* 赤（回答） */
}
.faq-title {
  color: #005bbd;
  font-size: 1.1em;
  line-height: 1.5;
}
.faq-content {
  line-height: 1.7;
}

/* ■チーム紹介 */

.team-intro ul {
	font-size: 1.2em;
}

/* チームメリット */

.team-merits {
  margin: 2em auto;
  max-width: 1100px;
}
.merit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1em;
}
.merit-card {
  border-radius: 10px;
  padding: 1em;
  text-align: center;
}
.merit-icon {
  font-size: 2.5em;
}
.merit-title {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 0 0.5em;
  color: #222;
}
.merit-desc {
  font-size: 0.95em;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

/* 関係者挨拶 */

.greeting .layout-box {
    margin: 2em 0 3em;
    gap: 1em;
}
.greeting img.icon {
	border-radius: 100%;
    border: 1px solid #DDD;
}
@media (max-width: 768px) {
	.greeting .column-left {
		text-align: center;
	}
	.greeting .column-left img {
		width: 50%;
	}
}
.greeting table.no-design th {
    text-align: left;
	width: 30%;
    padding: 0 1em;
	vertical-align: top;
}

/* ■試合結果 */

.score-table {
  width: 100%;
  max-width: 400px;
  border: 1px solid #ccc;
  overflow: hidden;
  border-radius: 8px;
}
.score-header {
  background-color: #999;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  font-size: 0.8em;
}
.score-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
  background-color: #eee;
  padding: 16px 0;
}
.team {
  color: #333;
}
.score {
  color: #000;
  font-size: 1.5em;
}

/* ■サイドバー */

/* 見出し */

.sidebar h3 {
	padding: 0.6em 0.8em;
	border-left: 8px solid red;
	font-weight: normal;
}

/* 会員の方 */

.sidebar-login {
  text-align: center;
  margin: 1em 0;
}
.sidebar-login .login-button {
  display: inline-block;
  background: #f70;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
.sidebar-login .login-button:hover {
  background: #e65c00;
}
.sidebar-login .user-icon img {
  border-radius: 50%;
  display: block;
  margin: 0 auto 8px;
}
.sidebar-login .username {
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}
.sidebar-login .logout-link {
  font-size: 13px;
  color: #666;
  text-decoration: underline;
}

/***********************************
 * レスポンシブデザイン用のメディアクエリ
 ***********************************/

@media screen and (max-width: 1023px){
  
}
@media screen and (max-width: 834px){
  
}
@media screen and (max-width: 480px){
  
}
