@charset "UTF-8";

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

:root {
--orange: #f58212;
--orange-dark: #df6c00;
--ink: #282828;
--muted: #676767;
--pale: #f2f2f2;
--blue: #28549a;
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
margin: 0;
color: #333;
font-size: 18px;
letter-spacing: 0.5px;
line-height: 1.7;
background: #fff;
}

a {
color: inherit;
text-decoration: none;
}

button,
input {
font: inherit;
}

.container {
width: 1160px;
margin: 0 auto;
}

.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
}

.header-inner {
width: 100%;
padding: 20px 30px;
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
}

.logo {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}

.logo img {
width: 250px;
}

.global-nav {
display: flex;
align-items: center;
gap: 30px;
}

.menu-toggle {
display: none;
width: 40px;
height: 40px;
padding: 0;
border: 0;
background: transparent;
cursor: pointer;
}

.menu-toggle span {
display: block;
width: 26px;
height: 2px;
margin: 6px auto;
background: #333;
transition: 0.3s;
}

.global-nav a::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 3px;
content: "";
background: transparent;
}

.global-nav a:hover,
.global-nav a.is-active::after {
color: var(--orange);
}

#breadcrumbs{
width: 1160px;
margin: 30px auto;	
font-size: 12px;
color: #666;
}

#breadcrumbs span{
background: none;
}

/* home */

#home .hero {
width: 100%;
margin: 0 auto;
padding: 110px 0;
}

#home .hero::before {
width: 100%;
content: "";
position: absolute;
inset: 0;
background: url("../images/index/hero.png");
background-repeat: no-repeat;
background-position: center;
z-index: -1;
height: 700px;
background-size: contain;
background-position: top right -100px !important;  
}

#home .hero h1 {
margin: 0 0 24px;
font-size: 38px;
font-weight: bold;
line-height: 1.3;
}

#home .qa-hero,
#home .blog-hero,
#home .trouble-hero {
text-align: left;
}

#home .qa-hero p,
#home .blog-hero p,
#home .trouble-hero p {
margin-left: 0;
}

#home .hero-copy p {
margin: 0 0 28px;
}

#home .button {
display: inline-flex;
width: 280px;
height: 48px;
padding-right: 28px;
padding-left: 28px;
align-items: center;
justify-content: center;
gap: 24px;
color: #ffffff;
background: var(--orange);
transition: transform 0.2s ease, background 0.2s ease;
}

#home .button:hover {
background: var(--orange-dark);
transform: translateY(-2px);
}

#home .button span {
line-height: 1;
}

#home .result-row {
width: 300px;
margin: 50px 0 50px 30px;
clear: both;
display: flex;
align-items: center;
justify-content: center;
color: var(--orange);
}

#home .hero-result h2 {
margin: 6px 0 16px;
color: var(--orange);
}

#home .hero-result p {
margin: 20px 0;
}

#home .result-column {
margin-left: -200px;
}

#home .note {
color: var(--orange);
font-size: 16px;
}

#home .result-number {
position: relative;
display: flex;
align-items: flex-end;
line-height: 1;
}

#home .result-number small {
font-size: 16px;
position: absolute;
top: -16px;
left: 7px;
}

#home .result-number strong {
font-size: 94px;
font-weight: normal;
}

#home .result-number em {
margin-bottom: 9px;
margin-left: 7px;
font-size: 24px;
font-style: normal;
font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
}

#home .arrow {
margin-right: 12px;
margin-left: 14px;
font-size: 32px;
}

#home h2{
font-size: 22px;
}

#home .trouble {
padding-top: 40px;
padding-bottom: 36px;
background: #eeeeee;
}

#home .section-title {
margin: 0 0 20px!important;
}

#home .trouble-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 14px;
}

#home .trouble-card {
display: flex;
padding: 24px 21px;
flex-direction: column;
align-items: center;
background: #ffffff;
text-align: center;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

#home .trouble-card img {
margin-bottom: 20px;
}

#home .trouble-card h3 {
margin: 8px 0 9px;
color: var(--orange);
font-size: 18px;
}

