@charset "UTF-8";
/* CSS Document */
*,*::before,*::after{box-sizing:border-box;margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline;transition: 0.2s}
html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}
ul[role='list'],ol[role='list']{list-style:none}
body{min-height:100vh;line-height:1.8}
h1,h2,h3,h4,button,input,label{line-height: 1.4;}
h1,h2,h3,h4{text-wrap:balance}
a:not([class]){text-decoration-skip-ink:auto;color:currentColor}
img,picture{max-width:100%;display:block}
input,button,textarea,select{font:inherit}
textarea:not([rows]){min-height:10em}:target{scroll-margin-block:5ex}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block;}
a,button{text-decoration: none;color: inherit;}
table{border-collapse: collapse;border-spacing: 0;}
/*
font-family: "Zen Kaku Gothic New", sans-serif;400500700;
font-family: "Roboto Condensed", sans-serif;100-900;
*/

/*共通*/
html {
font-size: 62.5%;
scroll-behavior: smooth;
}
body{
font-size: 1.6rem;
font-family: "Zen Kaku Gothic New", sans-serif;
font-weight: 400;
font-style: normal;
position: relative;
background-image: url("/img/header_back@2x.webp"), url("/img/footer_back@2x.webp");
background-repeat: no-repeat, no-repeat;
background-position: center top, center bottom 50px;
background-size: 100% auto, 100% auto;
}
a,button{
display: block;
transition: 0.5s;
}
a:hover,button:hover {
opacity: 0.6;
}
p{
line-height: 1.8;
}
ul,li{
list-style: none;
}
main{
position: relative;
overflow: hidden;
}
.contents{
max-width: 1100px;
margin: 0 auto;
}
.contents870{
max-width: 900px;
margin: 0 auto;
padding-left: 15px;
padding-right: 15px;
}
.contents700{
max-width: 730px;
margin: 0 auto;
padding-left: 15px;
padding-right: 15px;
}
.pc-dn-blo{display: none}
.pc-dn-inl{display: none}
.sp-dn-blo{display: inline-block}
.sp-dn-inl{display: inline}

.f-80{
  font-size: 80%;
}

@media screen and (max-width: 768px) {
body{
  font-size: 1.4rem;
  background-image: url("/img/header_back.webp"), url("/img/footer_back.webp");
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center bottom 100px;
  background-size: 100% auto, 100% auto;
}
}

