@charset "utf-8";

/*
Base style
*/
body {
    font-family: -apple-system, BlinkMacSystemFont,'Helvetica Neue','Segoe UI','Hiragino Sans','BIZ UDGothic',Meiryo,sans-serif;
    font-size: 18px;
    line-height: 1.5;
    width: 100vw;
    overflow-x: hidden;
    color: black;
    background-color: white;
}

header {
    top: 0;
    left: 0;
    width: 100%;
    height: 135px;
    margin: 0px; 
    padding: 0px;
    background-color: rgb(230, 255, 230);
}

.headerLogo {
    height: 100px;
    margin: 0px;
    padding: 0px;
    display: flex;
    position: relative;
}

.headerLogo a {
    height: 100px;
    margin: 0px ;
    padding: 0px;
}

.headerLogo h1 {
    height: 100px;
    width: calc(100% - 110px);
    margin: 10px 0px;
    padding: 10px 0px;
    overflow: hidden;
    vertical-align: middle;
}

.headerLogo .Japanese {
    height: 35px;
    width: 85px;
    position: absolute;
    top: 10px;
    right: 150px;
    padding: 0px 5px;
    background-color: rgb(160, 255, 160);
    border-radius: 10px;
    box-shadow: 3px 3px 3px;
}

.headerLogo .Japanese img {
    height: 35px;
    width: 75px;
}

.headerLogo .English {
    height: 35px;
    width: 85px;
    position: absolute;
    top: 55px;
    right: 150px;
    padding: 0px 5px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 3px 3px 3px;
}

.headerLogo .English img {
    height: 35px;
    width: 75px;
}

.headerLogo .contactIcon {
    height: 65px;
    width: 65px;
    margin: auto;
    position: absolute;
    top: 20px;
    right: 50px;
}

.headerLogo .contactIcon img {
    height: 65px;
    width: 65px;
}

.burger {
    display: none;
    margin: auto;
    margin-right: 10px;
    cursor: pointer;
}

.burger div {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 8px;
    transition: all 0.5s ease-in-out;
}

.burgerMenu {
    display: none;
}

header nav {
    display: flex;
    background: greenyellow;
    width: 100%;
    height: 35px;
    margin: 0px;
    padding: 0px;
    text-align: center;
}

.menuBar {
    width: 100%;
    background-color: rgb(140, 194, 59);
    margin: 0px;
}

.menuBar li {
    width: 18%;
    height: 35px;
    display: inline-block;
    margin: 0px;
    background-color: rgb(0, 100, 0);
    border-left: gray solid 1px;
    border-right: gray solid 1px;
    cursor: pointer;
}

.menuBar li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    line-height: 35px;
    display: block;
    margin: 0px;
}

.menuBar .active a {
    background-color: rgb(160, 255, 160);
    color: black;
}

.menuBar :hover {
    background-color: rgb(160, 255, 160);
    color: black;
}

.subMenu-1{
    position: absolute;
    z-index: 10;
    width: 18%;
}

.subMenu-1 ul {
    position: absolute;
    top: -1000px;
    width: 100%;
}

.subMenu-1 ul li {
    display: block;
    height: 35px;
    width: 100%;
    border-bottom: dotted 1px white;
}

.menuBar :hover .subMenu-1 ul {
    top: 0px;
}

.subMenu-1 ul li:last-child {
    border: none;
}



main {
    width: 100vw;
    padding: 0px;
}

main article {
    width: 100vw;
    background: linear-gradient(45deg, white, rgb(217, 255, 217), white);
    margin: 0px;
    padding: 20px calc(50vw - 640px);
}

main article h2 {
    font-size: 2.2rem;
    width: 100%;
    text-align: center;
    margin: 20px auto;
    text-decoration: underline green double 3px;
    text-underline-offset:0.2em;
}

main article p {
    text-align: left;
    margin: 10px calc(50% - 600px);
}

