@charset "utf-8";

/* HEADER
-------------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, .8);
  z-index: 100;
}

header .logo a {
  align-items: center;
}

header a {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.hamburger {
  display: none;
}

header .headWrap {
  position: relative;
  align-items: center;
  padding: 36px 0;
}

header .global-nav {
  width: calc(100% - 252px);
}

header .global-nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

header .global-nav li {
  padding-left: 30px;
}

header .global-nav li.contact a {
  padding: 10px 30px;
  background: var(--color-green);
  border-radius: 25px;
  font-size: 1.6rem;
  color: var(--color-white);
}

@media (max-width: 1200px) {
  header .headWrap {
    padding: 37px 0;
  }

  header a {
    font-size: 1.4rem;
  }

  header .logo a img {
    width: 100px;
  }

  header .global-nav {
    width: calc(100% - 100px);
  }

  header .global-nav li {
    padding-left: 20px;
  }

  header .global-nav li.contact a {
    padding: 10px 25px;
    font-size: 1.5rem;
  }
}

@media (max-width: 900px) {
  header .headWrap {
    padding: 39px 0;
  }

  header a {
    font-size: 1.2rem;
  }

  header .logo a img {
    width: 90px;
  }

  header .global-nav {
    width: calc(100% - 100px);
  }

  header .global-nav li {
    padding-left: 10px;
  }

  header .global-nav li.ig {
    padding-left: 30px;
  }

  header .global-nav li.contact a {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  header .headWrap {
    padding: 18px 15px;
    margin: 0;
    width: calc(100% - 60px);
  }

  header .logo a img {
    width: 150px;
  }

  header .global-nav {
    position: fixed;
    right: 0;
    top: 60px;
    padding: 50px 5% 100px;
    width: 100%;
    height: 100vh;
    background-color: var(--color-green);
    z-index: 200;
    overflow-y: auto;
    display: none;
  }

  .hamburger {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 300;
    transition: all 0.5s ease-in-out;
  }

  .hamburger::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7px;
    margin: auto;
    color: var(--color-green);
    font-size: 1rem;
    content: "MENU";
  }

  header .global-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  header .global-nav li {
    padding: 18px 10px;
    width: 100%;
    border-bottom: 1px solid #fff;
  }

  header .global-nav li a {
    position: relative;
    font-size: 1.8rem;
    color: var(--color-white);
  }

  header .global-nav li a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 42px;
    height: 42px;
    background: url(../img/common/arrow_white.png) no-repeat center / contain;
    content: ""
  }

  header .global-nav li.contact {
    padding-top: 30px;
    border-bottom: 0;
  }

  header .global-nav li.contact a {
    padding: 12px 30px;
    background: var(--color-white);
    color: var(--color-green);
    font-size: 1.6rem;
    text-align: center;
  }

  header .global-nav li.contact a::after {
    content: none;
  }

  .hamburger__line {
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    width: 34px;
    height: 3px;
    background-color: var(--color-green);
    border-radius: 10px;
    transition: all .6s;
  }

  .hamburger__line--1 {
    top: 13px;
  }

  .hamburger__line--2 {
    top: 23px;
  }

  .hamburger__line--3 {
    top: 33px;
  }

  /* 表示された時用のCSS */
  .nav-open .global-nav {
    display: block;
  }

  .nav-open .hamburger::after {
    content: "CLOSE";
  }

  .nav-open .black-bg {
    opacity: .8;
    visibility: visible;
  }

  .nav-open .hamburger__line--1 {
    transform: rotate(45deg);
    top: 25px;
  }

  .nav-open .hamburger__line--2 {
    width: 0;
    left: 50%;
  }

  .nav-open .hamburger__line--3 {
    transform: rotate(-45deg);
    top: 25px;
  }
}

/* common style
-------------------------------------------------------------- */
.fixedLink {
  position: fixed;
  top: 140px;
  right: 0;
  width: 50px;
  z-index: 100;
}

.fixedLink li {
  margin-bottom: 10px;
}

