*, *:before, *:after{
    box-sizing: border-box;
}


body{
    width: 100%;
    margin: 0;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

box{
    width: 100%;
}

header{
    width: 100%;
    background-color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
    
}

.menu{
    margin-left: 20px;
    margin-bottom: 0px;
    font-size: 20px;
    font-weight: bold;
    color: #20204e;
}

.top{
    display: flex;
    justify-content: space-between;
  margin: 0 auto;
}

.menu ul {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu li{
    text-align: center;
    position: relative;
    display: flex;
    height: 100px;
}

.menu li::after {
  content: "";
  display: block;
  width: 2px;
  height: 20px;
  position: absolute;
  right: -1px;
  top: calc((100% - 20px)/2);
}

.menu li:last-child::after {
  content: none;
}

.menu a {
  display: flex;
  flex: 1 1;
    justify-content: center;
    padding: 0 20px;
}

.menu a:hover span {
  color: #2a9cdd;
  position: relative;
}

.menu a:hover span::after {
  content: "";
  position: absolute;
  display: block;
  height: 4px;
  width: 100%;
  bottom: 0;
  background-color: #2a9cdd;
  border-radius: 5px;
}

.menu span{
    display: flex;
    align-items: center;
}
    
a{
  color: inherit;
  text-decoration: none;
}

.ams{
    text-align: center;
    color: #20204e;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-375{
    display: none;
}

.top-pic{
    position: relative;
}

.purpose{
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    font-size:50px;
    font-weight: bold;
    color: #FFFFFF;
    font-family: serif;
    width: 100%;
    text-shadow: 0 0 15px rgb(0, 0, 0, 0.8);
      }

.top-pic img{
    width: 100%;
}

.company-outline{
    display: flex;
    justify-content: space-around;
}

.main-side{
    display: flex;
    margin-top: 10px;
}

.company{
    margin-top: 10px;
    height: 470px;
    color: #20204e;
    padding:30px;
    padding-left: 50px;
}

.company-side{
    display: flex;
}

p3{
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 30px;
}

.company-outline1{
    margin-top: 20px;
    font-size: 25px;
}

.name{
    font-weight: bold;
    margin-right: 40px;
    margin-bottom: 20px;
    padding: 0.15em 0.5em;
    border-left: solid 5px #2a9cdd;
}

.address{
    margin-bottom: 30px;
}

.time{
    margin-bottom: 40px;
}

.company-outline2{
    margin-top: 20px;
    font-size: 25px;
    padding-left: 50px;
    border-right: 3px solid #dedede;
    padding-right: 200px;
}

.name2{
    font-weight: bold;
    margin-bottom: 20px;
    padding: 0.15em 0.5em;
    border-left: solid 5px #2a9cdd;
}

.address2{
    margin-bottom: 30px;
}

.time2{
    margin-bottom: 20px;
}

.partner{
    width: 550px;
    margin-top: 70px;
}

.partner img{
    width: 550px;
    position: absolute;
}

.bosyu{
    position: relative;
    width: 550px;
    text-align: center;
    margin-top: 70px;
    color: #e97610;
    font-size: 33px;
    font-weight: bold;
}

.bosyu-sentence{
    position: relative;
    font-size: 21px;
    width: 550px;
    text-align: center;
    margin-top: 10px;
}

.kochirae{
    text-align: center;
    margin-top: 25px;
    transition: all 0.3s;
}

.button,
a.button {
    padding: 15px;
    width: 300px;
    position: relative;
    font-size: 23px;
  background-color: rgba(255,255,255,0.6);
    transition: all 0.3s;
}

.button:hover,
a.button:hover {
  background:#FFFFFF;
}

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


.footer{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 25px 10px 10px;
    background-color: #20204e;
}


.footer-list {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    list-style-type: none;
    margin: 0 0 .5em;
    padding: .5em;
}

.footer a {
    color: #FFFFFF;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin: 0;
    color: #ffffffb3;
    font-size: 15px;
}

.title{
    font-weight: bold;
    font-size: 25px;
    color: #FFFFFF;
}

@media screen and (min-width:2560px) {

    .menu{
    font-size: 25px;
}
    
.purpose{
    font-size:70px;
    width: 1700px;
    }
    
.company{
    margin-top: 40px;
    margin-left: 50px;
    margin-bottom: 100px;
    }

.company-outline{
    justify-content: initial;
}


p3{
    font-size: 40px;
}

.company-outline1{
    font-size: 32px;
    width: 500px;
}

.company-outline2{
    font-size: 32px;
    width: 800px;
    padding-right: 0;
}
    
.partner{
    margin-left: 400px;
    width: 650px;
    margin-top: 110px;
}

.partner img{
    width: 650px;
}

.bosyu{
    width: 650px;
    margin-top: 70px;
    font-size: 40px;
}

.bosyu-sentence{
    font-size: 27px;
    width: 650px;
    margin-top: 20px;
}

    
.button,a.button {
    padding: 20px;
    width: 400px;
    font-size: 30px;
}
    
    .footer{
    position: absolute;/* ←絶対位置 */
        width: 100%;
    }
    
     .footer-list{
        font-size: 25px;
    }
    
}

@media screen and (max-width:1920px) {

   .menu{
    font-size: 20px;
}
    
    .footer-list{
        font-size: 20px;
    }
    
}

@media screen and (max-width:1536px) {
    
.company{
    height: 430px;
    padding-left: 0;
    }
    
.company-outline1{
    font-size: 20px;
    width: 330px;
    }
    
.company-outline2{
    font-size: 20px;
    width: 400px;
    padding-left: 0;
    padding-right: 0;
    }
    
.partner{
    margin-left: 0px;
    width: 450px;
    margin-top: 80px;
}

.partner img{
    width: 450px;
}

.bosyu{
    width: 450px;
    margin-top: 40px;
    font-size: 30px;
}

.bosyu-sentence{
    font-size: 20px;
    width: 450px;
    margin-top: 20px;
}
    
.kochirae{
    margin-top: 30px;
}

.button,a.button {
    padding: 20px;
    width: 400px;
    font-size: 20px;
}
    
}


@media screen and (max-width:960px) {

.ams img:first-child{
    margin-left: 10px;
    width:50.28px;
    height:63.36px;
    }
    
.ams img:last-child{
    width:115.2px;
    height:28.8px;
    }
    
.menu a {
    padding: 0;
    }
    
.top{
    display: none;
    }
    
.top-375{
    display: flex;
    }
    
/* ここから下がハンバーガーメニューに関するCSS */
    
.nav{
    margin-left: 720px;
    margin-top: 30px;
    }
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
    width: 100%;
    height: 100%;
    margin: 10px;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 1px;
  width: 20px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
    z-index: 200;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
    background: #FFFFFF;
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
    background: #FFFFFF;
}

/* メニューのデザイン*/
.nav_content {
  width: 200px;
  height: 100%;
  position: fixed;
  bottom: 100%;
  right: 0%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #20204e;
  transition: .5s;
  text-align: center;
  padding-top: 20px;
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
    padding: 0;
    line-height: 40px;
}

.nav_item a {
  color: #fff;
  text-decoration: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  bottom: 0;/* メニューを画面に入れる */}

    .purpose{
        font-size: 30px;
        width: 100%;
    }
    
    .company{
        padding-right: 0px;
        height: initial;
    }
    
    p3{
        font-size: 20px;
        margin-left: 20px;
    }
    
    .main-side{
        font-size: 10px;
        margin-left: 20px;
    }
    
    .company-outline1{
        font-size:15px;
        width: 270px;
    }
    
    .company-outline2{
        font-size:15px;
        width: 280px;
    }
    
    .name{
        margin-bottom: 10px;
    }
    
    .address{
        margin-bottom: 10px;
    }
    
    .name2{
        margin-bottom: 10px;
    }
    
    .address2{
        margin-bottom: 10px;
    }
    
    .time{
        margin-bottom: 10px;
    }
    
.partner{
    width: 300px;
    height: 250px;
}

.partner img{
    width: 300px;
    position: absolute;
}

.bosyu{
    width: 300px;
    margin-top: 25px;
    font-size: 20px;
}

.bosyu-sentence{
    font-size: 12px;
    width: 300px;
    margin-top: 10px;
}

.kochirae{
    text-align: center;
    margin-top: 25px;
    transition: all 0.3s;
}
    
    .button,a.button {
    padding: 15px;
    width: 170px;
    font-size: 12px;
    }

    .title img{
        height:26px;
        width:100px;
    }
    
    .footer{
        padding-top: 10px;
    }
    
    .footer-copyright{
        font-size: 10px;
    }
    
    .footer-list{
        display: none;
    }
    
}

@media screen and (max-width:768px) {

    
/* ここから下がハンバーガーメニューに関するCSS */
    
.nav{
    margin-left: 530px;
    margin-top: 30px;
    }
  
    .purpose{
        font-size: 25px;
    }
    
    .main-side{
        font-size: 13px;
    }
    
    p3{
        font-size: 15px;
    }
    
    .company-outline1{
        font-size:11px;
        width: 200px;
    }
    
    .company-outline2{
        font-size:11px;
        width: 200px;
    }
    
.partner{
    margin-top: 60px;
}
    
}

@media screen and (max-width:428px) {

/* ここから下がハンバーガーメニューに関するCSS */
    
.nav{
    margin-left: 190px;
    }

.purpose{
    font-size: 15px;
    }
    
.company{
    height: 390px;
    padding-top:20px;
    }
    
    p3{
        font-size: 17px;
    }
    
.main-side{
    font-size: 10px;
    flex-direction: column;
    }
    
    .company-outline{
        flex-direction: column;
        padding-left: 50px;
        justify-content: flex-start;
    }
    
    .company-outline1{
        font-size:15px;
        margin-top: 10px;
        width: 300px;
    }
    
    .company-outline2{
        font-size:15px;
        width: 300px;
        border-right: none;
    }
    
    .partner{
        margin-top: 50px;
        height: 230px;
}

.kochirae{
    width: 300px;
}
    
    

}

    @media screen and (max-width:390px){
    
    .nav{
        margin-left: 170px;
    }
    }
       
@media screen and (max-width:375px) {
    
/* ここから下がハンバーガーメニューに関するCSS */
    
.nav{
    margin-left: 150px;
    }
    
.company-outline{
    padding-left: 35px;
    }
    
}