#home .trouble-card p {
margin: 0;
font-size: 14px;
line-height: 1.8;
text-align: left;
}

#home .card-arrow {
margin-top: 20px;
color: var(--orange);
font-weight: normal;
line-height: 1;
}

#home .search-box {
position: relative;
border: 1px solid #666;
display: block;
margin: 30px auto 0;
padding: 0 10px;
border-radius: 24px;
height: 50px;
width: 300px;
overflow: hidden;
background: #fff;
}

#home .search-box input[type="text"]{
border: none;
}

#home .search-box input[type="text"]:focus {
outline: 0;
}

#home .search-box 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: 15px;
top: 15px;
}

#home .data-section,
#home .articles-section,
#home .latest-section,
#home .starter-section {
padding-top: 52px;
padding-bottom: 54px;
}

#home .data-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 58px;
}

#home .chart-panel h3,
#home .movie-panel h3 {
display: flex;
margin: 0 0 28px;
align-items: center;
font-size: 18px;
gap: 8px;
}

#home .blue-square {
width: 18px;
height: 18px;
background:#333;
}

#home .chart {
position: relative;
display: flex;
height: 350px;
margin-left: 38px;
padding-bottom: 5px;
border-bottom: 1px solid #ccc;
border-left: 1px solid #ccc;
}

#home .chart-axis {
position: absolute;
top: -10px;
bottom: 26px;
left: -38px;
display: flex;
flex-direction: column;
justify-content: space-between;
color: #555555;
font-size: 12px;
}

#home .bars {
display: flex;
width: 100%;
padding-right: 15px;
padding-left: 15px;
align-items: flex-end;
gap: 8px;
background: repeating-linear-gradient(to bottom, transparent 0, transparent 65px, #eeeeee 66px);
}

#home .bar-column {
position: relative;
display: flex;
height: 100%;
flex: 1;
flex-direction: column;
justify-content: flex-end;
text-align: center;
}

#home .bar {
display: block;
min-height: 22px;
background: #f9a62f;
}

#home .bar-value {
color: #555555;
font-size: 16px;
font-weight: 700;
}

#home .bar-column small {
position: absolute;
bottom: -27px;
width: 100%;
font-size: 10px;
}

#home .decrease-badge {
position: absolute;
right: 0;
bottom: 100px;
display: grid;
width: 80px;
height: 80px;
place-items: center;
color: #ffffff;
background: #ffa12c;
border-radius: 50%;
font-size: 18px;
font-weight: 700;
line-height: 1.2;
text-align: center;
}

#home .movie-panel iframe{
display: block;
aspect-ratio: 16 / 9;
width: 100%;
margin: 20px auto 0;
border: 0;
}

#home .movie-panel p{
  margin: 20px 0;
}

#home .button--center {
display: flex;
width: 350px;
margin: 30px auto;
}

#home .articles-section {
padding-top: 20px;
background: #eee;
}

#home .article-grid,
.starter-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 52px;
}

#home .article-image {
position: relative;
overflow: hidden;
}

#home .article-image img {
width: 360px;
}

#home .article-meta {
display: flex;
margin-top: 11px;
align-items: center;
gap: 14px;
}

#home .article-meta span,
#home .category {
padding: 1px 10px;
margin: 0 0 0 20px;
color: #ffffff;
background: #333;
}

#home .article-meta time {
color: var(--orange);
font-weight: bold;
}

#home .news-row time {
color: var(--orange);
font-weight: bold;
margin-left: 20px;
}

#home .article-card {
background: #fff;
}

#home .article-card h3 {
margin: 20px;
font-size: 1em;
font-weight: 500;
}

#home .latest-section {
padding-top: 15px;
}

#home .news-row {
display: grid;
padding-top: 13px;
padding-bottom: 13px;
grid-template-columns: max-content max-content 1fr;
align-items: center;
border-bottom: 1px solid #ccc;
}

#home .news-row strong {
font-weight: normal;
margin-left: 20px;
}

#home .text-link {
display: block;
margin-top: 36px;
color: var(--orange);
text-align: center;
}

