@charset "UTF-8";

/* スマホ画面幅768px以下で縮小表示 */
@media screen and (max-width: 768px) {


body,html {
    width: 100%;
    height: 2800px;
    margin: 0;
    z-index: -100;
    position: relative;
    top:0;
    left:0; 
    background-color: #e9f9f9;
}

.toiawase {
    position: absolute;
    bottom: 25px;
    left: 10px;
    width: 50%;
    height: 28px;
    font-size: 17px;
    font-weight: 500;
    transform: rotate(0deg);
} 


.toiawase1 {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}
.toiawase2 {
    position: absolute;
    top: 0;
    left: 150px;
    font-size: 20px;
    font-weight: 500;
}

/*メイン写真*/
.main1 {
    width: 100%;
    height: 40%;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
}
.main1-1{
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height:100%;
    z-index: 5;
    
}
.g1 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 70% 0, 100% 100%, 0% 100%);
    background-color: aquamarine;    
}

.main1-2{
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height:100%;
    z-index: 0;
}

.titlebox {
    width: 400px;
    height: 70px;
    position: absolute;
    top: 5%;
    left: 5%;
    margin: 0;
    padding: 0;
   display: flex;
  justify-content: center; /* 横方向（左右）の中央揃え */
  align-items: center;     /* 縦方向（上下）の中央揃え */
    background-color: #00e667;
    border: double 10px #fff;
}

h1 {
    font-size:44px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    height: 100%;
    width: 100%;
}

.g2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    clip-path: polygon( 70% 100%, 0% 100%,0% 0%, 100% 0%);
    background-color: wheat;
    transform:scalex(-1);
}

/*ボタン*/
.linkidou {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 500px
}

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

.item {
    width:100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* ボタンの下にテキストを配置する場合 */
}

.p4 {
    display: flex; /* 縦並びにする */
    flex-direction: column;
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 縦方向も中央揃え */
    gap: 0; /* テキストとアイコンの間隔を調整 */
    width: 100%;
    height: 100%;
    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;
}

.p6,
.p5 {
    display: flex; /* 縦並びにする */
    flex-direction: row;
    align-items: center; /* 縦方向も中央揃え */
    width: 100px;
    height: 100%;
    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: 100px;
    height: 100%;
    max-width: 100pxpx;
    box-shadow: none;
    color: #00e667;
    background-color: #094;
    transform: translate(5px, 3px); /* 動きすぎないように微調整 */
}

/*会社案内*/
.main2 {
   width: 100%;
    height: 570px;
    z-index: -10;
    position: absolute;
    top: 40%;
    left: 0;
     transform-origin: top left;
}

.container {
    width: 1270px;
    height: 610px;
    overflow: hidden;
    position: absolute;
    left: 0;
}

/* この中身を1つの要素として縮小・拡大する */
.inner {
    width: 100%;
    height: 600px;
    transform-origin: top left;
}


.midasiwaku {
    z-index: 5;
    border-top-left-radius: 100% 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:500px;   
    z-index: -5;
}

#annnai {
    color: #000000;
    font-size: 35px;
    font-weight: 500;
    width: 168px;
    height: 56px;
    display: flex;
    transform: rotate(90deg);
    position: absolute;
    top: 70px;
    left: -54px;
    z-index: 10;
    background-color: #e9f9f9;
    align-items: center;
    justify-content: center;
    border-top: 10px ridge #03a84d;
    border-right: 10px ridge #03a84d;
    border-left: 10px ridge #03a84d;
    border-bottom: 10px ridge #03a84d;
}

.char3{
    display: flex;
    transform: rotate(-90deg);
    
}

.midasi1,.midasi2,.midasi3{
    border-bottom: solid 4px white;
}

