@media screen and (min-width: 769px) {
.yagou{
font-size:26px;
font-weight:600;
padding-top:8px;
line-height:0.8em;
display:block;
}
.yagou-s{
font-size:13px;
font-weight:normal;		
}
.yagou img{
width:30px!important;
height:auto!important;
margin-top:-6px;
margin-right:5px;
}
}
@media screen and (max-width: 768px) {
.yagou{
font-size:18px!important;
font-weight:700;
padding-top:5px!important;
line-height:0.8em;
display:block;
}
.yagou-s{
font-size:11px;
font-weight:normal;		
}
.yagou img{
width:21px!important;
height:auto!important;
margin-top:-2px;
margin-right:5px;
}
}	
.team-sozoku__banner{
position: relative;
}
@media screen and (min-width: 769px) {
.catchcopy {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 3.8rem;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
  text-align: center;
  position: absolute;
  left: 50%;
transform: translateX(-50%);
	width: 100%;
	text-shadow:
    0 0 3px #fff,
    0 0 6px #fff,
    0 0 9px #fff,
    0 0 12px #fff;
}	
}
@media screen and (max-width: 768px) {
.catchcopy {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
  line-height: 1.3;
  text-align: center;
  position: absolute;
  top:10px;
  left: 50%;
transform: translateX(-50%);
	width: 100%;
	text-shadow:
    0 0 3px #fff,
    0 0 6px #fff,
    0 0 9px #fff,
    0 0 12px #fff;
}	
}
.catchcopy .highlight {
  position: relative;
  color: #d84900; /* 濃いオレンジ */
  font-weight: 700;
}
.catchcopy .highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em;
  width: 100%;
  height: 0.35em;
  background: linear-gradient(to right, #fff6b0 0%, #fff6b0 100%);
  z-index: -1;
  border-radius: 2px;
}
@media screen and (min-width: 769px) {
.trouble-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 4.2rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.05em;
	margin-bottom: 2%;
text-shadow:
    0.02em 0 0 #333,
    -0.02em 0 0 #333,
    0 0.02em 0 #333,
    0 -0.02em 0 #333;
	position: relative;
}
.trouble-title .emphasis {
  color: #d84900;
  font-weight: bold;
  font-size: 5.8rem;
	text-shadow:
    0.01em 0 0 #d84900,
    -0.01em 0 0 #d84900,
    0 0.01em 0 #d84900,
    0 -0.01em 0 #d84900;
}
	.trouble-title img{
		position: absolute;
		left: 50%;
transform: translateX(-50%);
		top:-30px;
	}
}
@media screen and (max-width: 768px) {
.trouble-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.05em;
	margin-bottom: 2%;
text-shadow:
    0.02em 0 0 #333,
    -0.02em 0 0 #333,
    0 0.02em 0 #333,
    0 -0.02em 0 #333;
	position: relative;
}
.trouble-title .emphasis {
  color: #d84900;
  font-weight: bold;
  font-size: 2.4rem;
	text-shadow:
    0.01em 0 0 #d84900,
    -0.01em 0 0 #d84900,
    0 0.01em 0 #d84900,
    0 -0.01em 0 #d84900;
}
.trouble-title img{
		position: absolute;
		left: 50%;
transform: translateX(-50%);
		top:-10px;
			width:20px!important;
		height:auto!important;
	}
}

