@charset "UTF-8";
/*各ページ独自のcss設定*/


/*以下に指定を記述する*/
body{
   background-color:#fffbf8;
}
.title{
   font-size: 28px;
   color: #3e3a39;
   text-align: center;
   margin-top: 40px;
}

.linebox {
  position: relative;
  width: 265px;
  height: 4px;
  margin: 0 auto;

}

.line {
  position: absolute;
  height: 4px;
}

.line1 {
  width: 120px;
  background: #edaa0b;
  border-radius: 10px;
  z-index: 3;
  left: 0;
}

.line2 {
  width: 100px;
  background: #f3c759;
  border-radius: 0 10px 10px 0;
  z-index: 2;
  left: 105px;
}

.line3 {
  width: 80px;
  background: #f9e3aa;
  border-radius: 0 10px 10px 0;
  z-index: 1;
  right: 0;
}

.back-to-top {
position: fixed;
bottom: 15px;
right: 15px;
background-color: #f3c75999;
color: white;
padding: 10px 14px;
border-radius: 25px;
text-decoration: none;
font-weight: bold;
font-size: 14px;
z-index: 999;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
}

.back-to-top:hover {
background-color: #e07e0099;
}

h1{
   color:#3e3a39;
   font-size: 28px;
   margin:auto;
}

.box{
    display: block;
    text-decoration: none;
    color: #3e3a39;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    padding-top: 20px;
    background-color: #ffffff;
    width: 127px;
    height: 108px;
    box-shadow: 1px 1px 1px #00000066;
    mix-blend-mode: multiply;
    z-index: 1;
    position: relative;
    line-height: 1;
    border: solid 1px #e5e5e5;
}

.contentsname{
   display:inline;
   position: relative;
}

.contentsname::before{
   content: "";
    display: block;
    width: calc(100% + 4px);
    height: 4px;
    background: #edaa0b80;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    margin-top: 16px;
    z-index: -1;
}



.img_local{
  width: 50px;
   height: 48px;
   filter: brightness(0) saturate(100%) invert(43%) sepia(0%) saturate(0%) hue-rotate(175deg) brightness(90%) contrast(86%);
   margin: 0 auto;
   margin-top: 12px;
   display: block; 
}

.img_nocram{
  width: 46px;
  height: 48px;
   filter: brightness(0) saturate(100%) invert(43%) sepia(0%) saturate(0%) hue-rotate(175deg) brightness(90%) contrast(86%);
   margin: 0 auto;
   margin-top: 11px;
   display: block; 
}

.img_activity{
  width: 48px;
   height: 59px;
   filter: brightness(0) saturate(100%) invert(43%) sepia(0%) saturate(0%) hue-rotate(175deg) brightness(90%) contrast(86%);
   margin: 0 auto;
   margin-top: 5px;
   display: block; 
}

.img_switch{
  width: 58px;
   height: 51px;
   filter: brightness(0) saturate(100%) invert(43%) sepia(0%) saturate(0%) hue-rotate(175deg) brightness(90%) contrast(86%);
   margin: 0 auto;
   margin-top: 10px;
   display: block; 
}

.img_love{
  width: 54px;
   height: 47px;
   filter: brightness(0) saturate(100%) invert(43%) sepia(0%) saturate(0%) hue-rotate(175deg) brightness(90%) contrast(86%);
   margin: 0 auto;
   margin-top: 10px;
   display: block; 
}

.img_tips{
    width: 127px;
    height: 108px;
}

.box-contents{
   margin-top: 60px;
   display:flex;
   flex-wrap:wrap;
   gap: 45px;
   justify-content: center;
}

