@charset "UTF-8";
/*
Theme Name: bunkyo
*/

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
iframe {
  width: 100%;
  vertical-align: bottom;
}
a {
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  opacity: 0.7;
}
li {
  list-style: none;
}
main {
  padding-top: 90px;
}

.wrapper {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.bg-wrapper {
  background-image: url(img/common/bg.png);
  background-repeat: repeat;
  background-position: center top;
  padding-top: 40px;
}

/*-------------------------------------------
Header
-------------------------------------------*/
#header {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin: 0 auto;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
#header .logo {
  max-width: 320px;
}
#header .logo a {
  display: block;
  line-height: 1px;
}
#header .globalmenu {
  margin-left: auto;
}
#header .menu {
  display: flex;
  align-items: center;
}
#header .menu > li {
  font-size: 15px;
  margin-left: 40px;
}
#header .menu .single > span {
  cursor: pointer;
  position: relative;
  padding: 35px 0;
}
#header .menu .single .menu-second {
  width: 100%;
  background-color: #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.16);
  position: absolute;
  top: 90px;
  left: 0;
  display: none;
  z-index: 10;
}
#header .menu .single .menu-second .second-title {
  max-width: 960px;
  color: #08B9D0;
  font-size: 26px;
  padding: 15px 20px 10px;
  margin: 0 auto;
  letter-spacing: 0.2em;
}
#header .menu .single .menu-second .second-title span {
  position: relative;
}
#header .menu .single .menu-second .second-title span::before,
#header .menu .single .menu-second .second-title span::after {
  content: "";
  width: 16px;
  height: 2px;
  background-color: #08B9D0;
  position: absolute;
  right: -40px;
}
#header .menu .single .menu-second .second-title span::before {
  transform: rotate(30deg);
  top: 15px;
}
#header .menu .single .menu-second .second-title span::after {
  transform: rotate(-30deg);
  top: 22px;
}
.menu-second ul {
  max-width: 960px;
  display: flex;
  flex-wrap: wrap;
  gap: 6%;
  padding: 0 20px 40px 20px;
  margin: 0 auto;
}
.menu-second li {
  width: 47%;
  border-bottom: solid 1px #707070;
  font-size: 17px;
  padding: 30px 20px 10px;
  margin-left: 0;
  position: relative;
}
.menu-second li::before,
.menu-second li::after {
  content: "";
  width: 12px;
  height: 1px;
  background-color: #000;
  position: absolute;
  right: 10px;
}
.menu-second li::before {
  transform: rotate(30deg);
  top: 38px;
}
.menu-second li::after {
  transform: rotate(-30deg);
  top: 44px;
}
.menu-second li a {
  display: block;
}
.menu-second.companuy-link-area {
  margin-top: 80px;
}
.menu-second.companuy-link-area ul {
  max-width: 1200px;
}
#header .menu .single:hover .menu-second {
  display: block;
}

/*-------------------------------------------
Footer
-------------------------------------------*/
#footer {
  background-color: rgba(252, 246, 240, 0.65);
  padding: 40px 0 20px;
  margin-top: 120px;
}
#footer .btn-fixed {
  width: 77px;
  cursor: pointer;
  margin-left: auto;
  margin-top: -70px;
  transition: 0.3s;
}
#footer .btn-fixed {
  opacity: 0.7;
}
#footer .footer-menu {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}
#footer .footer-menu .logo {
  max-width: 320px;
  margin-right: 30px;
}
#footer .footer-menu .menu-list {
  display: flex;
  align-items: center;
}
#footer .footer-menu .menu-list li {
  font-size: 15px;
  margin-left: 60px;
}
#footer .copyright {
  font-size: 12px;
  text-align: center;
}

/*-------------------------------------------
下層ページ共通ヘッダー
-------------------------------------------*/
.page-header {
  width: 100%;
  display: flex;
  margin-bottom: 100px;
}
.page-header .header-img {
  width: 45%;
}
.page-header .header-img img {
  width: 100%;
  min-height: 240px;
  max-height: 300px;
  object-fit: cover;
}
.page-header .header-title {
  width: 55%;
  background-color: #FCF6F0;
  display: flex;
  align-items: center;
  padding-left: 5%;
}
.page-header .header-title .page-title {
  font-weight: normal;
}
.page-header .header-title .page-title .t1 {
  display: block;
  font-size: 28px;
  letter-spacing: 0.2em;
}
.page-header .header-title .page-title .t2 {
  display: block;
  font-size: 20px;
  letter-spacing: 0.05em;
}
.page-header-text {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FCF6F0;
  padding: 0 20px;
  margin-bottom: 100px;
  text-align: center;
}
.page-header-text .page-title {
  font-size: 28px;
  font-weight: normal;
  letter-spacing: 0.2em;
}

