/*
Template: basara_tcd100
Theme Name:basara_tcd100-child
Version:1.12.1
*/

/* ヘッダーへニューカスタム 外観 > カスタマイズ */

/*
 * トップページ
 */
.p-header-content-logo .p-header-content-inner {
	display: flex;
	align-items: center;
	justify-content: center;
}

.p-header-slide-logo {
	text-align: center;
}

.p-header-slide-logo img {
	display: block;
	width: clamp(70px, 5vw, 140px);
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

@media (max-width: 991px) {
	.p-header-slide-logo img {
		width: clamp(80px, 28vw, 130px);
		max-width: 80vw;
	}
}

.p-archive03-item-category.p-article-category {
  display: inline-block;
  background: #6e1418;
  color: #fff !important;
  padding: 5px 12px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.p-archive03-item-category.p-article-category:hover {
  color: #fff !important;
  opacity: 0.85;
}

/*
 * 固定ページ共通
 */
/* ■ボタン */
.common-button-wrap {
  text-align: center;
  margin: 32px 0;
}

.common-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 52px;
  padding: 0 32px;
  background: #000;
  border: 1px solid #000;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.25s ease, color 0.25s ease;
}

.common-button:hover,
.common-button:focus {
  background: #fff;
  color: #000 !important;
  text-decoration: none !important;
}

.common-button:hover {
  background: #fff;
  color: #000;
}

/* ■ページ内リンク */
.course-anchor-buttons {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
}

.course-anchor-buttons a {
  flex: 1 1 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #aaa;
  border-right: none;
  color: #111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  box-sizing: border-box;
  white-space: nowrap;
  color: #000 !important;
  background: #fff;
  text-decoration: none !important;
}

.course-anchor-buttons a:last-child {
  border-right: 1px solid #aaa;
}

.course-anchor-buttons a:hover,
.course-anchor-buttons a:focus {
  background: #6e1418;
  color: #fff !important;
  text-decoration: none !important;
}

@media (max-width: 600px) {
  .course-anchor-buttons {
    flex-wrap: wrap;
  }

  .course-anchor-buttons a {
    flex: 0 0 50%;
    min-height: 48px;
    border-right: 1px solid #aaa;
    margin-bottom: -1px;
    font-size: 13px;
  }
}

/* ■配置。PC中央。SPデフォルト */
.responsive-text-block {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
}

.responsive-text-block p {
  text-align: center;
  line-height: 2;
  font-size: 14px;
  margin: 0;
}

/* SPでは左揃え */
@media (max-width: 600px) {
  .responsive-text-block p {
    text-align: left;
    line-height: 1.9;
  }
}
/* 初期 */
.pc-br,
.sp-br {
  display: none;
}

/* PCのみ */
@media screen and (min-width: 600px) {
  .pc-br {
    display: inline;
  }
}

/* SPのみ */
@media screen and (max-width: 599px) {
  .sp-br {
    display: inline;
  }
}

/* ボタンを横並びにする設定 */
.common-button-wrap.two-buttons {
  display: flex;
  justify-content: center; /* 中央寄せ */
  gap: 20px;               /* ボタンとボタンの間隔 */
  flex-wrap: wrap;         /* スマホ等で画面が狭いときは自動で縦並びにする */
}

.common-button-wrap.two-buttons .common-button {
  min-width: 200px;        /* ボタンの最小横幅 */
  text-align: center;
}

/* よくある質問 */
.sb-content-accordion {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
}

.faq-accordion {
  border-top: 1px solid #ddd;
}

.faq-accordion:last-child {
  border-bottom: 1px solid #ddd;
}

.faq-accordion summary {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 22px 56px 22px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  list-style: none;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  font-size: 16px;
  font-weight: 700;
}

.faq-accordion summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
}

.faq-accordion[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 56px 22px 30px;
}

