@charset 'UTF-8';

/*
VARIABLES
================================================ */
:root {
    --light-green: #d5edeb;
    --green: #63dbd0;
    --brown: #403632;
    --light-grey: #eee;
    --white: #fff;
    --oswald-font: 'Oswald', sans-serif;
}

/*
GENERAL STYLING
================================================ */
body {
    color: var(--brown);
    background: url('../images/bg-sky.jpg') no-repeat right bottom / cover fixed;
    text-align: center;
    text-indent: 0;
   
}

/*
COMMON
================================================ */
p {
    line-height: 1.7;
}
img {
    max-width: 100%;
}
.title {
    font-family: var(--oswald-font);
    font-size: min(10vw, 4rem);
    margin-bottom: 2rem;
}
.btn {
    color: var(--white);
    background: var(--brown);
    border: 1px solid var(--brown);
    text-decoration: none;
    padding: 1rem;
    display: inline-block;
    margin: 2rem 0;
    transition: .4s;
}
.fadein{
    opacity: 0;
}


/*
LAYOUT
================================================ */
.wrapper {
    max-width: 38rem;
    margin: auto;
    padding: 0 1rem;
}

.align-center1 {
    text-align: center;
}

/*
LOADING
================================================ */
#loading {
    background-color: var(--light-grey);
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
}
#loading-screen {
    background-color: var(--light-green);
    position: fixed;
    inset: 0;
    z-index: 9998;
    translate: 0 100vh;
}
#loading p {
    font-size: 2rem;
    font-family: var(--oswald-font);
}

/*
SLIDE MENU
================================================ */
/* 開閉ボタン */
.btn-menu {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 4;
    padding: .5rem 1rem;
    border: 1px solid var(--brown);
    border-radius: 50%;
    height: 4rem;
    width: 4rem;
    transition: .4s;
}
.btn-menu svg {
    fill: var(--brown);
    margin-top: .25rem;
    height: 2rem;
    width: 2rem;
}

/* 閉じるボタン */
#menu-close {
    border: 1px solid var(--light-green);
}
#menu-close svg {
    fill: var(--light-green);
}

/* スライドメニューパネル */
#menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4;
    padding: 8rem 2rem 2rem;
    width: max(32vw, 20rem);
    height: 100vh;
    background-color: var(--brown);
    box-shadow: 0 0 2rem var(--brown);
    font-family: var(--oswald-font);
    translate: 100vw;
}
.menu-list {
    list-style: none;
}
.menu-list li {
    margin: 1.5rem 0;
    opacity: 0;
}
.menu-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 2rem;
}

html {
    scroll-behavior: smooth;
}
/*
事務所ロゴ
================================================*/
.align-center{
    width:75%;
    position: absolute;
    left: 5%;
    top: 2%;
    
}

/*
表紙
================================================ */
/*.hero {
    height: 100vh;
    position: relative;
}*/
.hero::after {
    content: '';
    width: 100%;
    height: 50vh;
    background: url('../images/') no-repeat center / cover;
    position: absolute;
    inset: 0;
   margin-top: 50%;
}


.hero .title {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -10% -50%;
    z-index: 2;
    width: 50%;
    font-size: max(1vw, 2rem);
    line-height: 1.2;
}
.hero p {
    text-align: left;
    margin-bottom: 2rem;
}

.hyoushi{
    margin-top: 20%;
}
/*
Welcom Message
================================================ */
.concept {
    margin: 8rem 0;
    background-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 20%,
        var(--light-grey) 20%,
        var(--light-grey) 100%
    );
}
.concept p {
    text-align: left;
    margin-bottom: 2rem;
}

.concept img{
    width: 50%;
    height: auto;  
}
/*
Handling Services
================================================ */
.gallery {
    display: flex;
    flex-direction: column-reverse;
}
/*.gallery-image {
    width: min(100%, calc(38rem - 2rem));
    margin: auto;
    position: relative;
}
.gallery-image::after {
    display: block;
    content: '';
    width: calc(100% - 2rem);
    height: calc(100% - 2.5rem);
    z-index: 3;
    border: 3px solid var(--white);
    top: 1rem;
    left: 1rem;
    position: absolute;
}
.gallery-image img {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
}*/
.gallery-thumbnails {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 1rem 0;
}
.gallery-thumbnails img {
    aspect-ratio: 3/4;
    object-fit: cover;
    cursor: pointer;
}
.gallery-image img{
    width: 50%;
    height: auto;  
}
/*
Information
================================================ */
/*.information {
    background: url('../images/bg-shop.jpg') no-repeat center top / cover;
    margin-top: 5rem;
    position: relative;
    height: 20rem;
    justify-content: center;
    align-items: center;
    max-width: 100%;       
  max-height: 100%;
}*/
.shop-content {
    background: var(--white);
    
    position: relative;
    
    width: 90vw;
    left: 0;
    right: 0%;
    margin-top: 10%;
}
.shop h3 {
    margin: 1rem 0;
    padding-top: 2rem;
    font-weight: normal;
    border-top: 1px solid var(--light-grey);
}

.info {
    width: 100%;
    max-width: 644px;
    margin: auto;
    padding: 0 1.5rem;
    border-spacing: 0;
  
}
.info th,
.info td {
    border-bottom: 1px solid #c9c2bc;
}
.info th {
    text-align: left;
    font-weight: normal;
    padding: 1rem;
}
.info td {
    padding: 1rem 0;
}

.information img{
    width: 50%;
    height: auto;
}
/*
Map
================================================ */
.location-map{
    position: relative;
    margin-top: 1rem;
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;    /* 垂直方向の中央揃え */
  height: 100vh;          /* 画面全体の高さ */
  max-width: 100%;        /* 画像が画面幅を超えないようにする */
  max-height: 100%;       /* 画像が画面高さを超えないようにする */
}

