* {box-sizing:border-box}

a {
    text-decoration: none;
}

header {
    height: 100px;
    border-bottom: 5px solid #5ED079;
    padding: 0 50px;
    position: relative;
}

/* .header-logo {

} */

.header-img {
    height: 50px;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    display: inline-block;
}

.header-list {
    width: 750px;
    position: relative;
    position: absolute;
    top: 50%;
    right: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* text-align: right; */
}

.header-list ul {
    position: absolute;
    right: 0;
}


.header-list a {
    color: #7E7E7E;
    padding-bottom: 5px;
}

.header-list li {
    /* margin-left: 20px; */
    font-size: 16px;
    color: #7E7E7E;
    padding-bottom: 5px;
}

.header-list li:hover {
    cursor: pointer;
    color: rgb(43, 41, 41);
}

.line-blueblack {
    border-bottom: 2px solid #171155;
    /* background: linear-gradient(transparent 80%, #0EFF57 100%); */
    padding: 0 10px;
}

.line-green {
    border-bottom: 2px solid #0EFF57;
    /* background: linear-gradient(transparent 80%, #0EFF57 100%); */
    padding: 0 10px;
}

.line-blue {
    border-bottom: 2px solid #00C4FF;
    padding: 0 10px;
}

.line-red {
    border-bottom: 2px solid #FF0000;
    padding: 0 10px;
}

.line-yellow {
    border-bottom: 2px solid #01740b;
    padding: 0 10px;
}

.line-purple {
    border-bottom: 2px solid #ff8800;
    padding: 0 10px;
}

.container {
    margin: 0 50px;
    /* display: flex;
    flex-direction: column;
    justify-content: start; */
}

.catch {
    width: 350px;
    height: 50px;
    line-height: 50px;
    /* padding-left: 20px; */
    border-radius: 20px;
    background-color: rgba(246, 38, 38, 0.561);
    color: white;
    /* text-shadow    : 
       1px  1px 1px #256600,
      -1px  1px 1px #256600,
       1px -1px 1px #256600,
      -1px -1px 1px #256600,
       1px  0px 1px #256600,
       0px  1px 1px #256600,
      -1px  0px 1px #256600,
       0px -1px 1px #256600; */
    /* opacity: 0.5; */
    margin-bottom: 50px;
}

/* .catch::after {
    content: "";
    background-color: white;
    opacity: 0.5;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
} */

.catch h3 {
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1; */
    /* font-size: 15px; */
    text-align: center;
    color: white;
}

.title {
    margin-top: 30px;
    /* border-left: 10px solid #0EFF57; */
    /* height: 50px; */
    /* margin-bottom: 50px; */
    display: block;
    /* padding-bottom: 200px; */
}

.trouble-title {
    padding-left: 10px;
    font-size: 25px;
    line-height: 50px;
    margin-bottom: 20px;
    height: 50px;
    border-left: 10px solid #FF4040;
}

.p-title {
    font-size: 15px;
    margin-left: 20px;
    font-weight: bold;
    margin-bottom: 50px;
}


.trouble-section {
    text-align: center;
    line-height: 25px;
    margin-bottom: 30px;
}

.trouble-section2 {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 50px;
}

/* .trouble-sp {
    display: none;
} */

.subtitle h3 {
    width: 350px;
    height: 50px;
    line-height: 50px;
    /* padding-left: 20px; */
    text-align: center;
    border-radius: 20px;
    background-color: rgb(246, 83, 38);
    color: white;
    /* text-shadow    : 
       1px  1px 1px #256600,
      -1px  1px 1px #256600,
       1px -1px 1px #256600,
      -1px -1px 1px #256600,
       1px  0px 1px #256600,
       0px  1px 1px #256600,
      -1px  0px 1px #256600,
       0px -1px 1px #256600; */
    /* opacity: 0.5; */
    margin-bottom: 50px;
}

.sub-graf {
    /* text-align: center; */
    margin: 0 auto;
    height: 700px;
}

.img-center {
    text-align: center;
    margin-bottom: 50px;
}

.footer-up {
    height: 80px;
    background-color: rgb(241, 239, 239);
    padding: 20px 50px;
    font-size: 12px;
    color: #7ACC8D;
}

.footer-up a {
    color: #7ACC8D;
}

.footer-top {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

.footer-middle {
    display: flex;
    flex-direction: row;
}

.footer-bottom {
    height: 40px;
    background-color: #7ACC8D;
    color: white;
    text-align: center;
    font-size: 12px;
    line-height: 40px;
    letter-spacing: 2px;
    font-weight: lighter;
}

@media (max-width: 1279px) {
    .header-img {
        height: 40px;
        top: auto;
        bottom: 25%;
    }

    .header-list li {
        font-size: 80%;
        /* margin-right: 10px; */
    }

    .header-list a {
        margin-right: 10px;
    }

    .header-list {
        justify-content: flex-end;
    }

}

@media (min-width: 769px) {
   
.p-title br {
    display: none;    
}
}

@media (max-width:1024px) {

    header {
        width: 100%;
        /* height: 100px; */
        /* margin-bottom: 50px; */
        z-index: 100;
        background-color: #fff;
        position: fixed;
        left: 0;
        top: 0;
    }

    .container {
        margin-top: 150px;
    }

    .header-list {
    flex-direction: column;
}

    .hamburger {
  display : block;
  position: fixed;
  z-index : 3;
  right : 45px;
  top   : 30px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #555;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  top  : 70px;
  left : 70%;
  color: #000;
  background: #fff;
  text-align: center;
  transform: translateX(100%);
  transition: all 0.6s;
  width: 30%;
}

nav.globalMenuSp ul {
  background: rgb(255, 255, 255);
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid #fff;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
nav.globalMenuSp ul li:hover{
  background :#ddd;
}

nav.globalMenuSp ul li a {
  height: 70px;
  line-height: 50px;
  display: block;
  color: #000;
  padding: 1em 0;
  text-decoration :none;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  transform: translateX(0%);
}

.sub-graf {
    height: 580px;
}

.trouble-section2 {
    font-size: 9px;
}

}

@media (max-width:768px) {

    .p-title {
        font-size: 13px;
    }

    .trouble-section {
        font-size: 11px;
        line-height: 16px;
    }

    .sub-graf {
        height: 450px;
    }

    .trouble-section2 {
        font-size: 10px;
    }
}

@media (max-width: 599px) {
    .trouble-title {
        font-size: 18px;
    }
    .p-title {
        font-size: 11px;
        margin-left: 0;
        /* font-weight: normal; */
        line-height: 15px;
    }

    .container {
        margin: 0 25px;
        margin-top: 150px;
    }

    .subtitle h3 {
        font-size: 16px;
        width: 270px;
    }

    .sub-graf {
        height: 75vw;
    }

    .trouble-section2 {
        font-size: 10px;
        line-height: 12px;
    }
        .footer-up {
        font-size: 10px;
    }
}

@media (min-width: 600px) {
    .sec-sp {
        display: none;
    }
}

@media (min-width: 1501px) {
    .container {
        width: 1500px;
        margin: 0 auto;
        /* background-color: rgb(238, 235, 235); */
    }
}