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


body{
    width: 100%;
    margin: 0;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    background-image: url(緑2.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center bottom;
    color: #20204e;
}

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;
}

.privacy-policy{
    display: flex;
    justify-content: center;
}

.privacy-policy-title{
    width: 500px;
    line-height: 70px;
    font-size: 40px;
    margin-top: 70px;
    text-align: center;
    background-color: #dedede;
    padding: 0.15em 0.5em;
    border-left: solid 5px #20204e;
    font-weight: bold;
}

.privacy-policy-sentence{
    margin-top: 30px;
    text-align: center;
    font-size: 20px;
}

.about-privacy-policy{
    margin-top: 50px;
    text-align: center;
}

.about-title{
    font-weight: bold;
    font-size: 23px;
    margin-bottom: 10px;
}

.subtitle{
    font-size: 20px;
}

.privacy-policy-detail{
    display: flex;
    justify-content: center;
}

.privacy-policy-box{
    margin-top:40px;
    margin-bottom: 60px;
    padding-right: 35px;
    background-color: #dedede;
}

.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 (max-width:2560px) {
    
    
    .menu{
    font-size: 25px;
}
    
    .privacy-policy-title{
    font-size: 40px;
}
    
    .privacy-policy-sentence{
        font-size: 28px;
    }
    
    .about-title{
    font-size: 33px;
}
    .subtitle{
        font-size: 28px;
    }
    
    .privacy-policy-box{
    font-size: 27px;
}
    
    .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: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;
}

/* ハンバーガーアイコンの設置スペース */
.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;/* メニューを画面に入れる */}
    
    
    .privacy-policy-title{
    width: 300px;
    line-height: 40px;
    font-size: 20px;
    margin-top: 40px;
}

.privacy-policy-sentence{
    margin-top: 30px;
    text-align: center;
    font-size: 15px;
}

.about-privacy-policy{
    margin-top: 30px;
}

.about-title{
    font-size: 18px;
    margin-bottom: 10px;
}

.subtitle{
    font-size: 15px;
}

.privacy-policy-box{
    margin-top:20px;
    margin-bottom: 60px;
    padding-right: 35px;
    font-size: 15px;
}


     .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) {
    
    .nav{
    margin-left: 520px;
    }
    
}

@media screen and (max-width:428px) {
    
    .nav{
    margin-left: 200px;
    }
    
      .privacy-policy-title{
    width: 230px;
    line-height: 30px;
    font-size: 15px;
    margin-top: 30px;
}

.privacy-policy-sentence{
    margin-top: 20px;
    font-size: 9px;
}

    .privacy-policy-detail{
        margin-left: 20px;
        width: 390px;
    }
    
.about-privacy-policy{
    margin-top: 20px;
}

.about-title{
    font-size: 12px;
    margin-bottom: 10px;
}

.subtitle{
    font-size: 11px;
}

.privacy-policy-box{
    margin-top:20px;
    margin-bottom: 60px;
    padding-right: 35px;
    font-size: 12px;
}

}

    @media screen and (max-width:390px){
    
    .nav{
        margin-left: 170px;
    }
        
        .privacy-policy-detail{
            width: 350px;
        }
    }


@media screen and (max-width:375px) {
    
    
.nav{
    margin-left: 150px;
    }
    
    
    .privacy-policy-sentence{
    font-size: 8px;
}
      .privacy-policy-detail{
        margin-left: 13px;
        width: 350px;
    }
    
}