.google-map img{
    width: 50%;
    height: auto;  
    margin-top: 3rem;
}
/*
お問い合わせ
================================================ */

.email {
    max-width: 916px;
    background-color: #faf7f0;
    
    padding: 1.5rem 2.5rem 2.5rem;
    margin: 0 auto 2rem;
    width: 90vw;
}
.email p {
    margin: 1rem 0 2rem;
    text-align: left;
}

.email img{
    width: 50%;
    height: auto;  
}
/* フッター
================================================ */
.page-footer {
    background-image: url(../../images/footer-s01.png);
    background-size: cover;
    background-position: center;
    padding-top: 1rem;
    margin-top: 5rem;
}
.info {
    width: 100%;
    max-width: 644px;
    margin: auto;
    padding: 0 1.5rem;
    border-spacing: 0;
}
.info th,
.info td {
    border-bottom: 1px solid #c9c2bc;
}
.info th {
    text-align: left;
    font-weight: normal;
    padding: 1rem;
}
.info td {
    padding: 1rem 0;
}
.copyright {
    background-color: #432;
    text-align: center;
    padding: 2rem 0;
    margin-top: 6rem;
    color: #fff;
}

/* 全体の表示 */
.description {
position: relative; 
margin-top: 50%;
}

/* 記事の左右バランス調整 */
.kiji {
   
    text-align: left;
    margin-left: 0.5rem;
}
/*
デスクトップ版
================================================ */
@media(min-width: 1000px){
/* COMMON */
    .title {
        margin-bottom: 3rem;
    }
    .btn:hover {
        color: var(--brown);
        background: var(--light-green);
    }

      
/* SLIDE MENU */
    .btn-menu:hover {
        background-color: var(--light-green);
    }
    #menu-close:hover svg {
        fill: var(--brown);
    }
    .menu-list a:hover {
        transition: .4s;
        color: var(--green);
    }
    
/*
表紙
================================================ */
    .hero::after {
    content: '';
    width: 100%;
    height: 100vh;
    background: url('') no-repeat center / cover;
    position: absolute;
    inset: 0;
    margin-bottom: 50%;}

    .hero .title { 
        position: absolute;
        top: 50%;
        left: 50%;
        font-size: max(1vw, 3rem);
}
.hyoushi{
    margin-top: 10%;
}


/* CONCEPT*/
    .concept {
        display: flex;
        margin: 16rem 0;
    }
    .concept p {
        text-align-last: left;
    }
    .concept img {
        margin: -6rem 0;
        max-width: 38rem;
        
    }

/* GALLERY */
    .gallery {
        flex-direction: row;
    }
    
    /*.gallery-image {
        width: 50vw;
        margin: 0;
    }
    .gallery-image img {
        height: 100vh;
    }
    .gallery-content {
        width: 30vw;
    }*/
    .gallery-thumbnails {
        gap: 2vw;
        grid-template-columns: repeat(4, 1fr);
        width: 97vw; 
        box-sizing: border-box; 
        
    }
    .wrapper {
        max-width: 100rem;
        margin: 0;
        padding: 0 1rem;
    }
    .gallery-thumbnails img:hover {
        box-shadow: 0 0 1rem rgb(255, 255, 255);
        transition: .4s;
    }

    .gallery-image img {
        margin: -6rem 0;
        
        width: auto;
        height: auto;  
    }
/* information */
    .information {
        margin-top: 20%;
        margin-left: -10%;
        height: 0rem;
        

        position: relative;
    }
    .shop-content {
        background: var(--white);
        min-width: 800px;
        position: absolute;
        
        width: 90vw;
        left: 0;
        right: 0%;
        margin-top: -2%;
    }
    .shop h3 {
        margin: 1rem 0;
        padding-top: 2rem;
        font-weight: normal;
        border-top: 1px solid var(--light-grey);
    }
    .info {
        width: 100%;
        min-width: 800px;
        margin: auto;
        padding: 0 1.5rem;
        border-spacing: 0;
    }
    .info th,
    .info td {
        border-bottom: 1px solid #c9c2bc;
    }
    .info th {
        text-align: left;
        font-weight: normal;
        padding: 1rem;
    }
    .info td {
        padding: 1rem 0;
    }
.container{
display: flex;
flex-direction: row;
}
.information img{
    position: absolute;
   margin-top: -5%;
   margin-left: 20%;
   width: 25%;

}
/* location-map */  
.location-map {  position:relative;
    margin-top: 70%;
    margin-left: 50%;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;    /* 垂直方向の中央揃え */
  height: 100vh;          /* 画面全体の高さ */
  max-width: 100%;        /* 画像が画面幅を超えないようにする */
  max-height: 100%;       /* 画像が画面高さを超えないようにする */
}
.google-map img{
  position: absolute;
    margin-top: -45%;
    margin-left: -40%;
    width: 40%;
}
.map{
    width: 100%;
    height: 700px;
    width: 800px;
}

.email {
    margin-bottom: 4rem;
    margin-top: 10%;

}
.email img{
    width: 80%;
  
}

/* 記事 */
.text{width: 100%;

}
/* フッター */
html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* ページ全体の高さを確保 */
    display: flex;
    flex-direction: column; /* 縦方向のレイアウト */
}

.description {
    flex: 1; /* 記事部分を伸ばしてフッターを下に押し出す */
}

.page-footer {
    background-image: url(../images/footer-l01.png);
    padding-top: 2rem;
    
    text-align: center;
   
}
/* 全体の表示 */
.description {
    position: relative; 
    margin-top: 20%;
    }
    
/* 記事の左右バランス調整 */
.kiji {
   
    text-align: left;
    margin-left: 25%;
    margin-right: 25%;
}
}

