/*
 * base.css - CSS custom properties and minimal base variables
 * Created/updated: root variables for the theme
 */

:root {
    --primary-color: #fe7143;
    --bg-color: #fef7e7;
    --bg-color-2: #efefef;
    --text-color: #737373;
    --badge-color: #666666;
    --white-color: #ffffff;
    --border-color: #E5E5E5;
    --placeholder-color: #999999;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2.4rem;
}

h5 {
    font-size: 2rem;
}

h6 {
    font-size: 1.6rem;
}

a {
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

p {
    font-size: 1.4rem;
}

ul,
ol {
    list-style: none;
}

input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
}

/* Reusable pill badge (rounded orange pill used for dates/labels) */
.pill-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 4px 25px;
    border-radius: 9999px;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.pill-badge:focus {
    outline: 3px solid rgba(255, 255, 255, 0.15);
    outline-offset: 2px;
}

.required {
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 1.2rem;
    padding: 2px 8px;
    margin-left: 8px;
}

/* loading */
#loading {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

.loading-item {
    width: 6em;
    height: 6em;
    transform-origin: center;
    animation: rotate4 2s linear infinite;
}

.loading-item circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3.5;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash4 1.5s ease-in-out infinite;
}

@keyframes rotate4 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash4 {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}

@media (max-width: 768px) {
    .pc-br {
        display: none;
    }
}