*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル設定 */
html {
	scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "M PLUS Rounded 1c";
}

.grid-container {
    display: grid; /* グリッドレイアウトを有効にする */
    grid-template-columns: 4fr 3fr 4fr; /* カラムの比率を設定 */
    gap:0; /* カラム間のスペースを設定 */
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto; /* コンテナを中央に配置 */
}

.left-column, .main-column, .right-column {
    padding:0;
    background-color: #008ba4;
    box-sizing: border-box; /* パディングとボーダーを含めてサイズを計算 */
}

.left-column{
position: relative;
}

.left-column .title{
position:fixed;
top:200px;
left:20px;
width: 400px;
  opacity: 0;
    visibility: hidden;
    margin: 0 auto;
}

.left-column .title img{
    width: 100%;
}

.title.up01{
    opacity: 1;
    visibility: visible;
    transition: 0.8s ease-in-out;
}

.main-column{
    background-color: #FFF;
}

/* メディアクエリでレスポンシブ対応 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; /* 1カラムレイアウトに切り替える */
    }
    .left-column, .right-column {
        /*order: -1;  ナビゲーションカラムを中央カラムの上に表示 */
        display: none;
    }
}

@media (max-width: 1200px) {
    .title{
      display: none;  
    }
}

.wrapper img{
    width: 100%;
}

.wrapper{
    margin:0 0 30px;
}

.container{
    opacity: 1;
}

.container.hide01{
    opacity: 0;
}



/* ヘッダー */
header{
    position: sticky;
    top: 0;
    z-index: 999;
background: #FFF;
box-shadow: 0px 5px 5px -5px gray;
}
header .menu{
    width: 90%;
    height: 60px;
    margin: 0 auto;
    display: flex;
justify-content: space-between;
align-items: center;
}

h1{
    font-size: small;
    width: 100%;
    max-width: 200px;
}

h1 img{
    width: 100%;
}


.box{
    position: absolute;
    width: 100%;
    height:100vh;
    background:#db471c;
    opacity: 0;
    transition: all 1s;
    z-index: 999;
}

.box.hide{
    opacity: 1;
}

nav{
width: 65%;
margin: 50px auto 0;
}

ul li{
    list-style: none;
    position: relative;
    padding-left: 10px;
}

ul li:before {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
  }

ul li a{
line-height: 3rem;
    font-size: 1.2rem;
    color: #FFF;
    font-weight: 600;
    text-decoration: none;
}

.bnr{
    width: 90%;
    margin: 0 auto 10px;
}

.bnr img{
    width: 100%;
}

.btn{
 width:70%;
color:#FFF;
display: block;
cursor: pointer;
background: #000000;
padding: 10px 0;
margin: 0 auto 30px;
font-size: 0.8rem;
text-decoration: none;
font-weight: 600;
text-align: center;
border-radius: 10px;
position:relative;
z-index: 999;
opacity: 1;
}

.btn.hide01{
    opacity: 0;
}



footer{
    text-align: center;
}

footer p{
    font-size: 0.8rem;
    margin: 0 auto 50px;
    text-align: center;
}


/* 開閉ボタンアニメーション */
.button{
    width: 35px;
    height: 35px;
    display: flex;
    flex-direction: column;
    gap:4px;
    justify-content: center;
    align-items: center;
    z-index: 999px;
    border: 2px solid #db471c;
    background: #FFF;
    border-radius: 10%;
}

.button span{
    width: 24px;
    height: 2.4px;
    background: #db471c;
    display: inline-block;
    transition: all 0.4s ease-in-out;
}
:root[open] .button span:nth-child(1){
transform: translate(0,6px) rotate(45deg);
}

:root[open] .button span:nth-child(2){
transform: scaleX(0);
opacity: 0;
}

:root[open] .button span:nth-child(3){
    transform: translate(0,-7px) rotate(-45deg);
    }

    /*ページトップ*/
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 20px;
    bottom: 30px;
    background:#00b0ec;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#top_arrow{
    opacity: 0;
    visibility: hidden;
}

#top_arrow.up{
    opacity: 1;
    visibility: visible;
    transition: 0.8s ease-in-out;
}

#top_arrow.active{
    opacity: 0;
    visibility: hidden;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(20%) rotate(-45deg);
}

