@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho:wght@400;600;700&display=swap');

:root {
    --theme-color: #9e0000;
    --theme-color-screen: #9e3f3faf;
}

body {
    min-height: 0 !important;
}

#top-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

#page.site {
    min-height: calc(100vh - 45px);
    height: auto !important;
    display: flex;
    flex-direction: column;
}

#main-content {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
    margin: 0;
    filter: none;
}

.mute-icon-box {
    position: fixed;
    right: 50px;
    bottom: 35px;
    color: #fff;
    z-index: 1000;
    opacity: 30%;
    cursor: pointer;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    transition: 0.2s;
}

.mute-icon-box:hover {
    transition: 0.2s;
    opacity: 100%;
}

#muteIcon {
    width: 40px;
    height: 40px;
}

.dropshadow {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.dropshadow_button {
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease;
}

a:hover .dropshadow_button {
    box-shadow: 0 0 4px 4px rgba(255, 255, 255, 0.6);
    transition: box-shadow 0.2s ease;
}

#copy-text-p {
    position: relative;
    width: 60%;
    min-width: 620px;
    margin: 0 auto;
}

#copy-text-c {
    position: absolute;
    width: 100%;
    top: calc(50vh + 0px);
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#copy-text-c h1 {
    font-family: "Shippori Mincho", serif;
    font-size: 5.5em;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid white;
}

#copy_message {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.1em;
    font-weight: 400;
    margin-top: 25px;
}

h2.rec-h2, h3.rec-h3 {
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    text-align: center;
    width: fit-content;
    padding: 0 30px;
    border-bottom: none;
    margin: 50px auto 30px;
}

h2.rec-h2 {
    font-size: 2.5em;
    margin-bottom: 0;
}

h3.rec-h3 {
    font-size: 1.8em;
    border-bottom: 3px solid var(--theme-color);
}

h2 {
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-size: 2.2em;
}

.rec-button-grp {
    display: flex;
    text-align: center;
    justify-content: space-around;
    max-width: 600px;
    margin: 10px auto 50px;
}

.rec-button-grp p {
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-size: 1.5em;
    margin: 0;
}

.rec-button {
    /*border: 4px solid white;*/
    border-radius: 9999px;
    padding: 15px 60px;
    margin: 0;
    transition: 0.2s;
    background-color: rgba(127, 127, 127, 0.3);
}

a:hover .rec-button {
    background-color: var(--theme-color-screen);
    transform: scale(1.05);
    transition: 0.2s;
}

.rec-flow-grp {
    text-align: center;
    margin: 0 15% 100px;
    max-width: 1080px;
}

@media screen and (min-width: 1558px) {
    .rec-flow-grp {
        margin: 0 auto 100px;
    }
}

.rec-flow {
    border: 3px solid #ffffff;
    border-radius: 9999px;
    width: 80%;
    max-width: 400px;
    margin: 10px auto 0;
}

.rec-flow h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
}

.rec-flow:has(p) h3 {
    margin-bottom: 0;
}

.rec-flow p {
    margin-top: 5px;
    font-size: 0.7em;
}

.rec-flow-arrow {
  position: relative;
  display: inline-block;
  top: -3px;
  width: 3px;
  height: 50px;
  margin: 0 auto;
  border-radius: 9999px;
  background-color: white;
}

.rec-flow-arrow::before,
.rec-flow-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 30px;
  border-radius: 9999px;
  background-color: white;
  transform-origin: 50% calc(100% - 1.5px);
}

.rec-flow-arrow::before {
  transform: rotate(45deg);
}

.rec-flow-arrow::after {
  transform: rotate(-45deg);
}

table {
    margin: auto;
    padding: 0 20px;
    color: white;
    border: none;
    border-collapse: separate;
    border-spacing: 15px 30px;
    table-layout: none;
    background-color: rgba(18, 0, 0, 0.4);
    border-radius: 20px;
}

tr, th, td {
    border: none;
}

tr {
    width: fit-content;
}

td {
    vertical-align: top;
}

td:nth-child(1) {
    font-weight: bold;
    text-align: right;
}

td:nth-child(2) {
    border-left: 3px solid var(--theme-color);
    padding-left: 7px;
}

.mobile-only {
    display: none;
}

@media screen and (max-width: 959px) {
	/* 959px以下に適用されるCSS（タブレット用） */

    #copy-text-p {
        min-width: 0;
        width: 90%;
    }

    #copy-text-c h1 {
        font-size: 3.8em;
    }

    #copy_message {
        font-size: 0.9em;
    }

    .rec-button-grp {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
}

/* スマホではすべて縦並び */
@media screen and (max-width: 480px) {
	.wp-block-table table,
	.wp-block-table tbody,
	.wp-block-table tr,
	.wp-block-table td {
		display: block;
		width: 100%;
	}

	.wp-block-table tr {
		margin-bottom: 1em;
	}

	.wp-block-table td {
		box-sizing: border-box;
	}

    td:nth-child(1) {
        text-align: left;
    }

	.wp-block-table td:nth-child(1) {
		font-weight: bold;
	}

    #copy-text-c h1 {
        font-size: 2.5em;
    }

    #copy_message {
        font-size: 1em;
    }

    .mobile-only {
        display: inline;
    }
}