body {
  font-family: "Zen Maru Gothic", serif;
  color: #0F0F0F;
}
.wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
p {
  font-size: 16px;
  line-height: 30px;
  text-align: justify;
}
.mt10 {
  margin-top: 10px;
}
.mt20 {
  margin-top: 20px;
}
.mt30 {
  margin-top: 30px;
}
.mt40 {
  margin-top: 40px;
}
.mt50 {
  margin-top: 50px;
}
.fadeIn { 
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.fadeInAnime { 
  opacity: 1;
  transform: translateY(0);
}
#link01,#link02 {
  padding-top: 50px;
}

@media screen and (max-width: 1100px) {
  .wrapper {
    padding: 0 20px;
  }
}
/* --------------------------------------ヘッダーCSS */

header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(20px, 5.333333333333333vw, 40px);
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  font-size: 15px;
}

@media (min-width: 1025px) {
  header {
    padding: 10px 0;
    max-width: 1100px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  header {
    padding: 0;
  }
}

.header-container {
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
  align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-grid-columns: 1fr 2fr;
  grid-template-columns: 1fr 2fr;
}

.header-logo {
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
}

@media (max-width: 768px) and (orientation: landscape) {
  .header-logo {
    width: clamp(70px, 17.991004497751124vw, 140px);
  }
}

.logo-link {
  display: block;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}

.logo-link:hover {
  color: #020F59;
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    padding-right: clamp(30px, 8vw, 60px);
    padding-bottom: clamp(30px, 8vw, 60px);
    padding-left: clamp(30px, 8vw, 60px);
    transition-duration: 300ms;
    transform: translateX(200%);
    overflow: auto;
    /* ナビメニューの背景色を変えたい時 */
    background-color: rgba(0, 0, 0, .6);
  }

  .nav-menu.active {
    transform: translateX(0);
  }
}

@media (min-width: 1025px) {
  .nav-menu {
    padding-top: 0 !important;
  }
}

@media (min-width: 1025px) {
  .menu-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    justify-content: space-between;
    font-weight: 400;
  }
}
.menu-list li a:hover {
  color: #020F59;
  font-weight: 700;
  opacity: 1;
}
.menu-list li.line a {
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  background-color: #020F59;
  height: 40px;
  border-radius: 20px;
  text-align: center;
  border: 2px #020F59 solid;
  line-height: 36px;
}
.menu-list li.line a::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 19px;
  background-image: url(../img/line_icon.svg);
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 10px;
}

.menu-list li.line a:hover {
  color: #020F59;
  background-color: #fff;
  font-weight: 700;
}
.menu-list li.line a:hover:after {
  background-image: url(../img/line_icon2.svg);
}

@media (max-width: 1024px) {
  .menu-item {
    /* 各ナビメニューの下線を変えたい時 */
    border-style: solid;
    border-color: #fff;
    border-bottom-width: 1px;
  }
}

