/* パスワード入力画面 */
.post-password-form {
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    margin: 20px auto;
}


/* reset cssここから */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;

}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* reset cssここまで */
/* 共通部分ここから */
/* ヘッダーここから */
header {
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

/* ヘッダーここまで */
/* フッター */
footer {
    width: 100%;
    background: #E6F3FF;
    height: 86px;
    border-top: solid 3px #000000;
    position: fixed;
    bottom: 0;
    left: 0;

}

#footer_container {
    margin: 10px auto 0 auto;
    display: flex;
    justify-content: space-between;
    width: 350px;
}

footer a {
    width: 70px;
}


/* フッターここまで */

/* 共通部分ここまで */

/*ページトップに戻るボタン*/
.top-button {
    width: 120px;
    /* 全体の幅 */
    height: 140px;
    /* 高さも固定 */
    text-align: center;
    display: inline-block;
    margin: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

.top-button a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.top-button img {
    width: 60px;
    /* アイコンのサイズ統一 */
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

.top-text {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    font-weight: 700;
    margin-top: -10px;
}

/*ページトップに戻るボタン ここまで*/

/* 経営理念サイトトップページ */
main {
    background: url(./images/top_back01_tate_s.jpg);
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;

}

#top_page #title {
    padding-top: 50px;
}

#top_page #title h2 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

#top_page #philosophy {
    margin-top: 41px;

}

/*#top_page #philosophy_container {
    padding-top: 14px;
    background: rgba(249, 252, 253, 0.6);
    border-radius: 10px;
    border: solid 1px rgba(249, 252, 253, 0.1);
    width: 295px;
    height: 142px;
    margin: 0 auto;
    box-shadow: 0 4px 4px rgba(48, 110, 243, 0.15);
}*/

#top_page #philosophy_container p {
    line-height: 1.5;
    font-size: 18px;
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
}

#top_page #icons {
    margin-top: 60px;
}

#top_page #icons_container {
    width: 288px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 90px 90px 90px;
    gap: 19px 9px;
}

#top_page #icons_container .icon a {
    width: 100%;
    display: block;

}

#top_page #icons_container .icon a img {
    width: 80px;
    display: block;
    margin: 0 auto;
}

#top_page #icons_container .icon a h3 {
    margin-top: 7px;
    text-align: center;
    font-size: 14px;
    font-family: "Noto Sans JP", sans-serif;
}

/* 経営理念サイトトップページ ここまで*/
/* グループ行動指針ページここから */
.wp-block-heading.is-style-heading-border::after,
h3.wp-block-heading:not([class*=is-style-])::after,
h3.wp-block-heading.is-style-default::after {
    content: "";
    display: none;
    width: 0;
    height: 0;
    margin-top: 0;
    background: none;
}

#group_policy_page {
    padding-top: 48px;
    background: url(./images/top_back01_tate_s.jpg);
    background-size: cover;
    background-attachment: fixed;
}

#group_policy_page #title h2 {
    background: url(./images/group_frame1_s.png) no-repeat;
    background-size: 100%;
    background-position: center;
    width: 320px;
    height: 94px;
    margin: 0 auto;
    padding-top: 14px;
    text-align: center;
    font-size: 24px;
    font-family: "Noto Sans JP", sans-serif;
}

#group_policy_page #descriptipn_container {
    height: 134px;
    width: 290px;
    margin: 7px auto 0 auto;
    background: #EEEEEE;
    border: solid 1px #cccccc;
    display: flex;
    align-items: center;
    position: relative;
}

#group_policy_page #descriptipn_container #wire {
    position: absolute;
    top: -5px;
    left: -5px;
    height: 134px;
    width: 290px;
    border: solid 1px #cccccc;

}

#group_policy_page #descriptipn_container #base p {
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    padding: 0 20px;
}

#group_policy_page #policy_contents {
    padding-bottom: 7px;
}

#group_policy_page #policy_container {
    margin: 24px auto 120px auto;
    width: 306px;
    /*border-top: solid 5px #848893;
    background-color: #FFFFFF;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);*/
    padding-bottom: 13px;
}

#group_policy_page #policy_container h3 {
    margin-top: 13px;
    font-size: 18px;
    background: url(./images/group_frame2_s.png);
    background-size: 320px 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    width: 309px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#group_policy_page #policy_container p {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 16px;
}


.subtitle {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.5;
}

/* グループ行動指針ページここまで */
/* コンプライアンスページここから */
#compliance {
    padding-top: 40px;
    padding-bottom: 120px;
}

#message_container {
    width: 309px;
    height: 134px;
    margin: 10px auto 0 auto;
    background: rgba(48, 110, 243, 0.15);
    border: solid 1px #C9D0FF;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

#message_container h2 {
    font-size: 26px;
    line-height: 1.5;
    font-family: "Noto Sans JP", sans-serif;
    padding: 10px 20px;
}

#message_container p {
    font-size: 18px;
    line-height: 1.5;
    font-family: "Noto Sans JP", sans-serif;
    padding: 0 20px;
}

#compliance_contents {
    margin-top: 28px;
}

#compliance_contents .title {
    margin: 0 auto;
    width: 284px;
    height: 69px;
    background: url(./images/compliance_frame_s.png) no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

#compliance_contents h2 {
    font-size: 24px;
    font-family: "Noto Sans JP", sans-serif;
    color: #FFFFFF;
    text-align: center;
}

