@charset "utf-8";

body {
    margin: 0;
}

html{
    color: #333333;
    font-size: 100%;
    font-family:  sans-serif;
    color: #393939;
	background: #efefef;

}

h1,h2,h3,h4,h5,h6,p,ul,ol,dl {
    margin-top: 0;
}

h3 {
    font-size: 1.3rem;
    color: #b31e75;
    text-align: center;
    padding: 1rem 0  1rem 1rem;
}

p {
   line-height: 1.8;
   padding-top: 2rem;
   margin:0 2rem;
   margin-bottom: 0;
}

img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

#color-title {
    text-align: center;
    padding-bottom: 2.5rem;
    
}

.color-toptext {
    width: 100%;
    height: 50%;
    margin: 2rem auto 0;
}

.item-btn {
    max-width: 200px;
}
.item-btn a:hover {
    opacity: 0.5;
}


/*各エリアごと　container / area / lead / img /
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/ 

.main-area{
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.main-lead {
    padding: 10px 20px 30px 20px;
	border-radius: 10px;
    margin-bottom: 0.5rem;

}

.main-title {
    padding-left: 1.5rem;
}

.main-coloritem {
    width: 330px;
    text-align: center;
    margin: 0 auto;
    
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
}

nav {
    background-color: #d9cdb6;
    margin: 0 auto;
}


.item-area {
    display: grid;
    gap:5px;
    grid-template-columns:repeat(2, 1fr);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 0 auto;
    padding: 1.75rem 0;
}

.colors-area {
    display: grid;
    grid-template-columns:repeat(5, 1fr);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.colors-img {
    width:165px;
    margin: 0 auto;
    padding: 1rem 0 1rem;
}


.main-img {
    display: block;
    max-width: 100%;
    height: auto;
}

span {
    color:#bd0771;
}

.read-text {
    margin: 2.5rem;
    padding-bottom: 2rem;
    font-size: 1rem;
    text-align: center;
}


.blog-img {
    width: 70%;
    margin: 0 auto;
}

/* ヘッター　header 
------------------------------------*/
header {
    max-width: 100%;
    height: 70px;    /* ①高さを指定する*/
    background-color: #144f35;
    margin: 0 auto;
}

.header-logo {
    width: 200px;
    padding: 0.9rem 0;
    padding-left: 8rem;
    margin-bottom: 0;
}

/*ナビゲーション　global-nav
ーーーーーーーーーーーーーーーーーーーーーー*/ 

.global-nav {
    display: flex;
    justify-content:space-around;
    margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;
}

.global-nav__item {
    flex: 1 1 auto;
    text-align: center;
}

.global-nav__item a {
    display: block;
    padding: 0.5rem 0;
    color:#414254;
    text-align: center;
    text-decoration: none;
}

.global-nav__item a:hover {
    color: #ffffff;
    background: #e2d4cc;
}

/*フッターナビゲーションfooter-nav
ーーーーーーーーーーーーーーーーーーーーーー*/ 

.footer-nav {
    display: flex;
    justify-content: center; 
    padding: 1.25rem 0;
    margin-bottom: 0;
    background-color:#d9cdb6;
    list-style-type: none;
}

.footer-nav__item {
    margin:0 15px;
}

.footer-nav__item a {
    color: #ffffff;
    text-decoration: none;
 }
 .footer-nav__item a:hover {
    opacity: 0.6;
 }

.footer-copy {
    padding: 0.5rem 0;
    margin: 0;
   color: #ffffff;
   text-align: center;
   font-size: 0.9rem;
   background-color: #414254;
}
/* チャイルドnav  global-child-nav 
-------------------------------- */ 
.global-child-nav {
    padding-left: 0;
    background-color:#a6cbcc;
    box-sizing: border-box;
    transition: background 0.3s linear;

}
.global-child-nav__item {
    list-style-type: none;
}

.pulldown {
    display:inline-block;
    position: relative;
}
.global-child-nav {
    position: absolute;
}


.pulldown {
    overflow: hidden;
}

.pulldown:hover {
    overflow: visible;

}
.global-child-nav {
    width: 100%;
}

.global-child-nav a {
    border-bottom:solid 1px #fff;
}
    /*トップページ　main
ーーーーーーーーーーーーーーーーーーーーーーーーーー*/

.main-title {
    padding-bottom: 5px;
    margin: 30px 0 10px 0;
    border-bottom: 3px dotted #085868;
    font-size: 1.3rem;
    
}

.container-item a:hover,
.colors-img a:hover {
    opacity: 0.7;
}


#shop_button {
    background-color:  #144f35;
    border: 1px solid  #144f35;
    padding: 12px 2px;
    border-radius: 20px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: background 0.1s linear;
    text-align: center; 
}
  

#shop_button_cover {
    text-align: center;
    margin-bottom: 5rem;
  }

  #shop_button_cover a:hover {
    opacity: 0.6;
  }