.menu-link {
  display: block;
  color: #000;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}

.menu-link:hover {
  opacity: 0.6;
}

.nav-menu.active .menu-link {
  color: #fff;
}

@media (max-width: 1024px) {
  .menu-link {
    font-size: clamp(18px, 1.0416666666666667vw, 20px);
    padding-top: clamp(20px, 2.6666666666666665vw, 20px);
    padding-bottom: clamp(20px, 2.6666666666666665vw, 20px);
    text-align: center;
    color: #000;
  }
}


.hamburger-button {
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
  height: clamp(13px, 3.466666666666667vw, 26px);
  margin-right: 0;
  margin-left: auto;
  cursor: pointer;
}

.hamburger-lines {
  position: relative;
  width: clamp(40px, 10.666666666666666vw, 90px);
  height: clamp(13px, 3.466666666666667vw, 26px);
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}

@media (max-width: 1024px) {
  .hamburger-lines {
    width: clamp(40px, 10.666666666666666vw, 90px);
    height: clamp(13px, 3.466666666666667vw, 26px);
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hamburger-lines {
    width: clamp(30px, 7.496251874062969vw, 50px);
    height: clamp(15px, 2.998500749625187vw, 20px);
  }
}

.hamburger-lines.active {
  height: 1px;
}

.hamburger-lines .line {
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  width: 100%;
  height: clamp(1px, .26666666666666666vw, 2px);
  margin: auto;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  background-color: #000;
}

.hamburger-lines.active .line {
  background-color: #fff;
}

.hamburger-lines .line:nth-child(1) {
  top: 0;
}

.hamburger-lines .line:nth-child(2) {
  bottom: 0;
}

@media (min-width: 1025px) {
  .hamburger-button {
    display: none;
  }
}

/* ----------------------------------トップページCSS */

/* KV */

.main {
  width: 100%;
  margin: 0 auto 0;
  background-image: url(../img/top_bg1.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
.kv {
  position: relative;
  padding: 100px 0 0;
  background-image: url(../img/kv_bg.svg);
  background-repeat: no-repeat;
  background-position: bottom left;
}
.kv_text {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 100%;
  max-width: 1100px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.kv_text h2 {
  font-size: 36px;
  color: #020F59;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 60px;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
  -1px 1px 0 #FFF, 1px -1px 0 #FFF,
  0px 1px 0 #FFF,  0-1px 0 #FFF,
  -1px 0 0 #FFF, 1px 0 0 #FFF;
}
.kv_text h2 span {
  color: #77B9F2;
  font-size: 40px;
  font-weight: 700;
}
.kv_text p {
  max-width: 470px;
  line-height: 30px;
  text-align: justify;
  font-size: 18px;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
  -1px 1px 0 #FFF, 1px -1px 0 #FFF,
  0px 1px 0 #FFF,  0-1px 0 #FFF,
  -1px 0 0 #FFF, 1px 0 0 #FFF;
}
.kv_text p strong {
  color: #77B9F2;
  font-weight: 500;
}
.kv_img {
  background-image: url(../img/kv.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 40px 0 0 50px;
  margin: 0 0 0 auto;
  height: 530px;
  width: 50%;
}
.sp_br {
  display: none;
}
.kv_text a {
  display: none;
}

@media screen and (max-width: 1100px) {
  .kv {
    padding: 80px 0 40px;
  }
  .kv_text {
    margin-left: 20px;
    width: auto;
    left: 0;
    -webkit-transform: none;
    top: 28%;
  }
}

@media screen and (max-width: 600px) {
  .kv_text {
    background-color: #fff;
    bottom: 0;
    top: auto;
    margin: 0;
    border-radius: 30px 30px 0 0;
    padding: 30px 15px 40px;
    box-shadow: 0px -5px 5px #1f1f1f1c;
  }
  .kv_text h2 {
    font-size: 20px;
    line-height: 32px;
    background: linear-gradient(transparent 60%, #D2ECFF 0%);
    display: inline;
    padding: 0 1px 0px;
  }
  .kv_text h2 span {
    font-size: 28px;
  }
  .kv_text p {
    font-size: 16px;
    max-width: none;
    margin-top: 15px;
  }
  .kv_img {
    border-radius: 0;
    width: 100%;
    background-image: url(../img/top_bg1_sp.svg),url(../img/kv_bg.svg),url(../img/kv.jpeg);
    background-size: contain,contain,cover;
    height: 100vh;
    background-position: top 0 right, bottom 20px right, top 0 center; 
  }
  .main {
    padding-top: 0;
  }
  .kv {
    padding: 0 0 40px;
    background-image: none;
    height: 100vh;
  }
  .menu-list li.line a {
    margin: 30px auto;
    width: 100%;
    height: 50px;
    border-radius: 25px;
  }
  .menu-list li.line {
    border-bottom: none;
  }
  .menu-list {
    margin-top: 30px;
  }
  #link01,#link02 {
  padding-top: 150px;
  margin-top: -90px;
  }
  .sp_br {
    display: block;
  }
  .kv_text a {
    background-color: #020f59;
    border-radius: 50px;
    color: #fff;
    border: 1px solid #020f59;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0 16px;
    font-weight: bold;
    margin-top: 15px;
  }  
  .header-logo img {
    max-width: 80px;
  }
  .border {
    background-color: #fff;
    padding: 0 20px;
  }
  .border div {
    border-bottom: 1px dashed #77b9f2;
  }
  .kv_text p span {
    display: none;
  }
}

/* ----------------------------------オキナワエコクリーンについて */

.top_about {
  background-image: url(../img/top_about02.svg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  width: 100%;
  height: 460px;
  display: flex;
  align-items: center;
  margin-bottom: -1px;
}
@media screen and (max-width: 1280px) {
  .top_about {
    background-image: url(../img/top_about.svg);
    height: 480px;
  }
}
.top_about .wrapper {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
}
.top_about img {
  width: 50%;
  height: 320px;
  object-fit: cover;
  border-radius: 50px;
}
.top_about_text {
  max-width: 46%;
}
h3 {
  font-size: 26px;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 25px;
  line-height: 38px;
}
h3 span {
 font-size: 22px;
}
h3 strong {
  font-size: 36px;
  color: #020F59;
  margin-right: 6px;
}
h3::before {
  position: absolute;
  border-bottom: 3px solid #77B9F2;
  top: 100%;
  left: 0;
  width: 70px;
  content: '';
}
a.btn1 {
  background-color: #020F59;
  color: #fff;
  width: 100%;
  max-width: 210px;
  line-height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border-radius: 22px;
  background-image: url(../img/btn1.svg);
  background-repeat: no-repeat;
  background-position: center right 20px;
  border: 2px solid #020F59;
  font-weight: 500;
}
a.btn1:hover {
  background-image: url(../img/btn2.svg);
  color: #020F59;
  background-color: #fff;
}
.top_about .btn1 {
  display: none;
}

@media screen and (max-width: 1100px) {
  h3 strong {
    font-size: 32px;
  }
  h3 span {
    font-size: 20px;
  }
}

@media screen and (max-width: 800px) {
  .top_about img {
    border-radius: 20px;
  }
}

@media screen and (max-width: 600px) {
  .top_about .wrapper {
    flex-direction: column;
  }
  .top_about {
    height: auto;
    background-position: bottom -1px center;
    background-size: auto;
  }
  .top_about_text {
    max-width: 100%;
  }
  h3 strong {
    font-size: 26px;
    margin-right: 0;
  }
  h3 span {
    font-size: 14px;
  }
  h3 {
    font-size: 18px;
    line-height: 28px;
  }
  .top_about img {
    width: 100%;
    height: auto;
    margin: 20px 0 0;
  }
}

/* ----------------------------------オキナワエコクリーンについて */

.top_price {
  background-color: #D2ECFF;
  padding: 0 0 100px;
}
.top_price .wrapper {
  background-color: #fff;
  padding: 80px;
  border-radius: 50px;
}
.top_price_flex {
  justify-content: space-between;
  display: flex;
  margin-top: 44px;
}
.top_price_flex h4 {
  font-size: 26px;
  color: #020F59;
  font-weight: 500;
}
.top_price_flex p {
  font-size: 20px;
  background: linear-gradient(transparent 60%, #D2ECFF 0%);
  display: inline;
  padding: 0 1px 0px;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
  -1px 1px 0 #FFF, 1px -1px 0 #FFF,
  0px 1px 0 #FFF,  0-1px 0 #FFF,
  -1px 0 0 #FFF, 1px 0 0 #FFF;
}
.tyuui {
  font-size: 14px;
  margin-top: 20px;
  line-height: 20px;
}
.top_price table {
  width: 65%;
  font-weight: 500;
  border: 1px solid #0F0F0F;
}
.top_price table th,td {
  text-align: center;
  border-bottom: 1px solid #0F0F0F;
  vertical-align: middle;
  height: 54px;
}
.top_price table th {
  border-right: 1px solid #0F0F0F;
}
.top_price table tr:first-child {
  color: #020F59;
  font-weight: 600;
  background-color: #ECF7FF;
}
.top_price table td {
  font-size: 26px;
}
.top_price table td span {
  font-size: 14px;
}

@media screen and (max-width: 1100px) {
  .top_price .wrapper {
    padding: 80px 40px;
  }
  .top_price {
    padding: 0 20px 100px;
  }
}
@media screen and (max-width: 800px) {
  .top_price_flex h4 {
    font-size: 22px;
  }
  .top_price_flex p {
    font-size: 18px;
  }
}
@media screen and (max-width: 600px) {
  .top_price .wrapper {
    padding: 50px 20px;
  }
  .top_price_flex {
    flex-direction: column;
  }
  .top_price table {
    width: 100%;
    margin-top: 20px;
  }
  .top_price_flex {
    margin-top: 30px;
  }
  .top_price {
    padding-bottom: 80px;
  }
  .top_price table td {
    font-size: 22px;
  }
}
/* ----------------------------------オキナワエコクリーンについて */

.top_recommend h3::before {
  left: calc(50% - 55px);
}
.top_recommend h3 {
  text-align: center;
  margin-right: 0;
}
.top_recommend .wrapper {
  padding: 100px 0;
}
.top_recommend_box img {
  width: 100%;
  max-width: 350px;
  height: 214px;
  object-fit: cover;
  border-radius: 20px;
}
.top_recommend_box {
  margin-top: 25px;
}
.top_recommend_box h5 {
  text-align: center;
}
.top_recommend_flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.top_recommend_box h5 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top_recommend_box h5::before {
  content: '';
  display: inline-block;
  width: 27px;
  height: 21px;
  background-image: url(../img/recommend_icon.svg);
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 10px;
  background-size: contain;
}

@media screen and (max-width: 1100px) {
  .top_recommend_flex {
    padding: 0 20px;
  }
  .top_recommend .wrapper {
    padding: 80px 0 100px;
  }
}

@media screen and (max-width: 800px) {
  .top_recommend_flex {
    flex-direction: column;
  }
  .top_recommend_box img {
    max-width: 100%;
  }
}

/* ---------------------------------- 実績紹介 */

.top_workpost {
  background-color: #D2ECFF;
  padding: 90px 0;
}
.workpost_box img {
  width: 100%;
  max-width: 260px;
  height: 160px;
  object-fit: cover;
  border-radius: 20px;
}
.top_workpost a:hover {
  transform: translateY(-5px);
  opacity: 0.7;
}
.workpost_box {
  display: flex;
  width: 525px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.workpost_text {
  width: 100%;
  max-width: 245px;
}
.workpost_text h5 {
  font-size: 18px;
  font-weight: 500;
  color: #020F59;
  margin-bottom: 10px;
  line-height: 24px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-align: justify;
}
.workpost_text p {
  border-top: 2px solid #77B9F2;
  padding-top: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 22px;
}
.top_workpost_flex {
  display: flex;
  margin-top: 50px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.top_workpost .btn1 {
  margin: 30px auto 10px;
  max-width: 260px;
}
.top_workpost .btn1:hover {
  transform: translateY(0);
  opacity: 1;
}

@media screen and (max-width: 1100px) {
  .workpost_box {
    width: 470px;
  }
  .workpost_box img {
    margin-right: 15px;
  }
  .top_workpost {
    padding: 70px 0;
  }
}

@media screen and (max-width: 800px) {
  .workpost_box {
    width: 100%;
  }
  .workpost_text {
    max-width: none;
  }
}

@media screen and (max-width: 600px) {
  .top_recommend h3::before {
    left: calc(50% - 30px);
  }
  .workpost_box img {
    margin-right: 0;
    max-width: 100%;
    margin-bottom: 10px;
  }
  .workpost_box {
    flex-direction: column;
  }
  .top_workpost_flex {
    margin-top: 40px;
  }
}

/* ----------------------------------ニュース */

.news_flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.top_news {
  background-image: url(../img/top_about.svg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  width: 100%;
  height: 560px;
  padding: 100px 0 40px;
}
@media screen and (max-width: 1280px) {
  .top_news {
    height: 480px;
  }
}
.top_news h3 strong {
  color: #77B9F2;
  font-size: 40px;
}
.top_news .news_flex h3 {
  font-size: 14px;
  line-height: 25px;
  margin-right: 20px;
}
.top_news .news_flex h3::before {
  content: none;
}
.news_flex a {
  width: 100%;
  display: block;
  border-bottom: 1px dashed #77B9F2;
  margin-bottom: 20px;
  background-image: url(../img/btn2.svg);
  background-repeat: no-repeat;
  background-position: right;
}
.news_box {
  max-width: 950px;
  width: 100%;
}
.news_time {
  display: flex;
  font-size: 14px;
}
.news_time p:last-child {
  color: #77B9F2;
  margin-left: 20px;
}
.top_news h5 {
  font-size: 18px;
  font-weight: 500;
  padding-bottom: 15px;
}
.news_flex a:last-child {
  border-bottom: none;
  color: #020F59;
  font-weight: 500;
  text-align: right;
  padding-right: 20px;
}
.news_flex a:hover {
  transform: translateY(-5px);
  opacity: 0.7;
}

@media screen and (max-width: 600px) {
  .news_flex {
    flex-direction: column;
  }
  .top_news .news_flex h3 {
    margin-bottom: 10px;
  }
  .top_news {
    padding-top: 80px;
    height: 750px;
    margin-bottom: -2px;
  }
  .top_news h5 {
    padding-right: 20px;
    line-height: 24px;
  }
}
/* ----------------------------------　お問い合わせ */

.content_flex {
  display: flex;
  padding: 100px 0;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.content_flex a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 450px;
  line-height: 90px;
  font-size: 20px;
  font-weight: 500;
}
.content_flex a:first-child {
  background-color: #fff;
  border-radius: 50px;
  color: #020F59;
  border: 1px solid;
}
.content_flex a:first-child:hover {
  background-color: #020F59;
  color: #fff;
}
.content_flex a:first-child::after {
  content: '';
  display: inline-block;
  width: 38px;
  height: 28px;
  background-image: url(../img/mail.svg);
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 20px;
  background-size: contain;
}
.content_flex a:first-child:hover::after {
  background-image: url(../img/mail_white.svg);
}
.content_flex a:last-child {
  background-color: #020F59;
  border-radius: 50px;
  color: #fff;
  border: 1px solid #020F59;
}
.content_flex a:last-child:hover {
  background-color: #fff;
  color: #020F59;
}
.content_flex a:last-child::after {
  content: '';
  display: inline-block;
  width: 38px;
  height: 36px;
  background-image: url(../img/line_icon3.svg);
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 20px;
  background-size: contain;
}
.content_flex a:last-child:hover:after {
  background-image: url(../img/line_icon3_white.svg);
}

@media screen and (max-width: 800px) {
  .content_flex a {
    width: 350px;
    line-height: 80px;
  }
}
@media screen and (max-width: 600px) {
  .content_flex a {
    line-height: 61px;
    font-size: 18px;
  }
  .content_flex a:first-child {
    margin-bottom: 20px;
  }
  .content_flex a:first-child::after {
    margin-left: 15px;
    width: 34px;
    height: 24px;
  }
  .content_flex a:last-child::after {
    width: 36px;
    height: 34px;
    margin-left: 15px;
  }
}

/* ---------------------------------- フッター */

footer {
  background-color: #D2ECFF;
  padding-top: 100px;
}
.footer_box {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #77B9F2;
  padding: 80px 20px 0;
}
.footer_box ul {
  display: flex;
  margin-top: 30px;
}
.footer_box li {
  height: 15px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-right: 1px solid;
}
.footer_box li a:hover {
  color: #020F59;
  font-weight: 500;
}
.footer_box li:last-child {
  border-right: none;
}
footer p {
  text-align: center;
  margin-top: 120px;
  padding-bottom: 10px;
}

@media screen and (max-width: 600px) {
  .footer_box {
    padding: 100px 20px 0;
    flex-direction: column;
    align-items: center;
  }
  .footer_box ul {
    margin-top: 50px;
  }
}

/*　記事詳細ページ　*/
.category_box {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 140px;
}
.category_box .category_img {
  max-width: 1100px;
  border-radius: 20px;
}
.category_img_text {
  width: 100%;
  max-width: 520px;
}
.beforeafter_box {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
}
.yajirushi_img {
  max-width: 20px;
}
.category_box h2 {
  font-size: 20px;
  margin: 0 0 50px;
  padding-top: 40px;
  font-weight: bold;
  line-height: 32px;
}
.category_box .time {
  text-align: right;
  margin-right: 20px;
}
.category_box .text {
  margin-bottom: 70px;
  background-color: #ecf7ff;
  border-radius: 20px;
  padding: 40px;
}
.category_box .btn1 {
  margin: 0 auto 120px;
}
.beforeafter_box img:first-child {
  border-radius: 20px;
  margin: 0 10px 0 0;
  height: 360px;
  object-fit: cover;
}
.beforeafter_box img:last-child {
  border-radius: 20px;
  margin: 0 0 0 10px;
  height: 360px;
  object-fit: cover;
}
.news-thumbnail img {
  height: 400px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 30px;
}
.category_box a.btn1 {
  max-width: 250px;
}
.news-thumbnail {
  margin: 10px 10px 0;
}

@media screen and (max-width: 800px) {
  .beforeafter_box {
    flex-direction: column;
    align-items: center;
    margin: 30px 10px;
  }
  .yajirushi_img {
    transform: rotate(90deg);
  }
  .category_box .text {
    padding: 22px;
    margin: 0 10px 70px;
  }
  .category_box h2 {    
    margin: 0 10px 30px;
  }
}
@media screen and (max-width: 600px) {
  .beforeafter_box img:first-child,.beforeafter_box img:last-child {
    height: 320px;
    margin: 0;
  }
  .news-thumbnail img {
    height: 330px;
  }
}


/*　記事一覧ページ　*/

.category_title h2 {
  font-size: 26px;
  padding: 150px 0 80px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 4px;
  border-bottom: 1px solid;
  margin-bottom: 60px;
  color: #020F59;
}
.news_list .kiji_a {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.news_list .kiji_a img {
  margin-right: 30px;
  border-radius: 20px;
}
.post_data {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.post_data p:last-child {
  background-color: #020F59;
  color: #fff;
  padding: 2px 11px 3px 15px;
  border-radius: 5px;
  text-align: center;
  letter-spacing: 1px;
}
.kiji_text h1 {
  border-bottom: 1px solid;
  font-size: 18px;
  padding: 10px;
  font-weight: bold;
}
.kiji_text {
  width: 100%;
}
.kiji_p {
  padding: 10px;
}
.beforeafter_box figure {
  position: relative;
}
.beforeafter_box figure figcaption {
  position: absolute;
  bottom: 25px;
  left: 25px;
  font-size: 24px;
  font-weight: bold;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
  -1px 1px 0 #FFF, 1px -1px 0 #FFF,
  0px 1px 0 #FFF,  0-1px 0 #FFF,
  -1px 0 0 #FFF, 1px 0 0 #FFF;
  color: #020F59;
}


@media screen and (max-width: 600px) {
  .news_list .kiji_a {
    flex-direction: column;
  }
  .news_list .kiji_a img {
    margin-right: 0;
    width: 100%;
    object-fit: cover;
    margin-bottom: 20px;
  }
  .kiji_text h1 {
    line-height: 28px;
    padding: 10px 0;
  }
  .kiji_p {
    padding: 10px 0;
  }
}

/*

固定ページCSS

*/

.sub {
  padding: 160px 0 100px;
}

/*

コンタクトフォーム

*/
.sub_about h2 {
  font-size: 26px;
  padding: 0 0 80px 0;
  text-align: center;
  font-weight: 700;
  letter-spacing: 4px;
  border-bottom: 1px solid;
  margin-bottom: 60px;
  color: #020f59;
}

.contact table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.contact th {
  width: 35%;
  border-bottom: #020F59 2px solid;
}

.contact td {
  border-bottom: #77B9F2 2px solid;
}

.contact th,
.contact td {
  padding: 10px 20px;
}

.contact .req {
  font-size: 14px;
  background-color: #020F59;
  color: #fff;
  padding: 2px 6px 3px;
  border-radius: 6px;
}

.contact_table th label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact_privacy label {
  display: flex;
  justify-content: center;
}

.contact_table tbody tr input[type="text"],
.contact_table tbody tr input[type="tel"],
.contact_table tbody tr input[type="email"],
.contact_table tbody tr input[type="date"] {
  width: 100%;
  border: 1px solid #0F0F0F;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 16px;
}

.contact_table select {
  border-radius: 6px;
  border: 1px solid #0F0F0F;
  padding: 5px 10px;
  width: 100%;
  height: auto;
  font-size: 16px;
}

.contact_table textarea {
  border: 1px solid #0F0F0F;
  padding: 5px 10px;
  border-radius: 6px;
  width: 100%;
  height: 200px;
  font-size: 16px;
}

.contact_table .contact_privacy input {
  appearance: auto;
  box-shadow: unset;
  background-color: initial;
  cursor: default;
  box-sizing: border-box;
  margin: 3px 3px 3px 20px;
  padding: initial;
  border: initial;
  height: 15px;
  width: 15px;
}

.contact_table .contact_privacy {
  border-bottom: none;
}
.privacy-label {
  display: block;
  font-size: 14px;
  line-height: 1.6;
}
.privacy-label a {
  text-decoration: underline;
}
.contact_table p {
  width: 100%;
}

.contact_table a {
  color: #020F59;
  border-bottom: 1px solid #020F59;
  padding-bottom: 2px;
}

.contact_table a:hover {
  opacity: 0.5;
}

.contact button {
  max-width: 300px;
  background-color: #020f59;
  border-radius: 50px;
  color: #fff;
  border: 2px solid #020f59;
  display: flex;
  align-items: center;
  padding: 10px 0 11px;
  font-weight: 700;
  width: 100%;
  justify-content: center;
  margin: 40px auto;
}

.contact button:hover {
  background-color: #fff;
  color: #020F59;
}
.contact_p {
  margin-bottom: 30px;
  text-align: center;
}
.contact_p a {
  border-bottom: 1px solid #020F59;
  color: #020f59;
}
.screen-reader-response ul {
  display: none;
}
.screen-reader-response {
  margin-bottom: 20px;
  color: rgb(221, 23, 63);
}
.wpcf7-not-valid-tip {
  display: flex;
  width: 100%;
  color: rgb(221, 23, 63);
  background-color: #fff;
}
.thanks p {
  text-align: center;
}
.screen-reader-response {
   display: flex;
    align-items: center;
    justify-content: center;
    margin: 100px auto;
    border: 2px solid;
    padding: 50px 30px;
    font-weight: bold;
    border-radius: 20px;
    max-width: 800px;
}

@media screen and (max-width: 600px) {
  .contact th {
    width: 100%;
    margin-bottom: 10px;
    background-color: #D2ECFF;
    border-radius: 6px;
    border-bottom: none;
    display: block;
  }

  .contact td {
    width: 100%;
    border-bottom: none;
    padding: 10px 0;
    display: block;
  }

  .contact tr {
    border-bottom: #77b9f2 1px solid;
    padding-bottom: 20px;
    display: block;
    margin-bottom: 20px;
  }
  .textarea td {
    height: 210px;
  }
  .contact_privacy {
    border-bottom: none;
  }
  .contact_p {
    text-align: left;
  }
  .contact .privacy_tr {
    border-bottom: none;
  }
  .contact_privacy .req {
    width: 50px;
    display: flex;
    justify-content: center;
    margin-right: 15px;
    align-items: center;
  }
  .contact .contact_privacy input {
    margin: 3px 3px;
  }
  .contact_day .calendar::before {
    content: '年/月/日';
    font-size: 16px;
    width: 100%;
    display: block;
  }
}


/*

プライバシー・利用規約

*/
.group_title {
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid #020F59;
  color: #020F59;
  padding-bottom: 5px;
  margin: 30px 0 10px 0; 
}