@charset "UTF-8";

/* -------------------------------------
  base
------------------------------------- */

:root {
  --text-color: #333;
  --accent-color-green: #00B0A8;
  --accent-color-orange: #EF8337;
  --accent-color-pink: #E24462;
  --accent-color-ygreen: #B4C939;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.75;
  background: url(../img/common/top-bg.png) no-repeat center top / max(100%,1920px) auto;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

img {
  width: 100%;
  vertical-align: top;
}


/* -------------------------------------
  common class
------------------------------------- */

.main {
  margin-top: 100px;
}

.font-sans {
  font-family: "Open Sans", sans-serif;
}

.font-mont {
  font-family: "Montserrat", sans-serif;
}

.inner-l {
  max-width: 1400px;
  margin: auto;
  padding: 0 3vw;
  box-sizing: content-box;
}

.inner-m {
  max-width: 1200px;
  margin: auto;
  padding: 0 3vw;
  box-sizing: content-box;
}

.is-pc {
  display: block;
}

.is-sp {
  display: none;
}

.more-btn {
  width: fit-content;
}

.more-btn a {
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  width: 100%;
  height: 100%;
  transition: all .3s;
}

.more-btn.btn-square {
  min-width: 250px;
  height: 60px;
}

.more-btn.btn-square a {
  padding: 0 60px 0 40px;
  box-sizing: border-box;
}

.more-btn.btn-rounded {
  width: 300px;
  height: 60px;
}

.more-btn.btn-green a {
  color: var(--accent-color-green);
  border-radius: 10px;
  border: 1px solid var(--accent-color-green);
  background: #fff url(../img/common/arrow-green.svg) no-repeat right 25px center / 8px auto;
}

.more-btn.btn-green a:hover {
  color: #fff;
  background-color: var(--accent-color-green);
  background-image: url(../img/common/arrow-white.svg);
}

.more-btn.btn-white a {
  color: var(--text-color);
  border-radius: 30px;
  box-shadow: 0px 7px 7px 0px rgba(0, 0, 0, 0.1);
  background: #fff url(../img/common/arrow-orange.svg) no-repeat right 25px center / 8px auto;
}

.more-btn.btn-white a:hover {
  box-shadow: 0px 1px 7px 0px rgba(0, 0, 0, 0.1);
  transform: translateY(6px);
}

.more-btn.btn-orange a {
  font-size: 1.8rem;
  color: #fff;
  border: 2px solid var(--accent-color-orange);
  border-radius: 30px;
  background: var(--accent-color-orange) url(../img/common/arrow-white.svg) no-repeat right 25px center / 8px auto;
}

.more-btn.btn-orange a:hover {
  color: var(--accent-color-orange);
  background-color: #fff;
  background-image: url(../img/common/arrow-orange.svg);
}

.more-btn.btn-l {
  width: min(500px, 100%) !important;
  margin-top: 100px;
}

.link-text {
  color: #1E96E0;
  text-decoration: underline;
  transition: opacity .2s;
}

.link-text:hover {
  opacity: 0.7;
}


/* -------------------------------------
  articles
------------------------------------- */

.articles-items {
  width: calc((100% - 2% * 3) / 4);
}

.articles-items a {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--text-color);
  padding: 12px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 7px 7px 0px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  transition: all .3s;
}

.articles-items a:hover {
  box-shadow: 0px 1px 7px 0px rgba(0, 0, 0, 0.1);
  transform: translateY(6px);
}

.articles-items a img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.articles-items__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 12px;
  transition: color .2s;
}

.articles-items a:hover .articles-items__title {
  color: var(--accent-color-orange);
}

.articles-items__title br {
  display: none;
}

.articles-items__tag {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  width: fit-content;
  margin: 10px 5px 0 0;
  padding: 1px 10px 2px;
}

.articles-items__tag.orange {
  background-color: var(--accent-color-orange);
}

.articles-items__tag.green {
  background-color: var(--accent-color-green);
}

.articles-items__infos {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #333;
}

.articles-items__info {
  display: flex;
  align-items: start;
}