/* パワーカラー　selectcollorページ
ーーーーーーーーーーーーーーーーーーーーーーーーー*/
.color-select01 {
    background-color:#f0e9e2;
}
.color-select02 {
    background-color:#fffefd;
}

dl {
    margin: 1rem;
    padding: 1rem 1.5rem;
}

.color-dt {
    font-size: 18px;
    font-weight: bold;
}
dd {
    margin-left: 0;
    margin-top: 1rem;
}

.color-select01 {
    display: flex;
    margin: 2rem auto;
    align-items: center;
    padding: 0;
    box-shadow: 10px 10px 20px rgba(180, 178, 178, 0.5);
}

.color-select02 {
    display: flex;
    margin: 0 auto;
    align-items: center;
    padding: 0;
    box-shadow: 10px 10px 20px rgba(180, 178, 178, 0.5);
}

/* お問い合わせページ
ーーーーーーーーーーーーーーーーーーーーーーーーー*/

input[type="text"],
input[type="email"],
textarea {
    max-width :100%;
  }
  

select {
    border: solid 1px #7F7259;
    padding: 5px 0;
    width: 210px;
  }
  
  .must { color: #f00; }

  #entry dl {
    border-top: 0;
  }

  #entry dd {
    margin: 0;
}
  
  #entry dl dt,#entry dl dd {
    padding: 10px;
  }
  
  #entry dl dt {
    width: 13rem;
    float: left;
    clear: both;
    font-weight: bold;
  }
  
  #entry dl dd {
    margin-left: 13rem;
  }
  
  #entry #name  {
    width: 15rem;
    padding: 5px;
  }

  #entry #hurigana {
    width: 15rem;
    padding: 5px;

  }
  
  #entry #email {
    width: 15rem;
    padding: 5px;
  }

  #entry #detail {
    width: 36em;
    height: 15em;
  }
  
  #entry #submit_button_cover {
    text-align: center; 
  }

  #entry #submit_button {
    background-color:  #144f35;
    border: 1px solid  #144f35;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: background 0.1s linear;
  }
  

  /* totop 
  -------------------------------*/
.totop {
    width: 4.5rem;
    height: 4.5rem;
    border-radius:  2.5rem;
    background-color: #7f7f8b;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    
}
.totop a{
    width: 4.5rem;
    height: 4.5rem;
    padding-top: 10px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #f7f2f2;
    text-decoration: none;
    text-align: center;
}

.totop {                
    position: sticky;
    bottom: 4rem;
    margin-left: auto;
    margin-right: 1rem;
}

html{
    scroll-behavior: smooth;
}
/*
</header>の後に
    <input type="checkbox" id="menu-switch">
    <label for="menu-switch" class="onoff-btn">MENU</label>
を追加

<nav>に
    class="global-nav-box"
を追加
*/

#menu-switch,
.onoff-btn {
    display: none;
}

#acd-check1,
.acd-check {
    display: none;
}



@media screen and (max-width:814px){
    html {
        font-size: 87.5%;
    }

    .wrapper {
		margin: 0 8.5px;
	}

    .main-title {
        font-size: 100%;
    }
    .main-coloritem {
        width: 90%;
    }

    h3{
        padding-top: 1.5rem;
        text-align: center;
    }


    #menu-switch:checked ~ .nav-container {
        left: 0;
    }

    .onoff-btn {
        position: fixed;
        top: 7px;
        right: 10px;
        z-index: 90;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 4rem;
        height: 4rem;
        color: #ffffff;
        background-color: #7f7f8b;;
    }
    .nav-container {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
    }

    .onoff-btn {
        z-index: 99; /* 数字に意味はない */
    }
    
    .nav-container {
        z-index: 1;
        left: 100%;
        transition: all 0.3s linear;
    }

    .global-nav {
        flex-direction: column;
        padding-top: 1rem;
        padding-left: 2rem;
        background-color: #d9cdb6;

    }

    .global-nav a {
        font-size: 1.125rem;
    }

    .global-nav__item a{
        text-align: left;
        padding: 1.5rem 0 0.5rem;
        color: #ffffff;
    }
    
    .global-nav__item {
        border-bottom: solid 1px #ffffff;
    }


    .global-child-nav {
        display: none;
    }
        
/* パワーカラーページ
------------------------*/

/* 横並び解除*/
.color-select01 {
    width: 330px;
    display: block;
}

.color-select02 {
    width: 330px;
    display: block;
}

#red-area {
    margin: 0;
    width: 100%;
    height: auto;
}
.color-toptext {
    width: 100%;
}
.item-btn {
margin: 0 auto;
}

.container-item {
    width: 300px;
    margin: 0 auto;
}

#entry dl dd {
    margin: 0;
  }
  .totop {
      width: 3rem;
  }

  .colors-img{
  width: 140px;
  margin: 0 auto;
    
}
.colors-area {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));

}

/* 
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
*/
}









