@charset "utf-8";


* {
    box-sizing: border-box;
}

html, body{
    font-family: 'Nato Sans JP', sans-serif;
    letter-spacing: 0.02rem;
    margin: 0;
    padding: 0;
    color: #282828;
    scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,h6{
    margin: 0;
    padding: 0;
}

.wrapper{
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#pagetop {
  position: fixed;
  right: 40px;
  bottom: 20px;
  z-index: 5500;
  display: block;
  width: 42px;
  height:42px;
  cursor: pointer;
  background: rgba(0, 0, 0, .5);
  border: 1px solid #ffffff;
  border-radius: 4px;
  opacity: 0;
  transition: .5s;
}
#pagetop.visible {
  opacity: 1;
  pointer-events: auto;
}
#pagetop span {
  position: absolute;
  top: 16px;
  left: 11px;
  display: block;
  width:18px;
  height:18px;
  content:"";
  border-top:3px solid #ffffff;
  border-right:3px solid #ffffff;
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
}

a{
    text-decoration: none;
    color: #282828;
    opacity: 1;
}

a:hover{
    opacity: 0.5;
}

.nav a:hover{
    opacity: 1;
    border-bottom: 1.5px dashed #000000;
}


/* -----------------
    header
----------------- */

.header{
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; 
}

.header_inner{
    width: 100%;
    padding: 0 48px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}

.header_inner .logo{
    margin: 20px 0px;
}

.header_inner .logo img{
    width: 150px;
}

.header_inner .nav{
    display: flex;
    gap: 30px;
    align-items: center;
}

.header_inner .nav li{
  font-family: "League Spartan", sans-serif;
  list-style: none;
  font-size: 1.1rem;
  margin: 10px 0 6px;
}

@media screen and (max-width:600px){
    .header_inner{
        flex-direction: column;
        align-items: center; 
    }

    .header_inner .logo{
        margin-top: 10px; 
        margin-bottom: 0px;
    }

    .header_inner .logo img{
        width: 100px;
    }

}

/* -----------------
    main-image
----------------- */

.main-image {
    position: relative;
    display: inline-block;
    height: auto;
    width: 100%;
    margin-bottom: 80px;
}

.bg-image {
    display: block;
    width: 480px;
    margin: -50px auto 0;
}

.small-image {
    border: 3px dashed #000000;
    padding: 20px 10px;
    width: 45px;
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-70%);
}

.lab-name {
    position: absolute;
    top: -30px;  
    right: 50px; 
    font-size: 2rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    writing-mode: vertical-rl;
}


@media screen and (max-width:700px){
    .main-image {
        margin-top: 50px;
        margin-bottom: 150px;
    }
    .bg-image {
        width: 290px;
        margin: 0px auto 0;
    }
    .small-image {
        border: 2px dashed #000000;
        padding: 15px 5px;
        width: 28px;
        left: 10px;
        transform: translateY(-50%);
    }
    .lab-name {
    font-size: 1.2rem;
    right: 10px; 
    }
}


 /*----------------
   section-title
 ----------------*/
 
 .section-title{

     font-family: "League Spartan", sans-serif;
     margin-top: 50px;
     margin-bottom: 20px;
     list-style: none;
     font-size: 3rem;
     text-align: center;
 }

 @media screen and (max-width:600px){
    .section-title{
     font-size: 2rem;
    }
}

/* -----------------
    news
----------------- */
.news {
    width: 100%;  
    max-width: 1000px; 
    margin: 0 auto 50px;
    padding-bottom: 10px;
    border-top: 1.5px dashed #000;
}

.top-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;      
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-list li {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    align-items: center;  
    gap: 20px;             
}

.top-list li a {
    display: flex;
    align-items: center;
    gap: 20px;             
    text-decoration: none;
    color: inherit;
}

.top-list img {
    flex-shrink: 0;
    width: 200px;
    height: auto;
}

.top-list_info time {
    font-size: 14px;
}

.top-list_title {
    margin-top: 0.25em;
    line-height: 1.4;
}


@media screen and (max-width: 1000px) {
    .news {
        width: 100%;
    }
}


@media screen and (max-width: 768px) {
    .top-list li a {
        flex-direction: column; 
        align-items: center; 
    }

    .top-list img {
        width: 80%;     
        max-width: 100%;   
        height: auto;
    }

    .top-list_info {
        width: 80%;       
        max-width: 100%;   
        text-align: left;  
    }
}

/* -----------------
    about
----------------- */

.about{
    height: 1300px;
    width: 100%;  
    max-width: 1000px; 
    background: url(../img/top/about.jpg) no-repeat top / 1000px;
    border-top: 1.5px dashed #000000;
}

.about_text{
    width: 100%;  
    max-width: 1000px; 
    margin-top: 80px;
}

.about_text h2{
    font-size: 2.5rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 100px;
    text-align: center;
}

