@charset "UTF-8";

.single-post-thumb{
    height: auto;
}
/*
フェード表示させる要素に使用するためのクラス
*/
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}

.flex-box{
    display: flex;
}

html{
    font-size: 100%;
}
li{
    list-style: none;
}
a{
    color: black;
    text-decoration: none;
}

img{
    width: 100%;
    height: 100%;
    vertical-align: bottom;
    object-fit: cover;
}
.title{
    text-align: center;
    padding: 40px 0;
}
.wrapper{
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2%;
}


.rounded-button{
    padding: 10px 20px;
    background-color: #ffffff; 
    color: #333; 
    font-size: 10px; 
    cursor: pointer; /* マウスカーソルを指の形に */
    border: 2px solid #0088FF; 
    border-radius: 30px; /* 角の丸み具合を指定 */
    margin-top: 30px;
    margin-left: auto;     /* 左側の余白を最大にして右に寄せる */
    margin-right: 0;       /* 右端に固定 */
    width: fit-content;    /* ボタンの幅を文字に合わせる（重要） */
    text-align: center;    /* ボタン内の文字は中央の方が見栄えが良いです */
    display: block;
}
.rounded-button:hover {
 border-color: #007bff; /* ホバー時に枠線を青色にする */
 transform: scale(1.05); /* ホバー時に1.05倍に拡大 */
}

.rounded-button a .arrow {
 display: inline-block; /* インラインブロック要素にする */
 transition: transform 0.3s ease-in-out; /* アニメーションを設定 */
}

.rounded-button:hover a .arrow {
 transform: translateX(5px); /* ホバー時に右に5px移動 */
}


button{
    margin-bottom: 40px;

}
/*header*/
header img{
    width: 200px;
    max-height: 20px;
}
h1{
    line-height: 0;
}
.header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    position: fixed;
    background-color: #ffffff;
    align-items: center;
    z-index: 10;
　　top: 0px;
}
header ul{
    display: flex;
    justify-content: space-between;
}
header ul li a{
    margin-left: 40px;
}
header ul li a:hover{
    opacity: 0.7;
    color: #007bff;
}


/*mainvisual*/
.mainvisual img{
    object-fit: cover;
}

/*news*/
.news{
    text-align: right;
    padding-right: 30px;
}
.news .news-line{
    text-align: left;
    margin: 0 auto;
}
.news dl {
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
}
.news dt{
    width: 20%;
    border-top: 1px solid #ccc;
    padding: 15px;
}
.news dd{
    width: 80%;
    border-top: 1px solid #ccc;
    padding: 15px;
}
.post-content{
    display: flex;
    justify-content: space-between;
}
.post-content .arrow {
 display: inline-block; /* インラインブロック要素にする */
 transition: transform 0.3s ease-in-out; /* アニメーションを設定 */
 margin-left: 10px;
}

.news-line a:hover .arrow {
 transform: translateX(5px); /* ホバー時に右に5px移動 */
}



/*company*/
.company{
    background-color: rgba(167, 211, 245, 0.2);
    text-align: right;
    padding-right: 30px;
}
.company .slider{
    width: 100%;
    height: 100%;
}
.company .slide-items img{
    padding: 0 10px;
}

/*business-details*/
.sales{
    display: flex;
    justify-content: center;
    gap: 20px;
}

.business-details img{
    height: 100%;
}

.sales a {
    color: black;
    text-decoration: none;
    display: inline-block;
}

.btn1,
.btn2 {
    position: relative;
    width:49%;
}

.btn1:hover,
.btn2:hover {
    opacity: 0.7;
}


.box-in {
    width:100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
}

#business-details-page .steel{
    display: flex;
    padding-bottom: 30px;
    width: 100%;
}
#business-details-page .common-steel{
    width: 20%;
}
#business-details-page .steel-type{
    display: flex;
    width: 50%;
}
#business-details-page .steel .img{
    width: 30%;
}
#business-details-page .steel-type ul{
    padding-left: 30px;
    list-style: none;
}
#business-details-page .steel-type ul li{
    position: relative; /* 擬似要素の位置の基準にする */
    margin-bottom: 0.5em; /* 項目間の余白 */
}

#business-details-page li::before {
  content: "●";      /* 記号として黒丸を挿入 */
  color: #007bff;    /* 👈 記号の色だけを赤に変更 */
  font-size: 1.2em;  /* 👈 記号のサイズだけを少し大きく */
  
  /* 記号の位置調整 */
  position: absolute;
  left: -1.5em;
  top: 0;
}

#business-details-page .business-details{
    padding-bottom: 40px;
}



