*:where(:not(html,iframe,canvas,img,svg,video,audio,input):not(svg *,symbol *)){all:unset;display:revert}*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}a,button{cursor:revert}ol,ul,menu,summary{list-style:none}ol{counter-reset:revert}img{max-inline-size:100%;max-block-size:100%}table{border-collapse:collapse}input,textarea{-webkit-user-select:auto}textarea{white-space:revert}meter{-webkit-appearance:revert;appearance:revert}:where(pre){all:revert;box-sizing:border-box}::placeholder{color:unset}:where([hidden]){display:none}:where([contenteditable]:not([contenteditable="false"])){-moz-user-modify:read-write;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}:where([draggable="true"]){-webkit-user-drag:element}:where(dialog:modal){all:revert;box-sizing:border-box}::-webkit-details-marker{display:none}

@font-face {
  font-family: 'noto';
  src: url('../font/NotoSansJP-Regular.woff2') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'noto';
  src: url('../font/NotoSansJP-Black.woff2') format('woff');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'plex';
  src: url('../font/IBMPlexSansJP-Light.woff2') format('woff');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'plex';
  src: url('../font/IBMPlexSansJP-Regular.woff2') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'plex';
  src: url('../font/IBMPlexSansJP-Medium.woff2') format('woff');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'plex';
  src: url('../font/IBMPlexSansJP-Bold.woff2') format('woff');
  font-weight: 600;
  font-display: swap;
}

body {
  background-color: #fff;
  color: #333;
  font-family: 'noto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.9;
}
h1,h2,h3,h4,h5 {
  font-family: 'plex', Arial, Helvetica, sans-serif;
}
a {
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
header {
  position: fixed;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 70px;
  transition: all .4s;
  background-color: transparent;
}
header > * {
  transition: all .3s;
}
header h1 img {
  margin-left: 22px;
  margin-top: 20px;
  height: 50px;
  transition: all .4s;
}
header .headlogo img {
  margin-left: 22px;
  margin-top: 20px;
  height: 50px;
  transition: all .4s;
}
header nav {
  display: flex;
  align-items: center;
}
header nav ul{
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'plex', Arial, Helvetica, sans-serif;
}
header nav a{
  color: #333;
  font-size: 14px;
  font-weight: 500;
  padding: 0 1.8em;
  transition: all .4s;
}
header nav a:hover {
  color: #999;
}
/* header fixed */
header.shadow {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
header.fixed {
  background-color: #fff;
  color: #333;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
header.fixed h1 img,
header.fixed .headlogo img {
  margin-top: 9px;
  margin-left: 10px;
  height: 30px;
}
header.fixed nav a {
  font-size: 14px;
}

@media (max-width: 1000px) {
  header nav a{
    color: #333;
  }
}
@media (max-width: 768px) {
  header h1 img,
  header .headlogo img{
    height: 33px;
    margin-top: 16px;
    margin-left: 15px;
  }
}



/* toggle menu */

#nav_toggle {
  display: none;
  position: absolute;
  right: 13px;
  top: 6px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1;
  padding: 13px 10px 0;
}

#nav_toggle div {
  position: relative;
}
#nav_toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #222;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}

header.fixed #nav_toggle span {
  background: #333;
}

#nav_toggle span:nth-child(1) {
  top: 0;
}

#nav_toggle span:nth-child(2) {
  top: 11px;
}