.articles-items__info dt {
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-right: 5px;
  padding: 0.1em 0.4em 0.2em;
  background-color: #333;
}

.articles-items__info dd {
  flex: 1;
  font-size: 1.5rem;
}

.articles-items__text {
  font-size: 1.4rem;
}

.articles-items__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
}

.articles-items__tags li {
  font-size: 1.2rem;
  color: #aaa;
}

.not-found {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-top: 100px;
}


/* -------------------------------------
  header
------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 140px 0 36px;
  background-color: #fff;
  z-index: 90;
}

.site-title {
  width: 268px;
}

.site-title a {
  display: flex;
  align-items: center;
}

.header-nav {
  margin-left: 50px;
}

.header-nav__lists {
  display: flex;
  gap: 40px;
}

.header-nav__list a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
  transition: color .3s;
}

.header-nav__list a:hover {
  color: var(--accent-color-orange);
}

.inpit-logo {
  width: 65px;
  margin-left: auto;
}

.header .members-btns {
  margin-left: 40px;
}

.members-btns {
  display: flex;
  gap: 20px;
}

.member-btn {
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  width: 200px;
  height: 55px;
  border-radius: 10px;
  transition: all .2s;
}

.member-btn.btn-white {
  color: var(--accent-color-green);
  background-color: #fff;
  border: 2px solid var(--accent-color-green);
}

.member-btn.btn-white:hover {
  background-color: rgba(0, 176, 168, 0.2);
}

.member-btn.btn-green {
  color: #fff;
  background-color: var(--accent-color-green);
  border: 2px solid var(--accent-color-green);
}

.member-btn.btn-green:hover {
  color: var(--accent-color-green);
  background-color: rgba(0, 176, 168, 0.2);
}

.drawer-btn {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin-left: 40px;
  background-color: var(--accent-color-orange);
  z-index: 99;
}

.drawer-btn__bars {
  position: relative;
  width: 40px;
  height: 22px;
  margin-top: 10px;
}

.drawer-btn__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}

.drawer-btn__bars span:nth-of-type(1) {
  top: 0;
}

.drawer-btn__bars span:nth-of-type(2) {
  top: 50%;
  opacity: 1;
}

.drawer-btn__bars span:nth-of-type(3) {
  top: 100%;
}

.drawer-btn.is-open .drawer-btn__bars span:nth-of-type(1) {
  transform: translateY(15px) rotate(45deg);
}

.drawer-btn.is-open .drawer-btn__bars span:nth-of-type(2) {
  opacity: 0;
}

.drawer-btn.is-open .drawer-btn__bars span:nth-of-type(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer-btn__text {
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin-top: 10px;
}

.drawer-menu {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 540px;
  height: 100lvh;
  padding: 160px 40px 70px;
  z-index: 98;
  background-color: #fff;
  transform: translateX(100%);
  overflow: auto;
  transition: transform 0.3s;
}

.drawer-menu.is-open {
  transform: translateX(0);
}

.drawer-menu__contents {
  display: flex;
  margin-top: 70px;
  gap: 60px;
}

.drawer-menu__lists {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-menu__list a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  transition: color .3s;
}

.drawer-menu__list a:hover {
  color: var(--accent-color-orange);
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100lvh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 90;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}


/* -------------------------------------
  footer
------------------------------------- */

.footer__contents {
  padding: 65px 0;
  background-color: #FFF2E9;
}

.footer__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo {
  width: 15.9%;
  height: 100%;
  aspect-ratio: 1;
}

.footer__logo a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 10px;
}

.footer__logo img {
  width: 80%;
}

.footer__links {
  display: flex;
  gap: 50px;
  margin-left: 50px;
}

.footer-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link__item a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
  transition: color .3s;
}

.footer-link__item a:hover {
  color: var(--accent-color-orange);
}

.footer__members {
  margin-left: auto;
  padding: 35px 35px 45px;
  border-top: 1px solid var(--accent-color-green);
  border-bottom: 1px solid var(--accent-color-green);
}

