@charset "UTF-8";

html{
    height: 100%;
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body{
   font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic';
    font-size: 1.5rem;
}
a{
    text-decoration: none;
}
a:hover{
    opacity: 0.5;
}
p{
    color:#333333;
}
.cf:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
/*ヘッダ－*/
#header {
    background: #fff;
    box-shadow: 0px 0px 5px 0px #ccc;
    position: fixed;
    top: 0;
    width: 100%;
    border-top: 6px solid #44b3b6;
}
#header_box {
    width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 84px;
}
#logo a {
    padding: 25px 0;
    display: block;
}

.menu a {
    font-size: 18px;
    color: #44b3b6;
    font-weight: bold;
}
nav {
    display: grid;
}
/*メイン*/
main {
    margin-top: 90px;
}
/*フッター*/
footer {
    background: #d7edef;
}
.footer_box {
    width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-size: 18px;
}
.footer_box ul {
    display: flex;
    gap: 40px;
    justify-content: flex-end;
    padding: 30px 0;
    order: 2;
}
.footer_box p {
    line-height: 3rem;
}
#footer_logo a {
    padding: 40px 0 20px;
    display: block;
}
.footer_box div {
    margin-bottom: 40px;
}
.footer_box ul a {
    color: #44b3b6;
    font-weight: bold;
}
small {
    background: #44b3b6;
    color: #fff;
    text-align: center;
    width: 100%;
    display: block;
    padding: 10px 0;
    line-height: 1rem;
}


/*レスポンシブ*/
@media screen and (min-width: 769px) {
    .menu {
        display: -webkit-flex;
        display: flex;
        gap: 40px;
        justify-content: flex-end;
        padding: 30px 0;
    }
    #menu-btn {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    #header_box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        height: 84px;
        width: 100%;
    }
    #menu-btn {
        display: none;
    }
    #logo img {
        padding: 0 20px;
    }
    .menu {
        width: 85%;
    }
    .footer_box {
        width: 100%;
    }
    .footer_box div {
        width: 90%;
        padding: 0 0 0 30px;
    }
    .footer_box ul {
        width: 80%;
    }
}
@media screen and (max-width: 768px) {
    #header_box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        height: 60px;
        width: 100%;
    }
    #logo img {
        padding: 0 20px;
    }
    #logo a {
        padding: 16px 0;
    }
    .menu {
        width: 85%;
    }

    .footer_box div {
        width: 90%;
        padding: 0 0 0 30px;
    }
    .footer_box {
        width: 100%;
        display: block;
    }
    .footer_box ul {
        width: 80%;
        justify-content: start;
        padding: 30px 0 0 30px;
    }

    /* ハンバーガーメニュー */
.menu {
    list-style: none;
    position: absolute;
    width: 100%;
    height: auto;
    top: 60px;
    right: 0;
    padding: 10px 0 120px 0;
    clear: both;
    background: #fff;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
  }

  .menu-btn:checked ~ .menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .menu a {
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 22px;
    text-transform: capitalize;
    color: #44b3b6;
    opacity: 0;
    transition: 0.5s;
  }
  
  .menu li {
    border-bottom: 2px solid #44b3b6;
    padding: 25px 0;
    margin: 0 40px;
    opacity: 0;
    transition: 0.5s;
    position: relative;
  }
  .menu li:after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    margin: auto;
    background-image: url(../img/icon_arrow.svg);
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: contain;
}
  .menu-btn:checked ~ .menu a,
  .menu-btn:checked ~ .menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }
  
  .menu-btn {
    display: none;
  }
  
  .menu-icon {
    display: block;
    position: absolute;
    cursor: pointer;
    padding: 29px 14px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    right: 0;
  }
  
  .navicon {
    background: #44b3b6;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  .navicon:before,
  .navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #44b3b6;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  .navicon:before {
    top: 9px;
  }
  
  .navicon:after {
    bottom: 9px;
  }
  
  .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }
  
  .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }
  
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
    top: 0;
  }
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    bottom: 0;
  }
  
  .menu-btn:checked ~ .menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .navtext-container {
    width: 100%;
    height: 52px;
    position: absolute;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navtext {
    position: absolute;
    text-transform: uppercase;
    color: #ddd;
    letter-spacing: 4px;
    font-size: 20px;
  }
}
@media screen and (max-width: 480px) {
    main {
        margin-top: 80px;
    }
    #header_box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        height: 60px;
        width: 100%;
    }
    #logo img {
        padding: 0 20px;
        width: 290px;
    }
    .footer_box {
        width: 100%;
        display: block;
    }
    .footer_box ul {
        width: 80%;
        justify-content: start;
        padding: 30px 0 0 30px;
    }
    #footer_logo a {
        padding: 40px 0 10px;
        display: block;
    }
    #footer_logo img {
      width: 290px;
  }

/* ハンバーガーメニュー */
.menu {
    list-style: none;
    position: absolute;
    width: 100%;
    height: auto;
    top: 60px;
    right: 0;
    padding: 10px 0 120px 0;
    clear: both;
    background: #fff;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
  }

  .menu-btn:checked ~ .menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .menu a {
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 22px;
    text-transform: capitalize;
    color: #44b3b6;
    opacity: 0;
    transition: 0.5s;
  }
  
  .menu li {
    border-bottom: 2px solid #44b3b6;
    padding: 25px 0;
    margin: 0 40px;
    opacity: 0;
    transition: 0.5s;
    position: relative;
  }
  .menu li:after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    margin: auto;
    background-image: url(../img/icon_arrow.svg);
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: contain;
}
  .menu-btn:checked ~ .menu a,
  .menu-btn:checked ~ .menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }
  
  .menu-btn {
    display: none;
  }
  
  .menu-icon {
    display: inline-block;
    position: absolute;
    cursor: pointer;
    padding: 29px 14px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    right: 0;
  }
  
  .navicon {
    background: #44b3b6;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  .navicon:before,
  .navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #44b3b6;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  .navicon:before {
    top: 9px;
  }
  
  .navicon:after {
    bottom: 9px;
  }
  
  .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }
  
  .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }
  
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
    top: 0;
  }
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    bottom: 0;
  }
  
  .menu-btn:checked ~ .menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .navtext-container {
    width: 100%;
    height: 52px;
    position: absolute;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navtext {
    position: absolute;
    text-transform: uppercase;
    color: #ddd;
    letter-spacing: 4px;
    font-size: 20px;
  }
}