@charset "utf-8";

h1 {
    padding: 0.25em 0.5em;            /*上下 左右の余白*/
    color: #494949;                   /*文字色*/
    text-align: center;
}

#center {
  width: 500px;
  margin: 0 auto;
  
}

.width7 {
    width: 100%;
    font-size: 1.4em;
}

.slide-container {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}


.slide-wrapper {
  display: flex;
  animation: slide-flow 20s infinite linear 1s both;
}

.slide{
  width: 1000px;
  height: 870px;
  object-fit:cover;
  border: 1px solid #ddd;
}


@keyframes slide-flow {
     0% {transform: translateX(0);}
 100% {transform: translateX(-100%);}
}


.sirusi {
    border-left: 10px solid #4c6cb3;
    padding-left: 5px;
    margin: 0 auto;
    margin-top: 30px;
    width: 100%;
    font-size: 1.4em;
}

.sirusi2 {
    border-left: 10px solid #4c6cb3;
    padding-left: 5px;
    margin: 10px auto;
}

.menu-content ul li{
  text-align: center;
  display: -webkit-box; 
  display: -moz-box;    
  display: -o-box;      
  display: -ms-box;    
  display: box;
  list-style-type: none;
  width: 210px;
  border-collapse: separate;
  text-indent: initial;
  text-wrap: nowrap;
  font-family: monospace;
  tab-size: 4;
  border-spacing: 0px;
  height: 100%;
}
.menu-content ul li a {
  display: block;
  height: 100%;
  width: 100%;
  line-height: 91px;
  color: white;
}

.sentaku {
    background-color:  #5383c3;
    text-decoration: none; 
}

body {
  margin: 0 0 0 0;
}
.menu-content {
  overflow: hidden;
}
.menu-content ul {
  display: flex;
  padding-left: 0;
  margin-right: 0;
  background-color: #00008b;
  margin-top: 0;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.border{
    width: 35%;
    height: 25%;
    padding: 0 1.5em;
    margin: 1em ;
    border: solid 2px #000000;
}

.border p{
    margin-top: 0;
    margin-bottom: 0;
}

.border2{
    width: 25%;
    height: 25%;
    padding: 1em 1.5em;
    margin-left: 20%;
    border: solid 2px #000000;
}

.border2 p{
    margin: 0;
    padding: 0;
}

.menu-content ul li + li {
    border-left: 2px solid #fff;
}

.margin {
    margin-top: 90px;
    margin-left: 12%;
    margin-right: 12%;
}

.margin2 {
  margin-left: 6%;
  margin-right: 6%;
}

.margin3 {
    margin: 1.5% auto;
    margin-left: 15%;
    margin-right: 15%;
}

.margin4 {
    margin-top: 30px;
    margin-left: 15%;
    margin-right: 15%;
}

.margin5 {
    margin-top: 5px;
    margin-bottom: 20px;
}

.font-size2 {
  font-size: 20px;
}

.p {
    line-height: 175%;
    padding-left: 0;
}

.p2{
    line-height: 175%;
    margin-left: 15%;
    margin-right: 15%;
}


footer {
  text-align: center;
}


.example {
    display: block;
   }

.examples{
    display: block;
    text-align: center;
   }

.hissu {
  background-color: red;
  color: white;
  border-radius: 5px;
  margin: 5px 5px 5px 10px;
  font-family: "UD デジタル 教科書体 N-B";
  font-size: 15px;
  padding: 3px
}

#button{
    color: black;
    text-decoration: none;
    text-align: center;
}

input[type="email" i], input[type="text" i] {
  width: 450px;
  height: 40px;
}

textarea{
    width: 500px;
    height: 200px;
}

.align{
    text-align: center;
}


.left {
    display: inline-block;
    text-align: left;
    line-height: 150%;
}

#info {
  text-align: center;
}

.main {
  width: 40%;
}

.inline_block {
  display: flex;
  justify-content: space-evenly;
}


.syasin{
    padding-left: 30px;
    width: 30%;
    height: 30%;
}

.syasin2{
    padding-left: 30px;
    width: 30%;
    height: 30%;
}
.setumei{
    padding-right: 10%;
    padding-left: 5%;
    margin-left: 6%;
    margin-right: 6%;
}

.setumei2{
    padding-left: 20%;
    padding-right: 20%;
}

.setumei3{
    margin: 0 20%;
    width: 30%;
}

.gazou{
    margin-left: 15%;
    margin-right: 15%;
    width: 64kb;
    height: 350px;
}


.gazou2{
    margin-left: auto;
    margin-right: 5%;
    width: 200px;
    height: 250px;
    margin-bottom: 25px;
}


.gazou3 {
    height: 550px;
    margin-right: 15%;
}

