@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: 100px 0;
  background: var(--color-green);
}

#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 {
  margin: 100px 0;
}

#newsList ul {
  margin: 0 auto 30px;
  max-width: 660px;
}
#newsList ul li a {
  padding: 10px 0;
  font-size: 1.5rem;
}

#newsList ul li .date {
  width: 120px;
}

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

#newsList ul li.none {
  text-align: center;
}
@media (max-width: 767px) {
  #newsList {
    margin-bottom: 100px;
  }

  #newsList ul li a {
    font-size: 1.4rem;
  }
  
  #newsList ul li .date,
  #newsList ul li .ttl {
    width: 100%;
  }
}

/* single
-------------------------------------------------------------- */
#newsSingle {
  margin-bottom: 280px;
}

#newsSingle article {
  padding: 0 30px;
  border-bottom: 2px solid var(--color-blue);
  color: var(--color-black);
  font-size: 1.5rem;
}

#newsSingle .postTtl {
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 80px;
  color: var(--color-blue);
  font-size: 3rem;
  font-weight: 700;
  line-height: 2;
}

#newsSingle .postTtl::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: url(../img/common/post_ttl_line.png) no-repeat left center;
  content: "";
}

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

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

#newsSingle .btnGreen a {
  margin: 120px auto 100px;
  padding: 16px 30px;
  border-radius: 25px;
  border: 1px solid var(--color-blue);
  width: 300px;
  font-size: 1.5rem;
}

#recruitSingle {
  margin-bottom: 80px;
}

#recruitSingle article {
  padding: 0 30px;
  border-bottom: 2px solid var(--color-blue);
  color: var(--color-black);
  font-size: 1.5rem;
}

#recruitSingle .postTtl {
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 80px;
  color: var(--color-blue);
  font-size: 3rem;
  font-weight: 700;
  line-height: 2;
}

#recruitSingle .postTtl::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: url(../img/common/post_ttl_line.png) no-repeat left center;
  content: "";
}

#recruitSingle .pr {
  padding-bottom: 60px;
}

#recruitSingle dl {
  border-top: 1px solid var(--color-gray);
}

#recruitSingle dt {
  padding: 30px 0;
  border-bottom: 1px solid var(--color-gray);
  width: 25%;
  font-weight: 700;
}

#recruitSingle dd {
  padding: 30px 0;
  border-bottom: 1px solid var(--color-gray);
  width: 75%;
}

#recruitSingle .btnGreen a {
  margin: 120px auto 100px;
  padding: 16px 30px;
  border-radius: 25px;
  border: 1px solid var(--color-blue);
  width: 300px;
  font-size: 1.5rem;
}

#newPost {
  position: relative;
  padding-bottom: 50px;
  margin-bottom: 300px;
}

#newPost::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: var(--color-lightBlue);
  content: "";
  z-index: -1;
}

#newPost .postArea {
  margin: auto;
  padding: 40px;
  background: var(--color-white);
  max-width: 1100px;
}

#newPost .postArea article {
  width: calc(25% - 25px);
}

#newPost .postArea article a {
  display: block;
  border-radius: 20px;
  border: 2px solid var(--color-gray);
}

#newPost .postArea article .ttl {
  padding: 30px 15px;
  color: var(--color-blue);
  font-weight: 700;
  line-height: 1.5;
}

#newPost .postArea article .txt {
  overflow: hidden;
  padding: 0 15px 40px;
  color: #000;
  font-size: 1.4rem;
  line-height: 1.5;
}

#newPost .postArea article .more {
  position: relative;
  display: block;
  padding: 15px 60px;
  box-sizing: border-box;
  border-radius: 0 0 20px 20px;
  background: var(--color-blue);
  color: var(--color-white);
  text-align: right;
  font-size: 1.4rem;
  line-height: 1;
}

#newPost .postArea article .more::after {
  position: absolute;
  right: 30px;
  margin: auto;
  content: "→";
  transition: all 0.5s ease-in-out;
}

