/*------------------------------
メインイメージ
------------------------------*/
#slider {
  position: relative;
}
#mainvisual {
  text-align: center;
}
@media print, screen and (min-width: 900px) {
  #slider {
    margin-top: 12.6rem;
  }
  #mainvisual {
    border-radius: 3rem;
    overflow: hidden;
    background: var(--color-n);
    margin: 0 auto;
    width: calc(100% - 4rem);
  }
}
@media screen and (max-width: 899.99px) {
  #slider {
    margin-top: 6.8rem;
  }
}
/*------------------------------
news
------------------------------*/
.top-news__icon {
  fill: var(--color-gb);
  width: 3rem;
  height: 2.062rem;
}
.news-content {
  display: table;
  width: 100%;
  border: 1px solid var(--color-gd);
}
.news-content .news-left {
  display: table-cell;
  background: var(--color-n);
  color: var(--color-w);
  text-align: center;
  vertical-align: middle;
}
.news-content .news-right {
  display: table-cell;
  background: var(--color-w);
  vertical-align: middle;
}
.news-content .news-right > div {
  display: flex;
  align-items: center;
}
.news-content .news-right a {
  line-height: 1.5;
  text-decoration: none;
  color: var(--color-n);
}
.news-content .news-right a:hover {
  text-decoration: underline;
}
.news-content .news-right a:first-child {
  width: calc(100% - 6rem);
  border-right:1px solid var(--color-gd);
}
.news-content .news-right a:last-child {
  text-align: center;
}
.news-content .news-right a:hover {
  color: var(--color-gb);
}
@media print, screen and (min-width: 800px) {
  .news-content {
    margin: 0 auto 6rem;
    max-width: 107rem;
  }
  .news-content .news-left {
    width: 16rem;
  }
  .news-content .news-right {
    width: calc(100% - 16rem);
  }
  .news-content .news-right a:first-child {
    padding: 1.7rem 1.5rem 1.7rem 2.2rem;
  }
  .news-content .news-right a:last-child {
    padding: 0 1.5rem;
  }
}
@media screen and (max-width: 799.99px) {
  .news-content {
    display: block;
	    margin: 0 auto 4rem;
  }
	.news-content .news-left{padding:0.6rem; }
  .news-content .news-left, .news-content .news-right {
    display: block;
    width: 100%;
    font-size: 1.5rem;
  }
  .news-content .news-right a:first-child {
    padding: 1rem 1.2rem 1rem 1.2rem;
  }
  .news-content .news-right a:last-child {
    padding: 0 1.5rem;
  }
}
/*------------------------------
h2 タイトル
------------------------------*/
h2 {
  line-height: 1.4;
}
h2.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  width: 100%;
}
h2 .en {
  font-weight: 500;
  padding-right: 1.5rem;
}
h2 .jp {
  font-weight: 400;
  display: inline-block;
}
@media print, screen and (min-width: 800px) {
  h2 .en {
    font-size: 5rem;
  }
  h2 .jp {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 799.99px) {
  h2 .en {
    font-size: 4.2rem;
    letter-spacing: -0.1rem;
  }
  h2 .jp {
    font-size: 1.5rem;
  }
}
/*------------------------------
about
------------------------------*/
#about {
  padding: 6rem 0;
}
@media screen and (max-width: 799.99px) {
  #about {
    padding: 4rem 0;
  }
}
/*------------------------------
RESTORER
------------------------------*/
.restorer {
  background-image: repeating-linear-gradient(135deg, var(--color-ge), var(--color-ge) 7px, transparent 7px, transparent 11px);
  text-align: center;
  padding: 2.3rem;
}
.restorer span {
  display: block;
  background-color: var(--color-w);
  padding: 1rem;
  border-radius: 1rem;
}
@media screen and (max-width: 799.99px) {
  .restorer {
    padding: 1rem;
  }
}
/*------------------------------
campaign
------------------------------*/
.campaign .campaign-box {
  position: relative;
  display: flex;
  border: 1px solid var(--color-ge);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s;
}
.campaign .campaign-box .img-item {
  width: 40%;
}
.campaign .campaign-box .text {
  width: 60%;
  display: flex;
  align-items: center;
  white-space: normal;
  padding: 1rem 2rem;
}
.campaign .campaign-box .text h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.campaign .campaign-box .text p {
  font-size: 1.4rem;
}
.campaign .campaign-box::after {
  content: "";
  position: absolute;
  right: 0.3rem;
  bottom: 0.3rem;
  display: block;
  border-right: 1rem solid var(--color-nl);
  border-left: 1rem solid transparent;
  border-bottom: 1rem solid var(--color-nl);
  border-top: 1rem solid transparent;
  transition: 0.3s;
}
.campaign .campaign-box:hover::after {
  right: 0;
  bottom: 0;
}
@media print, screen and (min-width: 800px) {
  .campaign {
    display: flex;
  }
  .campaign .campaign-box {
    width: 47%;
    margin: 0 1.5%;
  }
  #campaign {
    padding: 3rem 0 3em;
  }
}
@media screen and (max-width: 799.99px) {
  .campaign .campaign-box:first-child {
    margin-bottom: 2rem;
  }
  #campaign {
    padding: 3rem 0 3em;
  }
}
/*------------------------------
news
------------------------------*/
.news_box {
  display: flex;
  flex-wrap: wrap;
}
.news_box > label {
  flex: 1 1;
  order: -1;
  max-width: 25rem;
  padding: .7em 1em .5em;
  border-radius: 0;
  border-top: var(--color-gd) solid 1px;
  border-right: var(--color-gd) solid 1px;
  border-left: var(--color-gd) solid 1px;
  border-bottom: none;
  background-color: var(--color-bg);
  color: var(--color-n);
  font-size: 1.6rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.news_box > label::after {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 0.5em;
  height: 0.5em;
  transform: translateY(-25%) rotate(135deg);
  border-right: 2px solid var(--color-nl);
  border-top: 2px solid var(--color-nl);
  content: "";
}
.news_box > label:hover {
  opacity: .8;
}
.news_box input {
  display: none;
}
.news_box > div {
  display: none;
  width: 100%;
  padding: 1.5em 1em;
  background-color: var(--color-w);
  border-top: var(--color-gd) solid 1px;
  margin-top: -1px;
  position: relative;
  z-index: 2;
}
.news_box label:has(:checked) {
  border-bottom: var(--color-w) solid 1px;
  position: relative;
  z-index: 3;
  background-color: var(--color-w);
  color: var(--color-n);
}
.news_box label:has(:checked) + div {
  display: block;
}
.news_link {
  text-align: right;
  margin-top: 1.5rem;
}
.news_link a:hover {
  text-decoration: underline;
}
.news_link a {
  position: relative;
  color: var(--color-n);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.5s;
  padding-right: 1.2em;
}
.news_link a::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.5em;
  height: 0.5em;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid var(--color-nl);
  border-top: 2px solid var(--color-nl);
  content: "";
}
@media print, screen and (min-width: 800px) {
  .news_box > label {
    margin-right: 1rem;
  }
  .news.feed dl dt {
    width: 10rem;
  }
  .news.feed dl dd {
    width: calc(100% - 10rem);
  }
}
@media screen and (max-width: 799.99px) {
  .news.feed dl dt {
    margin-bottom: 0.7rem;
  }
}
/*------------------------------
work
------------------------------*/
.arrow_box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.prev-arrow, .next-arrow {
  display: block;
  width: 3.6rem;
  height: 3.6rem;
  background: var(--color-n);
  cursor: pointer;
  position: relative;
  transition: all .3s ease;
}
.prev-arrow {
  transform: rotate(180deg);
  margin-right: 0.4rem;
}
.prev-arrow::before, .next-arrow::before {
  content: "";
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border-right: 2px solid var(--color-w);
  border-top: 2px solid var(--color-w);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transform: rotate(45deg);
}
.al_link a:last-child {
  border-left: 1px solid var(--color-gd);
}
.work-list a {
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  text-decoration: none;
}
.work-list a .slide-content {
  font-size: 1.4rem;
  padding-top: 1rem;
}
@media print, screen and (min-width: 800px) {
  #works {
	 padding-top: 1.5rem;
    padding-bottom: 4rem;
  }
  .list-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
	  margin-bottom: 2.5rem;
  }
  .al_link a:first-child {
    border-left: 1px solid var(--color-gd);
    margin-right: 2.4rem;
    padding-left: 2.4rem;
  }
  .al_link a:last-child {
    padding-left: 2.4rem;
  }
  .sliderArea {
    margin-bottom: 3rem;
  }
  .work-list a:hover {
    text-decoration: underline;
  }
}
@media screen and (max-width: 799.99px) {
  #works {
	  padding-top: 1rem; 
    padding-bottom: 3rem;
  }
  .list-link {
    margin-bottom: 3rem;
  }
  .al_link a:first-child {
    margin-right: 2rem;
  }
  .al_link a:last-child {
    padding-left: 2rem;
  }
  .sliderArea {
    margin-bottom: 2rem;
  }
}
/*------------------------------
services
------------------------------*/
h2.uline {
  display: block !important;
  position: relative;
  padding: 0 1.5rem 1rem;
  text-align: center;
}
h2.uline:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 3rem);
  width: 6rem;
  height: 5px;
  border-radius: 3px;
  background: var(--color-nl);
}
.cont_box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6rem;
}
.cont_box > div {
  text-align: center;
}
.cont_box > div p {
  font-size: 1.4rem;
}
.cont_box > div h3 {
  font-weight: 600;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}