/*works*/
.works{
    text-align: right;
}
.works .grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(3, 1fr);
}
.works .grid .item {
    transition: all  0.3s ease;
    box-shadow: 0 0 8px 4px #ccc;
}
.works .grid img {
    vertical-align: top;
    height: 150px;
}
.works .grid .item-content {
    padding: 30px;
}
.works .grid .item-cat {
    font-size: 0.75rem;
    margin-bottom: 20px;
    text-align: left;
}
.works .grid .item-text {
    font-weight: bold;
    margin-bottom: 20px;
}
.works .grid .item-date {
    font-size: 0.75rem;
    text-align: right;
}
.works ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.works ul li{
    background-color: rgba(167, 211, 245, 0.2);
    padding: 15px;
    margin: 0 10px;
    border-radius: 15px;

}
.works ul li p{
    text-align: center;
}
/*work個別*/

#works-page .grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(3, 1fr);
}
#works-page .grid .item {
    transition: all  0.3s ease;
    box-shadow: 0 0 8px 4px #ccc;
}
#works-page .grid .item a:hover {
    opacity: 0.7;
}
#works-page .grid .item .img {
    height: 150px;
}
#works-page .grid .item-content {
    padding: 30px;
}
#works-page .grid .item-cat {
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
}
#works-page .grid .item-text {
    margin-bottom: 20px;
}
#works-page .grid .item-date {
    font-size: 0.75rem;
    text-align: right;
}
#works-page .item-text{
    padding: 5px;
    background-color: #ffffff; 
    color: #333; 
    font-size: 0,65rem; 
    border: 2px solid gray; 
    border-radius: 30px; /* 角の丸み具合を指定 */
    text-align: center;

}
#works-page .item-content .text{
    display: flex;
    text-align: right;
    font-size: 0.65rem;
}

/*recruit*/
.recruit{
    margin-bottom: 40px;
    padding-right: 30px;
    text-align: center;
}

.recruit p{
    text-align: center;
}
.recruit-button{
    padding: 20px 20px;
    background-color: #ffffff; 
    color: #333; 
    cursor: pointer; /* マウスカーソルを指の形に */
    border: 2px solid #6DBD0B; 
    border-radius: 30px; /* 角の丸み具合を指定 */
    margin-top: 30px;
    width: 200px;
}

.recruit-button:hover {
 border-color: #6DBD0B; /* ホバー時に枠線を青色にする */
 transform: scale(1.05); /* ホバー時に1.05倍に拡大 */
}

#recruit-page .wrapper{
    background-color: #d4e7cf;
}
#recruit-page h4{
    color: #1EA200;
}
#recruit-page .site{
    text-align: center;
}
#recruit-page .site-text{
    padding: 10px 20px;
    background-color: #fcdcad; 
    color: #333; 
    cursor: pointer; /* マウスカーソルを指の形に */
    border: 2px solid #fd9800; 
    border-radius: 10px; /* 角の丸み具合を指定 */
    margin-top: 30px;
    width: 600px;
    margin-left: auto;  /* 左側の余白を自動調整 */
    margin-right: auto; /* 右側の余白を自動調整 */
    text-align: center;
}




/*contact*/
.contact{
    background-color: rgba(167, 211, 245, 0.2);
    text-align: center;
}
#contact-page .contact{
    text-align: left;
    padding-bottom: 20px;
}
.contact p{
    text-align: center;
}
.contact .tel{
    font-size: bold;
}
.contact-button{
    padding: 20px 20px;
    background-color: #ffffff; 
    color: #333; 
    cursor: pointer; /* マウスカーソルを指の形に */
    border: 2px solid #0088FF; 
    border-radius: 30px; /* 角の丸み具合を指定 */
    margin-top: 30px;
}

.contact-button:hover {
 border-color: #007bff; /* ホバー時に枠線を青色にする */
 transform: scale(1.05); /* ホバー時に1.05倍に拡大 */
}


.contact-button a .arrow {
 display: inline-block; /* インラインブロック要素にする */
 transition: transform 0.3s ease-in-out; /* アニメーションを設定 */
}

.contact-button:hover a .arrow {
 transform: translateX(5px); /* ホバー時に右に5px移動 */
}


/*footer*/
.footer-text{
    display: flex;
    justify-content: space-between;
    margin: 45px;
}
footer .footer-contact{
    text-align: left;
}
footer .company-name{
    font-size: 20px;
    margin-bottom: 10px;
}

