body, html {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    background-color: #C8E4EE;
    color: #000000;
    display: flex;
    flex-direction: column;
}

.menu {
    width: 200px;
    height: 100%;
    background-color: #3C5F8D;
    color: #ffffff;
    padding: 20px;
    box-sizing: border-box;
    position: fixed;
    font-weight: bold;
    overflow: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu ul li {
    margin-bottom: 10px;
}

.menu ul li a {
    color: #ffffff;
    text-decoration: none;
}

.header-box {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #ccc;
    position: relative;
    z-index: 1;
    margin: 0;
}

.container {
    width: 1200px;
    padding: 20px;
    margin: 0px auto;
    margin-left: calc((100vw - 1400px) / 2 + 200px);
    margin-right: calc((100vw - 1400px) / 2);
    background-color: #f4f4f4; 
    border-radius: 0;
    flex: 1;
    box-sizing: border-box;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  text-align: center;
}

.back-link {
    color: #000000;
    font-weight: bold;
    text-align: left;
    font-size: 0.8em;
    text-decoration: none;
}


.image-link {
  display: block;
}

.icon-image {
  display: block;
  width: 140px;
  height: auto;
}

.image-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.title {
    font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
    text-align: center;
    font-size: 4em;
    font-style: italic;
    color: #28ab3c;
    font-weight: 900;
    text-shadow: 
        1px 1px 0 #ffffff, 
        -1px -1px 0 #ffffff, 
        1px -1px 0 #ffffff, 
        -1px 1px 0 #ffffff;
    letter-spacing: -0.05em;
    word-spacing: -0.05em;
    line-height: 1.0;
    position: relative;
    z-index: 2;
    margin: 0;
    margin-bottom: 10px;
    font-weight: 900;
}

.sub-title1 {
    text-align: center;
    font-family: 'ＤＦ特太ゴシック体', sans-serif;
    font-size: 2.0em;
    font-weight: 100;
    color: #000000;
    text-shadow: 
        1px 1px 0 #ffffff, 
        -1px -1px 0 #ffffff, 
        1px -1px 0 #ffffff, 
        -1px 1px 0 #ffffff;
    line-height: 1.0;
    margin: 0;
    margin-bottom: 20px;
}

.sub-title2 {
    text-align: center;
    font-family: 'HG創英角ｺﾞｼｯｸUB', sans-serif;
    font-size: 5.0em;
    color: #FE3600;
    text-shadow: 
        1px 1px 0 #ffffff, 
        -1px -1px 0 #ffffff, 
        1px -1px 0 #ffffff, 
        -1px 1px 0 #ffffff;
    margin: 0;
    margin-bottom: 20px;
}

.sub-title3 {
    text-align: center;
    font-family: 'HG創英角ｺﾞｼｯｸUB', sans-serif;
    font-size: 3.0em;
    color: #000000;
    text-shadow: 
        1px 1px 0 #ffffff, 
        -1px -1px 0 #ffffff, 
        1px -1px 0 #ffffff, 
        -1px 1px 0 #ffffff;
    margin: 0;
}

.sub-title4 {
    color: #ff0000;
    font-weight: bold;
    font-size: 2.0em;
    position: relative;
    padding: 0 10px;
    text-align: center;
    line-height: 1.2
}

.sub-title4:before {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 100%;
    height: 3.0px;
    content: '';
    background: #ff0000;
}

.sub-title4 span {
    position: relative;
    padding: 0px;
    background: #f4f4f4;
}

.table-1 {
    border-collapse: separate;
    border-spacing: 5px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.table-1 th, .table-1 td {
    border-radius: 5px;
    text-align: left;
    padding: 10px 15px;
}

.table-1 th {
    background-color: #3C5F8D;
    color: #ffffff;
    border: solid 1px #3C5F8D;
}

.table-1 td:nth-child(1) {
    background-color: #3C5F8D;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    width: 100px;
}

.table-1 td:nth-child(2) {
    background-color: #C8E4EE;
    border: solid 1px #3C5F8D;
    width: auto;
}

.table-2 {
    border-collapse: separate;
    border-spacing: 5px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.table-2 th, .table-2 td {
    border-radius: 5px;
    text-align: left;
    padding: 10px 15px;
}

.table-2 th {
    color: #ffffff;
}

.table-2 td:nth-child(1) {
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    width: 100px;
    border: none;
}

.table-2 td:nth-child(2) {
    width: auto;
    border: none;
}

.table-2 col:nth-child(1) {
    width: 100px;
}

.table-2 col:nth-child(2) {
    width: auto;
}

.section {
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    margin-top: 40px;
}

.box {
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 4px solid #ccc;
    position: relative;
    margin-top: 60px;
    word-break: break-all;
    box-sizing: border-box;
}

h1 {
    margin: 10px 0;
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    background-image: -webkit-gradient(linear, left top, right top, from(#69C7ED), to(#BCF0FC));
    background-image: -webkit-linear-gradient(left, #69C7ED 0%, #BCF0FC 100%);
    background-image: linear-gradient(to right, #69C7ED 0%, #BCF0FC 100%);
    -webkit-transform: skew(-15deg);
    transform: skew(-15deg);
}

h2 {
    position: absolute;
    top: -32px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 5px 10px 0 10px;
    border: 3px solid #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    color: #000000;
    font-size: 2.5em;
    line-height: 1.2;
    box-sizing: border-box;
    white-space: nowrap;
}

h3 {
    margin: 15px 0;
    text-align: center;
    font-size: 2em;
}

h4 {
    margin: 10px 0;
    text-align: center;
    font-size: 1.5em;
}

.photo-grid a {
    flex: 1;
    max-width: 30%;
    box-sizing: border-box;
}

.photo-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.photo-grid img {
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.comment-box {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: 3px double #000000;
    border-radius: 0;
    text-align: left;
    background-color: transparent;
}

.comment-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 1.2em;
    background: #ffffff;
    color: #000000;
    font-weight: bold;
}

.download-text {
    display: inline-block;
    padding: 0.5rem 2rem;
    color: #ffffff;
    border-radius: 100vh;
    background: #ffffff;
    font-weight: bold;
}

p {
    margin: 10px 0;
    font-size: 1em;
    text-align: left;
    margin: 0;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

#back-to-top img {
    width: 70px;
    height: 70px;
    cursor: pointer;
}

footer {
    color: #000000;
    text-align: center;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    margin-left: 200px;
}

footer p {
    text-align: center;
    margin: 0;
}

footer .copyright {
    font-size: 0.8em;
}

@media (max-width: 1420px) {
    .menu {
        display: none;
    }

    .container {
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    footer {
        margin-left: 0;
    }

    .back-link {
        left: calc((100vw - 1200px) / 2 + 5px);
    }
}

@media (max-width: 1220px) {
    .container {
        width: auto;
        margin-left: 10px;
        margin-right: 10px;
    }

    .back-link {
        left: 15px;
    }

    .photo-grid {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .photo-grid a {
        width: 100%;
        max-width: 700px;
        box-sizing: border-box;
    }
    .photo-grid img {
        width: 100%;
        height: auto;
        display: block;
    }
    .svg-text {
    }
}

@media (max-width: 768px) {

    .icon-image {
        width: 100px;
    }

    .image-row {
        gap: 30px;
    }

    .title {
        font-size: 2.5em;
    }

    .sub-title1 {
        font-size: 1.5em;
    }

    .sub-title2 {
        font-size: 2.7em;
    }

    .sub-title3 {
        font-size: 1.3em;
    }

    .table-scroll tr {
        display: block;
    }

    .table-scroll td {
        display: block;
        width: 100%;
    }

    .table-1 td:nth-child(1) {
        width: 15px;
    }
}
