@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
}

main {
    background-color: #ffff;
    /* #a6cef0 */
    
}

 @font-face {
        font-family: Triangle-Demo;
        src: url(../fonts/Triangle-Demo/TriangleDemo.otf);
    }

    p {
        font-family: Triangle-Demo;
    }

header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: #ffff;
  
}

h1 {
    width: 15%;
    margin-top: 1%;
    margin-left: 1%;
}

h1 img {
    width: 100%;
}

.button05 {
  display: inline-block;
  background-image: linear-gradient(45deg, #94add3 0%, rgb(141, 141, 159) 100%);
  color: #fff;
  width: 100px;
  height: 100px;
  margin-left: 55%;
  border-radius: 50%;
  line-height: 100px;
  text-align: center;
  font-size: 1em;
  font-family: Triangle-Demo;
  text-decoration: none;
  
}
.button05:hover {
  color: #fff;
  opacity: 0.6;
}






.header-icon {
    display: flex;
}
.header-icon-inner{
    width: 15%;
    padding-right: 3%;
    margin-left: auto;
    font-size: 5vw;
    line-height: 5vw;
    
}

/* ここからフォントオーサム */
.fa-facebook {
    color: #191970;
}

.fa-brands {
    font-size: 2vw;
    color: #191970;
}

.fa-youtube {
    color: #191970;
}
/* ここまでフォントオーサム */



/* ナビゲーションメニュー */

nav {
    width: 100%;
    margin-left: auto;
}

nav ul li {
    list-style-type: none;
}

.menu-item {
  background-color: #9b5c32; /* メニューアイテムの背景色 */
  transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}



/* メニューアイテムのホバースタイル */
.menu-item:hover .drop-menu-list {
  transform: scaleY(1); /* ドロップダウンメニューの表示 */
}

.menu-item:hover {
  background-color: #9b5c32; /* メニューアイテムのホバー時の背景色 */
  transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}

.drop-menu-item:hover {
  opacity: .8; /* ドロップダウンメニューアイテムのホバー時の不透明度 */
  transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
}

.menu-item a {
  align-items: center;
  color: #ffff; /* メニューアイテム内のリンクテキストの色 */
  display: flex;
  height: 50px;
  justify-content: center;
  text-decoration: none; /* リンクの下線を非表示 */
  width: 120px;
    background-color: #191970;
  
}



/* ここからドロップダウンメニュー */
.drop-menu {
  position: relative;
}

.drop-menu-list {
  left: 0;
  position: absolute;
  top: 100%;
  transform: scaleY(0); /* ドロップダウンメニューの非表示 */
  transform-origin: center top; /* 変形を適応する基準を設定 */
  transition: transform .3s; /* 表示の変化をアニメーション化 */
  width: max-content;
  z-index: 1;
}

.drop-menu-item {
  background-color: rgb(250, 5, 5); /* ドロップダウンメニューの背景色 */
  transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
}
.parent {
    position: relative;
}
.parent p {
position: absolute;/*重ねたい子要素にabsolute*/
  top:40%;
  left: 50%;
 -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  transform: translate(-50%,-50%);/*センター寄せの修正*/
  color: #86470c;
  font-size: 2.5rem;
  margin: 0!important;/*文字がずれている場合や*/
  padding: 0!important;/*文字が折り返される場合*/
}
/* ここまでドロップダウンメニュー */


/* /* ここからメインビジュアル */ */

    .container{
        position: relative;
        width:80%;
      }

      .container img{
        width: 100%;
      }

      .container p{
        position: absolute;
        padding: 1%;
        font-size: 3vw;
        line-height: 1; 
      }

      .container .tag{
        top: 40%;
        left: 10%;
        width: 55%;
        text-align: center;
        color: #191970
      }

      .container .moji {
        top: 50%;
        left: 10%;
        width: 40%;
        text-align: center;
        font-size: 1.2vw;
        font-family: sans-serif;
        white-space: pre-wrap;
        text-indent: 1em;
        color: #86470c
      }
      
/* ここまでメインビジュアル */

/* ここからサイドバー 
.side-banner {
  position: fixed;
  left: 90%;
  top: 20%;
  width: 10%;
   z-index: 100;
}
   .side-banner img {
  width: 100%;
  height: auto;
  display: block;
  
 
}*/



 /* ここまでサイドバー */ 



/* ここからメインセクション */

.section-sub-inner h2 {
    margin-top: 20%;
    font-family: Triangle-Demo;
    font-size: 3vw;
    color: #191970;
   
   
}
.section-sub-inner p {
   font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin-top: 5%;
}


.section-sub {
    display: flex;
     margin-left: auto;
    margin-right: auto;
    margin-bottom: 8%;
    width: 70%;
    text-align: center;
    padding: 3%;
}

.section-sub-inner a {
 display: block;
 margin-top: 8%;
  font-weight: 700;
  font-size: 1vw;
  color: #191970;
  background-color: rgb(204, 209, 209);


}


.box1 {
    position: relative;
    /* position: relative;は相対配置。要素が元もあった場所か数えて配置され、
    元々要素があった場所が空いてしまう(スペースができる) */
    top: 30%;
    left: 40%;
    width: 30%;
    height: 50%;
    z-index: 50;
    
}

.box2 {
    position: relative;
    width: 20%;
    top: 20%;
    left: 20%;
    height: 50%;
    z-index: 60;
   

}


/* ここまでメインセクション */

/* ここから家づくり */
.philosophy_menu {
  
  margin-bottom: 5%;
  

}

.philosophy-inner {
  display: flex;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
 

}
.philosophy-inner img {
  width: 100%;
}

.philosophy_menu_img_hover{
 width:100%; 
 position: relative;
height: 10%;
padding: 1%;
  
}

.philosophy_menu_img_hover p {
  position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 10%;
    padding: 5%;
    margin-top: 50%;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color:#191970 ;
    background-color: aliceblue;
    
    
}

.philosophy_menu_img_hover img{
  overflow:hidden;
 transition:1s all;
 
}
.philosophy_menu_img_hover img:hover{
  transform:scale(1.2,1.2);
}

.button12 {
  background-color: #fff;
  border: solid 2px #191970;
  color: #191970;
  border-radius: 20px;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 1em;
  box-shadow: 0 5px 0 #191970;
  display: inline-block;
  transition: .3s;
  margin-left: 45%;
  
}
  
.button12:hover {
  color: #191970;
  transform: translateY(5px);
  box-shadow: 0 0 0 #191970;
}

/* ここまで家づくり */


/* ここから家づくりの流れ */
.flow {
  position: relative;
  
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
 
}
.flow:before {
  position: absolute;
   background-image: url(../image/flow-haikei.jpg);
   background-repeat: no-repeat;
   background-size: cover;
    filter: blur(3px);
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     content: '';
}

.flow h2 {
  width: 23%;
  margin-top: 15%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10%;
  font-family: Triangle-Demo;
    font-size: 3vw;
    color: #191970;
    
}
.flow p {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin-top: 2%;
}

.flow-inner {
  display: flex;
  width: 80%;
  margin-top: 5%;
   margin-left: auto;
  margin-right: auto;
  

}
.flow-inner img {
  width: 60%;
}

.flow-flex {
  position: relative;
margin: 1%;
padding: 5%;
text-align: center;
border-radius: 50%;
background-color: #ffff;
}

.flow-flex p {
  position: absolute;
  width: 80%;
    top: 0;
    left: 0;
    white-space: pre-wrap;
    font-size: 1.6vw;
    color: #191970;
    border-bottom: 3px dotted #191970;
}

.button13 {
  background-color: #fff;
  border: solid 2px #191970;
  color: #191970;
  border-radius: 20px;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 1em;
  box-shadow: 0 5px 0 #191970;
  display: inline-block;
  transition: .3s;
  margin-top: 5%;
  margin-left: 45%;
  margin-bottom: 15%;
}

.button13:hover {
  color: #191970;
  transform: translateY(5px);
  box-shadow: 0 0 0 #191970;
}
/* ここまで家づくりの流れ */

/* ここから背景固定 */

    .back-ground1 {
        height: 40vw;
        background-image: url(../image/haikei.jpg);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-attachment: fixed;
    }
.back-ground2 {
        height: 20vw;
        background-image: url(../image/haikei.jpg);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-attachment: fixed;
    }

    /* ここから背景固定 */


/* ここからお知らせ */
.section-news h2 {
  width: 13%;
  margin-top: 10%;
   margin-left: auto;
  margin-right: auto;
    font-family: Triangle-Demo;
    font-size: 3vw;
    color: #191970;
   
}


.news-list{
  list-style: none outside;
  width: 60%;
  padding: 5%;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}


.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #191970;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}

.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}