.p1 {
   position: absolute;
    top: 40px;
    left: 65px;
    width: 291px;
    height: 102px;
    font-size: 20px;
    transform: rotate(-17deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.p2 {
    position: absolute;
    top: 2px;
    left: 413px;
    width: 90px;
    height: 68px;
    font-size: 20px;
    transform: rotate(-3deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}


.p3 {
    position: absolute;
    top: -3px;
    left: 470px;
    width: 510px;
    height: 68px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

#yakuinsimei {
    font-size: 30px;
    font-weight: 500;
    display: block;
    position: absolute;
    top: -20px;
}

#sihonkin {
    font-size: 30px;
    font-weight: 500;
    display: block;
    position: absolute;
    top: -20px;
}

#jigyonaiyo {
    font-size: 30px;
    font-weight: 500;
    display: block;
    position: absolute;
    top: -20px;
}
.kugiruwaku {
    position: absolute;
    top: 117px;
    left: -130px;
    width: 912px;
    height: 305px;
    border-left: 60px solid;
    border-top: 10px solid;
    border-top-left-radius: 101% 99%;
    border-color: #03a84d;
    transform-origin: center;
    transform: rotate(-3deg);
}

.kugiruwakusita {
    position: absolute;
    top: 64px;
    left: 9px;
    width: 592px;
    height: 529px;
    border-left: 55px solid;
    border-bottom: 0 solid;
    border-bottom-left-radius: 99% 98%;
    transform: rotate(-43deg);
    border-color: #03a84d;
    transform-origin: center;
}
/*経営理念*/

.rinen {
    position: absolute;
    top: 254px;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: 10;
}

#keirinen {
    font-size: 33px;
    font-weight: 500;
    margin-bottom: 10px;
    width: 133px;
    height: 30px;
    position: absolute;
    top: 88px;
    left: 29px;
    z-index: 10;
    color: #000000;
}

.miraizou,
.simeikan,
.katikan {
    margin: 10px;
    font-size: 20px;
}