#compliance_contents .article {
    margin: 10px auto;
    width: 306px;
}

#compliance_contents .article h3 {
    width: 313px;
    height: 69px;
    background: url(./images/compliance_frame2_s.png);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-family: "Noto Sans JP", sans-serif;
    margin-top: 28px;
    padding-bottom: 15px;
}

#compliance_contents .article .compliance_subtitle_1 {
    width: 313px;
    height: 69px;
    background: url(./images/compliance_frame2_s.png);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17.5px;
    font-weight: bold;
    padding-bottom: 15px;
    font-family: "Noto Sans JP", sans-serif;
    margin-top: 28px;
}


#compliance_contents .article p {
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.5;

    margin-top: 16px;
}

.compliance_pdf a {
    color: blue;
    text-decoration: underline;
}

.compliance_pdf a:hover {
    text-decoration: none;
}

/*  コンプライアンスページここまで */

/* 安全衛生・環境・品質方針ここから */
#safty_page {
    padding-top: 40px;
    padding-bottom: 120px;
}


#safty_contents .title {
    width: 309px;
    height: 102px;
    margin: 0 auto;
    background: url(./images/safety_frame.png);
    display: flex;
    align-items: center;
    justify-content: center;
}

#safty_contents .title h2 {
    font-size: 24px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
}

#safty_contents .article {
    width: 306px;
    margin: 20px auto;
}

#safty_contents .article h3 {
    width: 300px;
    height: 69px;
    background: url(./images/safety_frame2_s.png);
    background-size: 330px 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

#safty_contents .article p {
    margin-top: 20px;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.5;
}

.wp-image-3026 {
    display: inline-block;
    position: relative;
    top: 4px;
}

.safty_pdf a {
    color: blue;
    text-decoration: underline;
}

.safty_pdf a:hover {
    text-decoration: none;
}


/* 安全衛生・環境・品質方針ここまで */

/* サステナビリティここから */

#eng-sustainability_page {
    padding-top: 55px;
    padding-bottom: 120px;
}


#eng-sustainability_contents .title {
    margin: 0 auto;
    width: 284px;
    height: 69px;
    background: url(./images/タイトルS.png);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}


#eng-sustainability_contents .title h2 {
    font-size: 24px;
    font-family: "Noto Sans JP", sans-serif;
}

#eng-sustainability_contents .article {
    width: 306px;
    margin: 20px auto;
}

#eng-sustainability_contents .article h3 {
    width: 300px;
    height: 80px;
    background: url(./images/中期経営計画_大タイトル_S.png) no-repeat;
    background-size: 300px 80px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#eng-sustainability_contents .article h3 span {
    transform: translateY(5px);
    /* ← 文字だけ下に */
    display: inline-block;
}

#eng-sustainability_contents .article p {
    width: 300px;
    min-height: 250px;
    margin-top: 20px;
    background: url(./images/フレーム縦_S.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 20px 40px;
    /* 上下60px・左右50pxなど */
    box-sizing: border-box;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.5;
}

/* クリック可能に */
.wp-block-image img {
    cursor: pointer;
    transition: transform 0.3s;
}

.wp-block-image img:hover {
    transform: scale(1.03);
}

/* ポップアップの背景（オーバーレイ） */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 拡大画像 */
.popup-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: popIn 0.25s ease;
}

/* 拡大アニメーション */
@keyframes popIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* サステナビリティここまで */

/* 中期経営計画ページここから */
#medium_term_plan_page {
    padding-top: 45px;
    padding-bottom: 120px;
}

#main_title_container {
    width: 309px;
    height: 134px;
    margin: 0 auto;
    background: url(./images/中期経営計画_タイトル_s.png) no-repeat;
    background-position: center;
    background-size: cover;
}

#main_title_container h2 {
    font-size: 30px;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    margin-top: 50px;
}

#main_title_container p {
    font-size: 18px;
    line-height: 1.5;
    font-family: "Noto Sans JP", sans-serif;
}

#medium_term_plan_contents {
    margin-top: 28px;
}

#medium_term_plan_page #title h2 {
    background: url(./images/中期経営計画_タイトル_s.png) no-repeat;
    background-size: 330px 110px;
    background-position: center;
    width: 309px;
    height: 94px;
    margin: 0 auto;
    padding-top: 25px;
    text-align: center;
    font-size: 24px;
    font-family: "Noto Sans JP", sans-serif;
}

#medium_term_plan_contents h2 {
    font-size: 24px;
    font-family: "Noto Sans JP", sans-serif;
    color: #FFFFFF;
    text-align: center;
}

#medium_term_plan_contents .article {
    background: url(./images/中期経営計画_フレーム_縦_s.png) no-repeat;
    background-size: 100%;
    width: 320px;
    height: 300px;
    padding-top: 25px;
    margin: 10px auto;
}

#medium_term_plan_contents .article p {
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.5;
    margin-top: 30px;
    margin-left: 10px;
}

#medium_term_plan_contents .sub_title {
    background: url(./images/サステナビリティ_中タイトル_S.png) no-repeat;
    background-size: 390px 110px;
    background-position: center;
    width: 350px;
    height: 94px;
    margin: 0 auto;
    padding-top: 35px;
}

#medium_term_plan_contents .sub_title h2 {
    color: black;
    font-size: 19px !important;
    font-family: "Noto Sans JP", sans-serif;
}


/* 中期経営計画ページここまで */