h2:first-letter {
    font-size: 45px;
    color: #4F709C;
}

h3 {
    font-size: 22px;
}

/* .PC {  2026.01.05 R.Inokihara デザイン・仕様の修正 DEL */
.main-PC {  /* 2026.01.05 R.Inokihara デザイン・仕様の修正 ADD */
    display: block;
}

/*----------------------------
  main-img ｜画像アニメーション
----------------------------*/
.main-top {
    height: calc(100vh - 8vh);
    min-height: 730px;
    margin-bottom: 100px;
    position: relative;
}

.main-img-div {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    /* overflow: hidden; */
}

/*　アニメーションを付与　*/
.main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    animation: image-animation 25s linear infinite; /* アニメーションを付与 */
    animation-fill-mode: backwards; /* 読み込み直後はアニメーションを非表示 */
}

/*　画像を設定　*/
.src1 { background-image: url(/img/main_image/001.jpg); }
.src2 { background-image: url(/img/main_image/002.jpg); }
.src3 { background-image: url(/img/main_image/003.jpg); }
.src4 { background-image: url(/img/main_image/004.jpg); }
.src5 { background-image: url(/img/main_image/005.jpg); }

/*　アニメーションを設定　*/
@keyframes image-animation {
    0%   { opacity: 0; }
    4%   { opacity: 1; }
    20%  { opacity: 1; }
    24%  { opacity: 0; }
    100% { opacity: 0; }
}

/*　アニメーションの開始時間を設定　*/
.main-img:nth-of-type(1) { animation-delay: 0s; }
.main-img:nth-of-type(2) { animation-delay: 5s; }
.main-img:nth-of-type(3) { animation-delay: 10s; }
.main-img:nth-of-type(4) { animation-delay: 15s; }
.main-img:nth-of-type(5) { animation-delay: 20s; }

.main-img-div p {
    position: absolute;
    left: 20px;
    bottom: 20px;
    font-size: 45px;
    text-align: left;
    color: #ffffff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
    text-shadow: 2px 2px 12px rgb(20 20 40 / 100%);
    /* 2026.01.05 R.Inokihara テキストとアニメーションを追加 S */
    animation: image-animation 25s linear infinite; /* アニメーションを付与 */
    animation-fill-mode: backwards; /* 読み込み直後はアニメーションを非表示 */
    /* 2026.01.05 R.Inokihara テキストとアニメーションを追加 E */
}

/* 2026.01.05 R.Inokihara テキストとアニメーションを追加 S */
/*　アニメーションの開始時間を設定　*/
.main-img-div p:nth-of-type(1) { animation-delay: 0s; }
.main-img-div p:nth-of-type(2) { animation-delay: 5s; }
.main-img-div p:nth-of-type(3) { animation-delay: 10s; }
.main-img-div p:nth-of-type(4) { animation-delay: 15s; }
.main-img-div p:nth-of-type(5) { animation-delay: 20s; }
/* 2026.01.05 R.Inokihara テキストとアニメーションを追加 E */

.main-img-div span {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 65px;
    font-weight: 900;
    font-style: normal;
}
/*--------------------------*/

.title {
    position: relative;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
}

.title::before {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #E4F1F6;
    font-size: 70px;
    text-transform: uppercase;
    content: attr(data-content); /* 背景文字：同じタグ内の"data-content"から取得 */
    z-index: -1;
    white-space: nowrap;
}

.title::after {
	content: '';
	position: absolute;
    bottom: -20px;
	left: 50%;
	transform: translate(-50%); 
	width: 50px;
	height: 4px;
    border-radius: 2px;
    background-color: rgba(79, 112, 156, 0.5);
}

.t-business::before {
    color: #ffffff;
}

.subtitle {
    font-size: 14px;
    margin-top: 60px;
    margin-bottom: 20px; 
    color: #666666;
}

.outline {
    width: 75%;
    min-width: 1050px;
    max-width: 1600px;
    margin: 60px auto;
    display: flex;
	justify-content: center;
    flex-wrap: wrap;
}

/*----------------------------
  自社製品一覧
----------------------------*/
.package {
    width: 48%;
    min-height: 150px;
    margin: 15px 1%;
    padding: 0px;
    position: relative;
    background-color: #f5f5f5;
    border: solid 1px #f2f2f2;
    transition: 0.3s;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 4px 4px 12px #eeeeee;
}

.package:hover {
    background-color: #eeeeee;
    border: solid 1px #eeeeee;
    box-shadow: 4px 4px 12px #f2f2f2;
}

.package a {
    text-decoration: none; /* リンクの下線を消す */
}

.package-table {
    width: 100%;
    height: 100%;
    margin: 0px 1%;
    padding: 20px;
}

.package-table div {
    width: 100%;
    display: block;
    overflow: hidden;
}

