:root{
  --mainColorBlu:#1E459A;
}
@font-face {
  font-family: 'Cardinal Fruit';
  src: url('../font/CardinalFruit-Regular.woff2') format('woff2'),
      url('../font/CardinalFruit-Regular.woff') format('woff'),
      url('../font/CardinalFruit-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: auto;
}
html{
  -webkit-font-smoothing: antialiased;
}
html,
body {
  font-size: 62.5%;
  min-height: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
body{
  font-family: a-otf-ryumin-pr6n, serif;
  font-weight: 300;
  font-style: normal;
  font-display: block;
  background: var(--mainColorBlu);
  color: #ffffff;
}
main{
  display: block;
  min-height: calc(100% - 4.2rem);
}
article{
  min-height: 100%;
}
.cf{
  font-family: 'Cardinal Fruit';
    font-weight: 100;
}
.grecaptcha-badge{
      right: -100vw !important;
}
.flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  -o-flex-flow: row wrap;
  flex-flow: row wrap;
}

.nowrap {
  -webkit-flex-flow: row nowrap;
  -moz-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  -o-flex-flow: row nowrap;
  flex-flow: row nowrap;
}

.reverse {
  -webkit-flex-flow: row-reverse wrap;
  -moz-flex-flow: row-reverse wrap;
  -ms-flex-flow: row-reverse wrap;
  -o-flex-flow: row-reverse wrap;
  flex-flow: row-reverse wrap;
}

.column {
  -webkit-flex-flow: column;
  -moz-flex-flow: column;
  -ms-flex-flow: column;
  -o-flex-flow: column;
  flex-flow: column;
}

.flex-align-start {
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  -ms-align-items: flex-start;
  -o-align-items: flex-start;
  align-items: flex-start;
}

.flex-align-end {
  -webkit-align-items: flex-end;
  -moz-align-items: flex-end;
  -ms-align-items: flex-end;
  -o-align-items: flex-end;
  align-items: flex-end;
}

.flex-align-center {
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
}

.flex-align-baseline {
  -webkit-align-items: baseline;
  -moz-align-items: baseline;
  -ms-align-items: baseline;
  -o-align-items: baseline;
  align-items: baseline;
}

.flex-align-stretch {
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  -o-align-items: stretch;
  align-items: stretch;
}

.flex-between {
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  -o-justify-content: space-between;
  justify-content: space-between;
}

.flex-evenly {
  -webkit-justify-content: space-evenly;
  -moz-justify-content: space-evenly;
  -ms-justify-content: space-evenly;
  -o-justify-content: space-evenly;
  justify-content: space-evenly;
}

.flex-justify-center {
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
}

.flex-justify-start {
  -webkit-justify-content: flex-start;
  -moz-justify-content: flex-start;
  -ms-justify-content: flex-start;
  -o-justify-content: flex-start;
  justify-content: flex-start;
}

.flex-justify-end {
  -webkit-justify-content: flex-end;
  -moz-justify-content: flex-end;
  -ms-justify-content: flex-end;
  -o-justify-content: flex-end;
  justify-content: flex-end;
}
.header{
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 11;
}
.header-title{
  font-size: 3rem;
  line-height: 0.8;
  position: relative;
  top: -3.5rem;
  z-index: 10;
  animation: 1s ease 0.75s 1 normal forwards running headerTitle;
} 
@keyframes headerTitle {
    0% {
      top: -3.5rem;
  }

  100% {
      top: 0;
  }
}
.header-title h2{
  text-transform: capitalize;
}
.header-title h2::before{
  content: '';
  display: inline-block;
  width: 2rem;
  height: 0.1rem;
  background: white;
  vertical-align: middle;
  margin: 0.6rem;
}
.header_nav{
  font-size: 2.2rem;
  width: 100%;
  position: fixed;
  height: 100dvh;
  height: 100lvh;
  top: 0;
  left: 0;
  gap: 1.4rem;
  z-index: 1;
  background: var(--mainColorBlu);
  display: none;
}
.header_nav.open{
  display: flex;
}
.header_nav li{
  text-align: center;
}

.header_nav li.sns .flex{
    gap: 1.4rem;
}
.header_nav li.sns a.sinme{
    width: 100%;
    height: max-content;
    display: flex;
    margin-top: 1rem;
}
.header_nav li.sns a.sinme svg{
    width: 5.75rem;
    height: auto;
}
.menu.btn{
  width: auto;
  height: 1.8rem;
  padding-top: 0.4rem;
  position: relative;
  z-index: 10;
  display: flex;
}
.menu.btn .bar{
  width: 3rem;
  height: 0.1rem;
  transition: all 0.5s;
  background: #ffffff;
}
.menu.btn.open .bar:nth-of-type(1),
.menu.btn.open .bar:nth-of-type(3){
    transform: rotate(45deg);
    position: relative;
}
.menu.btn.open .bar:nth-of-type(1){
      top: 0.75rem;
}
.menu.btn.open .bar:nth-of-type(3){
    transform: rotate(-45deg);
    bottom: 0.5rem;
}
.menu.btn.open .bar:nth-of-type(2){
  display: none;
}
.wrapper{
  padding-top: 6.4rem;
  height: auto;
  overflow: hidden;
}
.home .wrapper{
  padding-top: 0;
}
section.main,section.under{
    transition: all 0.5s 0.25s;
}
section.under{
  font-size: 1.5rem;
}
section .inner{
  padding: 0 3.2rem;
}
section.open{
    filter: blur(2px);
}
section.fv{
  width: 100%;
  height: calc(100dvh - 4.2rem);
}

section.under p{
 line-height:2;
 margin-bottom: 1em;
 text-align: justify;
}
section.under .post a{
  border-bottom: 1px solid;
  transition: all 0.5s;
}
section.under .post a:hover{
  opacity: 0.5;
  text-decoration: none;
}
section.news .titles,
section.under .wp-block-image,
section.under .wp-block-embed{
  margin-bottom: 2.4rem;
}
section.under .wp-block-image,
section.under .wp-block-embed{
  margin-left: auto;
  margin-right: auto;
}
section.under .wp-block-image img{
  display: block;
  margin-left: auto;
  margin-right: auto;
}
section.news .titles h3{
  font-size: 1.8rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
section.news .titles time{
  font-size: 1.4rem;
}
section.news .post{
  border-bottom: 1px solid;
  padding-bottom: 4.8rem;
  margin-bottom: 4.8rem;
}
section.news .post p:last-child{
  margin-bottom: 0;
}
.footer{
    position: relative;
  z-index: 10;
}
.works .contents{
    flex-flow: column;
    border-bottom: 1px solid;
    padding-bottom: 3rem;
    margin-bottom: 4rem;
}
.works .contents:last-of-type{
  border-bottom: none;
}
.works .contents .head{
      margin-bottom: 1em;
}
.works .contents .body{
  line-height: 2.5;
}
.works .contents .body li.flex{
    flex-wrap: nowrap;
    align-items: baseline;
    margin-bottom: 1rem;
}
.works .contents .body li .year{
    width: 4em;
}
.works .contents .body li .tbox{
  width: calc(100% - 4em);
}
.works .contents .body li .tbox h3{
    line-height: 1.5;
}
.works .contents .body p{
  margin-bottom: 0;
  line-height: 1.75;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea{
  border: 1px solid #ffffff;
  width: 100%;
  padding: 1em;
  font-size: 1.6rem;
}
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus{
  outline: none;
}
.wpcf7-form-control-wrap textarea{
  height: 15em;
}
.wpcf7-form-control-wrap input::placeholder,
.wpcf7-form-control-wrap textarea::placeholder{
  color: #ffffff;
  opacity: 0.5;
}
input.cf{
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-size: 2rem;
    transition: opacity 0.5s;
}
input.cf:hover{
  opacity: 0.5;
}
.pagenavi{
  gap: 1.6rem;
  margin-bottom: 4.8rem;
  font-size: 1.6rem;
}
.header_nav .works .sub{
    display: none;
}
.post-type-archive-works .header_nav .works .sub{
  display: flex;
  align-items: center;
}
.post-type-archive-works .header_nav .sub{
  font-family: a-otf-ryumin-pr6n, serif;
  font-size: 1.4rem;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.header_nav li.works{
  align-items: center;
}
.post-type-archive-profile .footer,
.page-id-2 .footer{
    position: fixed;
    right: 0;
    bottom: 0;
}
.copyrights{
  font-size: 1.4rem;
}
.contact .wpcf7 form{
    display: flex;
    flex-flow: column;
}
.wpcf7 form .wpcf7-response-output{
  border: none;
  order: 0;
    text-align: left;
    line-height: 1.5;
    padding-left: 0;
    padding-right: 0;
}
.wpcf7 form p{
  order: 1;
}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px #1E459A inset;
-webkit-text-fill-color: #ffffff;
}
input:is(:-webkit-autofill, :autofill)  {
-webkit-text-fill-color: white;
}

@media (821px <= width){
  .wrapper{
    min-height: calc(100vh - 4.2rem);
  }
  section.under .inner{
    max-width: max-content;
    margin: auto;
    padding: 0 8rem;
  }
  .wp-block-embed iframe{
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
  }
  .menu.btn{
    display: none;
  }
  .header_nav{
    display: flex;
      position: absolute;
      background: none;
      left: -10rem;
      width: auto;
      height: auto;
      top: 4.2rem;
      align-items: flex-start;
      gap: 1rem;
      animation: 1s ease 0.75s 1 normal forwards running headerNav;
  }
  @keyframes headerNav {
      0% {
      left: -10rem;
  }

  100% {
    left: -0.1rem;
  }
  }
  .header-title{
    font-size: 3.2rem;
  }
  .header_nav li.sns .flex{
    flex-flow: column;
    gap: 1rem;
  }
  .header_nav li a,.pagenavi a,.header-title a,.tbox a{
    transition: opacity 0.5s;
  }
  .header_nav li a:hover,
  .pagenavi a:hover,
  .header-title a:hover,
  .tbox a:hover{
    opacity: 0.5;
  }
  section.news .titles h3{
    font-size: 1.95rem;
  }
  .header_nav li.works,
  .post-type-archive-works .header_nav .works .sub{
    align-items: flex-start;
  }
  .post-type-archive-works .header_nav .sub{
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  .wpcf7 form .wpcf7-response-output{
    text-align: center;
  }
  .wpcf7-form-control-wrap input,
  .wpcf7-form-control-wrap textarea{
    font-size: 1.4rem;
  }
}
@media (821px >= width){
  .header-title h1{
    position: relative;
    top: 1px;
  }
  section.under.profile .post{
    padding-bottom: 6.4rem;
  }
}