.footer-members__text {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.footer__bottom {
  background-color: var(--accent-color-orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.footer-bottom__link {
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
}

.footer-bottom__link-item a {
  font-size: 1.4rem;
  color: #fff;
  transition: opacity .3s;
}

.footer-bottom__link-item a:hover {
  opacity: 0.7;
}

.copyright {
  font-size: 1.2rem;
  color: #fff;
}

#page-top {
  position: fixed;
  width: 60px;
  bottom: 30px;
  right: 30px;
  z-index: 50;
  transition: transform .3s;
}

#page-top:hover {
  transform: scale(1.1);
}


/* -------------------------------------
  animation
------------------------------------- */

.js-fadeUp {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s, transform .8s;
}
.js-fadeUp.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.js-fadeRtoL {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .5s, transform .8s;
}
.js-fadeRtoL.is-inview {
  opacity: 1;
  transform: translateX(0);
}



/* -------------------------------------
  responsive
------------------------------------- */

@media (width < 1540px) {
  .header-nav {
    display: none;
  }
}


@media (width < 1200px) {
  .footer__links {
    gap: 40px;
  }
  .footer-link__item a,
  .footer-bottom__link-item a {
    font-size: 1.2rem;
  }
   .footer .members-btns {
    flex-direction: column;
   }
}


@media (width < 1000px) {
  .header .members-btns {
    display: none;
  }
  .articles-items {
    width: calc((100% - 2% * 2) / 3);
  }
}


@media (width < 768px) {
  /* base
  ----------------------------------- */
  body {
    background-image: url(../img/common/top-bg-sp.png);
    background-size: 100% auto;
  }

  /* common class
  ----------------------------------- */
  .main {
    margin-top: 60px;
  }
  .inner-l {
    padding: 0 5.4vw;
  }
  .inner-m {
    padding: 0 5.4vw;
  }
  .is-pc {
    display: none;
  }
  .is-sp {
    display: block;
  }
  .more-btn.btn-square {
    width: 250px;
    min-width: unset;
  }
  .more-btn.btn-rounded {
    width: min(100%,255px);
    height: 50px;
  }
  .more-btn.btn-orange a {
    font-size: 1.6rem;
  }
  .more-btn.btn-l {
    margin-top: 60px;
  }
  .articles-items {
    width: calc((100% - 2%) / 2);
  }
  .not-found {
    font-size: 1.6rem;
    margin-top: 80px;
  }

  /* header
  ----------------------------------- */
  .header {
    height: 60px;
    padding-left: 5.4vw;
  }
  .site-title {
    width: 178px;
  }
  .inpit-logo {
    width: 42px;
    margin-left: 25px;
  }
  .drawer-btn {
    width: 60px;
    height: 60px;
    margin-left: auto;
  }
  .drawer-btn__bars {
    width: 24px;
    height: 14px;
  }
  .drawer-btn__bars span {
    height: 2px;
  }
  .drawer-btn__text {
    font-size: 1.2rem;
    margin-top: 5px;
  }
  .member-btn {
    width: 275px;
    height: 60px;
  }
  .drawer-btn.is-open .drawer-btn__bars span:nth-of-type(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .drawer-menu {
    width: 300px;
    padding: 100px 0px 100px;
  }
  .drawer-menu .member-btn {
    width: 250px;
  }
  .drawer-menu__contents {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }
  .drawer-menu__list a {
    font-size: 1.6rem;
  }

  /* footer
  ----------------------------------- */
  .footer__contents {
    padding: 50px 0;
  }
  .footer__wrap {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .footer__logo {
    width: 170px;
  }
  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
  }
  .footer-link {
    gap: 10px;
  }
  .footer-link__item {
    text-align: center;
  }
  .footer-link__item a {
    font-size: 1.6rem;
  }
  .footer__members {
    margin: 0 auto;
    padding: 20px 0 25px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  .footer-members__text {
    margin-bottom: 12px;
  }
  .members-btns {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer__bottom {
    padding: 25px 0 30px;
  }
  .footer-bottom {
    flex-direction: column;
    height: auto;
  }
  .footer-bottom__link {
    gap: 0 15px;
    max-width: 225px;
  }
  .copyright {
    margin-top: 20px;
  }
  #page-top {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 20px;
  }
}