.package-table div > img {
    width: 125px;
    height: 125px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.package-table th {
    width: 30%;
    min-width: 125px;
    /* padding: 3.5%;
    padding-right: 6%; */
    vertical-align: middle;
    box-sizing: border-box;
}

.package-table td {
    width: 70%;
    padding: 5px;
    color: #000000;
    text-align: left;
    box-sizing: border-box;
}

.package-table h3 {
    line-height: 35px;
    margin: 20px 0;
}

.package-table h3:first-letter {
    font-size: 35px;
    color: #4F709C;
}

.package-table p {
    margin: 10px 0;
}

.package-div {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 100%;
}

.img-trouble {
    width: 75%;
    max-width: 420px;
    margin-top: 22px;
    margin-bottom: -24px;
}

/*----------------------------
  事業内容
----------------------------*/
.back-img {
    width: 100%;
    margin: 80px auto;
    padding: 80px 0px;
    background-image: url('/img/base.jpg');
    background-size: cover;
    position: relative;
    z-index: -9999;
    /* box-shadow: inset 0 0 15px 15px #ffffff; - 境界線ぼかし削除 */
}

.business-number {
    display: inline-block;
    font-size: 50px;
    width: 80px;
    line-height: 0.5;
    color: #4F709C;
    vertical-align: -8px;
}

.one {
    letter-spacing: 0.08em;
}

.div-long {
    width: 80%;
    min-height: 120px;
    padding: 5px 2%;
    text-align: left;
    box-sizing: border-box;
}

.mini-outline {
    width: 60%;
    margin-left: 0;
    margin-bottom: 20px;
    display: flex;
	justify-content: center;
    flex-wrap: wrap;
}

.img-outline {
    display: flex;
    width: 40%;
    max-width: 550px;
    position: relative;
}

.img-view {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform : translate(-50%,-50%);
    transform : translate(-50%,-50%);
    width: 100%;
    filter: drop-shadow(4px 6px 8px #cccccc);
}

.business-div {
    width: 92%;
    min-height: 120px;
    padding: 5px 2%;
    text-align: left;
    box-sizing: border-box;
}

/*----------------------------
  トピックス＆ソーシャルメディア
----------------------------*/
.div-contents {
    width: 50%;
    height: 650px;
    padding: 25px 3%;
    text-align: center;
    box-sizing: border-box;
}

.div-short {
    width: 100%;
    height: 400px;
    padding: 8px 2%;
    margin-top: 60px;
    background-color: #f2f2f2;
    text-align: left;
    border-radius: 10px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: scroll;
    box-shadow: 6px 6px 12px #f5f5f5;
}

.d-sns {
    padding: 15px 2%;
    text-align: center;
    font-family: "Comfortaa", "ヒラギノ角ゴ Pro W3", "Noto Sans JP", "Zen Kaku Gothic New", 'Noto Sans', sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;
}

.d-sns h4 {
    font-size: 20px;
}

.sns-icon {
    width: 150px;
    height: 150px;
    margin: 25px auto;
    background-color: #ffffff;
    border-radius: 50%;
}

.sns-icon img {
    width: 80px;
    height: 80px;
    margin: 35px;
}

/*----------------------------
  認証マーク一覧
----------------------------*/
.mark {
    width: 8%;
    height: 8%;
    padding: 15px;
    margin: 40px;
    position: relative;
    border-radius: 50%;
}

.mark-img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform : translate(-50%,-50%);
    transform : translate(-50%,-50%);
}

/* 各認証マークの大きさを設定 */
.i-a { width: 70%; }
.i-b { width: 90%; }
.i-c { width: 90%; }
.i-d { width: 75%; }
.i-e { width: 70%; }

/*----------------------------
  スマホ用表示設定
----------------------------*/
/* 横幅が1110pxより小さい場合（スマホ用表示） */
@media screen and (max-width: 1110px) {

    .main-top {
        height: calc(100vh - 45vh);
        min-height: 730px;
        margin-bottom: 100px;
        position: relative;
    }

    .main-img-div p {
        font-size: 25px;
    }

    .main-img-div span {
        font-size: 35px;
    }

    .title {
        margin-top: 60px;
        font-size: 25px;
        margin-left: 6%;
        text-align: left;
    }

    .title::before {
        top: -10px;
        left: 95%;
        transform: translateX(-100%);
        font-size: 32px;/* 背景フォントサイズ */
    }

    .title::after {
        bottom: -25px;
        left: 5%;
        transform: translate(0%); 
    }

    .t-2 {
        margin-top: 20px;
        margin-left: 0;
    }

    .t-2::before {
        left: 100%;
    }

    .subtitle {
        height: 20px;
        margin-top: 30px;
        margin-left: 6%;
        text-align: left;
    }

    .outline {
        width: 100%;
        min-width: 100%;
    }

    .package {
        width: 88%;
    }

    .package-div {
        position: static;
        top: 0;
        left: 0;
        -webkit-transform : translate(0,0);
        transform : translate(0,0);
    }

    .back-img {
        margin: 45px auto;
        padding: 50px 0px;
    }

    .div-long {
        width: 88%;
    }

    .div-contents {
        width: 88%;
        height: 610px;
        padding: 25px 0px;
    }

    .mini-outline {
        width: 100%;
    }

    .img-outline {
        display: none;
    }

    .mark {
        width: 15%;
        height: 15%;
        min-width: 75px;
        min-height: 75px;
        padding: 5px;
        margin: 5px 2px;
        position: relative;
        border-radius: 50%;
    }
}

/* 横幅が768pxより小さい場合（スマホ用表示） */
@media screen and (max-width: 768px) {

    h3 {
        font-size: 20px;
        margin: 10px 0px;
    }

    /* .PC {  2026.01.05 R.Inokihara デザイン・仕様の修正 DEL */
    .main-PC {  /* 2026.01.05 R.Inokihara デザイン・仕様の修正 ADD */
        display: none;
    }

    .package {
        height: auto;
        margin: 12px 1%;
        border-radius: 40px;
    }

    .p-end {
        width: 100%;
        height: auto;
        margin: 10px 0;
        padding: 0px;
        background-color: rgba(0, 0, 0, 0);
        border: none;
        box-shadow: none;
    }

    .p-end:hover {
        background-color: rgba(0, 0, 0, 0);
        border: none;
        box-shadow: none;
    }

    .package-table h3 {
        font-size: 20px;
        margin: 10px 0px;
    }

    .package-table h3:first-letter {
        font-size: 30px;
    }

    .package-table th {
        width: 20%;
        padding: 5px;
        padding-right: 15px;
    }

    .package-table td {
        font-size: 14px;
        height: 120px;
    }

    .package-table div > img {
        width: 100px;
        height: 100px;
    }
}