#home .starter-section {
padding-top: 15px;
}

#home .starter-grid {
gap: 48px;
}

#home .starter-card {
overflow: hidden;
border: 1px solid #cccccc;
box-shadow: 0 2px 5px rgb(0 0 0 / 5%);
}

#home .starter-visual {
display: flex;
height: auto;
align-items: center;
justify-content: center;
overflow: hidden;
}

#home .starter-visual img {
width: 360px;
}

#home .starter-copy {
min-height: 126px;
padding: 18px 20px;
border-top: 1px solid #dddddd;
}

#home .starter-copy h3 {
font-size:18px;
margin: 0 0 12px;
}

#home .starter-copy p {
margin: 0;
}

#home .profile-index-section {
padding-top: 40px;
padding-bottom: 90px;
}

#home .profile-index-box {
padding: 30px;
background: #eeeeee;
}

#home .profile-index-content {
display: grid;
grid-template-columns: 185px 1fr auto;
gap: 35px;
align-items: center;
}

#home .profile-index-copy h3 {
margin: 0 0 14px;
}

#home .profile-index-copy p {
margin: 0;
}

#home .profile-index-content .button {
min-width: 278px;
}

.wp-pagenavi {
margin: 50px auto;
width: fit-content; 
text-align: center;
display: flex;
justify-content: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
place-items: center;
padding: 15px 20px!important;
margin: 20px 1px;
color: #fff;
background: var(--orange);
border: none!important;
}

.wp-pagenavi a,
.wp-pagenavi span {
width: 60px;
}

.pagination {
display: grid;
justify-content: center;
margin-top: 50px;
}

.pagination a,
.pagination span {
place-items: center;
padding: 15px 20px!important;
margin: 20px 0;
color: #fff;
background: var(--orange);
border: none!important;
}

.pagination a {
width: 60px;
}

.pagination span {
width: 60px;
}

.site-footer {
display: flex;
min-height: 410px;
padding-top: 48px;
padding-bottom: 48px;
flex-direction: column;
align-items: center;
justify-content: space-between;
color: #ffffff;
background: var(--orange);
}

.site-footer nav {
display: flex;
flex-direction: column;
gap: 10px;
text-align: center;
}

footer .logo img{
margin: 50px auto 30px;
}

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

@media (max-width: 1180px) {

.header-inner {
padding: 20px;
}

.menu-toggle {
display: block;
position: relative;
z-index: 101;
}

.global-nav {
display: none;
position: absolute;
top: 100%;
left: 0;
z-index: 100;
width: 100%;
padding: 20px;
background: #fff;
text-align: center!important; 
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.global-nav.is-open {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 0;
}

.global-nav a {
padding: 15px 5px;
border-bottom: 1px solid #eee;
}

.menu-toggle.is-open span:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}
	
#home #top .container {
width: 90%;
margin: 0 auto;
}

#home .hero {
width: 100%;
margin: 0 auto;
padding: 40px 0;
}

#home .trouble-grid {
grid-template-columns: repeat(3, 1fr);
gap: 14px;
}

#home .data-grid {
display: block;
margin: 10px auto;
width: 90%;
}

#home .blue-square {
width: 18px;
height: 18px;
background:#333;
}

#home .button--center {
display: block;
text-align: center;
margin: 70px auto 10px;
padding: 10px 0;
}

#home .movie-panel h3 {
margin: 50px 0 28px;
}

#home .article-grid,
#home .starter-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 50px;
}

#home .article-grid img,
#home .starter-grid img {
  width: 100%;
}

#home .profile-index-content {
display: flex;
flex-direction: column;
text-align: center;
}

#home .profile-index-content .button,
#home .button {
min-width: min(100%, 280px);
}

}

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

@media (max-width: 1024px) {

#home .hero h1 {
width: 300px;
}

#home .hero-copy p {
width: 330px;
}

#home .hero::before {
height: 800px !important;
aspect-ratio: 1 / 1;
background-size: cover;
background-position: center;
background-color: #fff;
z-index: -1;
}
  
}

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