/*-------------------------------------------
お知らせ一覧
-------------------------------------------*/
.news .news-list {
  margin-bottom: 20px;
}
.news .news-list .group {
  display: flex;
  align-items: center;
  border-top: solid 1px #B2B2B2;
  padding: 15px;
}
.news .news-list .group:last-child {
  border-bottom: solid 1px #B2B2B2;
}
.news .news-list .group dt {
  width: 160px;
}
.news .news-list .group dd {
  width: calc(100% - 160px);
  line-height: 1.6;
}
.news .btn-common {
  text-align: right;
}

/*-------------------------------------------
404
-------------------------------------------*/
#not-found {
  padding: 100px 20px 20px;
  text-align: center;
}
#not-found .t1 {
  font-size: 24px;
  margin-bottom: 40px;
}

/*-------------------------------------------
ページネーション
-------------------------------------------*/
.pagination {
  margin-top: 40px;
}
.pagination ol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.pagination li {
  margin: 5px 15px;
}
.pagination li.active {
  border-bottom: solid 1px #000;
}

/*-------------------------------------------
共通
-------------------------------------------*/
.section-title {
  border-bottom: solid 1px #707070;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 0.05em;
  padding-bottom: 10px;
  margin-bottom: 30px;
  text-align: center;
}
.section-title .en {
  font-weight: bold;
  letter-spacing: 0.025em;
  margin-right: 20px;
}
.section-title .ja {
  letter-spacing: 0.05em;
  font-size: 27px;
}

.btn-common a,
.btn-common .btn-text {
  background-color: #fff;
  display: inline-block;
  border: solid 1px #707070;
  border-radius: 40px;
  font-size: 15px;
  padding: 8px 80px 8px 50px;
  text-align: center;
}
.btn-common a .text {
  display: inline-block;
  position: relative;
}
.btn-common a .text::before,
.btn-common a .text::after {
  content: "";
  width: 9px;
  height: 9px;
  border-left: solid 1px #333;
  border-bottom: solid 1px #333;
  transform: rotate(-135deg);
  position: absolute;
  top: calc(50% - 4px);
}
.btn-common a .text::before {
  right: -20px;
}
.btn-common a .text::after {
  right: -35px;
}

