@charset "UTF-8";

/* --------------------------------
  reset
-------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

html {
    font-size: 100%;
}


/* --------------------------------
  body
-------------------------------- */
body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    background-color: #fff;
    color: #333;
    font-size: 1.0rem;
    font-family: sans-serif;
    line-height: 1.8;
}


/* --------------------------------
  header
-------------------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    padding: 0.5rem 2rem; /* 左右のパディングを追加 */
    background-color: #edba37;
}

header h1 a{
    color: #333;
}

.hamburger {
    display: none;
    position: fixed;
    top: 12px;
    right: 5px;
    z-index: 11;
}
 
header nav {
    width: 38%;
}

header .nav-links {
    display: flex;
    justify-content: space-around;
}

.nav-links a {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    display: block;
    transition: opacity 0.3s ease;
}

.nav-links a:hover{
    border-bottom: 3px solid #ffffff;
}

.nav-links li:hover > a { /* .bnr-list div の直接の子要素である p に :hover を適用 */
    border-bottom: 3px solid #ffffff;
    transform: scale(1.3);
  }





/* --------------------------------
  footer
-------------------------------- */
footer {
    width: 100%;
    height: 80px;
    padding: 16px;
    text-align: center;
    background-color: #edba37;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    color: #333;
}

/* --------------------------------
  main
-------------------------------- */
.container {
    display: grid;
    gap: 10px;
    width: min(92%, 1000px);
    margin: 30px auto;
    text-align: center;
    img {
        margin-bottom: 10px;
    }
}

h2 {
    font-size: 1.525rem;
}

.content {
    display: grid;
    grid-template-columns: 60% auto;
    gap: 5px;
    margin-bottom: 10px;
}

.content video {
    width: 600px;
    height: 400px;
}

.point {
    text-align: left;
}

.point>ul {
    padding-left: 2.0rem;
    list-style: disc;
    line-height: 1.5;
}

@media screen and (max-width: 767px) {
    h2 {
        font-size: 1.25rem;
    }

    .content {
        display: block;
    }

    .point>ul {
        font-size: 0.875rem;
    }
}


@media screen and (max-width: 412px) {
    h2 {
        font-size: 1.25rem;
    }

    .content {
        display: block;
    }

    .point>ul {
        font-size: 0.875rem;
    }
}