@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    color: #333;
    font-size: 0.75rem;
    font-family: Trebuchet;
}

a {
    color: #333;
    text-decoration: underline;
}

a:hover {
    color: #000080; /* ホバー時にリンクの色を紺色に変更 */
    text-decoration: underline; /* ホバー時に下線を表示 */
    text-decoration-color: #000080; /* 下線の色を紺色に変更 */
}

img {
    max-width: 100%;
}

li {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.site-title {
    width: auto; /* 幅を自動に変更 */
    line-height: 1px;
    padding: 0px 0 26px 0; /* 上下のパディングを設定 */
    margin: 0 10 0px 10; /* 左寄せにするため、左右のマージンを0に */
    text-align: left; /* 左寄せにする */
}

.site-title img {
    width: 250px; /* 画像の幅を設定 */
    height: auto; /* 高さを自動調整 */
    display: block; /* 左寄せにするためにブロック要素に変更 */
}

.wrapper {
    width: 100%; /* 幅を100%に設定 */
    margin: 0; /* マージンを0に設定 */
}

/*--------------------------------
ヘッダー
--------------------------------*/

/* ヘッダー */
#header {
    width: 100%; /* 幅を100%に設定 */
    padding: 0px 0 0px 0; /* 上下のパディングを設定 */
    margin: 0 0 20px 0; /* 上下のマージンを設定 */
    border-bottom: solid 1px #c3c3c3; /* 下に1pxの灰色のボーダーを設定 */
    position: fixed; /* ヘッダーを固定 */
    background-color:#fff;
    background-size: cover; /* 画像を要素のサイズに合わせてカバー */
    top: 0; /* 上端に配置 */
    z-index: 1000; /* z-indexを設定して他の要素よりも手前に表示 */
}

header nav .menu {
    display: flex;
    align-items: center;
    margin-left: 900px; /* 余白 */
}

nav .menu li {
    margin-right: 30px; /* 右に余白 */
    position: relative; /* 関係 */
    list-style: none;
}

nav .menu li a {
    font-size: 0.9rem; /* サイズ */
    position: relative; /* 関係 */
    color: #333; /* 色 */
    text-decoration: none; /* 飾り */
    transition: color 0.3s; /* 変化 */
}

nav .menu li a::after {
    content: ''; /* コンテンツ */
    position: absolute; /* 絶対 */
    left: 0; /* 左 */
    bottom: -2px; /* 下 */
    width: 0%; /* 幅 */
    height: 1px; /* 高さ */
    background-color: #333; /* 色 */
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease; /* イージング */
}

nav .menu li a:hover {
    color: #000080; /* 色 */
}

nav .menu li a:hover::after {
    width: 100%; /* 幅 */
    height: 1px; /* 高さ */
    background-color: #000080; /* 色 */
}


/*--------------------------------
ピコテクデバイスページ
--------------------------------*/

#item {
    margin-bottom: 100px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* column-column1 */
.column-column1 {
    justify-content: center; /* 水平方向に中央揃え */
    text-align: center; /* 子要素のテキストを中央揃え */
    padding-top: 70px;
    margin-bottom: 50px;
}


/* COMPANY POLICYコラムのタイトル */
.a-title {
    font-size: 2.5rem; /* タイトルのフォントサイズを大きく */
    font-weight: 700; /* タイトルのフォントを太く */
    color: #555; /* 文字色を灰色に設定 */
    padding-top:100px;
}

/* COMPANY POLICYコラムのタイトル */
.b-title {
    font-size: 2.0rem; /* タイトルのフォントサイズを大きく */
    font-weight: 700; /* タイトルのフォントを太く */
    color: #555; /* 文字色を灰色に設定 */
}

/* ポリシーセクション */
.policy-main p strong{
    font-weight: 700; /* テキストを太字にする */
}

.policy-main {
    position: relative;
    width: 100%;
    text-align: center;
    background-image: url("../img/空.png") !important;
    background-size: cover;
    background-position: center;
    padding: 50px 0; /* 上下のパディングを追加 */
    animation: fadeInBackground 2s ease forwards; /* 背景画像の遅延表示アニメーション */
}

.policy-main p {
    font-size: 1.5rem; /* テキストのフォントサイズ */
    font-weight: 400; /* テキストの太字 */
    color: white; /* テキストの色 */
    line-height: 1.5; /* 行間を広くする */
    text-align: center; /* テキストを中央揃え */
    opacity: 0; /* 初期状態では透明 */
    transform: translateY(20px); /* 初期状態では下に20px移動 */
    animation: fadeInUp 2s ease forwards 0s; /* テキストの遅延表示アニメーション */
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-sub {
    display: flex;
    justify-content: center;
}

.policy-sub p {
    margin-top: 80px;
    max-width: 70%;
    font-size: 1rem;
    color: #222020;
    line-height: 1.5;
}

.policy-sub p strong{
    font-weight: 700; /* テキストを太字にする */
}

#item .picotecdevice-info .cart-btn {
    width: 100%;
    background-color: #4B4B4B;
    color: #fff;
    display: block; /* ボタンは独立した行に表示され、他の要素の幅に影響を与えない */
    line-height: 1; /* 行間 */
    padding: 10px 0; /* 上下のパディングを設定 */
    text-align: center; /* テキストを中央揃え */
    text-transform: uppercase; /* テキストを大文字に変換 */
    font-size: 1rem; /* フォントサイズを設定 */
    cursor: pointer; /* カーソルをポインターに設定 */
    transition: background-color 0.3s; /* 背景色の変化をスムーズに */
}