/* menu */
.hamburger-fade {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.hamburger-fade__wrapper {
  position: relative;
  width: 30px;
  height: 20px;
  margin: 20px auto;
}
.hamburger-fade__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.hamburger-fade__line:nth-child(1) { top: 0; }
.hamburger-fade__line:nth-child(2) { top: 9px; }
.hamburger-fade__line:nth-child(3) { top: 18px; }

.hamburger-fade.active .hamburger-fade__line {
  background-color: #fff;
}
.hamburger-fade.active .hamburger-fade__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger-fade.active .hamburger-fade__line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}
.hamburger-fade.active .hamburger-fade__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.nav-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  visibility: hidden;
  z-index: 900;
}
.nav-fade__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 47, 86, 0.9);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-fade.active {
  visibility: visible;
}
.nav-fade.active .nav-fade__bg {
  opacity: 1;
}
.nav-fade__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 5vh 10vw;
}
.nav-fade__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-fade__item {
  position: relative;
  margin-bottom: 2vh;
  padding-left: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-fade.active .nav-fade__item {
  opacity: 1;
  transform: translateY(0);
}
.nav-fade.active .nav-fade__item:nth-child(1) { transition-delay: 0.2s; }
.nav-fade.active .nav-fade__item:nth-child(2) { transition-delay: 0.3s; }
.nav-fade.active .nav-fade__item:nth-child(3) { transition-delay: 0.4s; }
.nav-fade.active .nav-fade__item:nth-child(4) { transition-delay: 0.5s; }
.nav-fade.active .nav-fade__item:nth-child(5) { transition-delay: 0.6s; }
.nav-fade.active .nav-fade__item:nth-child(6) { transition-delay: 0.7s; }
.nav-fade.active .nav-fade__item:nth-child(7) { transition-delay: 0.8s; }
.nav-fade.active .nav-fade__item:nth-child(8) { transition-delay: 0.9s; }
.nav-fade.active .nav-fade__item:nth-child(9) { transition-delay: 1.0s; }
.nav-fade.active .nav-fade__item:nth-child(10) { transition-delay: 1.1s; }
.nav-fade__number {
  position: absolute;
  left: 0;
  color: #999;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
}
.nav-fade__link {
  display: inline-block;
  color: #fff;
  font-size: 32px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-fade__link:hover {
  color: #8DFF51;
}
.nav-fade__info {
  margin-top: auto;
  padding-left: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.6s;
  width: 220px;
}
.nav-fade.active .nav-fade__info {
  opacity: 1;
  transform: translateY(0);
}
.nav-fade.active .nav-fade__item.sns a{
  display: inline-block;
  width: 50px;
}
@media (max-width: 768px) {
  .hamburger-fade {
    top: 10px;
    right: 10px;
  }
  .nav-fade__link {
    font-size: 20px;
    letter-spacing: 0.1rem;
  }
  .nav-fade__item {
    padding-left: 40px;
    margin-bottom: 1.7vh;
  }
  .nav-fade__info {
    padding-left: 0px;
    width: 150px;
  }
}

/*header*/
header{
}
header .main-img{
  margin: 25% auto 30px;
  width: 99%;
  max-width: 700px;
  padding: 0 30px;
}
header .main-img img{
  width: 100%;
}
header h3{
  text-align: center;
  margin: 50px auto 40px;
  width: 95%;
}
h3 span{
  display: inline-block;
  background: #00457E;
  padding: 0 2rem 0.5rem;
  color: #fff;
  font-size: 4rem;
  letter-spacing: 0.7rem;
  font-weight: 700;
}
/*下から上にふわっと表示*/
.fadeIn {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fadeIn.show {
  opacity: 1;
  transform: translateY(0);
}
/*ふわふわ上下に浮く*/
.fuwafuwa {
    animation: fuwafuwa 3s linear infinite;
}
@keyframes fuwafuwa {
  0% { transform: translateY(0) rotate(-3deg); }
  33.33333% { transform: translateY(10px) rotate(-3deg) }
  66.66667% { transform: translateY(0) rotate(-3deg) }
  100% { transform: translateY(0) rotate(-3deg) }
}
/*ブラブラに揺れる*/
.swing {
animation: swing 3s ease-in-out infinite;
}
@keyframes swing {
    0% {transform: rotate(0deg)}
    20% {transform: rotate(6deg)}
    40% {transform: rotate(-4deg)}
    60% {transform: rotate(2deg)}
    80% {transform: rotate(-2deg)}
    100% {transform: rotate(0deg)}
}
/*ぼかしからじわじわ表示*/
.photo-blur {
  animation: fade-in 4s;
  animation-fill-mode: forwards;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 1100px) {
header div{
  margin: 25% auto 30px;
  width: 80%;
  max-width: 700px;
}
}
@media screen and (max-width: 900px) {
header h3{
  margin: 50px auto 50px;
}
h3 span{
  font-size: 3rem;
  letter-spacing: 0.7rem;
}
}
@media screen and (max-width: 768px) {
header h3{
  margin: 25px auto 25px;
}
h3 span{
  padding: 0.5rem 1rem 0.5rem 2rem;
  font-size: 2.2rem;
  letter-spacing: 0.3rem;
}
}
@media screen and (max-width: 599px) {
header h3{
  margin: 25px auto 20px;
}
h3 span{
  padding: 0.3rem 0.5rem 0.3rem 1.5rem;
  font-size: 2rem;
  letter-spacing: 0.3rem;
}
}

/*NEWS*/
#news{
  position: relative;
  margin-top: 40px;
  margin-bottom: 80px;
  z-index: 10;
}
#news h3{
  font-size: 3rem;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 500;
  color: #036EB7;
  letter-spacing: 0.5rem;
  line-height: 1;
  text-align: right;
}
#news table{
  width: 100%;
  margin-top: -5px;
  text-align: left;
}
#news table tr{
  letter-spacing: 0.1rem;
  border-top: 1px solid #999;
}
#news table tr:last-of-type{
  border-bottom: 1px solid #999;
}
#news table th,
#news table td{
  padding: 1.5rem 0 1.5rem 2rem;
}
#news table th{
  white-space: nowrap;
  width: 1%;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
}
#news table td{
  width: auto;
}
#news table tr[data-href] {
  cursor: pointer;
}
#news table tr[data-href]:hover {
  background: #f5f5f5;
}
#news .ichiran{
  text-align: right;
  margin-top: 1.5rem;
}
#news .ichiran a{
  display: inline-block;
  background: #fff;
  border-radius: 50px;
  border: 1px solid #036EB7;
  padding: 0.3rem 2rem;
  color: #036EB7;
  letter-spacing: 0.1rem;
  transition: background 0.5s, color 0.5s;
}
#news .ichiran a:hover{
  background: #036EB7;
  color: #fff;
  opacity: 1;
}
#news .ichiran i {
  transition: color 0.5s;
}
#news .ichiran a:hover i {
  color: #fff; /* 明示的に指定 */
}
@media screen and (max-width: 768px) {
  #news{
  margin-top: 20px;
  margin-bottom: 40px;
}
}