#nav_toggle span:nth-child(3) {
  top: 23px;
}
header .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
@media (max-width: 1000px) {
  header {
    height: 65px;
  }
  header nav {
      display: none;
  }
  header nav {
      position: absolute;
      z-index: -1;
      top: calc(-100vh - 50px);
      width: 100%;
      height: 100%;
      height: 100vh;
      text-align: center;
      padding: 0;
      display: block;
      -webkit-transition: .5s ease-in-out;
      -moz-transition: .5s ease-in-out;
      transition: .5s ease-in-out;
      background-color: rgba(255,255,255, 1);
  }
  header.open nav{
    top:0;
  }
  header.open nav ul {
      padding: 80px 0 0;
      font-size: 15px;
      flex-direction: column;
      line-height: 3;
  }
  header nav a {
    padding: 0 0;
  }
  header nav ul{
    flex-direction: column;
  }
  #nav_toggle {
      display: block;
  }
  header.open #nav_toggle span {
    background: #333;
  }
  
  .open #nav_toggle span:nth-child(1) {
      top: 11px;
      -webkit-transform: rotate(135deg);
      -moz-transform: rotate(135deg);
      transform: rotate(135deg);
  }

  .open #nav_toggle span:nth-child(2) {
      width: 0;
      left: 50%;
  }

  .open #nav_toggle span:nth-child(3) {
      top: 11px;
      -webkit-transform: rotate(-135deg);
      -moz-transform: rotate(-135deg);
      transform: rotate(-135deg);
  }

  .open header nav {
      /* header nav top + #mobile-head height */
      -moz-transform: translateY(calc(100vh + 40px));
      -webkit-transform: translateY(calc(100vh + 40px));
      transform: translateY(calc(100vh + 40px));
  }
  header form {
    margin: 1em auto 0;
    display: flex;
    justify-content: center;
  }
}

/* vi */
.arr {
  z-index: 1;
  position: absolute;
  bottom: 15px;
  right: 15px;
  height: 45px;
  width: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 2px rgba(0,0,0,.3);
  color: #fff;
  border: 1px solid #fff;
}

.arr i {
  animation: anime_ar 1s ease -0.8s infinite alternate;
  padding-bottom: 0;
}

@keyframes anime_ar {
  0% {
      opacity: .1;
      padding-top: 0;
  }
  100% {
      opacity: 1;
      padding-top: 6px;
  }
}

/* Hero video (main visual) */
.hero-wrap {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(0,0,0,0.3)); */
  z-index: 1;
}
.vi {
  position: relative;
}
.vi .mv-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 1em;
}

@media (max-width: 768px) {
  .hero-video { display: block; }
  .hero-wrap { background-size: cover; background-position: center; }
}

/* top */
.vi .mv-title h1{
  color: #0f4051;
  font-size:clamp(26px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.5;
  padding: 0 3vw;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.15em;
  filter: drop-shadow(2px 2px 1px rgba(255,255,255,.7));
}
.vi .mv-title h1 br {
  display: none;
}
.vi .mv-title h1 span{
  font-size:clamp(18px, 3.5vw, 22px);
  font-weight: 500;
  display: block;
  line-height: 1.3;
  letter-spacing: 0.05em;
  padding: 1.2em 1em .5em;
  filter: drop-shadow(0px 0px 1px rgba(255,255,255,.7));
}

section#intro {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 1em;
  display: flex;
  align-items: center;
}
section#intro h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  width: 20%;
  color: #2b4f5b;
}
section#intro h3 {
  font-size: clamp(13px, 3vw, 18px);
  font-weight: 600;
  padding: .5em 0;

}
section#intro .text_intro {
  width: 76%;
  padding-left: 4%;
  border-left: 1px solid #2b4f5b;
  font-size: 14px;
  line-height: 1.9;
}
section#top_business article{
  padding: 80px 2em;
  background-image: linear-gradient(337deg,rgba(255, 255, 255, 1) 0%, rgba(241, 249, 252, 1) 75%, rgba(241, 249, 252, 1) 100%);
}
section#top_business article .wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
section#top_business article:nth-child(even) .wrap {
  flex-direction: row-reverse;
}
section#top_business article:nth-child(even)  {
  background-image: none;
}
section#top_business article h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  color: #2b4f5b;
}
section#top_business article img {
  width: 40%;
  flex-shrink: 0;
  margin-left: 5%;
}
section#top_business article .wrap img.bis {
  width: 50%;
}

