* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "BIZ UDPGothic", "游ゴシック体", YuGothic, "Yu Gothic", Helvetica, Roboto, "Droid Sans", メイリオ, Meiryo, "ヒラギノ角ゴ Pro", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
    line-height: 1.8;
}

.pc {
    display: none;
}

@media print, screen and (min-width: 720px) {
    .pc {
        display: unset;
    }

    .sp {
        display: none;
    }
}

.serif {
    font-family: "BIZ UDMincho", "Yu Mincho Demibold", "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

header,
article {
    width: 100%;
    max-width: 720px;
}

article {
    padding: 16px 0;
}

img {
    max-width: 100%;
}

h1 {
    margin: 0;
}

h1 img {
    width: 100%;
}

h2 {
    border-left: 8px solid #FDA0B8;
    margin-left: 8px;
    padding-left: 8px;
    margin-top: 64px;
    line-height: 1.2;
    font-size: 160%;
}

h3 {
    margin-top: 48px;
}

.button {
    position: relative;
    margin-bottom: 32px;
    font-size: 160%;
    font-weight: bold;
    padding: 16px;
    color: white;
    border: 1px solid rgb(102, 58, 1);
    border-radius: 30px;
    height: 60px;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    background: rgb(190, 216, 190);
    background: linear-gradient(180deg, rgb(228, 183, 166) 0%, rgb(233, 74, 0) 50%, rgb(224, 91, 38) 100%);
}

.button:before {
    content: "";
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    background: white;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.4));
    border-radius: 34px;
    z-index: -1;
}

.button:hover {
    background: linear-gradient(180deg, rgba(228, 183, 166, 0.9) 0%, rgba(233, 74, 0, 0.9) 50%, rgba(224, 91, 38, 0.9) 100%);
}

.button div {
    transition: transform 0.5s ease;
    filter: drop-shadow(0px 0px 3px rgba(0, 32, 0, 0.8));
}

.button:hover div {
    transform: translateY(-2px);
    filter: drop-shadow(0px 0px 3px rgba(0, 32, 0, 1));
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

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

.space-top {
    margin-top: 32px;
}

.small {
    font-size: 80%;
}

.medium {
    font-size: 130%;
    line-height: 1.6;
}

.large {
    font-size: 160%;
    line-height: 1.4;
}

.bold {
    font-weight: 700;
}

.red {
    color: #cc0033;
}

.blue {
    color: #416F9E;
}

.green {
    color: #228B84;
}

.shadow-white {
    text-shadow: 3px 3px 3px #ffffff,
        -3px 3px 3px #ffffff,
        3px -3px 3px #ffffff,
        -3px -3px 3px #ffffff,
        2px 2px 2px #ffffff,
        -2px 2px 2px #ffffff,
        2px -2px 2px #ffffff,
        -2px -2px 2px #ffffff;
}

.underline {
    border-bottom: 4px solid #FDA0B8;
}

.nowrap {
    white-space: nowrap;
}

.group {
    margin: 8px 0;
}

.group-wide {
    margin: 16px 0;
}

.description-box {
    background-color: #FFFCCC;
    border: 4px solid #FBAE7C;
    padding: 16px;
    margin: 16px;
}

.description-box h3 {
    border-bottom: 2px dashed #FBAE7C;
}

.description-box h3:before {
    content: " ";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: #F97932;
    border-radius: 0.5em;
    margin-right: 0.2em;
    transform: translateY(0.1em);
}

.corner-title-box {
    display: inline;
    padding: 4px;
    background-color: #416F9E;
    color: white;
    font-size: 120%;
}

.corner-wrapper {
    transition: all 0.8s ease;
    transform: translateY(64px);
    opacity: 0;
}

.corner-wrapper.visible {
    transform: translateY(0px);
    opacity: 1;
}

.corner-title-box {
    white-space: nowrap;
}

.corner-content {
    margin-top: 16px;
    padding: 0 16px;
}

.corner-content-img {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}

.corner-content-img :first-child {
    width: 75%;
}

.corner-content-img :nth-child(2) {
    width: 50%;
    align-self: flex-end;
    margin-top: -10%;
}

.corner-content-img :nth-child(3) {
    margin-top: 5%;
    width: 75%;
}

.corner-sample {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 16px;
    column-gap: 8px;
}

.corner-sample-img {
    max-width: 140px;
}

.corner-sample-video-container {
    flex-grow: 1;
    width: 320px;
    padding-bottom: 56.25%;
    position: relative;
}

.corner-sample-video-ratio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.corner-sample-video {
    width: 100%;
    height: 100%;
}

.impression-box {
    background-color: #FFE6E6;
    border: 4px dashed #FF9999;
    padding: 16px;
    margin: 16px;
    margin-top: 128px;
}

.impression-subheader {
    transition: all 0.3s ease;
    transform: scaleX(0.5) scaleY(0.0) translateY(64px);
    margin-bottom: 16px;
}

.impression-subheader.visible {
    transform: scaleX(1.0) scaleY(0.9) translateY(0px);
}

.impression-subheader::before {
    content: ' ';
    display: inline-block;
    border-left: 2px solid black;
    transform: rotate(-25deg);
    width: 10px;
    height: 20px;
}

.impression-subheader::after {
    content: ' ';
    display: inline-block;
    border-right: 2px solid black;
    transform: rotate(25deg);
    width: 10px;
    height: 20px;
}

.impression-voice {
    transition: all 0.8s ease;
    width: 40%;
    min-width: 200px;
    max-width: 360px;
    padding: 2%;
    transform: rotate(0deg) scale(0.0) translateY(128px);
}

.impression-voice1.visible {
    transform: rotate(-10deg) scale(1.0) translateY(0px);
    transform-origin: bottom right;
}

.impression-voice2.visible {
    transform: rotate(10deg) scale(1.0) translateY(0px);
    transform-origin: bottom left;
}

.impression-item {
    display: flex;
    flex-wrap: wrap;
    margin-top: 64px;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}

.impression-item-image {
    width: 64px;
}

.impression-item-text {
    width: 196px;
    min-width: 196px;
    flex-grow: 1;
}

.image-description-title {
    text-align: center;
}

.image-description-title div {
    display: inline;
    padding: 4px;
    border-bottom: 4px solid #c0f0ff;
    border-radius: 50%;
}

.image-description-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
}

