/*
Theme Name: shingen.tokyo
Theme URL: https://shingen.tokyo/
Description: サイトテンプレート
Author: 経営者倶楽部 桜梅桃李
Version: 2
*/
/* 全体の中央寄せ */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* 画面の高さいっぱい */
  background: #f0f0f0; /* やさしい背景色 */
}

/* フォームスタイル */
#login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 360px;
}
#login-form h2{
text-align: center;
    font-size: 24px;
}

/* 入力フィールド */
#login-form input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* ログインボタン */
#login-form button {
  width: 100%;
  padding: 0.75rem;
  background: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#login-form button:hover {
  background: #0056b3;
}



    .clearfix {
        display: block;
    }

    .sp {
        display: none;
    }

    body {
        font-family: "Noto Sans JP", sans-serif;
        color: #000;
        letter-spacing: 1px;
    }

    /* wrapper */
    #wrapper {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
    }

    /* header */
    header {
        width: 100%;
        background-color: #fff;
        border-radius: 0 0 20px 20px;
        text-align: center;
        padding: .5em 0;
        box-shadow: 0px 10px 15px -5px #ccc;
        margin: 0 0 2em;
    }

    header h1 {
        margin: 0 auto .3em;
        font-size: 2em;
    }

    header h2 {
        font-size: 24px;
        color: #fd0000;
    }

    /* search */
    #search {
        width: 100%;
        background: #fff;
        border-radius: 20px;
        position: relative;
    }

    #search h2 {
        font-size: 36px;
        color: #fd0000;
        text-align: center;
        padding: .5em;
        line-height: 2;
    }

    #search h2 span {
        display: block;
        font-size: 16px;
        color: #000;
    }

    #search_more {
        width: 90%;
        margin: 0 auto;
        border-top: #ccc 2px solid;
        padding: 2em 0;
    }

    #search_more>div {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-align-items: center;
        align-items: center;
        margin: 0 0 1.5em;
    }

    #search_more div h3 {
        width: 15%;
    }

    #search_more div div {
        width: 85%;
    }

    #search_more div div ul {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: .5em 1.5em;
    }

    #search_more div div ul li label {
        cursor: pointer
    }

    #search_more>div#search_btn_box {
        text-align: center;
        margin: 0;
    }

    .search_btn {
        width: 300px;
        background: #fd0000;
        padding: 1em 0;
        color: #fff;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        font-weight: bold;
        margin: 0 auto;
    }

    #more_btn {
        position: absolute;
        bottom: -50px;
        left: 50%;
        transform: translate(-50%, 0);
        line-height: 50px;
        background-color: #fff;
        border-radius: 0 0 20px 20px;
        display: block;
        width: 300px;
        text-align: center;
        cursor: pointer
    }

    #search_more {
        display: none;
        transition: all 0.3s ease;

    }

    #search_more.open {
        display: block;
    }

    /* list */
    #list {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 5em 0 0;
        gap: 2%;
    }



    #list article {
        width: calc((100% - (2% * 3)) / 4);
        margin: 0 0 2%;
        position: relative;
    }

    #list article figure {
        position: relative;
        margin: 0 0 3%;
    }

    #list article figure img{
    border-radius: 10px;
    }
    
    
    #list article p {
        padding: .5em 1em;
    }

    #list article p span{
            background-color: #f4cce6;
        color: #fff;
        padding: .1em 1em .3em;
    }
    .name {
        font-size: 18px;
        margin: 0 0 1em;
    }

    .name span {
        display: block;
        font-size: 16px;
    }

    #list article div {
        text-align: center;
        /*position: absolute;*/
        width: 100%;
        bottom: 5%;
        left: 0;
            margin: 1em 0 2em;
    }

    #list article div a {
        text-decoration: none;
        color: #000;
        width: 60%;
        display: block;
        margin: 0 auto;
        padding: .3em;
        background-color: #eeeeee;
        border-radius: 9999px;
    }

    /* ページネーション */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0 8px;
        list-style-type: none;
        padding: 0;
        margin: 0 0 3em;
    }

    .pagination a,.pagination .current span {
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 2em;
        height: 2em;
        border-radius: 25px;
        color: #fff;
        background-color: #b4b4b4;
        text-decoration: none;
    }

    .pagination .current a,.pagination .current span {
        background-color: #000000;
        color: #fff;
        pointer-events: none;
    }

    footer {
        border-top: #ccc 1px solid;
        padding: 2em;
        text-align: center;
        margin: 8em 0 0 0;
    }

    /* detail */
    #detail {
        background-color: white;
        border-radius: 20px;
        padding: 3em;
        margin: 0 0 3em;
    }
    #detail h1{
    font-size: 48px;
    text-align: center;
        margin: 0 0 1em;
    }
    
    #detail p{
    font-size: 2em;
    text-align: center;
    
    }
    #profile {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        margin: 0 0 3em;
    }

    #profile figure {
        width: 40%;
    }

    #profile div {
        width: 57%;
    }

    #profile div table {
        width: 100%;
    }

    #profile div table tr {
        border-bottom: #ccc 1px solid;
    }

    #profile div table th {
        width: 25%;
        text-align: left;
        padding: 1em 0;
        font-weight: bold;
    }

    #profile div table td {
        width: 75%;
        padding: 1em 0;
        word-break: break-all;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    #profile div table td span {
        display: block;
    }

    #profile div table td a {
        color: #fd0000;
        text-decoration: none;
    }

    #introduction h2 {
        font-size: 24px;
    }