section#top_business article:nth-child(even) img{
    margin-left: 0;
    margin-right: 5%;
}
section#top_business article .text {
  font-size: 14px;
  line-height: 2.1;
  text-align: justify;
}
section#top_business article .text h3 {
  font-size: 16px;
  font-weight: 600;
  padding: .5em 0;
  color: #333;
  display: flex;
  align-items: center;
}
section#top_business article .text h3 span {
  display: flex;
  align-items: center;
  justify-content: center;
  width:50px;
  height: 26px;
  border: 1px solid #a1803b;
  color: #a1803b;
  background-color: #fff;
  border-radius: 4px;
  margin-left: .8em;
  font-size: 12px;
  font-weight: 500;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.8em 0 0;
  width: 180px;
  height: 40px;
  font-size: 14px;
  padding-right: 45px;
  color: #fff;
  background-color: #2b4f5b;
  border-radius: 4px;
  background-image: url(../images/arr_btn_w.svg);
  background-position: 115px center;
  background-repeat: no-repeat;
  background-size: 40px 12px;
  transition: all .3s;
}
.btn:hover {
  background-color: #27726e;
  background-position: 120px center;
}
.bis_btn {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.bis_btn .btn {
  background-color: transparent;
  border: 1px solid #59818f;
  background-image: none;
  padding: 0;
  transition: all .3s;
  width: auto;
  display: flex;
  justify-content: flex-start;
}
.bis_btn .btn:hover {
  background-color: #65a0b4;
  color: #fff;
}
.bis_btn .btn a {
  color: #0f4051;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0 10px;
  height: 45px;
  white-space: nowrap;
}
.bis_btn .btn a:hover {
  color: #fff;
}
section#top_business article .bis_btn .btn img {
  height: 27px;
  width: auto;
  margin-left: 0;
  margin-right: 5px;
  margin-bottom: 0;
}

section#top_about {
  background: linear-gradient(350deg,rgba(255, 255, 255, 1) 0%, rgba(242, 242, 242, 1) 75%, rgba(235, 235, 235, 1) 100%);
}
section#top_about .about {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 1em;
}
section#top_about .about .text {
  font-size: 14px;
  line-height: 2;
}
section#top_about .about .text h2 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 500;
  color: #2b4f5b;
  border-bottom: 1px solid #2b4f5b;
  padding-bottom: .1em;
  margin-bottom: .8em;
}
section#top_about .about .text span {
  font-size: 13px;
  padding-left: 1em;
  color: #333;
}
section#top_about .about img{
  width: 40%;
  aspect-ratio: 2.2/3;
  object-fit: cover;
  object-position: center center;
  flex-shrink: 0;
  margin-right: 10%;
}
@media (max-width: 768px) {
  section#top_business article .wrap {
    align-items: self-start;
  }
}
@media (max-width: 640px) {
  section#intro {
    flex-direction: column;
  }
  section#intro h2 {
    text-align: center;
    width: 90%;
    line-height: 1.3;
  }
  section#intro h3 {
    text-align: center;
    font-size: 14px;
    padding: 5px 0 1em;
  }
  section#intro .text_intro {
    border: none;
    width: 90%;
    padding: 0;
  }
  section#top_business article {
    padding: 50px 0;
  }
  section#top_business article .wrap {
    flex-direction: column-reverse;
    align-items: center;
    width: 90%;
  }
  section#top_business article .wrap img {
    width: 100%;
    margin: 0;
    margin-bottom: 1em;
  }
  section#top_business article:nth-child(2n) .wrap {
    flex-direction: column-reverse;
  }
  section#top_about .about {
    width: 90%;
    padding: 80px 0;
    align-items: flex-start;
  }
  section#top_about .about img {
    width: 30%;
  }
  section#top_business article .wrap img.bis {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .vi .mv-title h1 {
    display: flex;
    flex-direction: column;
    /* flex-direction: row; */
    align-items: center;
    justify-content: center;
    /*writing-mode: vertical-rl;*/
    text-align: center;
    /* height: 370px; */
    font-size: 36px;
    /* margin-left: 5vw; */
  }
  .vi .mv-title h1 br {
    display: block;
  }
  .vi .mv-title h1 span{
    writing-mode:horizontal-tb;
    font-size: 21px;
    /* padding-right: 5vw; */
  }
}