.fixedLink li a {
  display: block;
  padding: 20px 10px 20px 15px;
  border-radius: 15px 0 0 15px;
  color: #e2ebf1;
  word-break: break-all;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.fixedLink .recruit a {
  background: var(--color-orange);
}

.fixedLink .contact a {
  padding: 20px 5px 20px 20px;
  background: var(--color-green);
}

#sv {
  position: relative;
  margin-top: 120px;
  padding: 90px 0;
  background: url(../img/common/sv_bg.png) no-repeat center / cover;
}

#sv h1 {
  color: var(--color-white);
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

#sv h1 span {
  display: block;
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.btn a {
  position: relative;
  display: block;
  padding: 20px 30px;
  box-sizing: border-box;
  border-radius: 30px;
  background: var(--color-white);
  width: 236px;
  color: var(--color-green);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.btn a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 5px;
  margin: auto;
  width: 42px;
  height: 42px;
  background: url(../img/common/arrow_green.png) no-repeat top center / 100% auto;
  content: "";
  transition: all 0.5s ease-in-out;
}

.btn a:hover {
  background: transparent;
  color: var(--color-white);
  opacity: 1;
}

.btn a:hover::after {
  right: 0;
  background: url(../img/common/arrow_white.png) no-repeat top center / 100% auto;
}

.btnWhite a {
  background: var(--color-green);
  color: var(--color-white);
}

.btnWhite a::after {
  background: url(../img/common/arrow_white.png) no-repeat top center / 100% auto;
}

.btnWhite a:hover {
  color: var(--color-green);
}

.btnWhite a:hover::after {
  background: url(../img/common/arrow_green.png) no-repeat top center / 100% auto;
}

@media (max-width: 767px) {
  .fixedLink {
    display: flex;
    gap: 10px;
    top: auto;
    bottom: 0;
    width: 100%;
  }

  .fixedLink li {
    margin-bottom: 0;
    width: calc(50% - 5px);
  }

  .fixedLink li a {
    padding: 15px 10px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    font-size: 1.5rem;
  }

  .fixedLink .contact a {
    padding: 15px 10px;
  }

  #sv {
    margin-top: 60px;
    padding: 50px 0;
  }

  #sv h1 {
    font-size: 3rem;
  }

  #sv h1 span {
    font-size: 1.2rem;
  }

}

/* archive
-------------------------------------------------------------- */
#newsList {
  padding: 100px 0;
}

#newsList .postArea {
  margin: 0 auto 30px;
  border-top: 1px solid #666;
}

#newsList .postArea li {
  border-bottom: 1px solid #666;
}

#newsList .postArea li a {
  padding: 30px 0;
}

#newsList .postArea li .date {
  color: var(--color-green);
  width: 160px;
  font-size: 1.5rem;
  font-weight: 700;
}

#newsList .postArea li .ttl {
  width: calc(100% - 160px);
}

#newsList .postArea li.none {
  text-align: center;
}

#newsList .postArea li a:hover {
  color: var(--color-green);
}

@media (max-width: 767px) {
  #newsList {
    padding: 50px 0;
  }

  #newsList .postArea li a {
    padding: 20px 0;
  }

  #newsList .postArea li .date {
    font-size: 1.3rem;
  }

  #newsList .postArea li .date,
  #newsList .postArea li .ttl {
    width: 100%;
  }
}

/* single
-------------------------------------------------------------- */
#newsSingle article {
  border-bottom: 1px solid #666;
}

#newsSingle .ttlheader {
  margin: 150px 0 70px;
  border-bottom: 1px solid #666;
}

#newsSingle .ttlheader .date {
  color: var(--color-green);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

#newsSingle .ttlheader h2 {
  padding: 20px 0 30px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
}

#newsSingle .eyecatch {
  margin-bottom: 30px;
}

#newsSingle .freetxt {
  padding-bottom: 50px;
}

.freetxt img {
  margin-bottom: 30px;
}

.freetxt a {
  color: var(--color-green);
}

.freetxt p {
  margin-bottom: 30px;
  line-height: 2;
}

.freetxt blockquote {
  background: #efefef;
  padding: 20px;
}

.freetxt .aligncenter {
  display: block;
  margin: 0 auto;
}

.freetxt .alignleft {
  float: left;
}

.freetxt .alignright {
  float: right;
}

