@charset "UTF-8";

html {
    font-size: 16px;
}
html, body {
    height: 100%;
}
body *, ::before, ::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
    background-color: #fff;
    color: #666666;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

/*-------------------------------------*/
.login-container {
    max-width: 400px;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
    padding: 20px;
    background-color: #fff;
    text-align: center;
}
.txt_regist_user {
    margin-top: 10px;
    margin-bottom: 40px;
    font-size: 14px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
}

.error-msg {
    color: red;
    font-weight: bold;
    margin-bottom: 1rem;
}

input[type="text"],
input[type="password"] {
    display: block;
    width: 100%;
    padding: 8px;
    margin-bottom: 1rem;
}

input[type="submit"] {
    display: block;
    width: 100%;
    padding: 8px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 10px;
}
.logininfo {
    margin-right: 20px;
}
section .logout_link #logout {
    margin-left: 20px;
}

.user_navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 0px;
    margin-left: auto;
    margin-bottom: 10px;
    margin-top: 10px;
}

.user_navigation .right_group {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.user_navigation .breadcrumb {
    margin-right: 20px;
    font-size: 10px;
}

.user_navigation .logininfo {
    margin-right: 20px;
}

td, th {
    padding: 8px;
    text-align: left;
}
.logout_link {
    text-align: right;
    margin-right: 0px;
    margin-left: auto;
    margin-bottom: 10px;
    margin-top: 10px;
}

/*-------------------------------------*/

.table_1px {
    border-collapse: collapse;
    width: 100%;
}

.table_1px th,
.table_1px td {
    border: 1px solid #000;
    padding: 8px;
}

.table_1px th {
    background-color: #f2f2f2;
}

.tbl_member_info {
    width: 500px;
    border-collapse: collapse;
    margin-left: 0;
    font-size: 12px;
}

.tbl_member_info th {
    width: 200px;
    border: 1px solid #000;
    padding: 8px;
    background-color: #f2f2f2;
    text-align: left;
}

.tbl_member_info td {
    width: 300px;
    border: 1px solid #000;
    padding: 8px;
}

/* footerを下部に固定 */
#wrapper {
    min-height: 100%; 
    display: flex; 
    flex-direction: column;
}

main {
    flex: 1;
}

footer.ft_main {
    width: 100%;
}
.sub_title {
    text-align: center;
}
.systemlink {
    margin-top: 10px;
    margin-bottom: 30px;
}

.user-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info-link {
    text-align: right;
}
.toUserTop {
    margin-left: auto;
    margin-right: auto;
}

.content-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
	width: 1000px;
}

.left-content {
    text-align: left;
    flex: 1;
}

.right-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
    max-width: 1000px;
}

.right-content img {
    width: auto;
    max-height: 100%;
    margin: 0;
}

.paonshlogo-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.login-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    border: 1px solid black;
    background-color: white;
    color: black;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.login-button:hover {
    background-color: black;
    color: white;
}

.aboutus {
    position: relative;
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
    margin: 5px auto;
    max-width: 800px;
    padding: 20px;
    background-image: url('../images/polyberkin_haikei.png');
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    color: #333;
}

.aboutus h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.aboutus p {
    margin: 20px 0;
}

.aboutus .signature {
    text-align: right;
    font-weight: bold;
    margin-top: 40px;
}

/* ShareHubリンクのスタイル */
.sharehub-link {
    text-decoration: none; /* リンクの下線を削除 */
    display: inline-block; /* インラインブロック要素として扱う */
    transition: background-color 0.3s, opacity 0.3s; /* スムーズな変化 */
}

.sharehub-link:hover .sharehub-container {
    background-color: rgba(128, 128, 128, 0.5); /* グレーの半透明 */
}

/* 画像とフッター間の空白を解消するスタイル */


.right-content {
    display: flex; /* フレックスボックスを有効化 */
    justify-content: flex-end; /* 右寄せ */
    align-items: center; /* 垂直方向でセンタリング */
    margin: 0;
    padding: 0;
}


/* mainセクションの高さ調整 */
main {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 内容を上下に分散 */
    min-height: 100vh; /* 全画面を埋める */
    margin: 0; /* 外部余白をゼロに */
    padding: 0; /* 内部余白をゼロに */
}

/* footerの調整 */
footer {
    margin: 0; /* 外部余白をゼロに */
    padding: 0px 0; /* 内部余白を調整 */
    background-color: #1BA3CC;
    color: white;
    text-align: center;
}


@media (min-width: 768px) {
    .container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0px;
    }
}

header {
    background-color: #909090;
    border-bottom: 10px solid #E2D263;
}
header .container {
    min-height: 100px;
    padding-top: 0;
    padding-left: 105px;
    padding-right: 50px;
    padding-bottom: 20px;
}

.logo-link {
    display: inline-block;
    margin-top: 20px;
    margin-right: 10px;
}

.logo-image {
    width: 60px;
    vertical-align: middle;
}

header .container h1,
header .container h2 {
    margin: 0px 10px 0px 0px;
    color: #fff;
    line-height: 1;
}
header .container h1 {
    padding: 23px 0 5px 0;
    border-bottom: 1px dotted #fff;
    font-size: 24px;
    font-weight: 500;
}
header .container h2 {
    padding: 6px 0 0 0;
    font-size: 14px;
    font-weight: 400;
}

main {
    min-height: calc(100% - 156px);
}
main .container {
	margin: 0 auto;
	background-color: #fff;
	width: 1000px;
}

footer {
	background-color: #1BA3CC;
}
footer .container {
    min-height: 50px;
    padding-top: 0px;
    padding-bottom: 10px;
    color: #fff;
    font-size: 12px;
    text-align: right;
    margin-top: 0px;
}

.submit-container {
    text-align: center;
}
.paonshlogo-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

input[type="submit"] {
    display: inline-block;
    width: 200px;
    padding: 8px;
    background-color: #6B6B6B;
    border: none;
    color: #fff;
    cursor: pointer;
}

@media (min-width: 768px) {
    footer .container {
        min-height: 50px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}
footer .container p {
    margin: 0;
}

a {
    color: #ed8a29;
    text-decoration: none;
}
a:hover {
    color: #ffb974;
    text-decoration: underline;
}

/* 以下は新規追加部分 */
/* Palyokota Onlineの下にスペースを追加 */
.spacing {
	margin-bottom: 30px;
}

/* ShareHubのコンテナスタイルを追加 */
.sharehub-container {
    border: 1px solid #000;
    padding: 10px;
    display: inline-block;
    text-align: center;
}

/* カスタムリンクスタイル */
.custom-link {
    font-size: 14px;
    color: #1BA3CC;
    text-decoration: underline;
    display: block;
    margin-top: 10px;
    text-align: center;
}
.custom-link:hover {
    color: #007bff;
    text-decoration: none;
}