@media (max-width: 480px) {
  section#top_about .about {
    flex-direction: column;
    align-items: center;
    padding: 30px 0 20px;
  }
  section#top_about .about img {
    width: 50%;
    margin: 0 0 1.5em;
    aspect-ratio: 1/1;
  }
}
@media (max-width: 450px) {
  .vi .mv-title h1 {
    font-size:8vw;
  }
  .vi .mv-title h1 span{
    font-size: 5vw;
  }
}

/* business */
section#title {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 2em 80px;
}
section#title article {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
section#title article img {
  width: 64%;
  margin-left: 6%;
  flex-shrink: 0;
}
section#title article .text h1 {
  font-size: clamp(19px, 4vw, 30px);
  font-weight: 500;
  color: #2b4f5b;
  border-bottom: 1px solid #2b4f5b;
  padding-top: 1em;
  padding-bottom: .1em;
  margin-bottom: .5em;
}
section#title article .text .sub {
  font-size: 14px;
  font-weight: 600;
  color: #2b4f5b;
  padding-bottom: 1em;
  font-family: 'plex', Arial, Helvetica, sans-serif;
}
section#title article .text p {
  font-size: 14px;
  line-height: 2.1;
  text-align: justify;
}

@media (max-width: 768px) {
  section#title article {
    flex-direction: column;
  }
  section#title article .text h1 {
    text-align: center;
    line-height: 1.2;
    border: 0;
    margin-bottom: .1em;
  }
  section#title article .text .sub {
    text-align: center;
  }
  section#title article img {
    width: 100%;
    margin: 1em 0 0;
  }
}

