@charset "utf-8";
}
/* *****共通設定***** */
main{
    display: block;
    position: relative;
}


/*1.フェードインアニメーションの指定*/
.scrollanime {opacity: 0;} /*一瞬表示されるのを防ぐ*/
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
    }
    100% {
    opacity: 1;
    transform: translate(0);
    }
}

/*2.上下の動きを指定*/
.updown {transform: translateY(-100px);}
.downup {transform: translateY(100px);}

/*3.左右の動きを指定*/
.sect02{overflow: hidden;} /*横スクロールバーを隠す*/
.slide-right {transform: translateX(200px);}
.slide-left {transform: translateX(-200px);}


.tomioka2022-pc {
    display: block !important;
    margin:0 auto;
}
.tomioka2022-sp {
    display: none !important;
    margin:0 auto;
}

@media only screen and (max-width: 540px){
    .tomioka2022-pc {
    display: none !important;
    margin:0 auto;
    }
    .tomioka2022-sp {
        display: block !important;
        margin:0 auto;
    }
}

@media screen and (min-width: 540px){
    .tomioka2022-br-pc {
      display:block;
    }
    .tomioka2022-br-sp {
        display:none;
    }
}
@media screen and (max-width: 540px){
    .tomioka2022-br-pc {
      display:none;
    }
    .tomioka2022-br-sp {
      display:block;
    }
}


h1{
    display: inline-block;
    font-size: 2.8rem;
    font-weight: 300;
    font-family: 'Libre Baskerville', serif;
    letter-spacing:0.8rem;
}

@media only screen and (max-width: 540px){
    h1{
    font-size: 2rem;
    letter-spacing:0.5rem;
    }
}

/* header */
#header .tomioka2022-btn {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

@media screen and (max-width: 540px)
{#header .tomioka2022-btn {
    margin-top: 10px;
    font-size: 15px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    }

}

#header .tomioka2022-btn:hover{
  color:  #bababa;
    transition: all 0.3s;
}


#header .tomioka2022-container{
    max-width: 1500px;
    padding-top: 20px;
    padding-left: 100px;
    position: absolute;
    z-index: 1;
    margin: 0 auto;
}

@media screen and (max-width: 1040px){
    #header .tomioka2022-container{
        padding-left: 30px;
    }
}

@media screen and (max-width: 798px){
    #header .tomioka2022-container{
        padding-left: 30px;
    }
}

@media screen and (max-width: 540px){
    #header .tomioka2022-container{
        padding-left: 10px;
    }
}

@media screen and (max-width: 375px){
    #header .tomioka2022-container{
        padding-left: 10px;
         margin-top: 10px;
    }
}


#header .nav {
  list-style: none;
  float: right;
}

#header .nav li {
padding-right: 50px;
  float: left;
}

@media screen and (max-width: 600px){
    #header .nav li {
    padding-right: 15px;
        font-size: 15px;
    }
}

@media screen and (max-width: 726px){
    #header .nav li {
    float: none;
    padding-right: 12px;
        font-size: 15px;
    }
}

#header .nav li a {
  text-decoration: none;
    float: left;
    color: #fff;
    letter-spacing: 3px;
}
#header .nav li a:hover{
    color: #bababa;
   transition: all 0.3s;
}

/* top */
#top{

}

/* sec1 */
#sec1{
    padding-top:900px;
    padding-bottom: 100px;
}

@media only screen and (min-width:726px) and (max-width: 1024px)
{
    #sec1{
    padding-top:600px;
}
}
@media only screen and (min-width:541px) and (max-width: 725px)
{
   #sec1{
    padding-top: 25rem;
}
}
@media only screen and (max-width: 540px)
{
   #sec1{
    padding-top: 45rem;
}
}
@media only screen and (max-width: 418px)
{
   #sec1{
    padding-top: 35rem;
}
}
@media only screen and (max-width: 390px)
{
     #sec1{
    padding-top: 31.5rem;
}
}
    @media only screen and (max-width: 280px)
{
     #sec1{
    padding-top: 25rem;
}
}

#sec1 .tomioka2022-card-container {
    max-width: 1000px;
    display: grid; /* カードの横並び */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* gridの設定 */
    gap: 1px 1px; /* カード同士の隙間 縦方向 横方向 */
    margin: 60px auto 0;
    text-align: start; /* カード内の中央寄せ解除 */
    padding: 2px auto;
    margin-bottom: 165px;
}

@media only screen and (max-width: 768px){
    #sec1 .tomioka2022-card-container {
        margin-bottom: 100px;
    }
}

#sec1 .container{
    text-align: center;
}



/* sec2 */

#sec2{
    text-align: center;
    display: block;
    margin: 0 auto;
   padding-bottom: 100px;
}

