@charset "UTF-8";

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

#profile .page-container {
  width: min(100% - 40px, 800px);
  margin: 0 auto;
}

#profile .wide-container {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

#profile .profile-intro h1 {
  font-size: 38px;
  margin: 20px 0;
  padding-top: 30px;
}

#profile .leads {
  margin: 30px 0 60px;
}

#profile .profile-section{
  margin: 50px 0;
}

#profile .profile-section > h2,
#profile .profile-intro > h2 {
  margin: 0 0 20px;
  font-size: 20px;
}

#profile .profile-main-image {
  width: 100%;
  margin-bottom: 34px;
}

#profile .profile-main-image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

#profile .intro-text p {
  margin: 0;
}

#profile .intro-text .notice {
  color: #f58213;
}

#profile .profile-table {
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
}

#profile .profile-row {
  display: grid;
  grid-template-columns: 175px 1fr;
}

#profile .profile-label,
#profile .profile-value {
  min-height: 58px;
  padding: 17px 25px;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
}

#profile .profile-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

#profile .profile-value {
  display: flex;
  align-items: center;
}

#profile .profile-value a {
  color: #f58213;
}

#profile .achievement-box {
  display: grid;
  padding: 30px;
  background: #f1f1f1;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

#profile .achievement-item {
  display: flex;
  min-height: 170px;
  padding: 22px;
  background: #fff;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

#profile .achievement-title {
  margin-bottom: 3px;
}

#profile .achievement-number {
  color: #f58213;
  font-size: 50px;
  line-height: 1.25;
  letter-spacing: 1px;
}

#profile .achievement-number span {
  margin-left: 2px;
  font-size: 20px;
}

#profile .achievement-number small {
  margin: 0 6px;
  font-size: 24px;
}

#profile .achievement-number-wide {
  white-space: nowrap;
}

#profile .achievement-note {
  margin-top: 4px;
}

#profile .history-section {
  margin: 50px 0;
}

#profile .history-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 285px 1fr;
  gap: 38px;
}

#profile .history-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

#profile .history-map img {
  width: 245px;
}

#profile .history-content h2 {
  margin: 0 0 28px;
  font-size: 20px;
}

#profile .history-list {
  margin: 0;
}

#profile .history-list > div {
  display: grid;
  margin-bottom: 20px;
  grid-template-columns: 145px 1fr;
}

#profile .history-list dt,
#profile .history-list dd {
  margin: 0;
  color: #333;
}

#profile .history-list dt {
}

#profile .site-operation {
  display: grid;
  margin: 50px 0;
  padding: 34px 55px;
  border: 1px solid #999;
  align-items: center;
  grid-template-columns: 205px 1fr;
}

#profile .operation-icon img {
  width: 115px;
  margin: auto;
}

#profile .operation-content h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

#profile .operation-content p {
  margin: 0;
  line-height: 1.8;
}

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

@media screen and (max-width: 1180px) {

  #profile .page-container,
  #profile .wide-container {
    width: calc(95% - 40px);
  }

#breadcrumbs{
  width: 95%!important;
}

}

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

@media screen and (max-width: 480px) {

  #profile .guide-grid {
    gap: 20px;
  }

  #profile .page-container,
  #profile .wide-container {
    width: calc(100% - 40px);
  }

  #profile .profile-intro h1 {
    margin: 0;
    padding: 0;
    font-size: 24px;
  }

  #profile .profile-intro .leads{
    margin: 20px 0;
    padding: 0;
    font-size: 16px;
    font-family: ;
    line-height: 1.5;
  }

  #profile .profile-main-image img {
    height: auto;
  }

  #profile .profile-row {
    grid-template-columns: 100px 1fr;
  }

  #profile .profile-label,
  #profile .profile-value {
    padding: 13px 12px;
  }

  #profile .achievement-box {
    padding: 15px;
    gap: 15px;
  }

  #profile .achievement-item {
    min-height: 140px;
    padding: 15px 8px;
  }

  #profile .achievement-number {
    font-size: 32px;
  }

  #profile .achievement-number span {
    font-size: 15px;
  }

  #profile .history-layout {
    display: block;
  }

  #profile .history-map {
    margin-bottom: 40px;
  }

  #profile .history-list > div {
    grid-template-columns: 100px 1fr;
  }

  #profile .site-operation {
    display: block;
    padding: 20px 25px;
  }

  #profile .operation-icon {
    width: 120px;
    margin: 25px auto;
  }

  #profile .guide-grid {
    grid-template-columns: 1fr;
  }

  #profile .guide-card {
    max-width: 430px;
    margin: auto;
  }

  #profile .about-banner-content {
    display: block;
  }

  #profile .about-character,
  #profile .about-text {
    margin-bottom: 25px;
  }
  
  #profile .achievement-box {
    grid-template-columns: 1fr;
  }

  #profile .profile-row {
    grid-template-columns: 90px 1fr;
  }
}
