@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap");

body {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-optical-sizing: auto;
  font-style: normal;
}

header {
  background-color: #90c2df;
  /* color: #fff; */
  padding: 10px 0;
  text-align: center;
}

header h1 {
  margin: 0;
}

nav ul li a {
  color: #3f3f3f;
  text-decoration: none;
}

/* ここから */
.signage {
  max-width: 1210px;
  width: 90%;
  margin: auto;
  margin-top: 90px;
  height: 330px;
  background: #90c2df !important;
  position: relative;
  z-index: 0;
  display: table;
}
.signage,
.signage::after {
  border-radius: 50px;
}
div.signage-content {
  text-shadow: 2px 2px 2px #888888;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
h2.signage-title.headline-font-type {
  color: #ffffff;
  font-size: 50px;
  text-align: center;
  margin: auto;
  font-weight: 700;
  text-shadow: none;
}

.breadcrumb {
  /* padding: 0px 90px; */
  max-width: 1000px;
  width: 80%;
  font-size: 14px;
  margin: auto;
  position: relative;
  top: -40px;
  color: #fff !important;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: ">";
  margin: 0 8px;
  /* color: #555; */
}

.breadcrumb a {
  text-decoration: none;
  color: #fff;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  font-weight: normal;
  /* color: #000; */
}

p.signage-title-sub {
  /* color: #FFFFFF; */
  font-size: 16px;
}
.signage::after {
  content: "";
  position: absolute;
  display: block;
  background-image: url(../../images/archive/article-top.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.6;
}

div.fullWide {
  padding: 100px 0px;
  /* background-color: #eaeaea !important; */
}
.flex {
  display: flex;
}
.container {
  flex-wrap: wrap;
  max-width: 1210px;
  width: 90%;
  margin: auto;
}

.main-content {
  flex: 1;
  min-width: 300px;
  margin: auto;
  margin-right: 45px;
}

.main-content a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s;
}

.main-content a:hover {
  opacity: 0.5;
}

.sidebar-box {
  width: 250px;
  min-width: 200px;
}

.sidebar {
  margin-bottom: 65px;
}

.sidebar:last-child {
  margin-bottom: 0px;
}

.sidebar h3 {
  font-size: 20px;
  font-weight: bold;
  padding: 0 0.5em 0.5em;
  position: relative;
  margin-bottom: 25px;
}

.sidebar h3::before {
  content: "";
  bottom: 0;
  left: 0;
  width: 40%;
  z-index: 1;
  background: #90c2df;
  box-sizing: inherit;
  display: block;
  height: 2px;
  position: absolute;
  z-index: 0;
}

.sidebar h3::after {
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.12);
  box-sizing: inherit;
  display: block;
  height: 2px;
  position: absolute;
  z-index: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  display: flex;
  margin-bottom: 10px;
  padding: 0 0.5em 0.5em;
  border-bottom: 1px solid #afd3e8;
}

.sidebar ul li img {
  width: 16px;
  height: auto;
  margin-bottom: -3px;
  display: inline-block;
}

.sidebar ul li a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s;
  width: 100%;
}

.sidebar ul li a:hover {
  opacity: 0.5;
}

/* 検索フォームのスタイル */
.search-container {
  max-width: 1000px;
  width: 80%;
  margin: 20px auto 40px;
  position: relative;
  top: -20px;
}

.search-form {
  display: flex;
  gap: 10px;
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.search-field {
  flex: 1;
  padding: 12px 20px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
}

.search-field::placeholder {
  color: #999;
}

.search-submit {
  padding: 12px 30px;
  background-color: #90c2df;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-submit:hover {
  background-color: #7ab5d4;
}

@media screen and (max-width: 820px) {
  .breadcrumb {
    /* padding: 0px 90px; */
    max-width: 700px;
    width: 80%;
  }

  .container {
    max-width: 800px;
    width: 90%;
  }
  .flex {
    display: block;
  }

  .sidebar-box {
    width: 90%;
    max-width: 800px;
    margin-top: 100px;
  }
  .sidebar h3 {
    padding: 0 1em 0.5em;
  }
  .sidebar ul li {
    padding: 0 1em 0.5em;
  }

  /* 検索フォームのレスポンシブ対応 */
  .search-container {
    width: 90%;
    margin: 20px auto;
  }

  .search-form {
    padding: 15px;
  }

  .search-field {
    font-size: 14px;
    padding: 10px 15px;
  }

  .search-submit {
    font-size: 14px;
    padding: 10px 20px;
  }
}

@media screen and (max-width: 820px) {
  .signage {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  div.fullWide {
    padding: 30px 0px;
  }

  .breadcrumb {
    width: 78%;
    font-size: 12px;
  }

  .breadcrumb a img {
    top: 0px;
  }

  .signage,
  .signage::after {
    border-radius: 25px;
  }
  .signage {
    height: 160px;
  }
  h2.signage-title.headline-font-type {
    font-size: 30px;
  }

  /* モバイル時の検索フォーム */
  .search-form {
    flex-direction: column;
    gap: 10px;
  }

  .search-submit {
    width: 100%;
  }
}

/* 検索リセットボタン */
.reset-search {
  margin-top: 20px;
}

.reset-search-button {
  display: inline-block;
  padding: 10px 24px;
  background-color: #90c2df;
  color: #fff !important;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  border-radius: 33px;
  border: none;
  transition: opacity 0.3s ease;
}

.reset-search-button:focus,
.reset-search-button:hover {
  opacity: 0.8;
}
