@charset "UTF-8";

html, body {
    height: 110%;
    width: 1200px;
    background-color: #e9f9f9;
    background-image: url(background.jpg);
    background-size: cover;
    background-attachment: fixed;
    z-index: -1000;
    margin: 0;
} 

.double-border {
  width: 1200px;
  height: 110%;
  border: 8px double black; /* ← ここで二重線を指定 */
  margin: 0;
}
    
h1 {
    color: #fff;
    box-shadow: 5px 5px 0 #007032; /* ぼかしを追加 */
    transition: 0.3s ease-in-out;
    background-color: #00E667;
    border-radius: 5px;
    cursor: pointer;
    flex-shrink: 0; /* セミコロン追加 */
    width: 400px;
    position: absolute;
    top: 30px;
    left: 110px;
    text-align: center;
}

.contact-form {
            position:relative;
            top:95px;
            left:100px;
            margin: 30px 0 0 0;
            width: 470px;
            height:170px;
            padding: 20px;
            border: 2px solid #000000;
            background-color: #ffffff;
           
        }
        
        .name-label {
            display: block;
            margin-top: 10px;
        }
        
        email-label{
            display: block;
            margin-top: 10px;
        }

        input, textarea {
            width: 450px;
            padding: 8px;
            margin-top: 5px;
            border: 1px solid #ddd;
            border-radius: 5px;
            display: inline-block
        }
       

.message-box {
    width: 1000px;
    height: 430px;
    max-height: 450px;
    border: 2px solid #000000;
    padding: 10px;
    margin: 0 100px 30px 100px;
    position: relative;
    top: 90px;
    left: 0;
    background-color: #ffffff;
}


.contact-label{
    position:absolute;
    top:5px;
    left:30px;
    font-size: 25px;
    margin: 0;
    display: inline-block;
}

#message2 {
    width:940px;
    height:270px;   
    position:absolute;
    top:50px;
    left:30px;    
    margin : 0;
}



button {
    display: flex; /* 縦並びにする */
    flex-direction: column; 
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 縦方向も中央揃え */
    gap: 0; /* テキストとアイコンの間隔を調整 */
    width: 300px;
    height: 50px;
    text-align: center;
    font-weight: bold;
    border-radius: 0;
    color: #fff;
    border: 1px solid #094;
    box-shadow: 5px 5px  #007032;
    transition: 0.5s ease-in-out;   
    background-color: #00E667;
    cursor: pointer;
    z-index: 10;   
    position: absolute;
    top:315px;
    left: 50%;
    transform: translate(-50%, 100%);
}



button:hover {
   width: 300px;
    height: 50px;
        max-width: 300px;
        box-shadow: none;
	    color: #fff;
}

button, button:hover {
    border: 3px solid #094;
}

/*リンクボタン*/

.linkidou{
      position: absolute;
      top:0;
      right:5px;
      width:80px;
      height:570px;    
}

.link{
       width:80px;
       height:570px;
       position:absolute;
       top:0;
       left:0;
       display: flex;
    flex-direction: column;
    justify-content: center; /* ボタンを中央揃え */
       align-items: center; /* 縦位置を調整 */
       gap: 0; 
}

.item {
    display: flex;
    flex-direction: column; /* ボタンの下にテキストを配置する場合 */
    align-items: center; /* 中央揃え */
}

.p4, .p6{
    display: flex; /* 縦並びにする */
    flex-direction: column; 
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 縦方向も中央揃え */
    gap: 0; /* テキストとアイコンの間隔を調整 */
    width: 80px;
    height: 190px;
    text-align: center;
    font-weight: bold;
    border-radius: 0;
    color: #fff;
    border: 1px solid #094;
    box-shadow: 5px 5px  #007032;
    transition: 0.5s ease-in-out;   
    background-color: #00E667;
    cursor: pointer;
    z-index: 10;
}

.p5{
    display: flex; /* 縦並びにする */
    flex-direction: row; 
    align-items: center; /* 縦方向も中央揃え */
    width: 80px;
    height: 190px;
    text-align: center;
    font-weight: bold;
    border-radius: 0;
    color: #fff;
    border: 1px solid #094;
    box-shadow: 5px 5px  #007032;
    transition: 0.5s ease-in-out;   
    background-color: #00E667;
    cursor: pointer;
    z-index: 10;   
    gap: 0; /* 2列の間隔 */
    justify-content: center;    
    text-decoration: none;
}

.kaiten{
    transform: rotate(90deg);

}

.char{
    transform: rotate(270deg);
    display: inline-block; 
    text-decoration: underline;
}


.p4:hover,.p5:hover,.p6:hover {
	width: 80px;
    height: 190px;
        max-width: 80px;
        box-shadow: none;
	    color: #fff;
        background-color: #094;   
        transform: translate(5px, 3px); /* 動きすぎないように微調整 */

}