@charset "utf-8";


/*animation*/

  #img-box,#intro{
    opacity: 0;              
    transform: scale(0.9);   
    animation: fadeInScale 2s ease-out forwards;
  }

  @keyframes fadeInScale {
    0% {
      opacity: 0;
      transform: scale(0.9);
      }
    100% {
      opacity: 1;
      transform: scale(1);
      }
  }

/*font*/
  .zen-old-mincho-regular {
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
  }
  .nanum-myeongjo-regular {
    font-family: "Nanum Myeongjo", serif;
    font-weight: 400;
    font-style: normal;
  }
  .zen-kaku-gothic-new-regular {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

/*hover,active*/

  nav ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.2s ease;  
  }

  nav ul li a:hover {
    color: #bec052;  
  }

  nav ul li a:active {
    color: #bec052;  
  }

  .nav-mobile  a {
    text-decoration: none;
    color: white;
    transition: color 0.2s ease;  
  }

  .nav-mobile a:hover {
    color: #bec052;  
  }

  .nav-mobile a:active {
    color: #bec052;  
  }


  .footer-inner a{
    text-decoration: underline;
    color: white;
    transition: color 0.2s ease;  
  }

  .footer-inner a:active{
    color: #bec052;
  }

  .footer-inner a:hover{
    color: #bec052;  
  }

/*main*/

  *{
    box-sizing: border-box;
  }


  body{
    font-family:"Zen Old Mincho",serif;
    color:#00326F;
    letter-spacing: 0.4ch;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  main {
    flex: 1;  
  }

  #photoes,#philosophy{
    margin-left: 40px;
    margin-right: 40px;
  }

  #line{
    color:#bec052;
    line-height: 15px;
    text-align: center;
    letter-spacing: 0px;
  }

  #accent{
    color:#bec052;
  }

  #myeongjo{
    font-family: "Nanum Myeongjo", serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  #img-box{
    text-align: center;
    padding-top: 40px;
  }

  #title{
    padding-top: 75px;
    padding-bottom: 45px;
    text-align: center;
  }

  @media (max-width: 768px) {
    #title {
      font-size: 14px;
    }
  }

/*header*/
  #pc-header{
    display: flex;
    align-items: center; 
    justify-content: flex-end; 
    font-family: "Zen Kaku Gothic New",sans-serif;
    font-size:15px;
    min-height: 70px;
    position: fixed;
    top: 0;
    z-index: 9999;
    background-color: #00326F;
    border-bottom:4px solid #bec052;
    width:100%;
    padding:0 2rem; 
  }

  nav ul{
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding:0.5rem 2rem;
  }

  nav ul li{
    margin-right:40px; 
  }

  #home-header {
  display: none;
  }

/*モバイル用header*/

@media (max-width: 768px) {
  #pc-header {
    display: none;
  }
  #home-header {
    display: block;
    width: 100%;
    height: 80px;
    background-color: #00326F;

    border-bottom:4px solid #bec052;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #home-header h1 {
    font-size: 18px;
    margin: 0;
  }
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 10001;
  position: fixed;
  top: 30px;
  right: 30px;
}

.hamburger span {
  height: 2.5px;
  width: 24px;
  background:#bec052;
  margin: 2.5px 0;
  display: block;
  transition: 0.4s;
}

@media (max-width: 768px) {
    .hamburger {
      display: flex;
  }
}

/* モバイルナビ */
.nav-mobile {
  font-family: "Zen Kaku Gothic New",sans-serif;
  font-size:12px;
  font-weight: 500;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 200px;
  
  background: #00326F;
  transform: translateX(100%);
  transition: 0.4s ease;
  z-index: 10000;
  visibility: hidden;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column; 
  align-items: flex-start;  
  margin: 2rem;           
  padding: 0;
  list-style: none;
}

.nav-mobile.active {
  transform: translateX(0);
  visibility: visible;
}

.nav-mobile li {
  margin: 10px 0;
  padding: 15px 20px;
  border-bottom: 1px solid #bec052;
}

.nav-mobile .sns-icons{
  padding-left: 110px;
}