/* contact */
section.contact {
  max-width: 900px;
  margin: 50px auto;
  font-family: 'plex', Arial, Helvetica, sans-serif;
}
section.contact form {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
section.contact h2 {
  width: 100%;
  text-align: center;
  font-size: 30px;
  color: #2b4f5b;
  padding: 10px 1em 40px;
  font-weight: 500;
}
section.contact h2 span {
  display: block;
  font-size: 13px;
}
section.contact form div.box {
  width: 47%;
}
section.contact form p.midashi {
  color: #2b4f5b;
  font-size:14px;
  font-weight: 600;
  line-height: 1.9;
  padding-bottom: .2em;
  padding-top: 1.5em;
  border: 0;
}
section.contact form textarea {
  border: 1px solid #999;
  background-color: #fff;
  width: 100%;
  height: 237px;
}
section.contact form p.midashi span {
  color: #974c56;
  font-size: 13px;
  padding-left: .2em;
}
section.contact form input {
  border: 1px solid #999;
  height: 45px;
  width: 100%;
}
section.contact form .submit {
  width: 100%;
  text-align: center;
  padding-top: 30px;
}
section.contact form .submit input{
  width: 180px;
  height: 50px;
  background-color: #2b4f5b;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  margin: 20px auto 20px;
  text-align: center;
  cursor: pointer;
  padding-right: 15px;
  background-image: url(../images/arr_btn_w.svg);
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 30px 50px;
  letter-spacing: 0.05em;
}
section.contact form .submit p {
  display: flex;
  flex-direction: column;
}
section.contact form .submit span label input{
  height: 18px;
  width: 18px;
  margin-right: 10px;
  position: relative;
  top: 2px;
  cursor: pointer;
}
section.contact form .submit span label a {
  color: #27726e;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 1050px) {
  section.contact h2 {
    font-size:clamp(30px, 2.5vw, 40px);
  }
  section.contact {
    padding: 0 2em;
  }
}
@media (max-width: 740px) {
  section.contact form {
    flex-direction: column;
  }
  section.contact form div.box {
    width: 100%;
  }
}

/* about */
section#about {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 2em;
}
section#about .aisatu h2 {
  font-size: clamp(18px, 4vw, 24px);
  color: #2b4f5b;
  text-align: center;
  padding: 10px 1em 1em;
  font-weight: 600;
}
section#about .aisatu p {
  font-size: 13.5px;
  padding: 0;
  line-height: 1.9;
  text-align: justify;
}
section#about .company h2 {
  font-size: clamp(18px, 4vw, 24px);
  color: #2b4f5b;
  text-align: center;
  padding: 2em 1em 1em;
  font-weight: 600;
}
section#about .company h2 span {
  display: block;
  font-size: 13px;
}
section#about .company_box dl {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  font-family: 'plex', Arial, Helvetica, sans-serif;
}
section#about .company_box dl:last-child dt {
  border-bottom: 2px solid #145989;
}
section#about .company_box dl:last-child dd {
  border-bottom: 2px solid #c5d8dd;
}
section#about .company_box dl dt {
  width: 20%;
  font-size: 14px;
  padding: 1.5em 1em;
  color: #333;
  border-top: 2px solid #145989;
}
section#about .company_box dl dd {
  width: 80%;
  font-size: 14px;
  padding: 1.5em 1em;
  border-top: 2px solid #c5d8dd;
}
section#about .company_box dl dd iframe {
  width: 100%;
  height: 300px;
  border: 0;
  margin: 1em 0;
}
section#about .rinen {
  font-size: 14px;
  line-height: 1.9;
  text-align: justify;
}
section#about .rinen h2 {
  font-size: clamp(18px, 4vw, 24px);
  color: #2b4f5b;
  text-align: center;
  font-family: 'plex', Arial, Helvetica, sans-serif;
  padding: 4em 1em 1em;
  font-weight: 600;
}
section#about .rinen h2 span {
  display: block;
  font-size: 13px;
}
section#about .rinen .rinen_box {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
section#about .rinen .lead {
  text-align: center;
  padding: 0 1em 2.5em;
}
section#about .rinen .rinen_box .rinen_box_item {
  width: 30%;
  padding: 20px 15px;
  text-align: center;
  flex-shrink: 0;
  margin: 0 10px;
  border-radius: 25px;
  color: #0f4051;
  background-color: #e8f3f6;
  font-family: 'plex', Arial, Helvetica, sans-serif;
}
section#about .rinen .rinen_box .rinen_box_item h3,
section#about .rinen .rinen_box_item.spirit h3 {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  padding: 0 0 .2em;
}
section#about .rinen .rinen_box .rinen_box_item .sub,
section#about .rinen .rinen_box_item.spirit .sub {
  font-size: clamp(13px, 3vw, 17px);
  font-weight: 600;
  line-height: 1.2;
  padding: 0;
}
section#about .rinen .rinen_box .rinen_box_item .txt,
section#about .rinen .rinen_box_item.spirit .txt {
  font-size: clamp(13px, 3vw, 15px);
  line-height: 1.8;
  font-weight: 600;
  padding: 1em 1em .2em;
  text-align: justify;
}
/*
section#about .rinen .rinen_box .rinen_box_item .txt.center {
  text-align: center;
}*/
section#about .rinen .rinen_box_item.spirit {
  color: #0f4051;
  background-color: #e8f3f6;
  font-family: 'plex', Arial, Helvetica, sans-serif;
  display: block;
  margin: 2em auto 0;
  padding: 20px 15px;
  text-align: center;
  max-width: 520px;
  border-radius: 25px;
}