.news-list .item .date{
  margin: 0;
  min-width: 120px;
  font-size: 16px;
  color: #191970;
  padding: 0 20px 0 0;
}


.news-list .item .title{
  margin: 0;
  width: 100%;
  font-family: sans-serif;
}
.news-list .item a:hover .title{
  color: rgb(253, 66, 66);
}



@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
}
/* ここまでお知らせ */

/* ここからフッター */

.footer-logo {
  width: 15%;
  margin-top: 5%;
  margin-left: 10%;
  
}

.footer-logo img {
  width: 100%;
  margin-bottom: 5%;
}


footer {
    padding-top: 2%;
    padding-bottom: 2%;
    background-color: #443322;
}

footer p {
    text-align: center;
    color: #fff;
    font-size: 2vw;
    font-family: 'Courier New', Courier, monospace;
}

footer p span {
    margin-left: 0.3em;
    margin-right: 0.3em;
}

.address {
  color: #fff;
  width: 50%;
  padding: 5%;
  margin-left: 5%;
  font-style: normal;
  margin-bottom: 5%;
  
}

address {
  line-height: 2;
  font-size: 1.6vw;
  border-bottom: 1px solid #fff;
  
}

.footer-flex {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  
}


#page_top{
  width: 50px;
  height: 50px;
  /* position: fixed; */
  right: 0;
  bottom: 0;
  background: #f83a3a;
  opacity: 0.6;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1%;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}