@media (max-width: 480px) {

body {
font-size: 16px;
}

#home .container {
width: min(calc(100% - 32px), 480px);
}

#breadcrumbs{
width: 100%;
margin: 10px 0;
padding: 0 20px;
font-size: 10px;
}

#home .hero {
margin-top: 50px;
margin-bottom: 0 !important;
padding-bottom: 30px!important;
width: 100%;
}

#home .hero::before {
height: 430px !important;
aspect-ratio: 1 / 1;
background-size: cover;
background-position: center;
background-color: #fff;
z-index: -1;
}

#home .hero-copy p {
width: 230px;
}

#home .hero-result {
margin: 90px 0 0!important;
}

#home .button {
display: block;
text-align: center;
padding: 10px 0;
}

#home .result-row {
padding: 0;
clear: both;
display: flex;
justify-content: center;
}

#home .logo img{
margin: 0;
width: 150px;
float: left;
}

#home .hero {
padding-top: 0px;
padding-bottom: 60px;
}

#home .hero h1 {
width: 220px;
font-size: 28px;
}

.qa-hero h1,
.blog-hero h1,
.trouble-hero h1 {
padding: 0;
font-size: 24px;
}

.qa-hero,
.blog-hero,
.trouble-hero {
margin: auto;
padding: 0;
width: 100%;
}

.blog-hero {
width: 90%;
}

.qa-hero p,
.blog-hero p,
.trouble-hero p{
margin: 20px 0 0;
padding: 0;
}

#home .result-number strong {
font-size: 63px;
}

#home .result-number em {
font-size: 18px;
}

#home .trouble-grid {
grid-template-columns: repeat(2, 1fr);
}

#home .data-grid {
width: 100%;
grid-template-columns: 1fr;
}

#home .data-grid {
display: block;
margin: 10px auto;
}

#home .button--center {
  margin: 0 auto;
  width: 200px;
}

#home .article-image img,
#home .starter-visual img {
width: 100%;
}

#home .news-row {
display: block;
}

#home .news-row strong,
#home .news-row time,
#home .news-row span {
display: block;
margin-left: 0;
}

#home .article-meta span,
#home .category {
  width: fit-content;
  display: inline;
}

#home .profile-index-content {
grid-template-columns: 150px 1fr;
}

#home .profile-index-content .button {
grid-column: 1 / -1;
justify-self: center;
}

#home .trouble-grid {
grid-template-columns:repeat(2,1fr);
}

#home .trouble-card {
min-height:140px;
}

#home .trouble-card h3 {
font-size: 16px;
}

#home .chart {
width: 320px;
height: 250px;
margin-left: 28px;
}

#home .chart-axis {
top: 0px;
bottom: 0px;
left: -28px;
}

#home .bars {
padding-right: 5px;
padding-left: 5px;
}

#home .bar {
display: block;
min-height: 22px;
background: #f9a62f;
}

#home .bar-value {
font-size: 12px;
}

#home .bars {
gap: 3px;
}

#home .decrease-badge {
width: 62px;
height: 62px;
bottom: 62px;
font-size: 12px;
}

#home .movie-panel img {
width: 100%;
}

#home .movie-thumb {
height: 240px;
}

#home .movie-heading {
font-size: 25px;
}

#home .article-grid,
#home .starter-grid {
grid-template-columns: 1fr;
gap: 35px!important;
}

#home .starter-visual img {
height: 100%;
}

.site-footer {
min-height: 360px;
}

#home footer .logo img{
margin: 50px auto 30px;
}

}

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

@media (max-width: 320px) {

	body {
		font-size: 16px!important;
	}
	
	h1{
		font-size: 22px!important;
	}
	
	h2{
		font-size: 20px!important;
	}
	
	h3{
		font-size: 18px!important;
	}

#home .hero-copy h1 {
width: 170px;
}

#home .hero-copy p {
width: 170px;
}

#home .hero-result {
margin: 90px 0 0 -40px!important;
}

#home .chart {
width: 90%;
}

#home .profile-index-content .button,
#home .button {
width: 150px!important;
}

}