section#about .csr {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 1em;
  line-height: 1.9;
  text-align: justify;
  font-size: 14px;
  font-family: 'plex', Arial, Helvetica, sans-serif;
}
section#about .csr h2 {
  font-size: clamp(18px, 4vw, 34px);
  color: #2b4f5b;
  text-align: center;
  font-family: 'plex', Arial, Helvetica, sans-serif;
  padding: 1.5em 1em 1em;
  font-weight: 600;
}
section#about .csr h2 span {
  display: block;
  font-size: 13px;
}
section#about .csr h3 {
  text-align: center;
  padding: 2em 1em .5em;
  font-size: 16px;
  font-weight: 500;
}
section#about .csr .csr_box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1em;
}
section#about .csr .csr_box p{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 80%;
}
section#about .csr .csr_box a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31%;
  padding: 12px 15px;
  color: #0f4051;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
}
section#about .csr .lead_bottom {
  padding: 1.5em 1em 0;
  text-align: center;
}
@media (max-width: 760px) {
  section#about .csr .csr_box a {
    font-size: 1.9vw;
  }
}
@media (max-width: 600px) {
  section#about .company_box dl {
    flex-direction: column;
  }
  section#about .company_box dl dt {
    background-color: #f3f9fa;
  }
  section#about .company_box dl dd {
    border: 0;
  }
  section#about .company_box dl dt,
  section#about .company_box dl dd {
    width: 100%;
    padding: 1em 0;
  }
  section#about .company_box dl:last-child dt {
    border-bottom: 0;
  }
  section#about .rinen .rinen_box {
    flex-direction: column;
  }
  section#about .rinen .rinen_box .rinen_box_item {
    width: 100%;
    margin: 10px 0;
  }
  section#about .rinen .rinen_box_item.spirit {
    margin: 10px 0 0;
  }
  section#about .csr {
    padding: 40px 0;
  }
  section#about .csr .csr_box p {
    flex-direction: column;
    align-items: center;
  }
  section#about .csr .csr_box a {
    font-size: 16px;
    width: 90%;
    margin-bottom: 1.5em;
  }
}

/* Recruit */
section.rec_title {
  max-width: 1000px;
  margin: 0 auto;
  padding: 130px 1em 20px;
}
section.rec_title h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  text-align: center;
  color: #2b4f5b;
  line-height: 1.3;
  padding-bottom: 1em;
}
section.rec_title h1 span {
  display: block;
  font-size: 14px;
  padding-top: .5em;
  color: #333;
}
section.rec_title .content {
  font-size: 13px;
}
section.rec_title .list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
section.rec_title .list a {
  display: block;
  padding: 8px 1em;
  color: #0f4051;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-weight: 500;
  font-size: 12px;
  margin: 10px;
}
section.recruit {
  max-width: 900px;
  margin: 0 auto 2em;
  padding: 0 1em;
}
section.recruit article h3 {
  font-size: clamp(17px, 4vw, 20px);
  color: #2b4f5b;
  padding: 1.5em 0 .5em;
  font-weight: 600;
}
section.recruit article .content h3 {
  font-size: 17px;
  color: #333;
  padding: .5em 0 0;
}
section.recruit article .content {
  font-size: 14px;
  line-height: 1.9;
  text-align: justify;
  padding-bottom: 1.5em;
}
section.recruit article .content .wp-block-columns-is-layout-flex div h3{
  font-size: 15px;
  padding: 15px 15px 15px;
}
section.recruit article .content .wp-block-columns-is-layout-flex div:nth-child(1) {
  border-top: #27726e 2px solid;
  background-color: #f3f9fa;
}
section.recruit article .content .wp-block-columns-is-layout-flex div:nth-child(2) {
  border-top: #dbdbdb 2px solid;
  padding: 15px 15px 15px;
}

/* privacy */
section.recruit.page article h3 {
  padding: 2em 0 .2em;
  font-size: clamp(16px, 4vw, 18px);
}