.profile {
    width: auto;
    padding: auto;
    margin: 0px;
}

.profile .profileContainer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    padding: 20px calc(50vw - 750px);
}

.profile .profileContainer .profileImgContainer {
    width: 30%;
}

.profile .profileContainer .profileImgContainer .profileImg {
    width: 150px;
    height: 200px;
    margin: auto;
    margin-right: 30px;
    padding: 0px;
    border-radius: 5px;
    box-shadow: 5px 5px 10px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .3s;
}

.profile .profileContainer .profileImgContainer .profileImg img {
    width: 150px;
    margin: 0px;
    padding: 0px;
    border-radius: 5px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    height: 200px;
    left: 0;
    position: absolute;
    object-fit: cover;
}

.profile .profileContainer .profileImgContainer .profileImg img:last-of-type {
    transform: rotateY( 180deg );
}

.profile .profileContainer .profileImgContainer .profileImg:hover {
    transform: rotateY( 540deg );
}

.profile .profileContainer .profileText {
    display: block;
    width: 60%;
    height: aouto;
    margin: 0px;
    margin-left: 10px;
}

.profile .profileContainer .profileText p {
    padding-left: 15px;
    padding-right: 15px;
    margin: 10px;
    margin-right: 50px;
}

.profile .profileContainer .profileText h3 {
    font-size: 2rem;
    margin: 0px;
}

.profile .profileContainer .profileText div a {
    text-decoration: none;
    color: black;
    padding: 0px;
    padding-left: 15px;
    margin: 0px;
    margin-left: 40px;
    width: auto;
}

.profile .profileContainer .profileText div a p {
    text-decoration: none;
    color: black;
    padding: 0px;
    margin: 0px;
    width: auto;
    display: inline-block;
}


.news {
    margin: 10px auto;
    width: 90%;
    height: 300px;
    overflow-y: scroll;
    background: white;
}

.newsTableData {
    margin: 10px 20px 0px 10px;
}

.newsTableContents {
    margin: 0px 15px 20px 50px;
}

/* 点滅 */
.blinking{
	-webkit-animation:blink 1.5s ease-in-out infinite alternate;
    -moz-animation:blink 1.5s ease-in-out infinite alternate;
    animation:blink 1.5s ease-in-out infinite alternate;
    color: red;
    font-weight: bolder;
}
@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}

.contents section p {
    margin: 0;
    padding: 0px;
    padding-left: 15px;
}

.contentCard{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px 80px;
    padding: 100px 50px;
    min-height: auto;
    width: auto;
}

.contentCard .card{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 500px;
    height: 300px;
    padding: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 35px 80px rgba(0,0,0,0.15);
    transition: 0.5s;
}

.contentCard .card .cardImg{
    position: absolute;
    top: 20px;
    width: 300px;
    height: 220px;
    background: #333;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.5s;
}

.contentCard .card:hover .cardImg{
    top: -100px;
    scale: 0.75;
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
}

.contentCard .card .cardImg img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contentCard .card .cardContent{
    position: absolute;
    top: 252px;
    width: 100%;
    padding: 0 30px;
    height: 35px;
    overflow: hidden;
    text-align: center;
    transition: 0.5s;
}

.contentCard .card .cardContent h3{
    font-size: 1.5em;
    font-weight: 700;
    color: green;
    height: auto;
    padding: 0;
    margin: 0;
}

.contentCard .card .cardContent p{
    color: black;
    height: 230px;
    width: auto;
    overflow: auto;
    padding: 5px;
    margin: 5px;
    text-align: left;
    background-color: rgb(230, 255, 230);
    border-radius: 10px;
}

.contentCard .card .cardContent a{
    position: relative;
    top: 10px;
    display: inline-block;
    padding: 12px 25px;
    margin: 0;
    background: green;
    color: #fff;
    font-weight: 500;
    text-decoration: 8px;
    border-radius: 8px;
}