.btn-back {
  margin-top: 40px;
  text-align: center;
}
.btn-back a {
  border: solid 1px #1E1E3C;
  border-radius: 40px;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  padding: 9px 40px;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 1050px) {
  #header .logo {
    max-width: clamp(220px, 28vw, 320px);
  }
  #header .menu > li {
    font-size: clamp(13px, 1.5vw, 15px);
    margin-left: 20px;
  }

  #footer .footer-menu .menu-list li {
    font-size: 14px;
    margin-left: 20px;
  }
}
@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 60px;
  }
  .pc {
    display: none !important;
  }

  .bg-wrapper {
    background-size: 120%;
    background-position: center top;
    padding-top: 20px;
  }

  main {
    padding-top: 60px;
  }

  /*-------------------------------------------
  Header
  -------------------------------------------*/
  #header {
    height: 60px;
  }
  #header .logo {
    max-width: 240px;
  }
  #header .menu > li {
    font-size: 14px;
    margin-left: 0;
  }
  #header .menu > li a {
    margin-left: 0;
    position: relative;
  }
  #header .menu .single > span {
    cursor: auto;
    display: block;
    padding: 16px;
  }
  #header .menu .single .menu-second {
    background-color: transparent;
    box-shadow: none;
    display: block;
    position: static;
  }
  .menu-second ul {
    flex-direction: column;
    padding: 0;
  }
  #header .menu .single .menu-second li {
    width: 100%;
    border: none;
    border-top: solid 1px #ccc;
    font-size: 14px;
    padding: 0 0 0 16px;
    margin-left: 0;
    text-align: left;
  }
  .menu-second li img {
    display: none;
  }
  #header .menu .single .menu-second .second-title {
    display: none;
  }
  #header .menu .single .menu-second .text {
    color: #333;
  }
  #header .menu .single .menu-second li::before {
    content: none;
  }
  #header .menu li {
    position: relative;
  }
  #header .menu li::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: transparent;
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
    transform: rotate(-135deg);
    position: absolute;
    top: calc(50% - 5px);
    right: 20px;
  }
  #header .menu li.single::after {
    content: none;
  }
  .menu-second.companuy-link-area {
    padding: 0 20px 40px 20px;
    margin-top: 40px;
  }
  .menu-second.companuy-link-area li {
    width: 100%;
    font-size: 15px;
  }

  /* ハンバーガーメニュー */
  #header .hamburger {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    top: -0;
    z-index: 20;
  }
  #header .hamburger span {
    width: 30px;
    height: 2px;
    background-color: #000;
    display: block;
    position: absolute;
    transition: 0.3s ease-in-out;
  }
  #header .hamburger span:nth-child(1) {
    top: 5px;
  }
  #header .hamburger span:nth-child(2) {
    top: 15px;
  }
  #header .hamburger span:nth-child(3) {
    top: 25px;
  }
  #header .globalmenu {
    width: 100%;
    height: 100vh;
    background-color: #fff;
    padding-top: 64px;
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
  }
  #header .globalmenu .menu {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding-bottom: 160px;
    overflow: auto;
  }
  #header .globalmenu .menu > li {
    width: 100%;
    border-bottom: solid 1px #707070;
    text-align: left;
  }
  #header .globalmenu .menu li a {
    width: 100%;
    display: block;
    padding: 16px;
  }
  #header.open .hamburger {
    position: fixed;
    top: 16px;
    right: 24px;
  }
  #header.open .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(-315deg);
  }
  #header.open .hamburger span:nth-child(2) {
    opacity: 0;
  }
  #header.open .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(315deg);
  }
  #header.open .globalmenu {
    transition: opacity 0.6s ease, visibility 0.6s ease;
    opacity: 1;
    visibility: visible;
  }

  /*-------------------------------------------
  Footer
  -------------------------------------------*/
  #footer .footer-menu {
    flex-direction: column;
    margin-bottom: 30px;
  }
  #footer .footer-menu .logo {
    max-width: 280px;
    margin: 0 0 30px;
  }
  #footer .footer-menu .menu-list {
    flex-direction: column;
  }
  #footer .footer-menu .menu-list li {
    margin: 0 0 10px;
  }
  #footer .copyright {
    font-size: 10px;
  }
  #footer .btn-fixed {
    width: 47px;
  }

  /*-------------------------------------------
  404
  -------------------------------------------*/
  #not-found .t1 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  /*-------------------------------------------
  下層ページ共通ヘッダー
  -------------------------------------------*/
  .page-header {
    margin-bottom: 40px;
  }
  .page-header .header-img img {
    min-height: 160px;
  }
  .page-header .header-title .page-title .t1 {
    font-size: 20px;
  }
  .page-header .header-title .page-title .t2 {
    font-size: 14px;
  }
  .page-header-text {
    height: 140px;
    margin-bottom: 40px;
  }
  .page-header-text .page-title {
    font-size: 20px;
  }

  /*-------------------------------------------
  お知らせ一覧
  -------------------------------------------*/
  .news .news-list .group {
    flex-direction: column;
    font-size: 15px;
    padding: 15px 0;
  }
  .news .news-list .group dt {
    width: 100%;
    margin-bottom: 5px;
  }
  .news .news-list .group dd {
    width: 100%;
  }

  /*-------------------------------------------
  ページネーション
  -------------------------------------------*/
  .pagination li {
    margin: 5px 10px;
  }
  .pagination li.prev {
    left: 5px;
  }
  .pagination li.next {
    right: 5px;
  }

  /*-------------------------------------------
  共通
  -------------------------------------------*/
  .section-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .section-title .en {
    margin-right: 10px;
  }
  .section-title .ja {
    font-size: 20px;
  }

  .btn-back {
    margin-top: 20px;
  }

}
@media screen and (min-width: 769px) {
  .sp {
    display: none !important;
  }
}