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


/*以下に指定を記述する*/
body{
   background-color:#fffbf8;
}
.title{
   font-size: 28px;
   color: #333333;
   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;
}

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

.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;
}

.komidashi{
   width: 210px;
   height: 33px;
   background-color: #fffbf8;
   font-size: 16px;
   border-top: 1.5px solid #edaa0b ;
   border-bottom: 1.5px solid #edaa0b;
    place-items: center;
    text-align: center;
    position: relative;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.komidashi_p{
   color: #333333;
   font-size: 16px;
   font-weight: 500;
   margin: 0 auto;
   line-height: 33px;
}

.komidashi::before{
   content:"";
   transform: rotate(135deg);
   border-top: 15px solid #edaa0b;
   border-right: 15px solid transparent;
   border-bottom: 15px solid transparent;
   border-left: 15px solid transparent;
   position: absolute;
   top: -15px;
   left: -14.5px;
}
.komidashi::after{
   content:"";
   transform: rotate(-45deg);
   border-top: 15px solid #edaa0b;
   border-right: 15px solid transparent;
   border-bottom: 15px solid transparent;
   border-left: 15px solid transparent;
   position: absolute;
   top: 17px;
   left: 195.5px;
}

.box {
    background-color: #ffffff;
    width: 335px;
    height: auto;
    border: 1px solid #edaa0b;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 15px;
    position: relative;
    text-align: justify;
    text-align-last: left;
    font-size:14px;
}

.topic{
   background-color:#fffbf8;
   font-size: 15px;
   position: absolute;
   top: -22px;
   left: 0px;

}

.c-txtsp{
   font-size: 14px;
   margin: auto;
}

.img_switch_content1{
    width: 55px;
    position: absolute;
    left: 216px;
    top: -8px;
}
.img_switch_content2{
    width: 62px;
    position: absolute;
    left: 238px;
    top: 45px;
}
.back{
      font-size: 17px;
      font-weight: 500;
      color: #333333;
      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) {
    /*レスポンシブ用*/
.title{
   font-size:32px;
}
h1{
   font-size:32px;
}
.back-to-top{
   font-size:18px;
}
.box {
    background-color: #ffffff;
    width: 80%;
    height: auto;
    border: 1px solid #edaa0b;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 15px;
    position: relative;
    text-align: justify;
    text-align-last: left;
    font-size:18px;
}
.komidashi{
   width: 270px;
   font-size: 20px;
   height: 41px;
}
.komidashi_p{
   font-size: 20px;
}
.komidashi::before{
   content:"";
   transform: rotate(135deg);
   border-top: 15px solid #edaa0b;
   border-right: 15px solid transparent;
   border-bottom: 15px solid transparent;
   border-left: 15px solid transparent;
   position: absolute;
   top: -15px;
   left: -14.5px;
}
.komidashi::after{
   content:"";
   transform: rotate(-45deg);
   border-top: 15px solid #edaa0b;
   border-right: 15px solid transparent;
   border-bottom: 15px solid transparent;
   border-left: 15px solid transparent;
   position: absolute;
   top: 25px;
   left: 255.5px;
}
.topic{
   font-size: 19px;
}
.c-txtsp{
   font-size: 18px;
   margin: auto;
}
.back{
   width: 188px;
   height: 53px;
   font-size: 18px;
}
.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_switch_content2{
   width: 100px;
    position: absolute;
    left: 270px;
    top: -78px;

}
.img_switch_content1{
    width: 105px;
    position: absolute;
    left: 277px;
    top: -43px;
}
.back:hover{
   transform: translateY(4px);
   box-shadow: none;
}
}
    