/*
Theme Name: TOKI Child
Theme URI: https://tcd-theme.com/tcd069/
Template: toki_tcd069
Author: TCD
Author URI: https://tcd-theme.com/
Description: "TOKI" is a Japanese-style WordPress theme developed for international visitors. The welcome page can be set in any language. You can also express the world view of your site with a video in the background.
Version: 1.13.1743496307
Updated: 2025-04-01 17:31:47


/* TOPページに追加 */
.su-post-thumbnail {
  display: none !important;
}
.post_content a, .custom-html-widget a{
	color : #000;
}
.post_content su-post-title a{
  color: #000 !important;
}

/* 固定ページと投稿ページに共通のデザイン */
.page:not(.home) h2,
.single-post:not(.home) h2 {
  font-size: 1.8em;
  padding: 0.6em 0;  /* 上下の幅を狭める */
  border-top: 4px solid #42A5F5;  /* 水色 */
  border-bottom: 4px solid #F9A825;  /* 黄色 */
  color: #1A1A1A;
  margin-top: 2em;
  margin-bottom: 2em;
}

/* 固定ページと投稿ページのH3のスタイル */
.page:not(.home) h3,
.single-post:not(.home) h3 {
  font-size: 1.7em;
  padding-left: 1.5em;  /* 左線とテキストの距離を調整 */
  border-left: 6px solid #42A5F5;  /* 水色 */
  border-bottom: 4px solid #F9A825;  /* 黄色 */
  color: #1A1A1A;
  margin-top: 2.5em;
  margin-bottom: 2em;
  position: relative;
}

/* 固定ページと投稿ページのH4スタイル */
.page:not(.home) h4,
.single-post:not(.home) h4 {
  font-size: 1.4em;
  color: #42A5F5;  /* 水色 */
  padding: 0.8em 0;
  margin: 2.5em 0;
  position: relative;
  display: inline-block;
}

.page:not(.home) h4::after,
.single-post:not(.home) h4::after {
  content: "";
  position: absolute;
  left: 0;
  width: 70%;  /* 下線の長さを調整 */
  height: 3px;
  background: #F9A825; /* 黄色 */
  bottom: 0;
}

/* 固定ページと投稿ページのH5スタイル */
.page:not(.home) h5,
.single-post:not(.home) h5 {
  font-size: 1.2em;
  color: #1A1A1A;
  background-color: #F9A825; /* 黄色 */
  color: #fff;
  padding: 0.8em 1.4em;
  border-radius: 8px;  /* 丸みをつける */
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 3em 0;  /* 上下の余白を増加 */
}

/* single-shopページのみに適用されるCSS */

body.single-shop h2,
body.single-shop h3,
body.single-shop h4,
body.single-shop h5 {
  /* スタイルを適用するページをbody.single-shopで指定 */
}

/* H2: グラデーションの背景付き見出し */
.single-shop h2 {
  font-size: 2.2em;
  padding: 1em;
  background: linear-gradient(135deg, #42A5F5, #659AD2); /* 水色と黄色のグラデーション */
  color: #fff;
  border-radius: 8px;
  text-align: center;
  margin-top: 3em;
  margin-bottom: 2.5em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* H3: 文字色と2色の下線 */
.single-shop h3 {
  font-size: 1.7em;
  color: #333333; /* 文字色を指定 */
  margin-top: 2em;
  margin-bottom: 4em;
  position: relative;
}

/* 2色の下線と短い下線 */
.single-shop h3::after {
  content: '';
  position: absolute;
  bottom: -5px; /* 下線を少し下げる */
  left: 0;
  width: 50%; /* 下線を短くする */
  height: 3px;
  background: linear-gradient(to right, #42A5F5 50%, #F9A825 50%); /* 2色のグラデーション */
}

.style3b.catch.rich_font {
  border: 0;
  background: #e8e8e8;
  text-align: center;
  margin: 5em auto 3em !important;
  padding: .8em 0 !important;
}
.top_spschool {
  text-align: center;
  margin: 0 auto 2em;
  width: 990px;
}
.top_spschool ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 !important;
}
.top_spschool li {
  list-style: none;
  border: 1px solid #ccc;
  margin: 0 10px;
}
.top_sponsor ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 1130px;
}
.top_sponsor ul li {
  width: 260px !important;
  margin: 15px 10px !important;
  list-style: none !important;
  border: 1px solid #ccc !important;
}
.gaiyo {
  border-top: 1px solid #ccc;
}
.gaiyo dl{
  display: flex;
  flex-wrap: wrap;
  width: 900px;
  margin: 0 !important;
  border-bottom: 1px solid #ccc;
}
.gaiyo dl dt {
  padding: 20px 15px;
  line-height: 2.2;
  background: #ececec;
  width: 200px;
  text-align: center;
}
.gaiyo dl dd {
  padding: 20px 15px;
  line-height: 2.2;
  background: #fff;
  width: 630px;
	
}

@media screen and (max-width: 480px) {
.style3b.catch.rich_font {
  margin: 3em auto 2em !important;
}
.top_spschool {
  width: 90%;
}
.top_spschool li {
  margin: 10px 10px;
  width: 100%;
}
.top_sponsor ul {
  width: 90%;
  display: block !important;
}
.top_sponsor ul li {
  width: 90% !important;
}
.gaiyo {
  border-top: 0;
}
.gaiyo dl {
  display: block;
  width: 100%;
  margin: 0 !important;
  border-bottom: 0;
}
.gaiyo dl dt {
  border: 0;
  width: 90%;
}
.gaiyo dl dd {
  border: 0;
  width: 90%;
}
	
	
	
}