/*
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-logo {
  width: 107px;
  margin-bottom: 1rem;
}

/* 入力フィールド */
#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 {
        background: #f3f3f7;
        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;
        width: 107px;
    }

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

    /* 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);
        background: white;
        margin: 0 0 2%;
        padding: 0 0 5%;
        position: relative;
    }

    #list article figure {
        position: relative;
    }

    #list article figure p {
        color: #fff;
        font-size: 14px;
        background-color: #000;
        padding: 0 1em;
        position: absolute;
        top: 10px;
        left: 0;
        display: inline-block;
    }

    #list article p {
        padding: .5em 1em 0;
    }

    .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;
    }

    #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;
    }

    #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: 0 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
    }

    /* 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;
}


    /*スマホ
------------------------------*/

    @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-flex-direction: column;
            flex-direction: column;
            -webkit-align-items: flex-start;
            align-items: flex-start;
            padding: 3em 0 0;
        }



        #list article {
            width: 100%;
            margin: 0 0 1em;
            padding: 0 0 4em;
            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;
        }

        #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;
        }
    }