@charset "UTF-8";

/********************検索********************/

#wrapper h2{
  margin: 10px 0 0;
  font-size: 100%;
  padding-left: 5px;
}

.search{
  margin-top: 50px;
  border: solid 1px #c2c2c2;
}

.search2{
  width: 810px;
  margin: 0 auto;
}

.area{
  width: 130px;
  float: left;
  text-align: center;
  border: solid 1px #e1e1e1;
  padding: 10px 5px;
  margin: 10px 10px 40px;
  box-shadow: 0 0 5px #a5a5a5;
  cursor: pointer;
  color: #000000;
  font-weight: bold;
  justify-content: center;
}

#banner img{
  margin-top: 20px;
  width: 19.5%;
  height: 100px;
}

#banner img:hover{
  opacity: 0.8;
  transition: 0.2s;
}

.news{
  font-size: 16px;
  padding-left: 20px;
}

#news_date{
  margin-top: 20px;
}

@media screen and (max-width: 845px){
  .search2{
    width: 96%;
  }

  .area{
    width: 14%;
    margin: 10px 16px 40px;
  }

  .search a{
    font-size: 90%;
  }
}

@media screen and (max-width: 797px){
  .area{
    margin: 10px 15px 40px;
  }

  .search a{
    font-size: 85%;
  }
}

/****************************************以下モバイル****************************************/
@media screen and (max-width: 767px){
  #wrapper h2{
    margin: 10px 0 0;
    text-align: center;
  }

  .search {
    margin: 20px 2% 0;
    width: 96%;
    padding-bottom: 10px;
  }

  .area{
    width: 20%;
    margin: 10px 10px 10px;
  }

  #banner{
    width: 96%;
    margin: 10px 2% 0;
  }

  #banner img {
    margin: 0;
    width: 32%;
    height: unset;
  }

  .search2-1{
    margin-top: 50px !important;
  }
}

@media screen and (max-width: 729px){
  .area {
    margin: 10px 8px 0;
  }
}

@media screen and (max-width: 637px){
  .area {
    margin: 10px 7px 0;
  }
}

@media screen and (max-width: 601px){
  .area {
    margin: 10px 5px 0;
  }

  .search a{
    font-size: 75%;
  }
}

@media screen and (max-width: 498px){
  .area{
    width: 26%;
  }

  .area {
    margin: 10px 8px 0;
  }
}

@media screen and (max-width: 453px){
  .area {
    margin: 10px 6px 0;
  }

  #banner img{
    width: 49%;
  }
}

@media screen and (max-width: 369px){
  .area {
    width: 42%;
  }

  .search a{
    font-size: 70%;
  }
}

@media screen and (max-width: 340px){
  .area {
    margin: 10px 5px 0;
  }
  
  .search a{
    font-size: 68%;
  }
}

@media screen and (max-width: 312px){
  .area {
    margin: 10px 7px 0;
  }

  #banner img{
    width: 48%;
  }

  .area{
    width: 39%;
  }

  .search a{
    font-size: 89%;
  }
}

@media screen and (max-width: 291px){
  .area {
    margin: 10px 5px 0;
  }

  .search a{
    font-size: 73%;
  }
}

@media screen and (max-width: 249px){
  .area {
    margin: 10px 4px 0;
  }

  #banner img{
    width: 100%;
  }
}

body {
  margin: 0;
  background: #f7f8fb;
  color: #222;
  font-family: 'Noto Sans JP', sans-serif;
}

#wrapper {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 40px 0 24px;
}

.hero__inner {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #fff7f2 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.hero__sub {
  color: #d94f2b;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
  margin: 0 0 16px;
  color: #1f2937;
}

.hero__lead {
  font-size: 1rem;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35 0%, #e63946 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-secondary {
  background: #fff;
  color: #d94f2b;
  border: 1px solid #f0c7bb;
}

.btn-secondary:hover {
  background: #fff5f1;
}

.hero__image img {
  width: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.search-section,
.feature-banners {
  margin-bottom: 48px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading__sub {
  margin: 0 0 8px;
  color: #d94f2b;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #1f2937;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.search-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.search-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.search-card__title {
  font-weight: 700;
  font-size: 1rem;
}

.search-card__arrow {
  color: #d94f2b;
  font-weight: 700;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.banner-card {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.banner-card img {
  width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 28px;
  }

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

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

@media (max-width: 600px) {
  #wrapper {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding-top: 20px;
  }

  .hero__inner {
    border-radius: 18px;
    padding: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .search-grid,
  .banner-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 1.4rem;
  }
}