.cont_box > div a {
  text-decoration: none;
  transition: 0.5s;
}
.cont_box > div a .btn_arrow{padding-bottom:0.5rem;padding-top: 0.5rem;
margin-top: 1.3rem;}
.cont_box > div a:hover .btn_arrow {
	background-color:var(--color-w); color:var(--color-n);

}
@media print, screen and (min-width: 800px) {
  #services {
    margin: 3rem 0 8rem;
  }
  h2.uline .en {
    font-size: 6rem !important;
  }
  .cont_box > div {
    width: 25%;
    padding: 1.5rem 1.7rem;
    border-left: 1px solid var(--color-ge);
  }
  .cont_box > div:first-child {
    border-left: none;
  }
  .cont_box > div div {
    padding: 0 2rem;
  }
  .cont_box > div p {
    padding-top: 1.5rem;
  }
}
@media screen and (max-width: 799.99px) {
  #services {
    margin: 2.6rem 0 5rem;
  }
  h2.uline .en {
    font-size: 5rem !important;
  }
  .cont_box {
    flex-wrap: wrap;
  }
  .cont_box > div {
    width: 50%;
  }
  .cont_box > div div {
    padding: 0 1rem;
  }
  .cont_box > div p {
    padding-top: 1rem;
  }
  .cont_box > div h3 {
    margin-bottom: 1rem;
  }
  .cont_box > div:nth-child(1), .cont_box > div:nth-child(3) {
    border-right: 1px solid var(--color-ge);
	  padding-right: 1.4rem;
  }
	  .cont_box > div:nth-child(2), .cont_box > div:nth-child(4) {
 	  padding-left: 1.4rem;
  }
	  .cont_box > div:nth-child(1), .cont_box > div:nth-child(2) {
		  margin-bottom: 2.5rem;
  }
  .cont_box > div {
	  padding-top: 1rem;
	  padding-bottom: 1rm;
	
  }
}
/*------------------------------
contact
------------------------------*/
#contact {
  background-color: var(--color-nl);
  background-image: url("../img/top/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  padding: 10rem 0;
}
.contact h2 {
  display: block;
  color: var(--color-w);
}
.contact h2 .en {
  display: block;
  font-size: 6rem !important;
}
.contact h2 .text {
  display: block;
  font-size: 1.8rem;
  font-weight: 400
}
.facebook-wrapper {
  max-width: 500px;
}
.facebook-wrapper > .fb-page {
  width: 100%;
}
.facebook-wrapper > .fb-page > span, .facebook-wrapper iframe {
  width: 100% !important;
}
.contact_box a {
  display: table;
  background-color: var(--color-w);
  width: 100%;
  margin-bottom: 2rem;
  height: 7.6rem;
  text-decoration: none;
}
.contact_box a .img {
  display: table-cell;
  vertical-align: middle;
  width: 7.6rem;
  text-align: center;
  padding: 0 1.7rem;
}
.contact_box a .text {
  display: table-cell;
  vertical-align: middle;
  width: calc(100% - 7.6rem);
  text-align: center;
  font-weight: 600;
}
.contact_box a .text .small {
  display: block;
  font-weight: 400;
  font-size: 1.2rem;
}
.contact_box a.mail .img, .contact_box a.tel .img {
  background-color: var(--color-nl);
}
.contact_box a.line .img {
  background-color: #21B800;
}
@media screen and (max-width: 799.99px) {
  #contact {
    padding: 6rem 0;
  }
  .contact h2 .en {
    font-size: 5rem !important;
  }
  .contact .right {
    margin-bottom: 4rem;
  }
  .contact .left {
    text-align: center;
  }
  .contact .facebook-wrapper {
    margin: 0 auto;
  }
  .contact_box a .text {
    font-size: 2rem;
    letter-spacing: 0.1rem;
  }
}
@media print, screen and (min-width: 800px) {
  .contact {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  .contact .left {
    width: 49%;
  }
  .contact .right {
    width: 49%;
  }
  .contact_box a .text {
    font-size: 2.2rem;
    letter-spacing: 0.2rem;
  }
}
@media print, screen and (min-width: 1100px) {
  .contact .left {
    width: calc(100% - 500px);
  }
  .contact .right {
    width: 500px;
  }
}