.footer-kuma {
  width: 25%;

}
.footer-kuma img {
  width: 100%;
  margin-left: 30%;
}

/* ここまでフッター */





/* ここから会社概要ページ */
/* table1 */

.section-company {
  width: 55%;
  margin-top: 15%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15%;
}

.section-company h2 {
   margin-top: 20%;
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 10%;
   width: 25%;
    font-family: Triangle-Demo;
    font-size: 3vw;
    color: #191970;
}



.table1 tr {
  text-align: center;
  border-bottom: 5px solid #080808;
}

.table1 th,
.table1 td {
  padding: 5% ;
  border-bottom: 1px solid #080808;
  
}

.table1 th {
  width: 40%;
  text-align: center;
  border: none;
}

iframe {
    display: block;
    width: 100%;
    height: 40vw;
    margin-top: 20%;
    margin-left: auto;
    margin-right: auto;
}


/* ここまで会社概要ページ */





/*  ここからお問い合わせページ*/


/* フォームのタイトル */
.section-contact h2 {
    width: 48%;
    margin-top: 15%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
    font-size: 3vw;
    font-family: Triangle-Demo;
    color: #191970;
  
}

.section-contact p {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3%;
  width: 50%;
  white-space: pre-wrap;
  text-align: justify;
  font-family: 'Courier New', Courier, monospace;

}


/* フォーム全体のスタイル */
form {
    background-color: white;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    margin: auto;
    margin-bottom: 10%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* ラベルのスタイル */
label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #555;
}

/* 入力欄のスタイル */
input, textarea {
    width: 100%; /* box-sizingが適用されるので、paddingやborder込みで100%に収まる */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* テキストエリアの高さを調整 */
textarea {
    resize: vertical;
    height: 120px;
}

/* 送信ボタンのスタイル */
button {
    background-color: #166686;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* ホバー時のボタンスタイル */
button:hover {
    background-color: #191970;
}


.policy {
  width: 80%;
  margin-top: 2%;
  font-size: 0.7vw;
}
.policy a {
  font-size: 0.7vw;
  color: #3378c7;
}

/*  ここまでお問い合わせページ*/

  