#sec2 .tomioka2022-card-container {
    max-width: 1200px;
    display: flex; /* カードの横並び */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* gridの設定 */
    gap: 1px 1px; /* カード同士の隙間 縦方向 横方向 */
    margin: 0 auto;
    text-align: start; /* カード内の中央寄せ解除 */
    padding: 40px;
}

@media screen and (max-width: 540px) {
    #sec2 .tomioka2022-card-container {
        padding: 5px;
    }

 .tomioka2022-card-container{
     flex-direction: column;
    }
    .tomioka2022-order1 {
        order: 1;
}
    .tomioka2022-order2 {
    order: 2;
}
    .tomioka2022-order3 {
        order: 3;
    }
    .tomioka2022-order4 {
        order: 4;
    }
    .tomioka2022-order5 {
        order: 5;
    }
}

#sec2 .tomioka2022-card-item {
    width: 100%;
    padding: 20px;
}

#sec2 .tomioka2022-card-p {
    width: 100%;
    padding: 20px;
    justify-content:center;
    align-items:center;
}

#sec2 .tomioka2022-col-4{

}

#sec2 .img-bottom{
     padding-bottom: 30px;
    padding-top: 30px;
}

@media screen and (max-width: 540px) {
#sec2 h1{
    text-align: center;
}
}
@media screen and (max-width: 540px) {
#sec2 p{
      text-align: left;
}
}
/* sec3 */

#sec3{
    text-align: center;
    display: block;
    margin: 0 auto;
    padding-top: 150px;
    background-image: url(../img/bg01.png);
    background-color: #faf1ed;
    background-repeat: no-repeat;
}



#sec3 .tomioka2022-card-container {
    max-width: 1200px;
    display: flex; /* カードの横並び */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* gridの設定 */
    gap: 1px 1px; /* カード同士の隙間 縦方向 横方向 */
    margin: 0 auto;
    text-align: start; /* カード内の中央寄せ解除 */
}


@media screen and (max-width: 540px) {
    #sec3 .tomioka2022-card-container {
        padding: 5px;
    }

 .tomioka2022-card-container{
     flex-direction: column;
    }
    .tomioka2022-order1 {
        order: 1;
}
    .tomioka2022-order2 {
    order: 2;
}
    .tomioka2022-order3 {
        order: 3;
    }
    .tomioka2022-order4 {
        order: 4;
    }
    .tomioka2022-order5 {
        order: 5;
    }
}

#sec3 .tomioka2022-card-item {
    width: 100%;
    padding: 20px;
    justify-content:left;
    align-items:left;
      background-color: #fff;


}

#sec3 .tomioka2022-card-p {
    width: 100%;
    padding: 20px;
    justify-content:left;
    align-items:left;
}


#sec3 .img-bottom{
   padding-bottom: 30px;
    padding-top: 30px;
}

#sec3 .card-container0{
    background: #fff;
    display: flex;
    margin: 20px auto;
    width: 100%;
    align-items: center;
    justify-content: center;
    border: solid 1px #000;
    max-width: 1500px;
}


#sec3 .card-text{
    width:100%;
    padding: 50px;
    text-align: left;

}
#sec3 .card-text h2{
    padding-top: 10px;
    text-align: left;

}

#sec3 .card-img{
   width: 700px;
}

#sec3 .card-img img{
    width:100%;
    height: 850px;
    vertical-align:bottom;
    object-fit: cover;
}
@media screen and (max-width:1024px) {
    #sec3 .card-img img{
       height:1040px;
    }
}

#sec3 .tomioka2022-col-12{
    border: solid 1px #000;
    padding: 0px;
}

@media only screen and (max-width: 820px){
    .tomioka2022-pc {
    display: none !important;
    margin:0 auto;
    }
    .tomioka2022-sp {
        display: block !important;
        margin:0 auto;
    }
}

/*PCサイズ*/

@media screen and (min-width:650px) {
    .card-container{
        max-width: 750px;
        height: 200px;
    }

    .card-text h2{
        font-size: 1.3em;
    }
    .card-text p{
        font-size: 1em;
    }
}

/* sec4 */

#sec4 .tomioka2022-link{
    margin-top: 100px;
}

#sec4{
    padding-top:80px;
    padding-bottom: 50px;
    text-align: center;
    background-color: #fdf8f6;
}

@media only screen and (max-width: 768px){
#sec4{
    padding-top: 100px;
}
}

#sec4 .img {
    text-align: center;
    margin: 10px;
}

#sec4 .tomioka2022-card-container {
    max-width: 500px;
    display: grid; /* カードの横並び */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* gridの設定 */
    gap: 1px 1px; /* カード同士の隙間 縦方向 横方向 */
    margin:0 auto;
}

#sec4 .tomioka2022-col-p{
      width: 100%;
    padding: 20px;
    justify-content:left;
    align-items:center;
}