.freetxt ul,
.freetxt ol {
  margin: 0 20px;
}

.freetxt ul li {
  list-style: square;
  margin-bottom: 15px;
}

.freetxt ol li {
  list-style: decimal;
  margin-bottom: 15px;
}

.freetxt h2 {
  margin-bottom: 30px;
  color: var(--color-green);
  font-size: 3rem;
  font-weight: 700;
}

.freetxt h3 {
  padding: 10px;
  margin-bottom: 30px;
  border-left: 5px solid var(--color-green);
  border-bottom: 1px solid #666;
  color: var(--color-green);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
}

.freetxt table {
  width: 100%;
}

.freetxt table th {
  padding: 10px 15px;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  background-color: #fff;
  border: 1px solid #ccc;
}

.freetxt table td {
  padding: 10px 15px;
  font-size: 1.5rem;
  border: 1px solid #ccc;
}

.freetxt .youtube {
  margin-bottom: 20px;
}

.freetxt .youtube iframe {
  width: 100%;
  height: 550px;
}

@media (max-width: 767px) {
  #newsSingle .ttlheader {
    margin: 70px 0 30px;
  }

  #newsSingle .ttlheader .date {
    font-size: 1.4rem;
  }

  #newsSingle .ttlheader h2 {
    font-size: 1.6rem;
  }

  #newsSingle .eyecatch {
    margin-bottom: 20px;
  }

  #newsSingle .freetxt {
    padding-bottom: 30px;
  }

  .freetxt h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
  }

  .freetxt h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
  }

}

/* works
-------------------------------------------------------------- */
#worksList {
  padding-top: 150px;
}

#worksList .postArea li {
  margin-bottom: -1px;
  width: 48%;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

#worksList .postArea li a {
  align-items: flex-start;
  padding: 40px 0;
}

#worksList .postArea li .eyecatch {
  width: 40%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  aspect-ratio: 200 / 133;
}

#worksList .postArea li .txtArea {
  justify-content: flex-start;
  align-items: center;
  width: 55%;
}

#worksList .postArea li .cat {
  margin-right: 20px;
  padding: 8px 20px;
  background: var(--color-green);
  border-radius: 15px;
  color: var(--color-white);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

#worksList .postArea li .date {
  color: var(--color-green);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

#worksList .postArea li .ttl {
  padding-top: 10px;
  width: 100%;
  line-height: 2;
}

#worksList .postArea li.none {
  border: none;
  width: 100%;
  text-align: center;
}

#worksList .postArea li a:hover {
  color: var(--color-green);
}

#worksList .postArea li .txtArea {
  justify-content: flex-start;
  align-items: center;
  width: 55%;
}

#worksSingle {
  padding-top: 150px;
}

#worksSingle .ttlheader {
  padding-bottom: 30px;
  margin-bottom: 40px;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 1px solid #666;
}

#worksSingle .cat {
  margin-right: 20px;
  padding: 8px 20px;
  background: var(--color-green);
  border-radius: 15px;
  color: var(--color-white);
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

#worksSingle .date {
  color: var(--color-green);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

#worksSingle .postTtl {
  padding-top: 20px;
  width: 100%;
  font-size: 2rem;
  font-weight: 700;
}

#worksSingle .mainArea {
  padding-bottom: 30px;
  border-bottom: 1px solid #666;
}

#worksSingle .eyecatch {
  margin-bottom: 30px;
}

#worksSingle dt {
  padding: 10px 20px;
  background: var(--color-green);
  color: var(--color-white);
  line-height: 1;
}

#worksSingle dd {
  padding: 20px 0 50px;
  line-height: 2;
}