/* ハンバーガーアニメーション */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/*footer*/
  footer {
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.2px;
    background-color: #00326F;
    color: white;
    width: 100%;
    margin-top: 40px;
  }

  .footer-inner {
    max-width: 1200px;  
    margin: 0 auto;     
    padding: 20px;      
    box-sizing: border-box;
  }

  .sns-icons {
    display: flex;
    gap: 15px; 
    margin-top: 10px; 
  }

  .sns-icons img {
    width: 24px; 
    height: auto;
  }

  #end {
    font-size: 10px;
    text-align: right;
  }

/*home*/

  #logo-img{
    padding-top: 20px;
    max-width: 700px; 
    width: 100%;     
    height: auto;
  }

  #intro{
    text-align: center;
    line-height: 5ch;
    letter-spacing: 0.6ch;
    padding-bottom: 80px;
  }

  @media (max-width: 768px) {
    #intro {
      padding: 0 10px;
      font-size: 12px;
    }
  }


  #photoes ul{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0 auto;
    padding-bottom: 80px;
  }

  #photoes li img{
    height: 200px;
    width: auto;
    display: block;
    border-radius: 5px;
  }

  h1{
    text-align: center;
  }

  #daihyou-text{
    padding-top: 20px;
    max-width: 50%;
    margin: 0 auto;
  }
  @media (max-width: 768px) {
    #daihyou-text {
      max-width: 80%; 
      padding: 0 10px;
      font-size: 13px;
    }
  }

  #hirano{
    text-align:right;
    padding-bottom: 50px;
  }

/*mission*/

  #missions{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 10px auto 60px;
    max-width: 1200px;
    padding: 0 40px;
  }

  #kyousou{
    max-width: 40%;
    height: auto;
  }

  #mission-text{
    flex: 1;
    min-width: 300px;
  }

  @media (max-width: 768px) {
    #missions {
      flex-direction: column; 
      align-items: center;   
      padding:0 20px;
    }

    #kyousou {
      max-width: 90%;
      margin-bottom: 20px;
    }

    #mission-text {
      width: 100%;
    }
  }

  #philosophy {
    display: flex;
    align-items: center; 
    margin-bottom: 30px;
    margin-top: 60px;
  }

  #number {
    font-family: "Nanum Myeongjo", serif;
    font-size: 60px;
    font-weight: 100;
    margin-right: 20px;
    color: #00326F;
    flex-shrink: 0;
    border-right: 1px solid #bec052; 
    padding-right: 20px;
    display: flex;           
    align-items: center;     
    justify-content: center;  
  }

  #number::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;        
    width: 1px;
    background-color: #bec052;
  }


  @media (max-width: 768px) {
    #number{
      font-size: 40px;
    }
  }

  #content_tytle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 25px;
    margin: 0 0 16px;
  }

  @media (max-width: 768px) {
    #content_tytle{
      font-size: 20px;
    }
  }

  .sp-only {
    display: none;
  }

  @media (max-width: 768px) {
    .sp-only {
      display: block; 
    }
  }

  #content{
    padding-top: 10px;
    max-width: 90%;
    margin: 0 ;
    margin-left: 40px;
  }

  @media (max-width: 768px) {
    #content{
      max-width: 80%; 
      padding: 0 10px;
      margin: 0 auto;
      font-size: 13px;
    }
  }

/*report*/

  table {
    margin: 0 auto;        
    border-collapse: collapse; 
    width: 90%;               
    max-width: 700px;         
    text-align: left;   
    margin-bottom: 40px;
  }

  table tr {
    border-bottom: 12px solid transparent; 
  }

  table td {
    padding: 8px 15px;       
    vertical-align: top;    
    border-right: 1px solid #d0d283;
    word-break: keep-all;      
    white-space: normal;         
  }

  table td:last-child{
    border-right: none;
  }

  @media (max-width: 768px) {
    table {
      display: block; 
      overflow-x: auto;
      width: 100%;
      max-width: 100%;
      font-size: 12px;
    }
  }

/*inquiry*/

  #form {
    text-align: center;
  }

  #form iframe {
    display: inline-block;
    width: 100%;        
    max-width: 640px;   
    height: 975px;     
    border: none;
  }
