@charset "UTF-8";

/*=====================================================================
    地域猫活動.info trouble.css
=====================================================================*/


#trouble .wp-pagenavi{
	display: none;
}

#trouble .trouble-hero {
  padding: 30px 0;
  text-align: left!important;
}

#trouble .trouble-hero h1 {
  font-size: 38px;
  margin: 0;
}

#trouble .trouble-hero p {
  margin: 30px 0;
}

#trouble .trouble-panel-section {
  padding: 10px 0 30px;
}

#trouble .trouble-container {
  margin-bottom: 50px;
  padding: 50px 0 20px;
  background: #eee;
}

#trouble .trouble-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 30px;
  padding: 0px 30px;
  background: #eee;
}

#trouble .keyword-trouble {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

#trouble .keyword-trouble h2 {
  margin: 0;
  font-size: 20px;
  white-space: nowrap;
}

#trouble .popular-keywords h2 {
  margin: 0 20px 20px 0;
  white-space: nowrap;
}

#trouble .trouble-form {
  position: relative;
  align-items: center;
  height: 50px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #666;
  border-radius: 25px;
}

#trouble .trouble-form input {
  width:90%!important;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 1px;
}

#trouble .trouble-form input[type="text"]{
	border: none;
}

#trouble .trouble-form input[type="text"]:focus {
outline: 0;
}

#trouble .trouble-form input[type="submit"]{
cursor: pointer;
border: none;
background: url(../images/common/search.png) no-repeat;
background-size: 20px;
position: absolute;
width: 20px;
height: 20px;
right: -82%;
top: 15px;
}

#trouble .trouble-form ul,
#trouble .trouble-form li{
	width:100%;
}

#trouble .popular-keywords h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

#trouble .keyword-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  font-size: 16px;
}

#trouble .keyword-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 10px;
  background: #fff;
  border-radius: 25px;
  border: 1px solid #ccc;
}

#trouble .problem-list-section {
  padding: 0 0 55px;
}

#trouble .problem-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
}

#trouble .problem-item {
  padding: 30px 30px 0;
  background: #fff;
  text-align: center;
}

#trouble .problem-links {
  display: block;
  margin: 0 auto;
}

#trouble .problem-item:hover {
  box-shadow: 0 10px 22px rgb(0 0 0 / 8%);
  transform: translateY(-3px);
}

#trouble .problem-icon img {
  height: 50px;
}

#trouble .problem-heading h2 {
  margin: 10px 0;
  color: var(--orange);
  font-size: 20px;
}

#trouble .problem-heading p {
  margin: 0;
  text-align: left;
}

#trouble .problem-item span {
  display: block;
  text-align: left;
}

#trouble .problem-image img {
  width: 55px;
  margin: 0;
  object-fit: cover;
}

#trouble .problem-links p {
  margin-top: 20px;
  color: #f58214;
}

#trouble .qa-section {
  padding: 20px 20px 55px;
  background: #fff;
}

#trouble .qa-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

#trouble .qa-title {
  margin: 0 0 50px;
  color: #222;
  line-height: 1.4;
  text-align: center;
}

#trouble .qa-list {
  width: 100%;
}

#trouble .qa-item {
  padding: 0 0 30px;
  margin: 0 0 20px;
  border-bottom: 1px solid #ccc;
}

#trouble .qa-question,
#trouble .qa-answer {
  display: flex;
  align-items: center;
}

#trouble .qa-question {
  margin-bottom: 14px;
}

#trouble .qa-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 16px;
  border-radius: 50%;
  line-height: 1;
}

#trouble .qa-icon-q {
  color: #fff;
  background: #333;
}

#trouble .qa-icon-a {
  color: #f58213;
  background: #fff;
  border: 2px solid #f58213;
}

#trouble .qa-question-text {
  margin: 10px 0;
  color: #222;
  line-height: 2;
}

#trouble .qa-answer .symbol {
  display: none;
}

#trouble .qa-answer .conclusion {
  margin: 10px 0;
  padding: 15px;
  color: #333;
  background: #f1f1f1!important;
  line-height: 2;
}

#trouble .qa-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 50px;
  margin: 50px auto 0;
  color: #fff;
  background: #f58213;
  transition: opacity 0.2s ease;
}

#trouble .qa-more:hover {
  opacity: 0.8;
}

#trouble .qa-more-arrow {
  margin-left: 12px;
}

/* screenwidth less than or equal 1180px - mobile wide
-------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	
#trouble #top .container {
width: 90%;
margin: 0 auto;
}

#breadcrumbs{
width: 95%!important;
}

#trouble .trouble-panel-section {
  padding: 0px 0 10px;
}

#trouble .trouble-container {
  padding: 30px 0 0;
}

#trouble .trouble-panel {
  padding: 0px;
}

#trouble .keyword-trouble {
  grid-template-columns: 1fr;
  gap: 10px;
}

#trouble .problem-list-grid {
  gap: 20px;
}

#trouble .qa-inner {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

}

/* screenwidth less than or equal 480px - mobile wide
-------------------------------------------------------------------------- */

@media (max-width: 480px) {

  #trouble .trouble-container {
    margin: 30px 0;
    padding: 10px 0;
    background: #eee;
  }

  #trouble .trouble-hero {
    padding: 0;
  }

  #trouble .trouble-hero h1 {
   font-size: 24px;
  }

  #trouble .trouble-hero p {
    text-align: left;
  }

  #trouble .trouble-hero p br {
    display: none;
  }

  #trouble .trouble-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px;
  }
  
  #trouble .trouble-form input {
  font-size: 14px;
}

  #trouble .problem-item {
    padding: 20px 15px 0;
  }

  #trouble .problem-list-section {
    padding: 0 0 20px;
  }

  #trouble .problem-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  #trouble .popular-keywords h2,
  #trouble .keyword-trouble h2 {
    font-size: 18px;		
  }
  
  #trouble .problem-item h2 {
    font-size: 16px;		
  }

  #trouble .qa-inner h2 {
    font-size: 20px;
  }
	
  #trouble .problem-item img {
    height: auto;
  }
	
#trouble .qa-inner {
  width: 100%;
}
  
}

/* screenwidth less than or equal 320px - mobile wide
-------------------------------------------------------------------------- */

@media (max-width: 320px) {
  
  #trouble .popular-keywords h2,
  #trouble .keyword-trouble h2 {
    font-size: 18px!important;	
  }
  
  #trouble .problem-item h2 {
    font-size: 16px!important;		
  }

  #trouble .qa-inner h2 {
    font-size: 18px!important;
  }
	
  #trouble .keyword-list {
    font-size: 12px;
}

#trouble .qa-more {
  width: 150px;
}
	
}