.hyou{
    align-items: center;
}

th{
    background-color: #7db4e6;
}

table{
    margin-left: auto;
    margin-right: auto;
}

table2 {
    margin: auto;
}


.widelink:hover{
  background-color: #5383c3;
}

.widelink {
  text-decoration: none;
}

.wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-left: 5%;
  margin-right: 5%;
}

.kaisetu{
    margin: 3% 15%;
}

#pagetop{
    position: fixed;
    bottom: 16px;
    right: 16px;
    opacity: 0.5 ;
}

#pagetop a{
        display: block;
        text-decoration: none;
}

#pagetop:hover{
    opacity: 1 ;
}

@media screen and (max-width:1230px) {
    
    .gazou3{
        margin-left: 10px;
        margin-right: 10%;
        width: 15em;
        height: 15em;
    }
    
    .border{
        width: 600px;
        height: 400px;
        padding: 0 1.5em;
        margin: 1em ;
        border: solid 2px #000000;
    }
    
    .border2{
        width: 400px;
        height: 250px;
        padding: 1em 1.5em;
        margin: 7em 20%;
        border: solid 2px #000000;
    }
    
    .gazou{
        margin-left: 30%;
        margin-right: 30%;
        width: 64kb;
        height: 350px;
        margin-bottom: 20px;
    }
}

@media screen and (min-width:751px) {
    #menu-btn-check {
        display: none;
    }
    
    #pagetop{
        display: none;
    }
}

@media screen and (max-width:750px) {
    
    .slide{
       width: 1000px;
       height: 950px;
       object-fit:cover;
       border: 1px solid #ddd;
    }

    .sentaku {
        background-color:transparent;
    }

    
    .inline_block{
        display: block;
        overflow: hidden;
    }
    
    .main {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    
    .text{
        text-align: center;
    }
    
     h1{
        margin-top: 30px;
    }
    
    .gazou{
        margin-left: 20%;
        margin-right: 20%;
        width: 64kb;
        height: 350px;
        margin-bottom: 20px;
    }
  
    .gazou2 {
        margin-bottom: 0;
    }
    
    .gazou3{
        margin-left: 20%;
        margin-right: 25%;
        width: 15em;
        height: 15em;
    }
    
    .sirusi2{
        width: 100%;
    }
    
    .setumei3{
        margin-left: 25%;
        width: auto;
    }
    
    .border{
        width: 600px;
        height: 400px;
        padding: 0 1em;
        margin: 1em ;
        border: solid 2px #000000;
    }
    
    .border2{
        width: 400px;
        height: 250px;
        padding: 1em 1.5em;
        margin: 5em 3%;
        margin-top: 0;
        border: solid 2px #000000;
    }
    
    .kaisetu{
        margin: -100px 15% 3%;
    }
    
    .syasin{
        padding-left: 0;
        margin-left: 30%;
        margin-right: 30%;
        width: 40%;
        height: 40%;
    }

    .syasin2{
        padding-left: 0;
        margin-left: 25%;
        margin-right: 25%;
        width: 50%;
        height: 50%;
    }

    .margin{
        margin-top: 30px;
    }
  
    .margin3{
        margin-top: 30px;
    }
    
    .setumei3{
        margin-left: 15%;
    }
  
    .height{
        margin-top: 30px;
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 80%; /* 比率を操作 */
    }
    
    .height iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
  
    .menu-btn {
        position: fixed;
        top: 10px;
        left: 10px;
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #00008b;
        border: 5px solid #fff;
    }
    
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after { /*メニューボタン*/
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #ffffff;
        position: absolute;
    }
    .menu-btn span:before {
        bottom: 8px;
    }
    .menu-btn span:after {
        top: 8px;
    }

    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
    }
    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu-btn-check {
        display: none;
    }

    .menu-content {
        width: 50%;
        height: 100%;
        position: fixed;
        top: 0;
        right: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background-color: #00008b;
        transition: all 0.5s;/*アニメーション設定*/
        align-items: left;
    }

    .menu-content ul {
        flex-flow: column;
        padding: 70px 0 0;
    }
    .menu-content ul li {
        border-bottom: solid 1px #ffffff;
        list-style: none;
    }
   
    .menu-content ul li + li {
      border-left: 0;
    }
    
    .menu-content ul li a {
        display: block;
        height: 70px;
        width: 100%;
        font-size: 20px;
        box-sizing: border-box;
        color:#ffffff;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }
    .menu-content ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 2px #ffffff;
        border-right: solid 2px #ffffff;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 16px;
    }

    #menu-btn-check:checked ~ .menu-content {
        left: 0;/*メニューを画面内へ*/
    }
}

.widelink:hover{
  background-color: #5383c3;
}

.widelink {
  text-decoration: none;
}