/* 全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Verdana, Meiryo UI, sans-serif;
}

/* ヘッダー（最上部固定） */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #eea03b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 左右端に配置 */
    padding: 0 20px;
    z-index: 1000;
}

/* ヘッダーロゴ（左側に固定） */
.header .logo {
    flex: 1;
    text-align: left;
}

/* ナビゲーションメニュー（中央に配置） */
.header .menu {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: space-around;
}

.header .menu a {
    margin: 30 40px;
    padding: 0 10px; /* 左右に20pxの余白を追加 */
    min-width: 150px;
    text-decoration:   none; 
    color: black;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: bold;
    transition: color 0.3s;
}

.header .menu a:hover {
    color: #ff6600;
}

/* ヘッダーテキスト（右側に固定） */
.header .header-text {
    flex: 1;
    text-align: right;
    margin-right: 20px;
    font-size: 14px;
    color: #000000;
}

/* モバイル対応（画面幅が768px以下のときメニューを縦に） */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .header .menu {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* パララックスセクション */
.parallax {
    height: 100vh;
    background: url("img_company/bg_company.png") center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(20px, 5vw, 50px);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.parallax h1 {
    position: absolute;
    top: 30%;
    left: 30%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: clamp(20px, 5vw, 50px);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    text-align: left;
    white-space: nowrap;
}

/* メインコンテンツ */
.content {
    position: relative;
    width: 63%;
    margin: 10px;
    margin-bottom: 0%;
    margin-right: 0%;
    margin-left: 5%;
    padding: 10px;
    background: #ffffff;
    text-align: left;
    display: block;
    img-align:light;
    min-height: auto;
    justify-content: space-between;
    font-size: clamp(16px, 2vw, 24px);
}

.content2 {
    width: 100%;
    margin left: 10px;
    margin right: 0;
    padding: 20px;
    padding-left:5%;
    background-color: #fff2e5;
    text-align: left;
    display: block; 
    justify-content: space-around;
    white-space: nowrap;
    min-height: auto;
    font-size: clamp(16px, 1.8vw, 30px);
}

.content3 {
    max-width: 80%;
    display: flex;
    margin: 0;
    padding: 0;
    background: #ffffff;
    text-align: left;
    display: flex;
    min-height: 80vh;
    font-size: clamp(8px, 1vw, 12px);
}

.content4 {
    width: 100%;
    margin left: 0;
    margin right: 0;
    padding: 20px;
    padding-left:0%;
    background-color: #ffffff;
    text-align: left;
    display: block; 
    justify-content: space-around;
    white-space: nowrap;
    min-height: auto;
    font-size: clamp(16px, 1.8vw, 30px);
}

a {
  text-decoration: none;
}

.txt1{
  font-size: 1vw;
}
.txt2{
  font-size: 2vw;
line-height: 1.2;
}
.txt3{
  font-size: 1.3vw;
line-height: 1.2;
}
.txt4{
  font-size: 4vmax;
}
.txt5{
  font-size; 14px
line-height:normal;
}
.txt6{
  font-size: 0.6vw;
  color: #0067C0;
line-height: 2.0;
}
.txt7{
  font-size: 100%;
}
.txt8{
font-size:1em;
line-height:0.8;
}

/* ボックスのコンテナ */
.container {
    display: flex;
    background-color: #fff2e5;margin: 25px;
    justify-content: flex-start; /* 左揃え */
    gap: 3px; /* 間隔を小さく */
    max-width: 100%;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    flex-wrap: wrap;
    font-size: clamp(16px, 1.6vw, 30px);
}
.container2 {
    display: block;
  align-items: center;
  gap: 20px; /* テキストと画像の間の余白 */
    background-color: #ffffff;
    justify-content: flex-start; /* 左揃え */
    max-width: 100%;
    width: 100%;
    margin: 10px 0;
    margin-top: 2%;
    padding: 10px;
    flex-wrap: wrap;
    font-size: clamp(16px, 1.6vw, 30px);
    z-index: 1;
}
.container3 {
    display: flex;
    background-color: #ffffff;margin: 25px;
    justify-content: flex-start; /* 左揃え */
    gap: 3px; /* 間隔を小さく */
    max-width: 100%;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    flex-wrap: wrap;
    font-size: clamp(16px, 1.6vw, 30px);
}

img1 {
  width: 35%;
  float: right;
  margin-left: 20px; /* 画像とテキストの間に余白を設定 */
}

img2 {
  width: 35%;
  float: left;
  margin-left: 10px; /* 画像とテキストの間に余白を設定 */
}

.background {
  background-image: url('service/img_service/service_bgimage.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  bottom: 0 ;
  right: 0 ;

}


/* ボックスデザイン */
.box {
    width: calc(100% - 5px); /* gapの影響を考慮 */
    max-width: 100%;
    height: auto;
    background-color: #ffffff;
    background-position: top right;
    display: flex;
    align-items: flex-start;
    letter-spacing: 0.5em;
    padding: 10px;
    padding-left: 1%;
    padding-right: 1%;
    border: 1px solid #fff2e5; /* ボーダーを小さくする */
    box-sizing: border-box; /* paddingとborderが幅に影響しないように */
    font-size: clamp(16px, 1.8vw, 30px);
}
.box2 {
    width: calc(70% - 5px); /* gapの影響を考慮 */
    max-width: 100%;
    height: auto;
    margin: 0 left;  /* 水平方向の中央揃え */
    background-color: #ffffff;
    background-position: top right;
    display: block;
    align-items: flex-start; center;
    padding: 10px;
    padding-left: 1%;
    padding-right: 1%;
    border: 1px solid #fff2e5; /* ボーダーを小さくする */
    box-sizing: border-box; /* paddingとborderが幅に影響しないように */
    font-size: clamp(16px, 1.8vw, 30px);
    z-index: 1;
}

.box3 {
    width: calc(20% - 5px); /* gapの影響を考慮 */
    max-width: 100%;
    height: auto;
    background-color: #ffffff;
    background-position: top right;
    display: flex;
    align-items: flex-start;
    padding: 10px;
    padding-left: 1%;
    padding-right: 1%;
    border: 1px solid #fff2e5; /* ボーダーを小さくする */
    box-sizing: border-box; /* paddingとborderが幅に影響しないように */
    font-size: clamp(16px, 1.8vw, 30px);
}

.box4 {

width:177px;
display: flex;
gap: 0; /* テキストと画像の間の余白 */
height: auto;
margin-right: 1px;
box-align: left;
border: solid 1px #ffffff;
background-color: #ffffff;
background-size: contain;
background-position: bottom;
background-repeat: no-repeat;
padding:0px;
position: relative;
z-index: 1;
}

/* 追加のボックスデザイン */

.box_css{

width:250px;
display: flex;
height: auto;
margin-right: auto;
box-align: left;
border: solid 2px #ffffff;
background-color: #ffffff;
background-size: contain;
background-position: bottom;
background-repeat: no-repeat;
padding:0px;
position: relative;
z-index: 1;
}

.icons-right{margin-right:20px;
}
.icons-left{margin-left:20px;
}


.margin-area {
  margin-left:  1em; /* 左の余白 */
  margin-right: 1em; /* 右の余白 */
  margin-top:   1em; /* 上の余白 */
  margin-bottom:1em; /* 下の余白 */


.sitemap {
    background-color: #ffffff;
    font-size: clamp(1px, 1.0vw, 13px);
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 8px;
    max-width: 100%;
}

.sitemap ul {
    list-style: none;
    margin-top: 0;
    display: flex ;
    padding: 5px;
}

.sitemap li {
    text-align: center;
    margin: 0px 0;
    margin-left: 60px;
    display: flex;
}

.sitemap a {
    text-decoration: none;
    color: #0067C0;
    font-weight: bold;
    display: flex;
    padding: 5px;
    transition: color 0.3s;
}

.sitemap a:hover {
    color: #ff6600;
}

/* ネストされたリスト（サブメニュー）のスタイル */
.sitemap ul ul {
    display: flex;
    margin-left: 0px;
    padding-left: 10px;
    border-left: 2px solid #ddd;
}

.sitemap ul ul li {
    margin: 0px 0;
}

}

/* 右下固定画像 */
.fixed-bottom-right {
    float: none ;
    position: fixed ;
    bottom: 0 ;
    right: 0 ;
    width: 28%;
    max-width: 100%;
    height: auto;
    z-index: -1;
}

/* フッター（最下部固定） */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #0097db;
    color: white;
    font-size: 0.7em;
    text-align: center;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 1000;
}

.footer,
.footer * {
    color: white !important; /* すべての要素を白に */
}