#newPost .postArea article a:hover .more::after {
  right: 10px;
}

.freetxt a {
  color: #333;
}

.freetxt p {
  margin-bottom: 30px;
  font-size: 1.5rem;
  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-blue);
  font-size: 3rem;
  font-weight: 700;
}

.freetxt h3 {
  padding: 10px 0;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--color-lightBlue2);
  color: var(--color-blue);
  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 {
    margin-bottom: 100px;
  }

  #newsSingle article {
    padding: 0 5px;
  }

  #newsSingle .postTtl {
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-size: 2rem;
    line-height: 1.7;
  }

  #newsSingle .postTtl::after {
    width: 100%;
    height: 3px;
  }

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

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

  #newsSingle .btnGreen a {
    margin: 60px auto 50px;
    width: 80%;
    font-size: 1.4rem;
  }

  #recruitSingle {
    margin-bottom: 0;
  }

  #recruitSingle article {
    padding: 0 5px;
  }

  #recruitSingle .postTtl {
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-size: 2rem;
    line-height: 1.7;
  }

  #recruitSingle .postTtl::after {
    width: 100%;
    height: 3px;
  }

  #recruitSingle .pr {
    padding-bottom: 30px;
  }

  #recruitSingle dt {
    padding: 20px 0;
    width: 28%;
  }

  #recruitSingle dd {
    padding: 20px 0;
    width: 72%;
  }

  #recruitSingle .btnGreen a {
    margin: 60px auto 50px;
    width: 80%;
    font-size: 1.4rem;
  }

  #newPost {
    padding-bottom: 30px;
    margin-bottom: 150px;
  }

  #newPost::after {
    height: 70%;
  }

  #newPost .postArea {
    padding: 20px;
    width: 90%;
    gap: 20px;
  }

  #newPost .postArea article {
    width: 100%;
  }

  #newPost .postArea article a {
    border-radius: 10px;
  }

  #newPost .postArea article .ttl {
    padding: 20px 15px;
  }

  #newPost .postArea article .txt {
    padding: 0 15px 20px;
    font-size: 1.3rem;
  }

  #newPost .postArea article .more {
    padding: 15px 50px;
    border-radius: 0 0 10px 10px;
  }

  #newPost .postArea article .more::after {
    right: 20px;
  }

  .freetxt p {
    font-size: 1.4rem;
  }

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

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

  .freetxt .youtube iframe {
    height: 200px;
  }
}

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

.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;
  font-size: 1.8rem;
  width: 100%;
}

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

a.page-numbers,
.dots,
.pagination .current {
  padding: 10px 40px;
  line-height: 1;
  border-right: 1px solid #a0a0a0;
}

a.page-numbers:hover {
  color: var(--color-blue);
}

.dots+.page-numbers {
  border-right: 0;
}

.pagination .current {
  color: var(--color-blue);
  font-weight: 700;
}

a.next,
a.prev {
  box-sizing: border-box;
  width: 60px;
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
  border-radius: 15px;
}

a.next {
  padding: 6px 10px 6px 20px;
  margin-left: 50px;
}

a.prev {
  padding: 6px 20px 6px 10px;
  margin-right: 50px;
}

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

@media (max-width: 767px) {
  .paging {
    padding: 0 20px;
    font-size: 1.4rem;
  }

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

  .pagination {
    font-size: 1.2rem;
    padding: 0 50px;
  }

  .pagination .nav-links {
    gap: 10px 0;
  }

  a.page-numbers,
  .dots,
  .pagination .current {
    padding: 5px 20px;
  }

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

  a.next {
    right: 0;
    padding: 5px 10px 5px 20px;
    margin-left: 0;
  }

  a.prev {
    left: 0;
    padding: 5px 20px 5px 10px;
    margin-right: 0;
  }
}

/* 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;
  }
}
