

/*
Theme Name: NFO
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html{
  /* font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Meiryo", "Hiragino Kaku Gothic ProN", "Arial",  "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
  font-family: 貂ｸ繧ｴ繧ｷ繝�け菴�, yu-gothic-pr6n, 貂ｸ繧ｴ繧ｷ繝�け, yu-gothic,  hiragino-kaku-gothic-pron, Meiryo, "Noto Sans JP", sans-serif;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

a{
  text-decoration: none;
  color: #808080;
}

img{
  max-width: 100%;
  height: auto;
}

video {
  filter: drop-shadow(0px 0px rgba(0, 0, 0, 0));
  outline: none;
  border: none;
}

h1, h2, h3, h4, h5, h6{
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body{
  overflow-x: hidden;
  background: #ffffff;
  /* color: #808080; */
  color: #333;
  margin: 0;
  padding: 0;
}


body[lang="en"]{
  /* font-family: sans-serif, "Hiragino Sans", "Meiryo", "Hiragino Kaku Gothic ProN", "Arial",  "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
  font-family: 貂ｸ繧ｴ繧ｷ繝�け菴�,YuGothic,貂ｸ繧ｴ繧ｷ繝�け,"Yu Gothic","Hiragino Kaku Gothic Pro",Meiryo,"Noto Sans JP",sans-serif; 
}


main{
  position: absolute;
  z-index: -2;
  width: 100%;
}

main.main_top{
  position: unset;
}

/* Container for section heading */
.general-heading {
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
}

/* Initial styles for h1 */
.general-heading > h1 {
  font-family: jaf-bernina-sans, Hiragino Kaku Gothic Pro, Meiryo, Noto Sans JP, sans-serif;
  font-size: 3.8rem;
  font-size: 10.1333333333vw;
  font-weight: 400;
  line-height: 1.2;
  position: relative;
}

/* Initial hidden state for p */
.general-heading > p {
  color: #949494;
  font-family: 貂ｸ繧ｴ繧ｷ繝�け菴�, YuGothic, 貂ｸ繧ｴ繧ｷ繝�け, Yu Gothic, Hiragino Kaku Gothic Pro, Meiryo, Noto Sans JP, sans-serif;
  font-size: 3.2vw;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.6666666667;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

/* Fade-in effect for p */
.general-heading.animate p {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  color: #0000;
  background: linear-gradient(135deg, #333 0%, #333 100%) no-repeat; 
  background-size: 0% 0%; 
  background-position: 0% 0%; 
  -webkit-background-clip: text;
  background-clip: text;
  animation: revealHeading 1.2s .5s both ease-out;
}

@keyframes revealHeading {
  to {
    background-size: 200% 200%; 
  }
}

.fadeUp {
  opacity: 0;
}

/* fadeUp */
.fadeUp.active {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  opacity: 0;
}


@keyframes fadeUpAnime{
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ani-delay-1s{
  animation-delay: 0.5s !important;
}

.ani-delay-2s{
  animation-delay: 1s !important;
}

.ani-delay-3s{
  animation-delay: 1.5s !important;
}

.ani-delay-4s{
  animation-delay: 2s !important;
}

.ani-delay-5s{
  animation-delay: 2.5s !important;
}

.ani-delay-6s{
  animation-delay: 3s !important;
}

.ani-delay-7s{
  animation-delay: 3.5s !important;
}

.ani-delay-8s{
  animation-delay: 4s !important;
}



/* Navigation Bar Styles */
header {
  padding: 40px 80px;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

nav .logo, footer .logo {
  width: 80px;
  position: relative;
  z-index: 1010; /* Ensure logo stays on top of links */
}

nav .logo a {
  font-size: 24px;
  font-weight: bold;
  height: 100%;
  display: flex;
  align-items: center;
}

nav .main-nav {
  padding: 0 40px;
  background-color: #fff;
  border-radius: 43px;
  box-shadow: 3px 3px 5px #e3e5ea, -3px -3px 5px #fff;
  height: 65px;
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1010; /* Keep the button on top */
}

nav .main-nav ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  height: 100%;
}

nav .main-nav ul li {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
}

nav .main-nav ul li a {
  color: #333;
  height: 100%;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-family: jaf-bernina-sans,hiragino-kaku-gothic-pron,Meiryo,"Noto Sans JP",sans-serif;
}

/* Hover effect */
nav .main-nav ul li a:hover {
  opacity: 1;
}

/* Dim all other links when one is hovered */
nav .main-nav ul:hover li a {
  opacity: 0.5;
}

/* Don't delete */
nav .main-nav ul li a:hover {
  opacity: 1;
}

.navbar-toggle-wrapper{
  display: none;
}

/* Style the active link */
.nav-menu li a.active-tab {
  position: relative;
}

/* Add a dot below the active link */
.nav-menu li a.active-tab::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #333;
  border-radius: 50%;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}


/* Media query for Navigation Bar */
@media (max-width: 768px) {
  header {
      padding: 30px 8vw;
  }

  nav .main-nav ul li{
    padding-left: 0;
    padding-right: 0;
    margin-top: 50px;
  }

  nav .main-nav ul li:first-child{
    margin-top: 0;
  }

  nav .main-nav ul li a{
    display: block;
    font-family: jaf-bernina-sans, Hiragino Kaku Gothic Pro, Meiryo, Noto Sans JP, sans-serif;
    font-size: 8vw;
    letter-spacing: .02em;
    line-height: 1;
  }

  nav .logo, footer .logo {
      width: 70px;
      margin: 0;
      padding: 0;
      z-index: 1010;
  }


  .navbar-toggle-wrapper{
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    border-radius: 4px;
    background: transparent;
    z-index: 11;
  }

  .mobile-nav-toggle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 3px 3px 5px #e3e5ea, -3px -3px 5px #fff;
    cursor: pointer;
    z-index: 1010;
    border: none;
  }

  .mobile-nav-toggle .line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-nav-toggle[aria-expanded=false] .line:nth-child(1){
    margin-bottom: 5px;
  }

  nav .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease, visibility 0s 0.3s;
    z-index: 1;
    justify-content: flex-start;
    margin-left: auto;
    margin-right: auto;
    padding: 150px 8vw 8vw;
    width: 100%;
    box-shadow: none;
}

  nav .main-nav[data-visible="true"] {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    visibility: visible;
    opacity: 1;
    transition: opacity .3s ease-in-out, visibility 0s;
  }

  .nav-links-wrapper{
    width: 100%;
    height: 100%;
    display: block;
  }


  .nav-menu {
      list-style-type: none;
      margin: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 100%;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.3s ease-in-out;
  }

  .main-nav[data-visible="true"] .nav-menu {
      opacity: 1;
      transform: translateY(0);
      height: unset;
      justify-content: flex-start;
      align-items: flex-start;
  }

  .mobile-nav-toggle[aria-expanded="true"] .line:nth-child(1) {
    transform: translateY(2px) rotate(180deg);
    background-color: #333;
  }

  .mobile-nav-toggle[aria-expanded="true"] .line:nth-child(2) {
      opacity: 0;
  }

  .nav-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  
  .nav-menu li.fade-up {
    opacity: 1;
    transform: translateY(0);
  }
  

}


/* NEWS PAGE */
.news-section{
  padding-top: 159px;
}

.news-wrapper {
  margin: auto;
  padding-left: 8vw;
  padding-right: 8vw;
  position: relative;
  width: 100%;
}

.news-wrapper .news-left-content{
  position: relative;
  width: 100%;
  z-index: 1;
}

.news-wrapper .news-left-wrapper{
  display: flex;
  justify-content: space-between;
}

.news-category-wrapper-pc{
  display: none;
}

.news-category-wrapper-sp{
  display: block;
}

.news-category-list {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.news-category-item.is-current {
  pointer-events: none;
}

.news-category-item--anotherType {
  margin-top: 23px;
}

.news-category-item+.news-category-item:not(.news-category-item--anotherType) {
  margin-top: 11px;
}

.news-category-item {
  border-radius: 42px;
  box-shadow: 3px 3px 5px #e3e5ea, -3px -3px 5px #fff;
  display: inline-flex;
  font-family: jaf-bernina-sans, Hiragino Kaku Gothic Pro, Meiryo, "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -.01em;
  position: relative;
  text-align: center;
}

.news-category-item.is-current .news-category-link {
  background-color: #333;
  color: #fff;
}

.news-category-link {
  align-items: center;
  border-radius: 42px;
  color: #333;
  display: flex;
  height: 40px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: color .2s, background-color .45s; 
  width: 147px;
  z-index: 1;
}

.news-category-circle {
  position: absolute;
  left: 15%;
  top: 50%;
  width: 5px; 
  height: 5px; 
  background-color: #333; 
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .45s cubic-bezier(.87,.24,.36,1), height .45s cubic-bezier(.87,.24,.36,1); 
  z-index: 0; 
}

.news-category-link:hover .news-category-circle {
  width: 200%; 
  height: 200%; 
}
.news-category-link:hover .news-category-text {
  color: #fff; 
}

.news-category-text {
  position: relative;
  z-index: 1; 
}

.news-right-content {
  padding-bottom: 20.8vw;
  width: 100%;
}

.news-right-content .news-right-heading {
  border-bottom: 1px solid #dcdcdc;
  margin-bottom: 40px;
  margin-top: 71px;
  padding-bottom: 40px;
}


.news-right-heading > p{
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.55;
}

.news-article-list+.news-article-list {
  margin-top: 41px;
}

.news-article .news-article-date-sp{
  color: #949494;
  display: block;
  font-size: 0.688rem;
  letter-spacing: -.01em;
  line-height: 1.72;
  margin-bottom: 14px;
}

.news-article .news-article-content{
  align-items: flex-start;
  display: flex;
}

.news-article-content .news-article-img{
  min-width: 105px;
  overflow: hidden;
  position: relative;
  width: 105px;
}

.news-article-img:before{
  content: "";
  float: left;
  padding-top: 66.6666666667%;
}

.news-article-list a.news-article:hover .news-article-content .news-article-img img{
  transform: scale(1.1);
}

.news-article-img img{
  object-fit: cover;
  transition: transform .4s;
}

.news-article-content .news-article-body{
  padding-left: 15px;
  width: calc(100% - 105px);
}

.news-article-body .news-article-date-pc{
  display: none;
}

.news-article-body .news-article-title{
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-size: 0.875rem;
  line-height: 1.7142857143;
  overflow: hidden;
  color: #333;
}

.news-toggle-category-current{
  align-items: center;
  background-color: #333;
  border-radius: 42px;
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 20px;
  position: relative;
  width: 147px;
}

.news-toggle-category-current-text {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.news-toggle-category-current-text:after {
  background: url(assets/icon-vertical_arrow.svg) no-repeat 50% / contain;
  bottom: 0;
  content: "";
  height: 5px;
  position: absolute;
  right: 17px;
  top: calc(50% - 2px);
  transition: transform .3s;
  width: 7px;
  transform: rotate(0deg);
}

.news-toggle-category-current.is-opened .news-toggle-category-current-text:after {
  transform: rotate(180deg);
}


.news-toggle-category-container{
  position: relative;
}

.news-toggle-category-list {
  border-radius: 8px;
  box-shadow: 3px 3px 5px #e3e5ea, -3px -3px 5px #fff;
  height: 0;
  max-height: 55vh;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 12px;
  transition: height .4s cubic-bezier(.645,.045,.355,1);
  width: 100%;
  z-index: 10;
  background: #f8f8f8;

  transition: height .4s cubic-bezier(.645,.045,.355,1);
  overflow: hidden;
}

.news-toggle-category-list-wrapper{
  background-color: #f8f8f8;
  padding-bottom: 4px;
  padding-top: 4px;
}

.news-toggle-category-list-item-link {
  color: #333;
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
  padding: 12px 8px 12px 37px;
  position: relative;
  width: 147px;
}

.news-toggle-category-list-item-link:before {
  background-color: #333;
  border-radius: 50%;
  bottom: 0;
  content: "";
  display: block;
  height: 5px;
  left: 20px;
  margin: auto;
  position: absolute;
  top: 0;
  width: 5px;
}

.news-toggle-category-list-item-anotherType {
  border-top: 1px solid #dcdcdc;
  margin-top: 8px;
}

.news-toggle-category-list-item-anotherType .news-toggle-category-list-item-link{
  padding-top: 22px;
}


/* SINGLE ARTICLE */
.single-article-section{
  padding-bottom: 120px;
  padding-top: 145px;
}

.single-article-wrapper {
  margin: auto;
  padding-left: 8vw;
  padding-right: 8vw;
  position: relative;
  width: 100%;
}

.single-article-heading {
  margin-bottom: calc(30px - .56rem);
}

.single-article-headingMeta, .single-article-title {
  font-family: 貂ｸ繧ｴ繧ｷ繝�け菴�, YuGothic, 貂ｸ繧ｴ繧ｷ繝�け, Yu Gothic, Hiragino Kaku Gothic Pro, Meiryo, Noto Sans JP, sans-serif;
  font-weight: 700;
}

.single-article-headingMeta {
  color: #949494;
  font-size: 0.75rem;
  letter-spacing: .06em;
  line-height: 1.4;
}

.single-article-title {
  font-size: 1.25rem;
  letter-spacing: -.01em;
  line-height: 1.7;
}

.single-article-image{
  margin: 5px 20px 20px 0;
}

.single-article-content {
  word-wrap: break-word;
  font-size: 0.875rem;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.single-article-content ul li{
  list-style-type: disc;
  margin-left: 1.5em;
}

.single-article-content figure+*, .single-article-content hr+*, .single-article-content ol+*, .single-article-content p+*, .single-article-content ul+*, .single-article-content h1+*,.single-article-content h2+*,.single-article-content h3+*,.single-article-content h4+*,.single-article-content h5+*,.single-article-content h6+*{
  margin-top: 1em;
}

.single-article-content h1, .single-article-content h2, .single-article-content h3, .single-article-content h4, .single-article-content h5, .single-article-content h6 {
  font-weight: 700;
}


/* PRIVACY POLICY PAGE */
.privacy-policy-section{
  padding-bottom: 80px;
  padding-top: 151px;
}

.privacy-policy-content{
  margin: auto;
  padding-left: 8vw;
  padding-right: 8vw;
  position: relative;
  width: 100%;
}

.policy-container-body {
  margin-top: 50px;
  font-size: 0.875rem;
  letter-spacing: -.01em;
  line-height: 2;
}

.policy-container-heading {
  text-align: right;
}

.policy-container-heading+* {
  margin-top: 46px;
}

.p-pagePolicy__infoSects {
  counter-reset: alphaCount;
  margin-top: 31px;
}

.p-pagePolicy__infoSects>li {
  list-style: none;
  padding-left: 28px;
  position: relative;
}

.p-pagePolicy__infoSects>li:before {
  content: counter(alphaCount, lower-alpha) " )";
  counter-increment: alphaCount;
  left: 0;
  letter-spacing: -.01em;
  position: absolute;
  top: 0;
}

.p-pagePolicy__infoSects>li+li {
  margin-top: 31px;
}

.p-pagePolicy__infoCommentEnd {
  margin-top: 31px;
  text-align: right;
}

.policy-info+* {
  margin-top: 55px;
}

.policy-sects-head-name {
  font-size: 1.4rem;
  font-weight: 700;
}

.policy-sects-head-name:before {
  margin-top: -.95em;
}

.policy-sects-head-name:after, .policy-sects-head-name:before {
  content: "";
  display: block;
  height: 0;
  width: 0;
}

.policy-sects-head-meta {
  margin-top: 20px;
}

.policy-sects-head-meta:before {
  margin-top: -.95em;
}

.policy-sects-head-meta:after, .policy-sects-head-meta:before {
  content: "";
  display: block;
  height: 0;
  width: 0;
}

.policy-sects-head-info {
  margin-top: 40px;
}

.policy-sects {
  counter-reset: alphaCount;
  margin-top: 52px;
}

.policy-sects>li {
  list-style: none;
  padding-left: 28px;
  position: relative;
}

.policy-sects>li:before {
  content: counter(alphaCount, lower-alpha) " )";
  counter-increment: alphaCount;
  font-weight: 700;
  left: 0;
  letter-spacing: -.01em;
  position: absolute;
  top: 0;
}

.policy-section-heading {
  font-weight: 700;
}

.policy-sects>li+li {
  margin-top: 40px;
}

.policy-num-list {
  counter-reset: numCount
}

.policy-num-list>li {
  list-style: none;
  padding-left: 28px;
  position: relative
}

.policy-num-list>li+li {
  margin-top: 1.5em
}

.policy-num-list>li:before {
  content: counter(numCount) " )";
  counter-increment: numCount;
  left: 0;
  position: absolute;
  top: 0
}

.policy-num-list li+li {
  margin-top: 2em
}

.policy-text-end {
  margin-top: 1em;
  text-align: right;
}

.policy-sect-CO1-head {
  margin-top: 10px;
}

.policy-table-wrap {
  margin-right: -8vw;
  overflow-x: auto;
}

.policy-sect-CO1-foot, .policy-sect-CO1-head+* {
  margin-top: 8px;
}

.policy-table-body {
  width: calc(855px + 8vw);
}

.policy-table {
  width: 855px;
}

.policy-table-col-head {
  width: 198px;
}

.policy-table th {
  background-color: #ededed;
  font-weight: 400;
}

.policy-table td, .policy-table th {
  border: 1px solid #dcdcdc;
  border-collapse: collapse;
  padding: 8px 19px;
}

th {
  font-weight: 700;
  text-align: left;
}

td, th {
  vertical-align: top;
}

.policy-table tr td:nth-child(2), .policy-table tr th:nth-child(2) {
  padding: 8px 16px;
}

.policy-table-list li:before {
  content: "繝ｻ";
}

.policy-sect-CO1+* {
  margin-bottom: 39px;
  margin-top: 26px;
}

.policy-sectC02-head+* {
  margin-top: 18px
}

.policy-sect-D {
  margin-bottom: 38px
}

.policy-sect-D .policy-table-wrap {
  margin-top: 18px
}


/* FOOTER */
footer {
  background-color: #f2f2f2;
}

.footer-wrapper {
  padding: 30px 8vw 30px;
}
.footer-links-wrapper{
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links-wrapper ul{
  display: inline-flex;
  flex-wrap: wrap;
  margin-bottom: -8px;
  width: 100%;
}

.footer-links-wrapper ul li{
  color: #1f1f1f;
  font-family: jaf-bernina-sans, Hiragino Kaku Gothic Pro, Meiryo, "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.3;
  padding-bottom: 8px;
  padding-right: 8px;
  width: 33.3333333333%;
  transition: 0.3s all ease-in-out;
}

footer .footer-links-wrapper ul li a{
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Hover effect */
footer .footer-links-wrapper ul li a:hover {
  opacity: 1;
}

/* Dim all other links when one is hovered */
footer .footer-links-wrapper ul:hover li a {
  opacity: 0.5;
}

/* Don't delete*/
footer .footer-links-wrapper ul li a:hover {
  opacity: 1;
}

.footer-links-wrapper img{
  margin-top: 30px;
}

.footer-copyright {
  display: flex;
  justify-content: flex-start;
  margin-top: 38px;
}

.footer-copyright p{
  color: rgba(51, 51, 51, .8);
  font-family: jaf-bernina-sans, Hiragino Kaku Gothic Pro, Meiryo, "Noto Sans JP", sans-serif;
  font-size: 0.625rem;
  line-height: 1;
}

/* CONTACT */
.contact-section{
  padding: 150px 0;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-wrapper h1{
  font-size: 1.5rem;
  margin: 0.67em 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.contact-wrapper > p{
  margin-bottom: 20px;
  font-size: 0.75rem;
}

.wpcf7, form.wpcf7-form {
  width: 100%;
}

form.wpcf7-form p {
  max-width: 100%;
  min-width: 100%;
  margin-bottom: 20px;
}


form.wpcf7-form p > label, form.wpcf7-form p > label> span, form.wpcf7-form p > label> span > input, form.wpcf7-form p > label> span > textarea{
  width: 100%;
  display: block;
  font-size: 14px;
}

form.wpcf7-form p > label{
  font-weight: 700;
}

form.wpcf7-form p > label> span > input, form.wpcf7-form p > label> span > textarea{
  margin-top: 8px;
  appearance: none;
  transition: border-color 0.25s ease-in-out, box-shadow 0.1s ease-in-out, background-color 0.25s ease-in-out, color 0.25s ease-in-out, z-index 0.25s ease-in-out;
  border: 1px solid rgb(216, 220, 222);
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  vertical-align: middle;
  font-family: inherit;
  padding: 0.714286em 0.857143em;
  min-height: 40px;
  line-height: 1.28571;
  font-size: 14px;
  background-color: rgb(255, 255, 255);
  color: rgb(47, 57, 65);
}

.wpcf7-list-item{
  margin: 0!important;
  font-weight: 500;
  font-size: 14px!important;
}

.wpcf7 .wpcf7-submit:disabled{
  background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));
  color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
  border-color: light-dark(rgba(118, 118, 118, 0.3), rgba(195, 195, 195, 0.3));
}

form.wpcf7-form p > input.wpcf7-submit{
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  transition: border-color 0.25s ease-in-out, box-shadow 0.1s ease-in-out, background-color 0.25s ease-in-out, color 0.25s ease-in-out, outline-color 0.1s ease-in-out, z-index 0.25s ease-in-out;
  margin: 0px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: inherit;
  font-weight: 400;
  -webkit-font-smoothing: subpixel-antialiased;
  box-sizing: border-box;
  user-select: none;
  padding: 0px 1.07143em;
  height: 40px;
  line-height: 38px;
  font-size: 14px;
  outline-color: transparent;
  background-color: rgb(23, 73, 77);
  color: rgb(255, 255, 255);
}

.navigation{
  margin-top: 90px;
}


.navigation ul.page-numbers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  margin-top: -12px;
}

.navigation ul.page-numbers li > span.current{
  background-color: #333;
  box-shadow: none;
  color: #fff;
}

.navigation ul.page-numbers li > span, .navigation ul.page-numbers li > a{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 3px 3px 5px #e3e5ea, -3px -3px 5px #fff;
  color: #333;
  font-family: jaf-bernina-sans, Hiragino Kaku Gothic Pro, Meiryo, Noto Sans JP, sans-serif;
  font-size: 12px;
  font-weight: 600;
  height: 42px;
  letter-spacing: -.03em;
  margin: 12px 6px 0;
  position: relative;
  width: 42px;
}

/* TOP */
.top-intro-wrapper{
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  position: relative;
  overflow: hidden;
  transition: height 0.3s ease-out;
} 

.top-intro-wrapper .intro-video{
  transition: opacity 0.3s ease;
  position: relative;
  top: 0; 
  width: 100vw;
  height: 200%;
}

.intro-heading{
  position: relative;
  right: 0;
  top: 0;
  height: 100%;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: auto;
  padding-left: 8vw;
  padding-right: 8vw;
  padding-top: 40px;
  transition: transform 0.3s ease-out;
  background: #fff;
}

.intro-heading p{
  font-feature-settings: normal;
  color: #333;
  font-family: jaf-bernina-sans, Hiragino Kaku Gothic Pro, Meiryo, Noto Sans JP, sans-serif;
  font-size: 3.2vw;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 2.6666666667vw;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.intro-heading.animate p {
  opacity: 1;
  transform: translateY(0);
}

.intro-heading h1{
  font-feature-settings: normal;
  display: inline-flex;
  font-family: 貂ｸ繧ｴ繧ｷ繝�け菴�, YuGothic, 貂ｸ繧ｴ繧ｷ繝�け, Yu Gothic, Hiragino Kaku Gothic Pro, Meiryo, Noto Sans JP, sans-serif;
  font-size: 4.5vw;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.49;
  position: relative;
}

.intro-video video{
  width: 150%;
  height: 100%;
  object-fit: fill;
  transition: opacity 0.5s ease;
}



section.top-service-section, section.top-news-section{
  margin: auto;
  padding-left: 8vw;
  padding-right: 8vw;
  width: 100%;
  padding-bottom: 15vw;
  padding-top: 28.5333333333vw;
}

section.top-service-section{
  padding-top: 0;
}

section.top-news-section{
  display: flex;
  flex-direction: column;
  padding-bottom: 15vw;
  padding-top: 5vw;
}

.top-news-heading-wrapper{
  display: flex;
  flex-direction: column;
  position: relative;
}

.general-btn {
  margin-top: 30px;
  border-radius: 42px;
  box-shadow: 3px 3px 5px #e3e5ea, -3px -3px 5px #fff;
  display: inline-flex;
  font-family: jaf-bernina-sans, Hiragino Kaku Gothic Pro, Meiryo, "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.01em;
  position: relative;
  text-align: center;
  width: 174px;
  height: 55px;
}

.general-link {
  align-items: center;
  border-radius: 42px;
  color: #333;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: color .2s, background-color .45s; 
  width: 100%;
  z-index: 1;
}

.general-circle {
  position: absolute;
  left: 15%;
  top: 50%;
  width: 5px; 
  height: 5px; 
  background-color: #333; 
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .45s cubic-bezier(.87,.24,.36,1), height .45s cubic-bezier(.87,.24,.36,1); 
  z-index: 0; 
}

.general-link:hover .general-circle {
  width: 200%; 
  height: 200%; 
}
.general-link:hover .general-text {
  color: #fff; 
  z-index: 1;
}

.top-news-articles-wrapper{
  margin-top: 51px;
}

.top-news-articles-wrapper ul li a.top-article-link{
  display: flex;
  flex-direction: column;
}

a.top-article-link .top-article-head{
  display: flex;
  flex-wrap: wrap;
}

.top-article-head p.top-article-date, .top-article-head p.top-article-category{
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}

.top-article-head p.top-article-date{
  color: #949494;
  font-size: 0.688rem;
  margin-right: 20px;
  margin-top: 7px;
}

.top-article-head p.top-article-category{
  align-items: center;
  background-color: #333;
  border-radius: 23px;
  color: #fff;
  display: inline-flex;
  font-size: 0.625rem;
  height: 26px;
  justify-content: center;
  min-width: 100px;
  overflow: hidden;
  padding: 0 12px;
  text-overflow: ellipsis;
}

a.top-article-link > p.top-article-title{
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.714285714;
  margin-top: 20px;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Hover effect */
.top-news-articles-wrapper ul li a.top-article-link:hover > p.top-article-title {
  opacity: 1;
}

/* Dim all other links when one is hovered */
.top-news-articles-wrapper ul:hover li a > p.top-article-title {
  opacity: 0.5;
}

/* Don't delete*/
a.top-article-link:hover > p.top-article-title {
  opacity: 1;
}

.top-article-item+.top-article-item{
  margin-top: 35px;
}

.service-content-wrapper{
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.service-reduce-wrapper, .service-terahertz-wrapper{
  width: 100%;
  padding: 0;
}

.service-terahertz-wrapper{
  margin-top: 60px;
}

.service-body-wrapper{
  margin-top: 25px;
}

p.service-title{
  font-family: 貂ｸ繧ｴ繧ｷ繝�け菴�, YuGothic, 貂ｸ繧ｴ繧ｷ繝�け, Yu Gothic, Hiragino Kaku Gothic Pro, Meiryo, Noto Sans JP, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.875;
}

p.service-desc{
  font-size: 0.875rem;
  line-height: 1.8;
  margin-top: 20px;
  overflow-wrap: break-word;
}

.service-link{
  margin-top: 28px;
}

.service-img-wrapper{
  border-radius: 5px;
  display: block;
  overflow: hidden;
  position: relative;
  height: 260px;
  width: 100%;
}

.service-img-wrapper img{
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  transition: opacity .3s;
  width: 100%;
}



@media screen and (min-width: 768px) {
  /* TOP */
  .top-intro-wrapper{
  display: flex;
  align-items: center;
  height: 100vh;
  position: relative;
  } 

  .top-intro-wrapper .intro-video{
  position: absolute;
  top: 0; 
  left: 0; 
  width: 50vw;
  height: 100%;
  }

  .intro-heading{
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  }

  .intro-heading p{
    font-size: 1.0248901903vw;
    margin-bottom: 1.2445095168vw;
    margin-left: .439238653vw;
  }

  .intro-heading h1{
    font-size: 2.3vw;
    line-height: 1.35;
  }

  .intro-video video{
  width: 70vw;
  height: 100%;
  object-fit: fill;
  }

  .service-content-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 997px;
    margin: 40px auto 0 auto;
  }

  .service-reduce-wrapper, .service-terahertz-wrapper{
    width: 474px;
  }

  .service-terahertz-wrapper{
    margin-top: 0;
    padding-left: 20px;
  }

  .service-reduce-wrapper{
    padding-right: 20px;
  }

  p.service-title{
    font-size: 1.125rem;
    line-height: 2;
  }

  section.top-service-section, section.top-news-section{
    max-width: 86.82284041vw;
    padding-left: 2.196193265vw;
    padding-right: 2.196193265vw;
    padding-bottom: 15vw;
  }

  section.top-service-section{
    padding-top: 10vw;
  }

  section.top-news-section{
    flex-direction: row;
    padding-top: 5vw;    
  }

  .top-news-heading-wrapper {
    min-width: 190px;
    padding-right: 8.0775988287vw;
    width: 22.0351390922vw;
  }

  .top-news-articles-wrapper{
    margin-top: 12px;
    width: 63.3601756955vw;
  }

  .top-news-articles-wrapper ul li a.top-article-link{
    align-items: flex-start;
    flex-direction: row;
  }

  a.top-article-link .top-article-head{
    flex-wrap: nowrap;
    margin-right: 40px;
    min-width: 184.52px;
  }

  .top-article-head p.top-article-date{
    font-size: 0.75rem;
  }

  .top-article-head p.top-article-category{
    min-width: 104px;
  }

  .top-article-head p.top-article-category > span{
    transform: scale(.9);
  }

  a.top-article-link > p.top-article-title{
    font-size: 1rem;
    letter-spacing: -.01em;
    line-height: 2;
    margin-top: 0;
    color: #333;
  }

  .top-article-item+.top-article-item{
    margin-top: 36px;
  }


  /* NEWS PAGE */
  .news-section{
    padding-top: 213px;
  }

  .news-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 86.82284041vw;
    padding-left: 2.196193265vw;
    padding-right: 2.196193265vw;
  }

  .news-wrapper .news-left-content{
    width: 24.3777452416vw;
  }

  .news-wrapper .news-left-wrapper{
    display: block;
    padding-bottom: 15.3733528551vw;
    position: sticky;
    top: 140px;
  }

  .news-category-wrapper-pc {
    display: block;
    margin-top: 23px;
  }

  .news-category-wrapper-sp{
    display: none;
  }

  .news-wrapper .news-right-content{
    padding-bottom: 15.3733528551vw;
    width: 58.0527086384vw;
  }

  .news-right-content .news-right-heading {
    margin-bottom: 30px;
    margin-top: 32px;
    padding-bottom: 30px;
  }

  .news-right-heading > p{
    font-size: 1.25rem;
  }

  .news-article-list+.news-article-list {
    margin-top: 20px;
  }

  .news-article .news-article-date-sp{
    display: none;
  }

  .news-article-content .news-article-img{
    min-width: 200px;
    width: 200px;
  }

  .news-article-content .news-article-body{
    padding-left: 30px;
    width: calc(100% - 200px);
  }

  .news-article-body .news-article-date-pc{
    color: #949494;
    display: block;
    font-size: 0.75rem;
    letter-spacing: -.01em;
    line-height: 1.666;
    margin-bottom: 14px;
    margin-top: -3px;
  }

  .news-article-body .news-article-title{
    font-family: 貂ｸ繧ｴ繧ｷ繝�け菴�, YuGothic, 貂ｸ繧ｴ繧ｷ繝�け, Yu Gothic, Hiragino Kaku Gothic Pro, Meiryo, Noto Sans JP, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.7;
  }

  
  /* SINGLE ARTICLE */
  .single-article-section{
    padding-bottom: 200px;
    padding-top: 278px;
  }

  .single-article-wrapper {
    max-width: calc(1000px + 4.39239vw);
    padding-left: 2.196193265vw;
    padding-right: 2.196193265vw;
    width: 69.0336749634vw;
  }

  .single-article-heading {
    margin-bottom: calc(40px - .56rem);
  }

  .single-article-title {
    font-size: 1.5rem;
  }

  .general-heading > h1{
    font-size: 4.9048316252vw;
  }
  
  .general-heading > p{
    font-size: .878477306vw;
    letter-spacing: .15em;
  }


  /* PRIVACY POLICY */
  .privacy-policy-section{
    padding-bottom: 185px;
    padding-top: 214px;
  }

  .privacy-policy-content{
    max-width: calc(1000px + 4.39239vw);
    margin: 0 auto;
    padding-left: 2.196193265vw;
    padding-right: 2.196193265vw;
    width: 69.0336749634vw;
  }

  .policy-container-body {
    margin-top: 65px;
  }

  .policy-sects-head-name {
    font-size: 1rem;
  }
  .policy-sects-head-meta {
    margin-top: 15px;
  }

  .policy-sects, .policy-sects-head-info {
    margin-top: 55px;
  }

  .policy-sects>li+li {
    margin-top: 31px;
  }

  .policy-table-wrap {
    margin-right: 0;
  }
  .policy-table-body {
    width: 100%;
  }

  .policy-table {
    min-width: auto;
    width: 100%;
  }


  /* FOOTER */
  .footer-wrapper {
    padding: 20px 5.8565153734vw;
  }

  .footer-links-wrapper{
    margin-top: 42px;
  }

  .footer-links-wrapper ul{
    justify-content: space-between;
    margin-bottom: -20px;
    max-width: 450px;
  }

  .footer-links-wrapper ul li{
    font-size: 1rem;
    margin-bottom: 0;
    padding-bottom: 20px;
    width: auto;
  }

  .footer-links-wrapper img{
    margin-top: 0;
  }

  .footer-copyright{
    margin-right: 0;
    margin-top: 56px;
    justify-content: flex-end;
  }

  /* CONTACT */
  .contact-section{
    padding: 200px 0;
  }

  .contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-wrapper h1{
    font-size: 2rem;
    margin: 0.67em 0;
  }

  .contact-wrapper > p{
    margin-bottom: 30px;
    font-size: 1rem;
  }

  form.wpcf7-form p {
    max-width: 650px;
    min-width: 650px;
  }

  .navigation{
    display: flex;
    justify-content: flex-end;
    margin-top: 61px;
  }

}


