@charset "utf-8";
/*
Block Editor Style
*/
:root {
    --primary-font: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", "YuGothic", sans-serif;
    --secondary-font: Helvetica, Arial, sans-serif;
    --text-primary: #000;
    --text-secondary: #777;
    --primary-color: #f57712;
    --secondary-color: #ffbd44;
    --tertiary-color: #fff0d2;
    --header-height: 60px;
    --max-width: 1400px;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: var(--max-width);
    padding-left: 2rem;
    padding-right: 2rem;
}

.is-layout-constrained > .box:where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    padding-left: 7rem;
    padding-right: 7rem;
}

h2.wp-block-heading {
    margin-bottom: 1em;
}

h3.wp-block-heading {
    margin-bottom: 1em;
}

h4.wp-block-heading {
    color: var(--text-light);
    font-weight: normal;
    margin-top: 2em;
    margin-bottom: 1em;
}

p+.wp-block-heading {
    margin-top: 2rem;
}

.wp-block-image :where(figcaption) {
    color: var(--text-light);
}

.wp-block-image.alignfull img {
    width: 100vw;
    max-width: initial;
}

.alignfull,
.is-style-wide {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    clear: both;
}

.alignfull.wp-block-pullquote {
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.alignwide {
    width: 110%;
    margin-left: -5%;
}

.is-cropped img {
    height: 100% !important;
}

.rounded-circle img {
    border-radius: 50% !important;
}

.rounded img {
    border-radius: .25rem !important;
}

/* .wp-block-gallery {
    flex-wrap: nowrap !important;
} */

.wp-block-gallery figcaption a {
    color: #fff !important;
}

.wp-block-embed-youtube .wp-block-embed__wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.wp-block-embed-youtube iframe {
    width: 100%;
    height: 100%;
}

.wp-block-table thead {
    border-bottom: 0 none;
}

.wp-block-table.border {
    border: 0 none !important;
}

.wp-block-table.border table {
    border-top: 1px solid #000;
}

.wp-block-table.border table tr {
    border-bottom: 1px solid #000;
}

.wp-block-table.border table th,
.wp-block-table.border table td {
    border: 0 none;
    vertical-align: top;
}

.wp-block-table table th,
.wp-block-table table td {
    padding: 20px !important;
}

.wp-block-table table th {
    background-color: var(--text-primary);
    color: #fff !important;
    text-align: center;
}

.wp-block-list {
    padding-left: 1.5rem;
    margin-left: 0;
    line-height: 1.6;
}

.wp-block-pullquote {
    border-bottom: 4px solid #0000000d;
    border-top: 4px solid #0000000d;
    padding: 4rem 0;
    text-align: center;
}

.wp-block-pullquote.is-style-solid-color {
    border: 0 none;
}

.wp-block-pullquote blockquote {
    border: 0 none;
}

.wp-block-pullquote blockquote:before {
    display: none;
}

.wp-block-pullquote blockquote p {
    margin-bottom: 1rem !important;
}

.wp-block-pullquote blockquote cite {
    font-style: normal;
}

.wp-block-quote__citation,
.wp-block-quote cite,
.wp-block-quote footer {
    color: #00000080;
    font-size: small;
    margin-top: 1em;
    position: relative;
    font-style: normal;
}

.wp-block-button__width-25 {
    width: 25%
}

.wp-block-button__width-50 {
    width: 50%
}

.wp-block-button__width-75 {
    width: 75%
}

.wp-block-button__width-100 {
    width: 100%
}

.wp-block-button a {
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--secondary-font);
    border: 1px solid var(--text-primary);
    padding: 1rem 4rem 1rem 3rem;
    border-radius: 4px;
}

.wp-block-button.is-style-outline a {
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--secondary-font);
    border: 1px solid var(--text-primary);
    padding: 1rem 4rem 1rem 3rem;
    border-radius: 4px;
    background: #fff url(/wp-content/themes/ray-kansai/images/pc_top_yajirusi.png) no-repeat;
    background-position: right 2rem top 50%;
    background-size: 1rem auto;
}

.wp-block-button.is-style-outline a:hover {
    border: 1px solid var(--text-primary);
    background-color: #f1f1f1;
}

.has-bg-light-background-color .wp-block-button.is-style-outline a {
    background-color: transparent;
}

.has-bg-light-background-color .wp-block-button.is-style-outline a:hover {
    background-color: #fff;
}

/* 769～1399px（Tablet） */
/* @media (min-width: 1400px) {
    .is-layout-constrained > .box:where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        padding-left: 6rem;
        padding-right: 6rem;
    }
} */

/* ～768px（SP） */
@media (max-width: 768.98px) {
    :root :where(.is-layout-flex) {
        gap: 20px;
    }

    .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .is-layout-constrained > .box:where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}