footer .copyright{
    text-align: center;
}
footer .sns ul{
    display: flex;
}
footer .sns ul li{
    margin-right: 15px;
}
footer .sns ul li a{
    text-decoration: underline;
}
footer .sns ul li a:hover{
    opacity: 0.7;
    color: #007bff;
}

/*レスポンシブ*/
@media (max-width: 767px) {
.works .grid  {
    grid-template-columns: repeat(1, 1fr); /* ★1列にすることで縦並びに変更 */
}
}


/*news 個別ページ*/
main{
    padding-top: 100px;
}
.title-eg{
    font-weight: normal;
    font-size: 50px;
}
.title-jp{
    margin-bottom: 40px;
}

.news-line dl dd{
    position: relative;
}

.news-line dl dd a .arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block; /* インラインブロック要素にする */
    transition: transform 0.3s ease-in-out; /* アニメーションを設定 */
}

.news-line dl dd:hover a .arrow {
    transform: translateX(5px); /* ホバー時に右に5px移動 */
}

/*company 個別ページ*/
h4{
    color: #007bff;
    margin: 20px 0;
}
.company .company-line{
    text-align: left;
    margin: 20px ;
}
.company  dl {
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
}
.company  dt{
    width: 20%;
    border-top: 1px solid #ccc;
    padding: 15px;
}
.company  dd{
    width: 80%;
    border-top: 1px solid #ccc;
    padding: 15px;
}
.company p{
    padding-left: 20px;
}

/* フォーム全体のブロック */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form__title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.contact-form__note {
    text-align: right;
    font-size: 0.9em;
    margin-bottom: 15px;
    color: #555;
}

/* 各入力項目（div） */
.contact-form__item {
    margin-bottom: 25px;
}

/* ラベル */
.contact-form__label {
    display: block; /* 縦に並べる */
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

/* 必須マーク */
.contact-form__required {
    color: #cc0000;
    margin-left: 5px;
    font-size: 1.1em;
}

/* 入力フィールド全般（input, select, textarea） */
.contact-form__input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* paddingとborderをwidthに含める */
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form__input:focus {
    border-color: #007bff;
    outline: none;
}

/* テキストエリア専用の調整 */
.contact-form__input--textarea {
    resize: vertical; /* 縦方向のみリサイズ可能 */
}

/* 送信ボタンのコンテナ */
.contact-form__actions {
    text-align: center;
    margin-top: 30px;
}

/* 送信ボタン */
.contact-form__submit-btn {
    padding: 12px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.contact-form__submit-btn:hover {
    background-color: #0056b3;
}

/*works-custom 個別ページ*/
#works-custom-page .title-eg{
    font-size: 25px;
}
#works-custom-page h5{
    font-size: 30px;
}
#works-custom-page .item-text{
    padding: 2px;
    background-color: #ffffff; 
    color: #333; 
    font-size: 13px; 
    border: 2px solid gray; 
    border-radius: 30px; /* 角の丸み具合を指定 */
    text-align: center;
    margin-bottom: 40px;
    width: 120px;
}

#works-custom-page .bill  dl {
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
}
#works-custom-page .bill  dt{
    width: 30%;
    border-top: 1px solid #ccc;
    padding: 10px;
}
#works-custom-page .bill dd{
    width: 70%;
    border-top: 1px solid #ccc;
    padding: 10px;
}
#works-custom-page .bill .content{
    display: flex;
}
#works-custom-page .bill .img{
    margin-left: 30px;
}