.inheritance-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.bg-left {
  background: url('https://souzoku-utsunomiya-higashi.com/wp-content/uploads/2025/10/bg01.jpg');
}
.bg-right {
  background: url('https://souzoku-utsunomiya-higashi.com/wp-content/uploads/2025/10/bg02.jpg');
}
.inheritance-box:hover .btn-orange {
  background: #ff7e1f;
}
@media screen and (min-width: 769px) {
.inheritance-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 20px;
}
.inheritance-box {
  position: relative;
  display: block;
  width: 45%;
  height: 190px;
  border: 4px solid #554e48;
  border-radius: 6px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.inheritance-text h3 {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.2em;
  margin-bottom: 25px;
}
.inheritance-text h3 span{
  font-size: 2rem;
}
.btn-orange {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  display: inline-block;
  background: #e66a00;
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  padding: 10px 30px;
  transition: background 0.3s;
}
.inheritance-text {
  position: relative;
  z-index: 2;
  padding: 25px;
  color: #333;
}
}
@media screen and (max-width: 768px) {
.inheritance-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
}
.inheritance-box {
  position: relative;
  display: block;
  width: 45%;
  height_: 190px;
  border: 2px solid #554e48;
  border-radius: 6px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.inheritance-text h3 {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.2em;
  margin-bottom: 10px;
  text-align: center;
}
.inheritance-text h3 span{
  font-size: 1.2rem;
}
.btn-orange {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  display:block;
  background: #e66a00;
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  padding: 10px 15px;
  transition: background 0.3s;
  font-size: 1.1rem;
  margin-left: auto;
  margin-right: auto;
  width:80%;
  text-align: center;
}
.inheritance-text {
  position: relative;
  z-index: 2;
  padding: 10px;
  color: #333;
}
.spNone{
display: none;
}
}

	
	
	
.inheritance-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.inheritance-item img {
  margin-bottom: 5px;
}
.inheritance-item p {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 5px;
  font-weight:bold;
}
.inheritance-item:hover .btn-brown {
  background: #7a6044;
}
@media screen and (min-width: 769px) {
.inheritance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  justify-items: center;
  padding: 35px;
}
.btn-brown {
  display: inline-block;
  background: #5a4633;
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  padding: 8px 25px;
  transition: background 0.3s;
}
.inheritance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  text-decoration: none;
  color: #333;
  background: #fff;
   border: 2px solid #554e48;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  padding: 20px 10px 20px;
  width: 100%;
  max-width:230px;
  min-height: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}

/* スマホ：2列レイアウト */
@media screen and (max-width: 768px) {
.inheritance-grid {
  display: grid;
 grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  justify-items: center;
  padding: 15px;
}
  .inheritance-item {
    width: 100%;
    padding: 10px;
  }
  .inheritance-item img {
    width: 60px;
  }
  .inheritance-item p {
    font-size: 1.2rem;
  }
.btn-brown {
  display: inline-block;
  background: #5a4633;
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  padding: 8px 15px;
  transition: background 0.3s;
font-size:14px;
}
.inheritance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  text-decoration: none;
  color: #333;
  background: #fff;
   border: 2px solid #554e48;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  padding: 10px 5px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
}

@media screen and (min-width: 769px) {
.yellow-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.05em;
	margin-bottom: 2%;
	position: relative;
	text-align: center!important;
}
.yellow-title .big {
  font-weight: bold;
  font-size: 3.8rem;
	text-shadow:
    0.01em 0 0 #fff,
    -0.01em 0 0 #fff,
    0 0.01em 0 #fff,
    0 -0.01em 0 #fff;
}
.smallwhite{
color:#fff;
font-size: 2.8rem;
text-shadow:
    0.02em 0 0 #fff,
    -0.02em 0 0 #fff,
    0 0.02em 0 #fff,
    0 -0.02em 0 #fff;
}
.bigyellow{
color:#e2b640;
font-size: 3.8rem;
text-shadow:
    0.02em 0 0 #e2b640,
    -0.02em 0 0 #e2b640,
    0 0.02em 0 #e2b640,
    0 -0.02em 0 #e2b640;
}
}
@media screen and (max-width: 768px) {
.yellow-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.05em;
	margin-bottom: 2%;
	position: relative;
	text-align: center!important;
}
.yellow-title .big {
  font-weight: bold;
  font-size: 2rem;
	text-shadow:
    0.01em 0 0 #fff,
    -0.01em 0 0 #fff,
    0 0.01em 0 #fff,
    0 -0.01em 0 #fff;
}
.smallwhite{
color:#fff;
font-size: 1.7rem;
text-shadow:
    0.02em 0 0 #fff,
    -0.02em 0 0 #fff,
    0 0.02em 0 #fff,
    0 -0.02em 0 #fff;
}
.bigyellow{
color:#e2b640;
font-size: 2rem;
text-shadow:
    0.02em 0 0 #e2b640,
    -0.02em 0 0 #e2b640,
    0 0.02em 0 #e2b640,
    0 -0.02em 0 #e2b640;
}
}