.triangle{
   width: 80px;
   height: 80px;
   background: linear-gradient(to bottom right, #ffffff80 60%, #edaa0b80 100%);
   clip-path: polygon(0 100%, 100% 0, 100% 100%);
   z-index: 0;
   position: absolute;
   top: 27px;
   left: 46px;
}
.empty_box{
   padding-top: 20px;
   padding-bottom: 13px;
   display: flex;
   flex-direction: column;
   position:relative;
   font-size: 14px;
   height: 108px;
   width: 127px;
   background-color: #fffbf8;
   gap: 13px;
}

.back{
      font-size: 17px;
      font-weight: 500;
      color: #3e3a39;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #f9f9f9;
      width: 180px;
      height: 45px;
      margin: 0 auto;
      box-shadow: 1px 1px 1px #00000080;
      margin-top: 60px;
      margin-bottom: 90px;
      position: relative;
      text-decoration: none;
}

.back::before{
   content: "";
    position: absolute;
    top: 30px;
    left: 0px;
    width: 15px;
    height: 15px;
    background-color: #edaa0b;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.back::after{
    content: "";
    position: absolute;
    top: 0px;
    left: 166px;
    width: 15px;
    height: 15px;
    background-color: #b3b3b3;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.yokoline {
    display: inline-block;
    width: 30px;
    height: 0.75px;
    background: #4d4d4d;
    position: absolute;
    top: 55%;
    transform: translateY(-60%);
    left: 33px;
}

.nanameline {
    display: inline-block;
    width: 10px;
    height: 0.75px;
    background: #4d4d4d;
    transform: rotate(-45deg) translateY(-60%);
    transform-origin: left bottom;
    position: absolute;
    top: 55%;
    left: 33px;
}

/*
css概説（復習用　要らなければ消してください）

vol.1 用語の解説

セレクタ…装飾をつけたい対象の要素のこと
属性…セレクタに施したい装飾の種類
値…セレクタに施したい装飾の具体的内容

例：h1{color:red;}
h1がセレクタ　colorが属性　redが値

vol.2 セレクタの指定
①要素名で指定
h1{color:red;}

②class名で指定
.class{color:red;}

③id名で指定
#id{color:red;}

④要素名プラスclass名で指定
div.class{color:red;}

⑤要素名プラスid名で指定
div#id{color:red;}

⑥要素の位置から指定
header div{color:red;}   
↑スペースを入れる（ここではheader内のdiv要素を指定）

vol.3 属性・値の指定

①{属性:値;}の形で記述
{color:red;}

②１つのセレクタに対する指定はまとめて記述できる
h1{
   color:red;
   width:90%;
}

③指定が重複したら後の行にあるものが優先
h1{
   color:red;
   width:90%;
   color:blue;
}
↑ここではh1はblueになる

④指定が重複したらより特定が強いものが優先
h1{
   color:red;
   width:90%;
}
header h1{
   color:blue;
}
↑ここではheader内のh1はcolorがblue、widthが90%になる
*/

@media screen and (min-width:1024px) {
    /*レスポンシブ用*/

h1{
   font-size:32px;
}

.box-contents{
    width: 80%;
    margin: auto;
    margin-top: 60px;
}
.box{
   font-size: 20px;
   width: 17%;
   height: unset;
   aspect-ratio: 127/108;
}
.box:hover{
   transform: translateY(4px);
   box-shadow: none;
}
.triangle{
   width: 80px;
   height: 80px;
   top: auto;
   bottom: 0px;
   left: auto;
   right: 0px;
}

.back{
   width: 188px;
   height: 53px;
   font-size: 18px;
}
.back:hover{
   transform: translateY(4px);
   box-shadow: none;
}
.back::before{
   content: "";
    position: absolute;
    top: 33px;
    left: 0px;
    width: 20px;
    height: 20px;
    background-color: #edaa0b;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.back::after{
    content: "";
    position: absolute;
    top: 0px;
    left: 168px;
    width: 20px;
    height: 20px;
    background-color: #b3b3b3;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.img_local{
   width: 50%;
   height: unset;
   margin: auto;
   margin-top: 10%;
}
.img_activity{
   width: 35%;
   height: unset;
   margin: auto;
   margin-top: 10%;
}
.img_nocram{
   width: 35%;
   height: unset;
   margin: auto;
   margin-top: 10%;
}
.img_switch{
   width: 50%;
   height: unset;
   margin: auto;
   margin-top: 10%;
}
.img_love{
  width: 50%;
   height: unset;
   margin: auto;
   margin-top: 10%;
}
.img_tips{
  width: 70%;
   height: auto;
}    
.tips_box{
   display: block;
    text-decoration: none;
    color: #3e3a39;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    padding-top: 20px;
    background-color: #ffffff;
    mix-blend-mode: multiply;
    z-index: 1;
    position: relative;
    line-height: 1;

    width: 17%;
    height: unset;
    aspect-ratio: 127/108;
}

}
    