.faq-answer p {
  position: relative;
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.faq-answer p::before {
  content: none;
}

.faq-answer p:first-child::before {
  content: "A";
  display: inline-block;
  margin-right: 14px;
  font-weight: 700;
}

/* SP */
@media (max-width: 600px) {
  .sb-content-accordion {
    margin: 32px auto;
    padding: 0 16px;
  }

  .faq-accordion summary {
    padding: 18px 44px 18px 0;
    font-size: 14px;
  }

  .faq-accordion summary::after {
    right: 8px;
  }

  .faq-answer {
    padding: 0 36px 20px 28px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}

/*
 * 投稿記事のショートコードデザイン
 */
.works-grid {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.works-item {
  display: block;
  color: #000 !important;
  text-decoration: none !important;
}

.works-thumb {
  width: 100%;
  aspect-ratio: 30 / 17;
  background: #000;
  overflow: hidden;
}

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

.works-title {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.works-noimage {
  width: 100%;
  height: 100%;
  background: #000;
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
    padding: 0 16px;
  }

  .works-item.sp-hide {
    display: none;
  }
}

/*
 * 書道教室ページ
 */
/* ■縦書き */
.vertical-message-box {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.vertical-message-box p {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 2.2;
  letter-spacing: 0.08em;
  font-size: 16px !important;
  max-height: 520px;
  margin: 0;
  color: #333;
}

/* スマホでは読みやすさ優先で縦書きの高さを調整 */
@media (max-width: 600px) {
  .vertical-message-box {
    padding: 32px 16px;
  }

  .vertical-message-box p {
    line-height: 2;
    font-size: clamp(16px, 4vw, 18px);
    max-height: 460px;
  }
}

/* ■コース情報 */
.info-frame-box {
  position: relative;
  max-width: 900px;
  margin: 48px auto;
  padding: 32px 40px 28px;
  border: 2px solid #777;
  box-sizing: border-box;
}

.info-frame-title {
  position: absolute;
  top: -14px;
  left: 48px;
  padding: 0 18px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.info-frame-content {
  max-width: 640px;
  margin: 0 auto;
}

.info-frame-content p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
}

.info-frame-content p:last-child {
  margin-bottom: 0;
}

.info-frame-content strong {
  display: inline-block;
  min-width: 64px;
  font-weight: 700;
}

.info-frame-content .note {
  font-size: 13px;
}

/* スマホ */
@media (max-width: 600px) {
  .info-frame-box {
    margin: 40px 16px;
    padding: 32px 18px 24px;
  }

  .info-frame-title {
    left: 20px;
    max-width: calc(100% - 40px);
    padding: 0 10px;
    font-size: 14px;
  }

  .info-frame-content {
    max-width: none;
  }

  .info-frame-content p {
    font-size: 13px;
    line-height: 1.8;
  }

  .info-frame-content strong {
    display: block;
    min-width: 0;
    margin-bottom: 2px;
  }
}


/*
 * お仕事紹介ページ
 */
/* ■ご依頼の流れ */
.flow-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 16px;
}

.flow-title {
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 48px;
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.flow-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #6e1418;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.flow-content h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.flow-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

/* SP調整 */
@media (max-width: 600px) {
  .flow-item {
    gap: 14px;
  }

  .flow-num {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .flow-content h3 {
    font-size: 15px;
  }

  .flow-content p {
    font-size: 13px;
  }
}

/*
 *  プロフィールページ
 */

/* ■プロフィール */
.profile-box {
  max-width: 800px;
  margin: 60px auto;
  padding: 1.3em 20px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.profile-image {
  flex: 0 0 34%;
}

.profile-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.profile-content {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
}

.profile-name-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.profile-label,
.profile-en,
.profile-copy-label,
.profile-section h3 {
  color: #6e1418;
  font-weight: 700;
}

.profile-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile-en {
  font-size: 10px;
  color: #6e1418;
  font-weight: 700;
}

.profile-copy {
  margin: 0 0 28px;
  font-weight: 600;
}

.profile-section {
  margin-bottom: 18px;
}

.profile-section h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.profile-section p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

/* スマホ */
@media (max-width: 768px) {
  .profile-box {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .profile-image {
    flex: none;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }

  .profile-name-row {
    gap: 10px 14px;
  }

  .profile-name {
    font-size: 20px;
  }
}

/* ■メッセージ */
.message-gray-box {
  max-width: 800px;
  margin: 40px auto;
  padding: 32px 24px;
  background: #f5f5f5;
  box-sizing: border-box;
}

.message-gray-box p {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 2;
  font-weight: 600;
}

@media (max-width: 600px) {
  .message-gray-box {
    margin: 32px 16px;
    padding: 24px 18px;
  }

  .message-gray-box p {
    text-align: left;
    font-size: 14px;
    line-height: 1.9;
  }
}

/* ■発表歴　展示 */
.history-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 48px 44px;
  background: #f1f1f1;
  box-sizing: border-box;
}

.history-section h2 {
  margin: 0 0 32px;
  text-align: center;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.history-inner {
  background: #fff;
  padding: 48px 44px;
  box-sizing: border-box;
}

.history-year {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.history-year:not(:first-child) {
  margin-top: 36px;
}

.history-inner p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 600;
}

.history-inner .indent {
  padding-left: 1em;
}

.history-item {
  display: flex;
  align-items: flex-start;
}

.history-date {
  flex-shrink: 0;
}

.history-text {
  display: block;
}

.history-subtitle {
  margin-top: 36px!important;
  color: #6e1418;
  font-weight: 700;
  font-size: inherit;
  margin-top: 28px;
}

@media (max-width: 600px) {
  .history-section {
    margin: 40px 16px;
    padding: 32px 18px;
  }

  .history-inner {
    padding: 28px 18px;
  }

  .history-inner p {
    font-size: 12px;
    line-height: 1.8;
  }

}

/*
 * Contact Form 7 共通お問い合わせフォーム
 */
/* Contact Form 7 共通お問い合わせフォーム */
.cf7-contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  font-size: 15px;
  line-height: 1.8;
}

.cf7-field {
  margin-bottom: 24px;
}

.cf7-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #222;
}

.cf7-field input,
.cf7-field select,
.cf7-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}

.cf7-field textarea {
  min-height: 180px;
  resize: vertical;
}

.cf7-field input:focus,
.cf7-field select:focus,
.cf7-field textarea:focus {
  outline: none;
  border-color: #6e1418;
  box-shadow: 0 0 0 2px rgba(110, 20, 24, 0.12);
}

.required {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  background: #6e1418;
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  border-radius: 3px;
}

.cf7-privacy {
  margin: 28px 0;
  text-align: center;
  font-size: 14px;
}

.cf7-privacy a {
  color: #6e1418;
  text-decoration: underline;
}

.cf7-submit {
  text-align: center;
}

.cf7-submit input[type="submit"] {
  min-width: 220px;
  padding: 13px 32px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease;
}

.cf7-submit input[type="submit"]:hover {
  background: #fff;
  color: #111;
}

/* Contact Form 7 メッセージ */
.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #b00020;
}

.wpcf7-response-output {
  max-width: 800px;
  margin: 24px auto 0 !important;
  padding: 14px 16px !important;
  border-radius: 4px;
  font-size: 14px;
}

/* Contact Form 7 同意チェック 横並び */
.cf7-privacy .wpcf7-form-control-wrap,
.cf7-privacy .wpcf7-acceptance,
.cf7-privacy .wpcf7-list-item,
.cf7-privacy label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.cf7-privacy .wpcf7-list-item {
  margin: 0 !important;
}

.cf7-privacy input[type="checkbox"] {
  width: auto !important;
  margin: 0 !important;
  flex: 0 0 auto;
}

.cf7-privacy .wpcf7-list-item-label {
  display: inline !important;
}

/* SP調整 */
@media screen and (max-width: 767px) {
  .cf7-contact-form {
    font-size: 14px;
  }

  .cf7-privacy,
  .cf7-submit {
    text-align: left;
  }

  .cf7-submit input[type="submit"] {
    width: 100%;
  }
}


/*
 * プライバシーポリシーページ
 */
/* プライバシーポリシー */
.privacy-policy-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  font-size: 15px;
  line-height: 1.9;
  color: #222;
}

.privacy-policy-page .info-title {
  margin-bottom: 36px;
  color: #6e1418;
  text-align: center;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.5;
}

.privacy-intro {
  margin-bottom: 40px;
  text-align: center;
}

.privacy-block {
  margin-bottom: 40px;
}

.privacy-block h2 {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
  color: #6e1418;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.5;
}

.privacy-block p {
  margin-bottom: 14px;
}

.privacy-block ul {
  margin: 0 0 16px 1.4em;
  padding: 0;
}

.privacy-block li {
  margin-bottom: 6px;
}

.privacy-date {
  margin-top: 48px;
  text-align: right;
  font-size: 14px;
  color: #555;
}

/* 既存info-table補助 */
.privacy-policy-page .info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.privacy-policy-page .info-table th,
.privacy-policy-page .info-table td {
  padding: 14px 16px;
  border: 1px solid #ddd;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.8;
}

.privacy-policy-page .info-table th {
  width: 28%;
  background: #f5f5f5;
  font-weight: 600;
}

/* SP */
@media screen and (max-width: 767px) {
  .privacy-policy-page {
    font-size: 14px;
  }

  .privacy-policy-page .info-title,
  .privacy-intro {
    text-align: left;
  }

  .privacy-policy-page .info-table th,
  .privacy-policy-page .info-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .privacy-date {
    text-align: left;
  }
}

/*
 * EC設定
 */
/* レビュー非表示 */
.p-product-review {
    display: none !important;
}


/*
 * フッターのSNSアイコンサイズを大きくする
 */
.p-social-nav-item {
    font-size: 24px!important;
}