.contentCard .card:hover .cardContent{
    top: 100px;
    height: 350px;
}

.contentCard .card:hover{
    height: 450px;
}    

.links {
    display: block;
    text-align: left;
    margin: 0px auto 30px 5%;
}

.links a {
    display: inline-block;
    text-decoration: none;
    width: auto;
}

.links a img {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

.links a p {
    display: inline-block;
    margin: 0 5px;
    line-height: 0.8rem;
    color: black;
}




/* 上に戻るボタンのデザイン */

.return {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    text-decoration: none;
    background-color: rgb(0, 60, 0);
    display: block;
    text-align: center;
    border-radius: 24px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease-in;
  }
  
  .return::before {
    content: '\f062';
    font-family: 'Font Awesome 6 Free';
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    line-height: 48px;
  }
  
  /* fadeinクラスがついた時だけ表示する */
  .return.fadein {
    opacity: 1;
  }
  
  /* ここまでボタンのデザイン */


footer {
    width: 100%;
    height: auto;
    padding: 10px;
    background: rgb(0, 40, 0);
}

footer p {
    width: 100%;
    font-size: 1rem;
    color: white;
    text-align: center;
    margin: 0px;
}




@media screen and (max-width: 1280px) {
    .subMenu-1 ul .longMenu {
        font-size: 0.8rem;
    }

    main {
        width: 100vw;
        padding: 0px;
    }

    main article {
        width: 100%;
        padding: 15px;
    }

    main article p {
        margin: 10px 15px;
    }

    .profile {
        width: 100%;
    }

    .profile .profileContainer .profileText p {
        height: aouto;
        padding: 0px;
        margin: 5px;
        margin-left: 15px;
    }

    .contentCard .card .cardContent {
        padding: 0px 0px;
    }
}


    
@media screen and (max-width: 1000px) {
    .subMenu-1 ul .longMenu {
        font-size: 0.6rem;
    }
}



@media screen and (max-width: 768px) {
    header {
        position: fixed;
        top: 0px;
        height: 60px;
        z-index: 100;
    }

    .headerLogo {
        height: 60px;
    }
    
    .headerLogo a {
        height: 60px;
    }

    .headerLogo a img {
        height:60px;
        width: 60px;
    }

    .headerLogo h1 {
        height: 60px;
        font-size: 1.6rem;
        margin: 0px;
        margin-left: 5px;
        padding-top: 0px;
    }
    
    .headerLogo .Japanese {
        height: 21px;
        width: 51px;
        position: absolute;
        top: 36px;
        left: 90px;
        padding: 0px 3px;
        background-color: rgb(160, 255, 160);
        border-radius: 5px;
        box-shadow: 1px 1px 1px;
    }

    .headerLogo .Japanese img {
        height: 21px;
        width: 45px;
        vertical-align: top;
    }

    .headerLogo .English {
        height: 21px;
        width: 51px;
        position: absolute;
        top: 36px;
        left: 160px;
        padding: 0px 3px;
        background-color: white;
        border-radius: 5px;
        box-shadow: 1px 1px 1px;
    }

    .headerLogo .English img {
        height: 21px;
        width: 45px;
        vertical-align: top;
    }

    .headerLogo .contactIcon {
        height: 30px;
        width: 30px;
        margin: auto;
        position: absolute;
        top: 20px;
        right: 80px;
    }
    
    .headerLogo .contactIcon img {
        height: 30px;
        width: 30px;
    }
    
    header nav {
        height: 0px;
        display: none;
    }
    
    .burger {
        display: block;
        position: fixed;
        background-color: #dddada;
        border-radius: 20%;
        top: 10px;
        right: 10px;
        z-index: 10000;
    }

    .toggle .line1 {
        transform: rotate(405deg) translate(10px, 8.5px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(-405deg) translate(10px, -8.5px);
    }


    .burgerMenu {
        display: block;
        position: fixed;
        top: 60px;
        left: 15vw;
        z-index: 10000;
        margin: 0;
        padding: 0;
        background-color: #333;
        opacity: 0.9;
        height: 90vh;
        width: 85vw;
        transform: translateX(100%);
        transition: all 0.5s ease-in-out;
    }

    .burgerMenu-active {
        transform: translateX(0%) !important;
    }
    
    .burgerMenu ul {
        display: block;
        margin: 0;
        padding: 0;
    }

    .burgerMenu ul li {
        display: block;
        list-style: none;
        font-size: 18px;
        height: 5vh;
        text-align: left;
        margin:3px 3px 3px 10px;
        border: #eee;
    }

    .burgerMenu ul li a {
        text-decoration: none;
        color: white;
        font-weight: 600;
        height: 5vh;
        display: block;
        line-height: 55px;
    }
    
    .burgerMenu ul .contentMenu {
        display: block;
        list-style: none;
        font-size: 30px;
        height: 5vh;
        text-align: center;
        margin:15px;
        border: #eee;
    }

    .burgerMenu ul .contentMenu a {
        font-weight: 1200;
        line-height: 80px;
    }

    .profile {
        margin-right: 10px;
    }

    .profile .profileContainer .profileImgContainer {
        width: auto;
        min-width: 200px;
        margin: auto;
    }    

    .profile .profileContainer .profileText {
        margin-left: 0px;
        padding: 10px;
        width: auto;
    }

    .profile .profileContainer .profileText p {
        margin: 10px;
        width: auto;
    }
    
    .contentCard {
        padding: 100px 25px 50px;
    }

    .contentCard .card .cardContent h3{
        font-size: 1.2em;
    }

}



/*
問い合わせ
*/
.contactBody {
    background: linear-gradient(45deg, white, rgb(217, 255, 217), white);
}

.contact h2 {
    font-size: 2.2rem;
    width: 100%;
    text-align: center;
    margin: 20px auto;
}

.contact .explain {
    margin: 30px auto;
    max-width: 780px;  
}

.Form {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
  }

  .Form-Item {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .Form-Item-Label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
  }

  .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
  }

  .Form-Item-Label-Required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #5bc8ac;
    color: #fff;
    font-size: 14px;
  }

  .Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }

  .Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    min-height: 300px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }

  .Form-Btn {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #5bc8ac;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
  }

    @media screen and (max-width: 768px) {
        .contact {
            position: relative;
            top: 60px;
            padding-bottom: 70px;
        }

        .contact .explain {
            margin: 30px 20px;
        }    

        .Form {
            margin: 20px auto;
          }
      
          .Form-Item {
            padding-left: 14px;
            padding-right: 14px;
            padding-top: 16px;
            padding-bottom: 16px;
            flex-wrap: wrap;
          }
        
          .Form-Item-Label {
            max-width: inherit;
            display: flex;
            align-items: center;
            font-size: 18px;
            margin-bottom: 5px;
            margin-top: 10px;
          }
      
          .Form-Item-Label.isMsg {
            margin-top: 10;
          }
      
          .Form-Item-Label-Required {
            border-radius: 4px;
            padding-top: 4px;
            padding-bottom: 4px;
            width: 32px;
            font-size: 14px;
          }

          .Form-Item-Input {
            margin-left: 0;
            margin-right: 5px;
            margin-top: 10px;
            height: 40px;
            max-width: 700px;
            flex: inherit;
            font-size: 18px;
          }
    
          .Form-Item-Textarea {
            margin-top: 18px;
            margin-left: 0;
            margin-right: 5px;
            height: 200px;
            max-width: 700px;
            flex: inherit;
            font-size: 18px;
          }
    
          .Form-Btn {
            margin-top: 24px;
            padding-top: 8px;
            padding-bottom: 8px;
            width: 160px;
            font-size: 20px;
          }
      
    }

    