#item .picotecdevice-info .cart-btn:hover {
    background-color: #333; /* ホバー時の背景色を変更 */
}

/* 会社情報のコンテナ */
.picotecdevice-company {
    display: flex;
    flex-direction: column; /* 子要素を縦に並べる */
    align-items: center; /* 子要素を中央揃えにする */
    padding: 80px
}

.picotecdevice-company .hp-top {
    width: 100%; /* .hp-top divの幅を100%に設定 */
    margin-bottom: 20px; /* 各セクションの間にスペースを追加 */
}

/* 各セクションを水平方向に並べる */
.picotecdevice-company .company-info .top-image{
    font-size: 1rem;
    display: flex; /* Flexboxを使用 */
    flex-direction: row; /* 子要素を水平方向に並べる */
    justify-content: space-around; /* 子要素間のスペースを均等に配置 */
    align-items: center; /* 子要素を垂直方向に中央揃え */
    width: 80%; /* 各セクションの幅を80%に設定 */
    margin-bottom: 20px; /* 各セクションの間にスペースを追加 */
}

.picotecdevice-company .company-info img{
    max-width: 40%; /* 画像がコンテナの幅を超えないようにする */
    height: auto; /* アスペクト比を保持 */
    margin: 0 50px 0 100px; /* 画像の周囲の余白を0に設定 */
}

.picotecdevice-company .company-info p {
    text-align: center; /* テキストを中央揃えにする */
    margin-top: 10px; /* 段落の上に少しスペースを追加 */
    line-height: 1.6; /* 読みやすさを向上させるための行間設定 */
    font-size: 1rem;
}

#company-info {
    display: block;
}

.picotecdevice-company .info-pair {
    display: flex;
    margin-bottom: 10px; /* 下にスペースを追加 */
}

.picotecdevice-company .info-pair dt {
    margin: 0 20px 0 0;
    flex-basis: 80px; /* 任意の幅 */
    flex-shrink: 0;
    text-decoration: underline; /* ホバー時に下線を表示 */
    text-decoration-color: #333; /* 下線の色を紺色に変更 */
}

.picotecdevice-company .info-pair dd {
    margin: 0 10px 0 0;
    flex-basis: 450px; /* 任意の幅 */
    flex-shrink: 0;
}

/*--------------------------------
center-image(googlemap)
--------------------------------*/

.center-image{
    margin-top: 20px;
}

.center-image .canter-image-1,
.center-image .canter-image-2,
.center-image .canter-image-3 {
    display: flex; /*子要素が横並びになるように絶対必要！*/
    flex-direction: row; /* 子要素を横に並べる */
    align-items: center; /* 中央揃えにする */
    justify-content: center; /* 中央揃えにする */
    width: 100%; /* 幅を100%に設定 */
    margin: 0 100px 20px 100px; /* 要素間にスペースを追加 */
}

.center-image .canter-image-1 .iframe,
.center-image .canter-image-2 .iframe{
    max-width: 200px;
    max-height: 200px;
    border: 0;
}

.center-image .canter-image-3 img{
    max-width: 200px;
    max-height: 200px;
    border: 0;
}

.center-image #company-infos {
    font-size: 0.8rem;
    flex: 1; /* 余ったスペースを均等に分配 */
    padding: 0 20px 50px 20px; /* 左右の余白を追加 */
    text-align: left; /* 左揃えにする */

}

.center-image #company-infos dt,
.center-image #company-infos dd {
    margin: 0; /* マージンをリセット */
    padding: 5px 0; /* 上下にパディングを追加 */
}

.center-image #company-infos dt{
    margin: 0; /* マージンをリセット */
    padding: 5px 0; /* 上下にパディングを追加 */
    text-decoration: underline; /* ホバー時に下線を表示 */
    text-decoration-color: #333; /* 下線の色を紺色に変更 */
}

/*--------------------------------
フッター
--------------------------------*/

#footer .copyrightdiv {
    border-top: solid 1px #c3c3c3; /* 上線を1pxの灰色で設定 */
    display: flex; /* Flexboxを使用 */
    flex-direction: row; /* 子要素を水平方向に並べる */
    align-items: center; /* 子要素を垂直方向に中央揃え */
    justify-content: center; /* 子要素を水平方向に中央揃え */
    padding: 20px; /* 上下左右に20pxのパディングを設定 */
}


#footer .copyrightdiv img{
    max-width: 50px;
    max-height: 50px;
}

#footer nav .menu {
    display: flex;
    align-items: center; /* 子要素を垂直方向に中央揃え */
    justify-content: center; /* 子要素を水平方向に中央揃え */
    margin-bottom: 50px;
}

#footer .copyright {
    text-align: center; /* テキストを中央揃えにする */
}