#project .button_solid a,
#links .button_solid a{
  background: #004278;
  position: relative;
  display: inline-block;
  text-align: center;
  margin: 0 auto;
  padding: 10px 25px;
  color: #fff;
  transition: 0.3s ease-in-out;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.3rem;
  box-shadow: 5px 5px 0 #E7E93B;
  border-radius: 50px;
  margin-bottom: 30px;
}
#project .button_solid a:hover,
#links .button_solid a:hover{
  background-color: #4B70B6;
  box-shadow: 0 0 0;
  transform: translate(5px, 5px);
  opacity: 1;
}
#project .button_solid i,
#links .button_solid i{
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 20px;
  transition: 0.2s ease-in-out;
  transform: translateY(-50%);
}
.color-yew{
  color: #E7E93B;
}
.color-pik{
  color: #FFB8C7;
}
.color-blu{
  color: #96DEF9;
}
.color-org{
  color: #FFD900;
}
.color-gre{
  color: #88D769;
}
@media screen and (max-width: 768px) {
#project .button_solid a,
#links .button_solid a{
  padding: 8px 25px;
  font-size: 1.6rem;
  letter-spacing: 0.2rem;
  margin-bottom: 30px;
}
#project .button_solid i,
#links .button_solid i{
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 20px;
}
}
@media screen and (max-width: 599px) {
}

/*project*/
#project{
  text-align: center;
}
#project li{
  margin-bottom: 5rem;
  padding-bottom: 3rem; 
  border-bottom: 4px dotted #D9D9D9;
}
#project img{
  margin-bottom: 2rem;
}
#project .button_insta a{
  display: inline-flex;
  align-items: center;  /* ←上下中央揃え */
  gap: 8px;    
  background: #fff;
  color: #004278;
  box-shadow: 5px 5px 0 #ddd;
  border: 3px solid #999;
  line-height: 1;
  vertical-align: middle;
}
#project .button_insta a:hover{
  background-color: #E7E93B;
}
#project .button_insta img{
  width: 40px;
  display: block;
  margin: 0;
}
@media screen and (max-width: 768px) {
#project li{
  margin-bottom: 3rem;
  padding-bottom: 1rem; 
}
#project img{
  margin-bottom: 1rem;
}
#project .button_insta a{
  margin-bottom: 20px;
}
#project .button_insta img{
  width: 25px;
}
}

/*links*/
#links{
  text-align: center;
  margin-bottom: 50px;
}

/*insta*/
#insta{
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}
@media screen and (max-width: 768px) {
  #insta{
    padding: 0 35px;
  }
}

/*footer*/
footer{
  position: relative;
background: #004278;
color: #fff;
text-align: center;
padding-top: 2rem;
padding-bottom: 1rem;
}
#pre .info{
text-align: center;
padding-bottom: 30px;
}
#pre .info a{
display: inline;
vertical-align: middle;
}
#pre .info img{
display: inline;
vertical-align: baseline;
max-width: 200px;
}
#sns{
  position: absolute;
  top: -85px;
  right: 25px;
}
#sns a{
  display:inline-block;
  width: 60px;
}
.copiright{
padding: 10px 15px;
color: #fff;
text-align: center;
}
@media screen and (max-width: 768px) {
#sns{
  position: absolute;
  top: -65px;
  right: 20px;
}
#sns a{
  display:inline-block;
  width: 50px;
}
}
  
  
  
/*共通*/
@media (max-width: 768px) {
.pc-dn-blo{display: inline-block}
.pc-dn-inl{display: inline}
.sp-dn-blo{display: none;}
.sp-dn-inl{display: none;}
}