.image-description-box-image {
    display: flex;
    justify-content: center;
}

.image-description-box-image-1 {
    display: flex;
    flex-direction: column;
}

.image-description-box-image-1 :first-child {
    width: 60%;
    border: 4px solid red;
    box-shadow: 0px 0px 10px #202020A0;
}

.image-description-box-image-1 :nth-child(2) {
    width: 40%;
    z-index: 2;
    align-self: center;
    margin-top: -5%;
    transform: rotate(-10deg);
}

.image-description-box-image-1 :last-child {
    width: 50%;
    align-self: flex-end;
    margin: -50% 0 30% 0;
}

.no-bullet {
    list-style: none;
    margin-left: -1em;
}

.cource-wrapper {
    display: flex;
    flex-wrap: wrap;
    column-gap: 32px;
}

.cource-info {
    margin: 8px;
    width: 360px;
    flex-grow: 1;
    max-width: 90%;
}

.cource-name {
    color: #228B84;
    border-bottom: 2px dashed #228B84;
    margin-bottom: 4px;
}

@media print,
screen and (min-width: 540px) {

    .information-header-wrapper {
        justify-content: left;
    }

    .impression-box,
    .description-box {
        padding: 32px;
    }

    .corner-content {
        display: flex;
        flex-direction: row-reverse;
    }

    .corner-content-img {
        width: 60%;
        flex-shrink: 0;
    }

    .image-description-box {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .image-description-box:nth-of-type(2) {
        flex-direction: row-reverse;
    }

    .image-description-box-image {
        width: 60%;
        flex-shrink: 0;

    }
    .image-description-box-image-1 {
        width: 60%;
        flex-shrink: 0;
    }
}

.content-box {
    width: 100%;
}

.box {
    background-size: cover;
    padding: 16px;
    margin: 32px 0;
}

.box-1 {
    background-image: url('../img/bg1.jpg');
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: color;
}

.box-1 div {
    margin-left: 1em;
}

.box-1 .title {
    font-weight: bold;
    margin: 16px 0 0 0;
}

.box-1 .title::before {
    content: '●';
}

.box-2 {
    background-image: url('../img/bg22.jpg');
    background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: color;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
}

.box-2 .title {
    margin: 16px 0;
    font-weight: 900;
    color: #336699;
}

.box-2 > :last-child {
    margin-top: -100px;
}

.box-3 {
    background-image: url('../img/bg3.jpg');
    background-color: rgba(255, 255, 255, 0.2);
    background-blend-mode: color;
    display: flex;
    flex-direction: column;
}

.box-3 .title {
    margin: 16px 0;
    font-weight: 900;
    color: #CC0033;
}

.box-3 .cite {
    align-self: center;
}

.box-3 .cite :last-child {
    text-align: end;
}

.box-4 {
    background-image: url('../img/bg42.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box-4 .title {
    box-shadow: 3px 3px 3px #202020A0;
}

.space {
    flex-grow: 1;
}

.box-4 .present1 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 640px;
    margin-top: 32px;
}

.box-4 .present1 > :first-child img {
    width: 120px;
}

.box-4 .present1 > :last-child {
    flex-grow: 1;
    text-align: end;
}

.box-4 .present1 > :last-child img {
    max-width: 160px;
    transform: rotate(15deg);
    box-shadow: 3px 3px 3px #202020A0;
    margin: 32px 32px 0 32px;
    flex-grow: 1;
}

.box-4 .present2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    max-width: 640px;
    margin-top: 32px;
}

.box-4 .present-img img {
    box-shadow: 3px 3px 3px #202020A0;
}

.box-4 .present-img {
    display: flex;
    flex-direction: column;
    margin-top: 5%;
    flex-grow: 1;
}

.box-4 .present-img :first-child {
    width: 200px;
    transform: rotate(-15deg);
    z-index: 1;
}

.box-4 .present-img :last-child {
    width: 200px;
    z-index: 2;
    margin: -10% 0 0 80px;
}

.box-4 .present2 > :last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 32px;
}

.box-4 .present2 > :last-child img {
    width: 160px;
}

.tannisho {
    text-align: center;
}

.tannisho img {
    width: 70%;
}

.cource-list-wrapper {
    margin: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 4%;
    row-gap: 16px;
}

.cource-list-item {
    width: 0px;
    flex-grow: 1;
    min-width: 300px;
    border: #ffd180 solid 4px;
    background-color: #fff6e6;
    border-radius: 8px;
    padding: 16px;
    white-space: nowrap;
}

.cource-list-item div {
    font-size: 120%;
    font-weight: bold;
}

.jiten-list {
    border: #ffd180 solid 2px;
    background-color: #fff6e6;
    border-radius: 8px;
    padding: 8px;
    margin: 8px;
}

.jiten-list :last-child {
    text-align: end;
}