.miraizou {
    position: absolute;
    top: 7px;
    left: 213px;
    width: 200px;
    height: auto;
    transform: rotate(-7deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.simeikan {
   position: absolute;
    top: -136px;
    left: 680px;
    width: 200px;
    height: auto;
    transform: rotate(-21deg);
}

.katikan {
    position: absolute;
    top: -53px;
    left: 442px;
    width: 200px;
    height: auto;
    transform: rotate(-17deg)
}

.k1 {
    font-size: 25px;
    font-weight: 450;
    border-bottom: solid 6px white;
    display: block;
    position: absolute;
    top: -20px;
    left: 28px;
}


/*デモ動画*/

.demo{
    position: absolute;
    top: 25px;
    left: -91px;
    z-index: 50;
    width: 670px;
    height: 490px;
}

.square-mask {
    width: 415px;
    height: 416px;
    overflow: hidden;
    clip-path: ellipse(50% 50% at 50% 50%);
    position: absolute;
    top: 0;
    left: 0;
}

.border-mask{
    clip-path: ellipse(50% 50% at 50% 50%);
    border: solid 10px #03a84d;
    width: 415px;
    height: 415px;
    border-radius: 50%;
    background-color: #e9f9f9;
    position: absolute;
    top: -10px;
    left: -10px;
}

.demokakoi{
    width: 415px;
    height: 415px;
    position: absolute;
    top: 133px;
    right: 20px;
}


.setumei{
    position: absolute;
    bottom: 10px;
    left: -267px;
    width: 524px;
    height: 51px;
    border-left: solid 0;
    border-bottom: solid 10px;
    border-bottom-left-radius: 100% 100%;
    border-color: #03a84d;
    transform-origin: center;
    z-index: -10;
}

/*文章高位置*/
.demo-char {
  position: relative;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.demo-char-0 {
  display: inline-block;
  position: relative;
  top: -9px;
}

.demo-char-1 {
  display: inline-block;
  position: relative;
  top: -7px;
}

.demo-char-2 {
  display: inline-block;
  position: relative;
  top: -3px;
}

.demo-char-3 {
  display: inline-block;
  position: relative;
  top: -1px;
}

.demo-char-4 {
  display: inline-block;
  position: relative;
  top: 1px;
}

.demo-char-5 {
  display: inline-block;
  position: relative;
  top: 3px;
}

.demo-char-6 {
  display: inline-block;
  position: relative;
  top: 4px;
}

.demo-char-7 {
  display: inline-block;
  position: relative;
  top: 6px;
}

.demo-char-8 {
  display: inline-block;
  position: relative;
  top: 6px;
}

.demo-char-9 {
  display: inline-block;
  position: relative;
  top: 8px;
}

.demo-char-10 {
  display: inline-block;
  position: relative;
  top: 8px;
}

.demo-char-11 {
  display: inline-block;
  position: relative;
  top: 8px;
}

/*位置情報*/


 .main3 {
    width: 100%;
    height:1000px;
}
.map{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
}
.map1 {
    position: static;
    width: 70%;
    height: 70%;
    z-index: 10;    
}
    
.qrcode {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.jusho {
    position: absolute;
    top: 0;
    left: 80px;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    transform-origin: center;
    width: 260px;
    height: 80px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: left;
}

.tyushaannai{
    width: 30%;
    height: 100%;
    position: static;
}

.map2 {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
}

.map3 {
    width: 70%;
    height: auto;
    position: static;
    z-index: -5;
}

.qrcode1 {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.jusho1 {
    position: absolute;
    top: 0;
    left: 80px;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    transform-origin: center;
    width: 260px;
    height: 80px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: left;
}

.tyushaannai1{
    width: 30%;
    height: 100%;
    position: static;
}

.tyusha1,.tyusha2{
    width: 100%;
    height: auto;
    cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 100%;
  max-height: 100%;
  z-index: 100;
}

.close-btn {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 600px;
  color: white;
  cursor: pointer;
}

/*装飾*/

/*装飾*/
.youmyaku4{
    position: absolute;
    top: -150px;
    left: 368px;
    width: 101px;
    height: 167px;
    border-right: solid 2px;
    border-bottom: solid 14px;
    border-bottom-right-radius: 100% 100%;
    border-color: #03a84d;
    transform-origin: center;
    transform: rotate(-42deg);
}

.youmyaku5{
    position: absolute;
    top: -146px;
    left: 528px;
    width: 133px;
    height: 126px;
    border-right: solid 0;
    border-bottom: solid 10px;
    border-bottom-right-radius: 100% 100%;
    border-color: #03a84d;
    transform-origin: center;
    transform: rotate(-59deg);
}

.youmyaku6{ 
    position: absolute;
    top: 137px;
    left: 100px;
    width: 188px;
    height: 199px;
    border-right: solid 5px;
    border-top: solid 16px;
    border-top-right-radius: 100% 100%;
    border-color: #03a84d;
    transform-origin: center;
    transform: rotate(7deg);
}

.youmyaku7{
        position: absolute;
    top: 37px;
    left: 375px;
    width: 138px;
    height: 289px;
    border-right: solid 7px;
    border-top: solid 15px;
    border-top-right-radius: 100% 100%;
    border-color: #03a84d;
    transform-origin: center;
    transform: rotate(-5deg);
}



.youmyaku8{
    position: absolute;
    top: 5px;
    left: 647px;
    width: 120px;
    height: 232px;
    border-right: solid 1px;
    border-top: solid 11px;
    border-top-right-radius: 100% 100%;
    border-color: #03a84d;
    transform-origin: center;
    transform: rotate(4deg);
}

.youmyaku9{
    position: absolute;
    top: -14px;
    left: 777px;
    width: 431px;
    border-right: solid 0;
    border-top: solid 10px;
    border-top-right-radius: 83% 97%;
    border-color: #03a84d;
    transform-origin: center;
    transform: rotate(-2deg);
    height: 114px;
}

/*会社紹介　葉　装飾*/
.nuritubusi1{
    background-color: #00e667;
    position: absolute;
    top: -54px;
    left: -52px;
    width: 957px;
    height: 515px;
    border-left: 5px solid;
    border-top: 1px solid;
    border-color: #00e667;
    transform: rotate(163deg) scaley(1);
    border-bottom-right-radius: 125%;
    border-top-right-radius: 142%;
    border-bottom-left-radius: 189%;
    border-top-left-radius: 184% 129%;
    z-index: -5;
} 

.nuritubusi3{
    background-color: #00e667;
    position: absolute;
    top: -97px;
    left: 494px;
    width: 619px;
    height: 364px;
    border-left: 2px solid;
    border-top: 0 solid;
    border-color: #00e667;
    transform: rotate(173deg) scaley(1);
    border-bottom-right-radius: 0;
    border-top-right-radius: 217%;
    border-bottom-left-radius: 564%;
    border-top-left-radius: 0%;
    z-index: -5;
}



}





