@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;
    width: 100%;
    margin: auto;   
}

/*
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(10vw, 10rem);
    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: 1rem;
}

html {
    scroll-behavior: smooth;
}
/*
事務所ロゴ
================================================*/
.align-center{
    width:75%;
    position: absolute;
    left: 5%;
    top: 2%;
    
}
/*ページタイトル*/
.page-title{
  font-size:10px; /* 普通の文字サイズ */
  font-weight: normal;
  text-align: center; /* 中央揃え（必要なら） */
  margin-top: 20px; /* 上に少し余白 */
}


/*
表紙
================================================ */
/*.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;
    
}

.page-title{
     text-align: left;
    margin-bottom: 2rem;
}
.hyoushi{
    margin-top: 20%;
}

/*いらっしゃいませ*/
.welcome{
    font-size: 10px;
}

/*新着情報*/
.news-box0 {
  display: flex;
  justify-content: center;
  align-items: center;
  height:20vh;
}
.news-box {
  width: 500px;
  height: 150px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch; 
  border: 2px solid;
  border-image: linear-gradient(90deg, #393939, #bababa) 1;
  padding: 20px;
  font-size: 0.9em;
  background-color: #f5f5f5; /* ← ここが背景色！ */
  box-sizing: border-box;
}
.news-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-box li {
  margin-bottom: 8px;
}

/*
Welcom Message
================================================ */
.concept {
    margin: 4rem 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;
    margin-left: 2%;
}

.concept img{
    width: 80%;
    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: -5rem 0 2rem;
    text-align: left;
}

.email img{
    width: 50%;
    height: auto;  
}
/* フッター
================================================ */
.page-footer {
    background-image: url(../images/footer-l01.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:10%;

}

/* 記事の左右バランス調整 */
.kiji {
   
    text-align: left;
    margin-left: 0.5rem;
}


/*イベント*/
.ratio-table { 
  margin: 0 auto; 
  width: 80%;
  border-collapse: collapse;
  table-layout: fixed; /* 幅指定を安定させる */
}

.ratio-table th,
.ratio-table td {
  border: 1px solid #000000;
  padding: 8px;
  white-space: pre-wrap;
  word-wrap: break-word;
  vertical-align: middle;
}

.wide-column-table {
    width: 80%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 auto;
    height: 10px;
  }
  .wide-column-table th,
  .wide-column-table td {
    border: 1px solid #000000;
    padding: 6px;
    white-space: pre-wrap;
    word-wrap: break-word;
    vertical-align: top;
    text-align: center;
    vertical-align: middle;
  }
  .wide-column-table p{
    font-size: 0.7rem;
  }

  .ratio-table2 { 
 width: 80%; 
 margin: auto; 
 border-collapse: collapse; 
 border: 1px solid #000000;
 height: 40px;
 vertical-align: middle;
}

.ratio-table3 { 
  width: 80%;
  margin: auto; 
  border-collapse: collapse; 
  border: 1px solid #000000;
  height: 30px;
  vertical-align: middle;
   overflow: hidden;
  text-overflow: ellipsis;
  table-layout: fixed;
}

  /*年*/ 
   .years2025 { 
  width: 50%; 
  margin: auto; 
  border-collapse: collapse; 
  border: 1px solid #000000;
}

.years2025 th,
.years2025 td {
 border: 1px solid #000000; 
 word-break: break-word; 
 white-space: normal;
 height: 40px; 
}

/*クリック文字色*/
.ratio-table a:link,
.ratio-table2 a:link,
.ratio-table3 a:link {
  color: rgb(35, 46, 255);
  text-decoration: none;
}

.ratio-table a:visited,
.ratio-table2 a:visited,
.ratio-table3 a:visited {
  color: rgb(35, 46, 255);
  text-decoration: none;
}

/*
デスクトップ版
================================================ */
@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);
    }
    

/*ページタイトル*/
.page-title{
  font-size:20px; /* 普通の文字サイズ */
  font-weight: normal;
  text-align: center; /* 中央揃え（必要なら） */
  margin-top: 20px; /* 上に少し余白 */
}

/*
表紙
================================================ */
    .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);
}
.page-title{
     text-align: left;
    margin-bottom: 2rem;
}
.hyoushi{
    margin-top: 10%;
    max-width: 60%;
    max-height: 60%;
    margin: auto;
}
/* ロゴの大きさ等 */
/* スライドメニューパネル */
#menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4;
    padding: 8rem 2rem 2rem;
    width: max(32vw, 15rem);
    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;
}


/*新着情報*/
.news-box0 {
  display: flex;
  justify-content: center;
  align-items: center;
  height:20vh;
}

/* CONCEPT*/
    .concept {
        display: flex;
        margin: 8rem 0;/* 事務所ロゴとWelcomMessageの間の幅 */
    }
    .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;
    }*/
    .pointer:hover {
        box-shadow: 0 0 1rem rgb(255, 255, 255);
        transition: .4s; 
    }
    .no-pointer:hover
     {
        box-shadow: 0 0 1rem rgba(0, 0, 0, 0);
        transition: .4s;
    }
    .gallery-image img {
        margin: -6rem 0;
        
        width: auto;
        height: auto;  
    }
    .no-pointer:hover {
    aspect-ratio: 3/4;
    object-fit: cover;
    cursor: pointer;
}
/* 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; /* 縦方向のレイアウト */
}


.page-footer {
    background-image: url(../images/footer-l01.png);
    padding-top: 2rem;
    
    text-align: center;
   
}
/* 全体の表示 */
.description {
    position: relative; 
    margin-top: 1%;
    margin: auto;
    width: 100%;
    flex: 1; /* 記事部分を伸ばしてフッターを下に押し出す */
    }
    
/* 記事の左右バランス調整 */
.kiji {
   
    text-align: left;
    margin-left: 25%;
    margin-right: 25%;
}


/*イベント*/
.ratio-table { 
  margin: 0 auto; 
  width: 90%;
  border-collapse: collapse;
  table-layout: fixed; /* 幅指定を安定させる */
}
.wide-column-table {
    width: 90%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 auto;
  }
  .wide-column-table th,
  .wide-column-table td {
    border: 1px solid #000000;
    padding: 6px;
    white-space: pre-wrap;
    word-wrap: break-word;
    vertical-align: top;
    text-align: center;
    vertical-align: middle;
  }

  .wide-column-table p{
    font-size: 1.0rem;
  }

.ratio-table2 { 
 width: 90%; 
 margin: auto; 
 border-collapse: collapse; 
 border: 1px solid #000000;
 height: 40px;
}

.ratio-table3 { 
  width: 90%;
  margin: auto; 
  border-collapse: collapse; 
  border: 1px solid #000000;
  height: 30px;
  
}

   /*年*/ 
   .years2025 { 
  width: 50%; 
  margin: auto; 
  border-collapse: collapse; 
  border: 1px solid #000000;
}

.years2025 th,
.years2025 td {
 border: 1px solid #000000; 
 word-break: break-word; 
 white-space: normal;
 height: 40px; 
}

}