#introduction p{
        margin: 0 0 1em;

}
    /* back */
    #back {
        text-align: center;
        margin: 3em 0 1em;
    }

    #back_btn {
        text-decoration: none;
        color: #fff;
        width: 180px;
        display: block;
        margin: 0 auto;
        padding: .3em;
        background-color: #000;
        border-radius: 9999px;
            border: #000 1px solid;
            cursor:pointer
    }

.wp-video {
        margin: 0 auto;

}
    /* next */
    #next {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        gap: 2em;
    margin: 0 0 3em;
    }

    #next article a {
        text-decoration: none;
        font-weight: bold;
        color: #000;
        display: flex;
        align-items: center;
        gap: 1em;
    }

    /* 画像反転（右向きにする） */
    #next article a .reverse {
        transform: scaleX(-1);
    }

    /* list_title */
    #list_title {
        font-size: 24px;
        text-align: center;
        width: 100%;
        margin: 0 0 1.5em;
        display: block;
    }

    .detail_list {
        margin: 0 0 3em;
        padding: 0;
    }
    
.article-right {
    margin-left: auto;
}

#search-conditions {
  background-color: #fff;
  border-radius: 10px;
  padding: 2em;
  text-align: center;
  margin-bottom: 20px;
}

#search-conditions h2 {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 24px;
}

#search-conditions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

#search-conditions ul li {
  display: inline-block;
  white-space: nowrap;
}


.level {
    background: #f8f8f8;
    border: #ccc 2px solid;
    padding: 2em;
    margin: 2em 0 0;
}

.level h2{
font-size: 1.3em;
}

.level li,#option ul li{
margin: 0 0 .5em;
}

#option {
padding: 3em 0;
}

#option h2{
font-size: 2em;
    text-align: center;
    margin: 0 0 1em;
  position: relative;
  padding: 0 65px;
}

#option h2:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: #000;
}

#option h2 span {
  position: relative;
  padding: 0 1em;
  background: #fff;
}
#option ul {
margin: 0 0 2em;

}

#option ul li{
        padding-left: 1em;
        text-indent: -1em;

}

#option div{
    text-align: center;
    margin: 0 0 1em;
}