.about_text h3, .about_text h4, .about_text p{
    margin: 0 100px;
}

.about_text h3 {
    font-family: "League Spartan", sans-serif;
    font-size: 2rem;
    margin-bottom: 50px;
}

.about_text h4 {
    font-size: 1.5rem;
    font-family: "Shippori Mincho", serif;
    margin-bottom: 25px;
}

.about_text p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 40px;
}

.about_text p > span {
  background:  #FFFFFF;
}

.btn--color,
a.btn--color {
  color: #000;
  border: 2px dashed #000;
  padding: 1px 10px;
  background: transparent;
}

a.btn--radius {
   border-radius: 100vh;
}

.about_text a.btn--color {
    margin-top: 20px;
    display: inline-block; 
}

@media screen and (max-width: 1000px) {
    .about_text{
        margin-top: 50px;
    }
    .about_text h2{
        margin-bottom: 50px;
    }
    .about_text h3, .about_text h4, .about_text p{
        margin: 30px 60px;
    }
    .about_text p {
        font-size: 0.95rem;
        line-height: 35px;
    }
}

/* -----------------
    works
----------------- */

.works{
    border-top: 1.5px dashed #000000;
    width: 100%;  
    max-width: 1000px; 
}

.section-title_sub{
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 48px;
}

.articles_article {
  flex: 1 1 calc((100% - 48px) / 3); 
  display: flex;
  flex-direction: column;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
  cursor: pointer;
}

.video-thumbnail img,
.video-thumbnail iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: url('../img/play-button.png') no-repeat center/contain;
}

.articles_article span {
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  margin-top: 10px;
}

.works .note{
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
  .articles {
    display: block; 
    margin: 0 auto;
  }

  .articles_article {
    max-width: 100%;
    margin: 0 auto 24px auto; 
    flex: none;   
  }

  .video-thumbnail {
    width: 100%;  
    padding-top: 56.25%;
  }
}

/* -----------------
    kani_comic
----------------- */

.kani_comic{
    border-top: 1.5px dashed #000000;
    width: 100%;  
    max-width: 1000px; 
}

.kani_comic img {
    width: 400px;    
    display: block; 
    margin: 100px auto;  
}

@media (max-width: 600px) {

    .kani_comic img {
        max-width: 100%;      
    }

}

/* -----------------
    publications
----------------- */

.publications {
    border-top: 1.5px dashed #000000;
    width: 100%;  
    max-width: 1000px; 
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0 auto;
    color: #282828;
    padding: 1em 2em;
}

.publications .section-title {
    margin-bottom: 1rem;
    border-bottom: 2px solid #666;
    padding-bottom: 0.3rem;
}

.publications ul{
    list-style: none;
}

.publications ul > li > h3 {
    font-size: 1.3rem;
    margin: 1.5em 0 0.5em 0;
    color: #222;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.2em;
}

.publications ul > li > ol {
    margin-left: 1.5em;
    padding-left: 0;
}

.publications ul > li > ol > li {
    margin-bottom: 0.8em;
    font-size: 1rem;
}

.publications ul > li > ol > li i {
    font-style: italic;
}

.publications ul li ol li ol {
    margin-left: 1em;
}

.publications ul li ol li a {
    color: #0066cc;
    text-decoration: none;
}

.publications ul li ol li a:hover {
    text-decoration: underline;
}

.publications ol {
    counter-reset: item;
}

.publications ol li {
    display: block;
    position: relative;
    padding-left: 1.5em;
}

.publications ol li:before {
    content: counters(item, ".") ". ";
    counter-increment: item;
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #555;
}

@media (max-width: 1000px) {
    .publications {
        padding: 1em;
    }

    .publications ul > li > h3 {
        font-size: 1.1rem;
    }

    .publications ul > li > ol > li {
        font-size: 0.9rem;
    }
}

/* -----------------
reverse_hana_tsuma_dog
----------------- */

.reverse_hana_tsuma_dog{
    width: 100%;  
    max-width: 1000px; 
}

.reverse_hana_tsuma_dog img{
    width: 400px;     
    display: block; 
    margin: 10px auto;  
}

.reverse_hana_tsuma_dog p{
    text-align:  center;
    margin-bottom: 50px;  
}

@media (max-width: 1000px) {
.reverse_hana_tsuma_dog img{
    max-width: 100%;     
}
}

/* -----------------
    footer
----------------- */
.footer { 
    border-top: 1.5px solid #000000;
    border-bottom: 1.5px solid #000000;
    width: 100%;  
    margin-top: 6px;
    text-align: center;
    background:repeating-linear-gradient(
    -315deg,
    #000,
    #000 1px,
    #fff 0,
    #fff 20px
    );
}

.footer p{
    margin: 20px;
    font-size: 1rem;
    -webkit-text-stroke: 5px #FFF;
    text-stroke: 2px black;
    paint-order: stroke;
}