#sec4 .tomioka2022-col-12{
padding-left: 120px;
    padding-right: 120px;
}

@media only screen and (max-width: 820px){
#sec4 .tomioka2022-col-12{
padding-left: 20px;
padding-right: 20px;
}
}

/* sec5 */
#sec5{
    background-color: #faf1ed;
    padding-top: 50px;
    padding-bottom: 50px;
}

#sec5 .col-sm-2{
    margin:10px;
}

#sec5 .tomioka2022-row{
    margin: 0 auto;
      list-style: none;
}

#sec5 li{
    text-align: center;
    float: left;
    max-width: 250px;
    margin: 0 auto;
}

#sec5 p{
     margin-top: 20px;
}

#sec5 .marker {
  background:linear-gradient(transparent 0, #fff 0);
    font-size: 15px;
}


#sec5 .tomioka2022-container{
    max-width: 1200px;
}

#sec5 img{
    box-shadow: -4px 3px 15px -7px rgba(0,0,0,0.6);
}

#sec5 h1{
    letter-spacing: 0.2rem;
}

/* sec6 */
#sec6 {
    padding-top: 100px;
    background-color: #f5f4e9;
    background-image: url(../img/bg02.png);
    background-repeat: no-repeat;
}

#sec6 .img-bottom{
   padding-bottom: 30px;
    padding-top: 30px;
}

#sec6 .tomioka2022-card-p {
    width: 100%;
    padding: 30px;
    justify-content:center;
    align-items:center
}

#sec6 .tomioka2022-card-item {
    width: 100%;
    padding: 20px;
    justify-content:left;
    align-items:left;
      background-color: #fff;
}


#sec6 .tomioka2022-card-container {
    max-width: 1200px;
    display: flex; /* カードの横並び */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* gridの設定 */
    gap: 1px 1px; /* カード同士の隙間 縦方向 横方向 */
    margin: 0 auto;
    text-align: start; /* カード内の中央寄せ解除 */
}


#sec6 .card-container0{
    background: #fff;
    display: flex;
    margin: 20px auto;
    width: 100%;
    align-items: center;
    justify-content: center;
    border: solid 1px #000;
    max-width: 1500px;
}


#sec6 .card-text{
    width:100%;
    padding: 50px;
    text-align: left;

}
#sec6 .card-text h2{
    padding-top: 10px;
    text-align: left;

}

#sec6 .card-img{
   width: 700px;
}

#sec6 .card-img img{
    width:100%;
    height: 850px;
    vertical-align:bottom;
    object-fit: cover;
}
@media screen and (max-width:1024px) {
    #sec3 .card-img img{
       height:1040px;
    }
}

#sec6 .tomioka2022-col-12{
    border: solid 1px #000;
    padding: 0px;
       text-align: center;
}

@media only screen and (max-width: 820px){
    .tomioka2022-pc {
    display: none !important;
    margin:0 auto;
    }
    .tomioka2022-sp {
        display: block !important;
        margin:0 auto;
    }
}

/* sec7 */
#sec7{
   padding-top:80px;
    padding-bottom: 50px;
       background-color: #fafaf4;

}

#sec7  .tomioka2022-btn-primary{
    background-color: #777133
}

#sec7  .tomioka2022-btn-primary:hover{
    background-color: #9b9556
}

#sec7 .tomioka2022-card-p{
  width: 100%;
    padding: 20px;
    justify-content:center;
    align-items:center
}

#sec7 .tomioka2022-col-12{
padding-left: 120px;
    padding-right: 120px;
}

@media only screen and (max-width: 820px){
#sec7 .tomioka2022-col-12{
padding-left: 20px;
padding-right: 20px;
}
}

/* sec8 */
#sec8{
    background-color: #f5f4e9;
    padding-top: 50px;
    padding-bottom: 50px;
}

#sec8 .col-sm-2{
    margin:10px;
}

#sec8 .tomioka2022-row{
    margin: 0 auto;
      list-style: none;
}

#sec8 li{
    text-align: center;
    float: left;
    max-width: 250px;
    margin: 0 auto;
}

#sec8 p{
     margin-top: 20px;
}

#sec8 h1{
    letter-spacing: 0.2rem;
}

#sec8 .marker {
  background:linear-gradient(transparent 0, #fff 0);
    font-size: 15px;
}

#sec8 .tomioka2022-container{
    max-width: 1200px;
}

#sec8 img{
    box-shadow: -4px 3px 15px -7px rgba(0,0,0,0.6);
}

/* footer */
footer{
    margin-top: 50px;
    margin-bottom: 50px;
}

footer .tomioka2022-container{
    max-width: 1500px;
    padding-top: 20px;
}

footer .tomioka2022-card-p{
    width: 100%;
    padding: 20px;
    justify-content:center;
    align-items:center
}