/* footer */
footer {
  background-color: #e5eef1;
  font-family: 'plex', Arial, Helvetica, sans-serif;
}
footer .foot_contents {
  max-width: 1000px;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto;
  padding: 30px 20px 0;
}
footer .foot_logo {
  display: block;
  text-align: center;
}
footer .menu {
  width: 100%;
}
footer h3 {
  padding-top: 15px;
  padding-bottom: 20px;
}
footer h3 img {
  width: 160px;
}
footer h3 span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2b4f5b;
  padding-top: .5em;
}
footer ul {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.4;
}
footer ul li {
  letter-spacing: 0.03em;
  font-size: 12px;
}
footer ul li a {
  display: inline-block;
  color: #2b4f5b;
  padding: 0 2em;
  line-height: 1;
  border-right: 1px solid #bbb;
}
footer ul li:last-child a {
  border-right: none;
}
footer .foot_link {
  display: flex;
  align-items: center;
  justify-content: center;

}
footer .foot_link .btn {
  margin: 1em auto 3em;
  background-image: none;
  width: 230px;
  color: #fff;
  padding: 3px 0 0;
}
footer .foot_link .btn a {
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .foot_link .btn img {
  height: 25px;
  width: auto;
  padding-bottom: 3px;
  margin-right: .5em;
}
footer .copyright {
  font-size: 11px;
  text-align: center;
  padding-top: 1.5em;
  padding-bottom: 5px;
}
@media (max-width: 1000px) {
  footer .txt {
    font-size: clamp(12px,1vw,1.5vw);
  }
  footer {
    padding-bottom: 100px;
  }
}
@media (max-width: 826px) {
  footer nav ul {
    line-height: 2.2;
  }
  footer ul li a {
    border: 0;
  }
  footer .foot_contents {
    flex-direction: column;
    justify-content: center;
  }
  footer .menu {
    width: 100%;
  }
}
@media (max-width: 350px) {
  footer .foot_link .btn a {
    font-size:4vw;
  }
}


/* pagenavi */
.wp-pagenavi {
	margin: 40px auto 100px;
	font-size: 12px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #77a0d1;
}
.wp-pagenavi a {
    color: #77a0d1;
}
.wp-pagenavi span.current,
.wp-pagenavi a.page {
	margin: 0 10px 0 0;
	border: solid 1px #ddd;
	width: 40px;
	height: 40px;
	border-radius: 5px;
	line-height: 40px;
	text-align: center;
	box-sizing: border-box;
	justify-content: center;
	display: flex;
	align-items: center;
	transition: .3s;
}
.wp-pagenavi span.current {
    border: none;
    background: #2b4f5b;
    color: #fff;
}
.wp-pagenavi a.page {
	background: none;
}
.wp-pagenavi a.page:hover {
    background: #2b4f5b;
    color: #fff;
}
.wp-pagenavi .first,
.wp-pagenavi .extend {
    margin-right: 10px;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
    display: none;
}
.wp-pagenavi a, .wp-pagenavi span {
    margin: 0 1.4em 0 0 !important;
    border-radius: 4px;
    padding: 10px 15px;
}

/* cookie */
.cookie-consent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 12px;
  color: #fff;
  background: #a1803b;
  padding: 1.2em;
  box-sizing: border-box;
  z-index: 100;
  visibility: hidden;
}
.cookie-consent.is-show {
  visibility: visible;
}
.cookie-consent a {
  color: #fff !important;
}
.cookie-consent .cookie-text a{
  border-bottom: 1px solid #fff;
  margin-left: .5em;
}
.cookie-agree {
  color: #fff;
  background: #999;
  padding: .5em 1.5em;
  white-space: nowrap;
  border-radius: 4px;
  font-weight: 700;
}
.cookie-agree:hover {
  cursor: pointer;
}
.cc-hide {
  animation: hide .5s linear 0s;
  animation-fill-mode: forwards;
}
@keyframes hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* メディアクエリ */
@media screen and (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
  }
  .cookie-text {
    margin-bottom: 1em;
  }
}

/*fade*/
.fdup {
  transform: translate(0, 40px);
  transition: all 700ms;
  opacity: 0;
}

.fdup.effect {
  opacity: 1;
  transform: translate(0, 0);
}