#option div a{
    display: inline-block;
    border-radius: 999px;
    background-color: #e60012;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    padding: .5em 2em;
    margin: 0 auto;
    border-bottom: #c6161e 5px solid;
}


    .pp {
        width: 90%;
        margin: 0 auto 8%;
    }

    .pp h2 {
        font-size: clamp(24px, 19.8261px + 1.3043vw, 36px);
    }

    .pp>p {
        margin: 0 0 5%;
    }

    .pp article {
        margin: 0 0 5%;
    }

    .pp article h3 {
        font-size: clamp(16px, 13.2174px + 0.8696vw, 24px);
        margin: 0 0 3%;
    }

    .pp article p {
        margin: 0 0 2%;
    }


    .pp article ul li {
        padding-left: 1em;
        text-indent: -1em;

    }

    .pp table {
        width: 100%;
    }

    .pp article table {
        margin: 0 0 3%;
    }

    .pp table th {
        width: 30%;
        background-color: #f8f8f8;
        border: #ccc 1px solid;
        padding: 1em;
        text-align: left;
    }

    .pp table td {
        border: #ccc 1px solid;
        padding: 1em;
    }
    /*スマホ
------------------------------*/

    @media screen and (max-width: 750px) {
        .pc {
            display: none;
        }

        .sp {
            display: block;
        }

        /* header */
        header {
            text-align: center;
            padding: .3em 0;
        }

        header h2 {
            font-size: 16px;
        }

        /* search */
        #search {
            width: 90%;
            border-radius: 10px;
            margin: 0 auto;
        }

        #search h2 {
            font-size: 30px;
        }

        #search h2 span {
            font-size: 16px;
        }

        #search_more {
            border-top: #ccc 1px solid;
        }

    #search_more {
        display: none;
        transition: all 0.3s ease;
    }


        #search_more>div {
            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: column;
            flex-direction: column;
            -webkit-align-items: flex-start;
            align-items: flex-start;
            margin: 0 0 1.5em;
        }

        #search_more div h3 {
            width: 100%;
        }

        #search_more div div {
            width: 100%;
        }

        .search_btn {
            width: 65%;
            padding: .8em 0;
            border-radius: 5px;
        }

        #more_btn {
            bottom: -35px;
            line-height: 35px;
            border-radius: 0 0 10px 10px;
            width: 180px;
            font-size: 12px;
        }

        /* list */
        #list {
            width: 90%;
            margin: 0 auto;
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: flex-start;
            align-items: flex-start;
            padding: 3em 0 0;
        }



        #list article {
            width:49%;
            margin: 0 0 1em;
            position: relative;
        }

        #list article figure {
            position: relative;
        }

        footer {
            border-top: #ccc 1px solid;
            padding: 2em;
            text-align: center;
            margin: 5em 0 0 0;
            font-size: 12px;
        }

        /* detail */
        #detail {
            padding: 2em;
        }

    #detail h1{
    font-size: 20px;
    text-align: center;
    }
    
    
        #profile {
            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: column;
            flex-direction: column;
        }

        #profile figure {
            width: 100%;
        }

        #profile div {
            width: 100%;
        }


        #profile div table th {
            width: 100%;
            display: block;
            padding: 1em 0 0;
        }

        #profile div table td {
            width: 100%;
            display: block;
            padding: 0 0 1em;
        }

        #profile div table td span {
            display: block;
        }

        #profile div table td a {
            color: #fd0000;
            text-decoration: none;
        }

        #introduction h2 {
            font-size: 20px;
        }

        /* next */
        #next {
            width: 90%;
            margin: 0 auto 2em;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center;
	align-items: center;
        }
.article-right {
    margin-left: 0;
}

        /* list_title */
        #list_title {
            margin: 0 0 1em;
        }
        
        #option h2 {
    font-size: 1.5em;
}
#option ul {
    margin: 0 auto 2em;
    width: 90%;
}
.level {
    background: #f8f8f8;
    border: #ccc 2px solid;
    padding: 1em;
    margin: 2em auto 0;
    width: 90%;
    box-sizing: border-box;
}


.level li{
        padding-left: 1em;
        text-indent: -1em;

}

#list article div a{
        font-size: .8em;
        width: 90%;
        box-sizing: border-box;
}

#list article p span{
font-size: 14px;
}
    }
    
.details_title {
margin: 2em 0;
    border-bottom: 1px solid #ccc;
    padding: 0 0 1em;
}