/* 共有 */
html {
    font-size: 62.5%; 
}
body {
    padding: 0 0 0;
    margin: 0 0 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}
a {
    text-decoration: none;
    color: #333;
}
p {
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 0 0 0;
    margin: 0 0 0;
}
ul {
    padding: 0 0 0;
    margin: 0 0 0;
    list-style: none;
}

#content {
    position: relative;
    padding: 100px 0;
}

.inner {
    width: 1200px;
    margin: 0 auto;
}

.display-pc {
    display: block;
}
.display-sp {
    display: none;
}

.br-pc {
    display: block;
}
.br-sp {
    display: none;
}

.h1-box {
    position: absolute;
    top: 10px;
    right: 20px;
}
.h1-box h1 {
    font-size: 1.2rem;
}

:root {
  --bg: #ccc;
  --bg-dark: #aaa9a9;
  --bg-light: #EBEBEB;
  --bg-yellow: #FFF6D9;
  --bg-parts: #34464A;
  --btn-red: #DF295B;
  --shadow: 8px 6px 30px 0px #d6d6d6;
}

@media screen and (max-width: 768px) {
    #content {
        padding: 50px 0;
    }

    .inner {
        width: 100%;
        margin: 0 0;
        padding: 0 20px;
    }
    .display-pc {
        display: none;
    }
    .display-sp {
        display: block;
    }
    .br-pc {
        display: none;
    }
    .br-sp {
        display: block;
    }

    .h1-box {
        display: none;
    }
    
}

/* header */
header {
    background-color: var(--bg-parts);
    height: 70px;
}
.header-box {
    position: relative;
}
.header-box .h-logo {
    position: absolute;
    top: 10px;
    left: 0%;
}
.header-box .h-logo p{
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
}
.header-box .header-list li {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 表示ページのみテキスト表示 */
.header-box .header-list li {
    display: none;
}
.header-box .header-list li a {
    font-size: 2.5rem;
    font-weight: bold;
    padding-top: 15px;
    color: #fff;
    pointer-events: none;
}
#header-record .header-box .header-list li.record,
#header-listing .header-box .header-list li.listing  {
    display: flex;
    justify-content: center;
}

/* 必須項目 */
p span.note {
    font-size: 1.6rem;
    color: #fff;
    background-color: var(--btn-red);
    padding: 0 3px;

    display: inline-flex;
    align-items: center;
}

/* エラーメッセージ */
.error{
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--btn-red);
}

@media screen and (max-width: 768px) {
    header {
        height: 55px;
    }
    .header-box .h-logo {
        top: 17px;
        left: 20px;
    }
    .header-box .h-logo .top {
        display: none;
    }
    .header-box .h-logo p{
        font-size: 2rem;
        text-align: center;
    }
    .header-box .h-logo img {
        width: 25px;
        object-fit: cover;
        object-position: center;
    }

    /* TOPのみ */
    #header-top .header-box .h-logo {
        top: 12px;
    }
    #header-top .header-box .h-logo .top {
        display: block;
    }
    #header-top .header-arrow {
        display: none;
    }

    /* 表示ページのみテキスト表示 */
    .header-box .header-list li {
        padding-top: 15px;
    }
    .header-box .header-list li a {
        font-size: 2rem;
        padding-top: 0;
    }
}

/* footer */
footer {
    background-color: var(--bg-parts);
}
.footer-box .footer-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
}
.footer-box .footer-list li a {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

/* 表示ページのみテキストリンクに下線追記 */
.footer-box .footer-list li a {
    text-decoration: none;
    transition: 0.3s;
}
.footer-box .footer-list li a:hover {
    opacity: 0.7;
}
#footer-top .footer-box .footer-list li.top a,
#footer-record .footer-box .footer-list li.record a,
#footer-listing .footer-box .footer-list li.listing a  {
    text-decoration: underline;
}

.copy-right {
    background-color: #fff;
    padding: 15px 0;
}
.copy-right p {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .footer-box .footer-list {
        gap: 15px;
        padding: 20px 0;
    }
    .footer-box .footer-list li a {
        font-size: 1.8rem;
    }

    /* 表示ページのみテキストリンクに下線追記 */
    .footer-box .footer-list li a {
        padding: 10px 10px;
    }

    .copy-right {
        padding: 10px 0;
    }
    .copy-right p {
        font-size: 1.2rem;
    }
    
}

/* 共通ボタン */
.com-btn {
    width: 280px;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 50px;
    background-color: #fff;
    border: solid 1px #ccc;
    cursor: pointer;
    transition: 0.3s;
}
.com-btn.wh100 {
    margin: 0 auto ;
}
.com-btn:hover {
    opacity: 0.7;
}
.com-btn.color {
    color: #fff;
    background-color: var(--btn-red);
    border: none;
}
.com-btn p {
    font-size: 2rem;
    font-weight: bold;
}
.com-btn img {
    width: 22px;
    object-fit: contain;
    object-position: center;
}
@media screen and (max-width: 768px) {
    .com-btn {
        width: calc( ( 100% - 15px ) / 2 );
    }
    .com-btn.wh100 {
        width: 100%;
    }
    .com-btn p {
        font-size: 1.8rem;
    }
    .com-btn img {
        width: 22px;
        object-fit: contain;
        object-position: center;
    }
}

/* カテゴリーボタン ※record.phpとlisting.php*/
.category-buttons {
    display:flex;
    flex-wrap:wrap;
    gap: 10px 10px;
}
.category-buttons input {
  display: none;
}
.category-buttons label {
  padding: 10px 15px;
  border: 1px solid #333;
  cursor: pointer;
  font-size: 1.8rem;
}
.category-buttons input:checked + label {
  background: #333;
  color: #fff;
}