@media (max-width: 767px) {
.header {
        padding: 15px 20px; /* パディングを小さく */
        /* スマホでナビゲーションを表示する場合は、ハンバーガーメニューのCSSを別途追加する必要がありますが、
           ここでは一旦メニューを非表示にする基本的なレスポンシブ対応のみを行います。 */
    }

    /* ロゴの調整 */
    header img {
        width: 150px; /* ロゴを少し小さく */
        max-height: 15px;
    }
    
    /* ナビゲーションメニューを非表示 (ハンバーガーメニューで制御するため) */
    .nav-menu {
        display: none; 
    }
    
    /* -------------------------------------------
    Footer（フッター）のスマホ対応
    ------------------------------------------- */
    .footer-text {
        flex-direction: column; /* 連絡先とSNSを縦並びにする */
        margin: 30px 20px; /* パディングを調整 */
        text-align: center;
    }

    /* 連絡先情報 */
    footer .footer-contact {
        text-align: center; /* 中央揃えに */
        margin-bottom: 25px;
    }

    footer .company-name {
        font-size: 18px; /* フォントサイズを小さく */
    }
    
    footer .company-address,
    footer .company-tel {
        font-size: 14px;
    }

    /* SNSリンク */
    footer .sns ul {
        justify-content: center; /* SNSリンクを中央揃えに */
    }
    
    footer .sns ul li {
        margin: 0 10px; /* マージンを調整 */
    }
}


    /* -------------------------------------------
    #works のスマホ対応
    ------------------------------------------- */
    @media (max-width: 767px) {
    .works .grid  {
        grid-template-columns: repeat(1, 1fr); /* ★1列にすることで縦並びに変更 */
    }    
    /* -------------------------------------------
    #works-custom-page のスマホ対応
    ------------------------------------------- */
    #works-custom-page .title-eg {
        font-size: 20px; /* タイトルを少し小さく */
        text-align: center;
    }
    
    #works-custom-page h5 {
        font-size: 24px; /* 見出しを調整 */
        text-align: center;
        margin-top: 20px;
    }
    
    #works-custom-page .item-text {
        margin: 0 auto 30px; /* 中央揃えに */
    }
    
    /* dl/dt/dd の調整 */
    #works-custom-page .bill dl {
        display: block; /* dlをブロック要素に */
    }
    
    #works-custom-page .bill dt,
    #works-custom-page .bill dd {
        width: 100%; /* 全幅に */
        box-sizing: border-box; /* paddingを幅に含める */
    }
    
    #works-custom-page .bill dt {
        background-color: #f7f7f7; /* 見やすくするために背景色を付けるのも良いでしょう */
    }
    
    /* content の調整（画像と dl の縦並び） */
    #works-custom-page .bill .content {
        display: block; /* flexを解除して縦並びに */
    }
    
    /* 画像エリアの調整 */
    #works-custom-page .bill .img {
        margin-left: 0; /* 左マージンを解除 */
        margin-top: 20px;
    }
    
    #works-custom-page .bill .img img {
        width: 100%; /* 画像を親要素に合わせて全幅に */
        height: auto;
    }
    /* -------------------------------------------
    #business-details-page のスマホ対応
    ------------------------------------------- */
    
    /* 事業内容全体 */
    #business-details-page .business-details {
        padding-bottom: 20px; /* 下部パディングを調整 */
    }
    
    /* .steel（各事業ブロック）の調整 */
    #business-details-page .steel {
        flex-direction: column; /* 要素を縦並びにする */
        padding-bottom: 30px;
    }
    
    /* .common-steel（タイトル部分）の調整 */
    #business-details-page .common-steel {
        width: 100%; /* 全幅にする */
        margin-bottom: 15px; /* 下部に余白を追加 */
        text-align: center; /* タイトルを中央寄せに */
    }
    
    /* .steel-type（鋼材リスト部分）の調整 */
    #business-details-page .steel-type {
        width: 100%; /* 全幅にする */
        flex-direction: column; /* 複数の ul を縦並びにする */
        margin-bottom: 20px;
        
    }
    #business-details-page li::before {
    /* 記号の位置調整 */
    position: absolute;
    top: 0;
    }
    
    #business-details-page .steel-type ul {
        padding-left: 45px; /* 黒丸（●）が見えるように左側のパディングを確保 */
        margin-bottom: 10px; /* リスト間の縦の隙間 */
        margin-left: 200px;
    }
    
    /* .steel .img（画像部分）の調整 */
    #business-details-page .steel .img {
        width: 100%; /* 全幅にする */
    }
    
    /* -------------------------------------------
    Contact（お問い合わせ）セクションのスマホ対応
    ------------------------------------------- */
    
    /* .contact（お問い合わせブロック）の調整 */
    #business-details-page .contact {
        padding: 40px 20px; /* 上下パディングを調整し、左右のパディングを確保 */
    }
    
    #business-details-page .contact h2.title {
        padding: 20px 0; /* タイトルのパディングを調整 */
    }
    
    #business-details-page .contact p {
        font-size: 14px;
    }
    
    #business-details-page .contact p.tel {
        font-size: 20px; /* 電話番号のサイズを調整 */
        margin: 15px 0;
    }
    
    #business-details-page .contact-button {
        padding: 10px;
        font-size: 14px;
    }
    /* -------------------------------------------
    recruit（採用情報）セクションのスマホ対応
    ------------------------------------------- */
    #recruit-page .site-text {
    /* 600pxを超えない範囲で、画面いっぱいに広がらないようにする */
    max-width: 600px; 
    width: 90%;      /* スマホでは画面の90%の幅にする */
    margin: 30px auto 0; /* 上に30px、左右は自動（中央）、下は0 */
}

}    