@media (max-width: 767px) {
  #worksList {
    padding-top: 70px;
  }

  #worksList .postArea li {
    width: 100%;
  }

  #worksList .postArea li a {
    padding: 20px 0;
  }

  #worksList .postArea li .eyecatch {
    width: 40%;
  }

  #worksList .postArea li .txtArea {
    width: 55%;
  }

  #worksList .postArea li .cat {
    margin: 0 0 10px;
    font-size: 1.3rem;
  }

  #worksList .postArea li .date {
    width: 100%;
    font-size: 1.3rem;
  }

  #worksSingle {
    padding-top: 70px;
  }

  #worksSingle .ttlheader {
    padding-bottom: 20px;
    margin-bottom: 30px;
  }

  #worksSingle .cat {
    font-size: 1.2rem;
  }

  #worksSingle .date {
    font-size: 1.3rem;
  }

  #worksSingle .postTtl {
    padding-top: 10px;
    font-size: 1.6rem;
  }

  #worksSingle .mainArea {
    padding-bottom: 20px;
  }

  #worksSingle .eyecatch {
    margin-bottom: 20px;
  }

  #worksSingle dd {
    padding: 10px 0 30px;
  }
}

/* ページネーション
-------------------------------------------------------------- */
.paging {
  position: relative;
  padding: 100px 0;
}

.paging .next a,
.paging .prev a {
  width: 120px !important;
  font-size: 1.4rem;
}

.paging .prev {
  float: left;
}

.paging .prev a {
  padding: 10px 40px 10px 30px !important;
}

.paging .next {
  float: right;
}

.paging .next a {
  padding: 10px 30px 10px 40px !important;
}

.paging .prev.btnGreen a::after {
  position: absolute;
  right: auto;
  left: 10px;
  margin: auto;
  content: "←";
}

.pagination {
  position: relative;
  text-align: center;
  width: 100%;
}

.pagination .nav-links {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

a.page-numbers,
.pagination .current {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  border: 1px solid var(--color-green);
  border-radius: 50%;
  color: var(--color-green);
  width: 42px;
  height: 42px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

a.page-numbers:hover {
  background: var(--color-green);
  color: var(--color-white);
  opacity: 1;
}


.dots {
  padding: 0 10px;
  color: var(--color-green);
  font-weight: 700;
}

a.next,
a.prev {
  box-sizing: border-box;
  width: 50px;
  height: 50px;
}

a.next {
  margin-left: 20px;
}

a.prev {
  margin-right: 20px;
}

a.next:hover,
a.prev:hover {
  background: var(--color-blue);
  color: var(--color-white);
  opacity: 1;
}

@media (max-width: 767px) {
  .paging {
    padding: 50px 0;
  }

  .paging .next a,
  .paging .prev a {
    padding: 5px 10px;
  }

  .pagination .nav-links {
    margin-top: 50px;
  }

  a.page-numbers,
  .pagination .current {
    margin: 0 2px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .dots {
    padding: 0 5px;
  }

  a.next,
  a.prev {
    width: 40px;
    height: 40px;
  }

  a.next {
    margin-left: 10px;
  }

  a.prev {
    margin-right: 10px;
  }
}

/* footer
-------------------------------------------------------------- */
footer {
  position: relative;
  padding: 100px 0 20px;
  font-size: 1.5rem;
  z-index: 1;
}

footer p {
  padding-top: 30px;
  line-height: 2.5;
}

footer .txtArea {
  width: 48%;
}

footer .fnav {
  justify-content: flex-end;
  gap: 50px;
  width: 50%;
}

footer .fnav li {
  padding-bottom: 20px;
}

footer .copy {
  padding-top: 50px;
  width: 100%;
  text-align: center;
  color: var(--color-green);
  font-size: 1.2rem;
}

/*page-top*/
#Pagetop {
  position: fixed;
  bottom: 50px;
  right: 3%;
  width: 42px;
  cursor: pointer;
  z-index: 999;
}

@media (max-width: 1000px) {
  footer .fnav {
    justify-content: flex-start;
    width: 45%;
  }

  footer .fnav nav {
    width: 100%;
  }
}

@media (max-width: 767px) {
  footer {
    padding: 50px 0 60px;
    font-size: 1.3rem;
  }

  footer .flogo {
    text-align: center;
  }

  footer p {
    padding-top: 20px;
    text-align: center;
    line-height: 2;
  }

  footer .txtArea {
    width: 100%;
  }

  footer .fnav {
    padding-top: 20px;
    gap: 20px;
    width: 100%;
  }

  footer .fnav nav {
    width: auto;
  }

  footer .fnav li {
    padding-bottom: 10px;
  }

  footer .copy {
    padding-top: 20px;
    font-size: 1rem;
  }
}