/* Theme Name: hanapana.co.jp */

/*-----------------------------
COMPANY会社概要
-----------------------------*/

#page-company .content {
  padding-bottom: 100px;
}

#page-company .content h2 {
  color: #fff;
  font-size: 24px;
  position: relative;
  z-index: 2;
}

#page-company .content h2 span {
  display: block;
  font-size: 2.5em;
  line-height: 1.2;
}

#page-company .content h2::before {
  width: 2000px;
  height: 100%;
  background-color: #533D1F;
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
}

#page-company .content .body {
  margin-top: -90px;
  padding: 170px 80px 80px 80px;
  position: relative;
  z-index: 1;
}

#page-company .content .body::before {
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.5);
  width: 2000px;
  height: 100%;
  background-color: #fff;
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
}

#page-company .content .body .text {
  overflow: hidden;
}

#page-company .content .body .text img {
  width: 450px;
  margin: 0 0 40px 40px;
  float: right;
}

#page-company .content .body .text p {
  line-height: 2;
}

#page-company .content .body .ceo,
#page-company .content .body .coo {
  overflow: hidden;
}

#page-company .content .body .ceo img,
#page-company .content .body .coo img {
  width: 300px;
}

#page-company .content .body .ceo p,
#page-company .content .body .coo p {
  line-height: 2;
}

#page-company .content .body .ceo {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid;
}

#page-company .content .body .ceo img {
  margin-left: 40px;
  float: right;
}

#page-company .content .body .coo img {
  margin-right: 40px;
  float: left;
}

#page-company .content .body .link {
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.5);
  margin: 50px 50px 0;
  padding: 50px 0;
  background-color: #eee;
  position: relative;
  text-align: center;
  z-index: 0;
}

#page-company .content .body .link h3 {
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: normal;
}

#page-company .content .body .link a {
  width: 360px;
  border: 1px solid;
  line-height: 70px;
  text-align: center;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

#page-company .content .body .link a::before {
  width: 0;
  height: 100%;
  background-color: #533D1F;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.4s;
  z-index: -1;
}

#page-company .content .body .link a svg {
  -webkit-animation: arrowMove 0.6s infinite alternate;
  animation: arrowMove 0.6s infinite alternate;
  position: absolute;
  top: 50%;
  right: 25px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

#page-company .content .body .link a:hover {
  color: #fff;
}

#page-company .content .body .link a:hover::before {
  width: 100%;
}

#page-company .content .body .link a:hover .cls-1 {
  fill: #fff;
}

#page-company .content .body .link a:hover svg {
  -webkit-animation: none;
  animation: none;
}

#page-company .content .body .link a:hover {
  border-color: #212a2f;
}

#page-company section:nth-of-type(even) h2 {
  padding: 35px 0;
}

#page-company section:nth-of-type(even) h2::before {
  right: calc(50% - 220px);
}

#page-company section:nth-of-type(even) .body::before {
  right: 0;
}

#page-company section:nth-of-type(odd) h2 {
  padding: 35px 0 35px 430px;
}

#page-company section:nth-of-type(odd) h2::before {
  left: calc(50% - 220px);
}

#page-company section:nth-of-type(odd) .body::before {
  left: 0;
}

#page-company #sec1 {
  padding-top: 100px;
}


#page-company #sec3 .bg {
display: none;
  height: 200px;
  background: url("../images/img_company.jpg") no-repeat center/cover;
}

#page-company #sec3 .text > ul > li:not(:last-of-type) {
  margin-bottom: 30px;
}

#page-company #sec3 h3 {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #555;
  font-size: 28px;
}

#page-company #sec3 h4 {
  margin-bottom: 10px;
}

#page-company #sec3 .address {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#page-company #sec3 .address iframe {
  margin-bottom: 10px;
  display: block;
}

#page-company #sec3 .bank li {
  list-style-position: inside;
  list-style-type: disc;
}

#page-company #sec3 .bank li:not(:last-of-type) {
  margin-bottom: 10px;
}

#page-company #sec4 .historyList {
  position: relative;
}

#page-company #sec4 .historyList .year:not(:last-of-type) {
  margin-bottom: 30px;
}

#page-company #sec4 .historyList h3 {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 32px;
}

#page-company #sec4 .historyList h3 span {
  margin-left: 10px;
  display: inline-block;
  font-size: 0.6em;
}

#page-company #sec4 .historyList h3::before {
  width: 24px;
  height: 24px;
  margin-right: 20px;
  background-color: #62B1DD;
  border-radius: 50%;
  content: "";
}

#page-company #sec4 .historyList .monthList {
  padding-left: 55px;
}

#page-company #sec4 .historyList .monthList .month:not(:last-of-type) {
  margin-bottom: 20px;
}

#page-company #sec4 .historyList h4 {
  font-size: 20px;
}
#page-company #sec4 .historyList p {
  margin-left: 10px;
}
#page-company #sec4 .historyList p::before {
  content: "・";
}

#page-company #sec4 .historyList a {
  color: #337ab7;
  display: inline;
}

#page-company #sec4 .historyList::before {
  width: 2px;
  height: 100%;
  background-color: #eee;
  content: "";
  position: absolute;
  top: 14px;
  left: 11px;
  z-index: -1;
}

@media all and (max-width: 896px) {

  #page-company #sec3 h3 {
    font-size: 20px;
  }
  
  #page-company .content {
    padding-bottom: 50px;
  }

  #page-company .content h2 {
    width: calc(100% - 20px);
    padding: 20px !important;
    background-color: #533D1F;
    font-size: 1.6rem;
  }

  #page-company .content h2 span {
    font-size: 1em;
    line-height: 1.6;
  }

  #page-company .content h2::before {
    display: none;
  }

  #page-company .content .body {
    margin-top: -52.5px;
    padding: 72.5px 20px 20px;
    background-color: #fff;
    margin-bottom: 50px;
  }

  #page-company .content .body::before {
    display: none;
  }

  #page-company .content .body .text img {
    margin: 0 auto 20px;
    float: none;
  }

  #page-company .content .body .ceo {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  #page-company .content .body .ceo img {
    margin: 0 auto 20px;
    float: none;
  }

  #page-company .content .body .coo img {
    margin: 0 auto 20px;
    float: none;
  }

  #page-company .content .body .link {
    margin: 20px 0 0;
    padding: 20px;
  }

  #page-company section:nth-of-type(odd) h2::before {
    right: 20px;
  }

  #page-company section:nth-of-type(even) h2 {
    margin-left: 20px;
  }

  #page-company section:nth-of-type(even) h2::before {
    left: 20px;
  }

  #page-company #sec1 {
    padding: 0px;
  }

  #page-company #sec3 .bg {
    height: 300px;
  }

  #page-company #sec3 .address {
    display: block;
  }

  #page-company #sec3 .address > div:first-of-type {
    margin-bottom: 20px;
  }

  #page-company #sec3 .address iframe {
    width: 100%;
  }

  #page-company #sec4 .historyList h3 {
    font-size: 1.6rem;
  }

  #page-company #sec4 .historyList .monthList {
    padding-left: 35px;
  }
}


/*-----------------------------
SERVICEサービス
-----------------------------*/

#page-service .content {
  padding-bottom: 100px;
}

#page-service .content h2 {
  color: #fff;
  font-size: 24px;
  position: relative;
  z-index: 2;
}

#page-service .content h2 span {
  display: block;
  font-size: 2.5em;
  line-height: 1.2;
}

#page-service .content h2::before {
  width: 2000px;
  height: 100%;
  background-color: #533D1F;
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
}

#page-service .content .body {
  margin-top: -90px;
  padding: 170px 80px 80px 80px;
  position: relative;
  z-index: 1;
}

#page-service .content .body::before {
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.5);
  width: 2000px;
  height: 100%;
  background-color: #fff;
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
}

#page-service .content .body .text {
  overflow: hidden;
}

#page-service .content .body .text img {
  width: 450px;
  margin: 0 0 40px 40px;
  float: right;
}

#page-service .content .body .text p {
  font-size: 20px;
  line-height: 2;
}

#page-service .content .body .ceo,
#page-service .content .body .coo {
  overflow: hidden;
}

#page-service .content .body .ceo img,
#page-service .content .body .coo img {
  width: 300px;
}

#page-service .content .body .ceo p,
#page-service .content .body .coo p {
  font-size: 20px;
  line-height: 2;
}

#page-service .content .body .ceo {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid;
}

#page-service .content .body .ceo img {
  margin-left: 40px;
  float: right;
}

#page-service .content .body .coo img {
  margin-right: 40px;
  float: left;
}

#page-service .content .body .link {
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.5);
  margin: 50px 50px 0;
  padding: 50px 0;
  background-color: #eee;
  position: relative;
  text-align: center;
  z-index: 0;
}

#page-service .content .body .link h3 {
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: normal;
}

#page-service .content .body .link a {
  width: 360px;
  border: 1px solid;
  font-size: 20px;
  font-size: 2rem;
  line-height: 70px;
  text-align: center;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

#page-service .content .body .link a::before {
  width: 0;
  height: 100%;
  background-color: #533D1F;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.4s;
  z-index: -1;
}

#page-service .content .body .link a svg {
  -webkit-animation: arrowMove 0.6s infinite alternate;
  animation: arrowMove 0.6s infinite alternate;
  position: absolute;
  top: 50%;
  right: 25px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

#page-service .content .body .link a:hover {
  color: #fff;
}

#page-service .content .body .link a:hover::before {
  width: 100%;
}

#page-service .content .body .link a:hover .cls-1 {
  fill: #fff;
}

#page-service .content .body .link a:hover svg {
  -webkit-animation: none;
  animation: none;
}

#page-service .content .body .link a:hover {
  border-color: #212a2f;
}

#page-service section:nth-of-type(odd) h2 {
  padding: 35px 0;
}

#page-service section:nth-of-type(odd) h2::before {
  right: calc(50% - 220px);
}

#page-service section:nth-of-type(odd) .body::before {
  right: 0;
}

#page-service section:nth-of-type(even) h2 {
  padding: 35px 0 35px 430px;
}

#page-service section:nth-of-type(even) h2::before {
  left: calc(50% - 220px);
}

#page-service section:nth-of-type(even) .body::before {
  left: 0;
}

#page-service #sec1 {
  padding-top: 100px;
}

#page-service #sec3 .bg {
  display: none;
	height: 200px;
  background: url("../images/img_company.jpg") no-repeat center/cover;
}

#page-service #sec3 .text > ul > li:not(:last-of-type) {
  margin-bottom: 30px;
}

#page-service #sec3 h3 {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #555;
  font-size: 28px;
}

#page-service #sec3 h4 {
  margin-bottom: 10px;
}

#page-service #sec3 .address {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#page-service #sec3 .address iframe {
  margin-bottom: 10px;
  display: block;
}

#page-service #sec3 .bank li {
  list-style-position: inside;
  list-style-type: disc;
}

#page-service #sec3 .bank li:not(:last-of-type) {
  margin-bottom: 10px;
}

#page-service #sec4 .historyList {
  position: relative;
}

#page-service #sec4 .historyList .year:not(:last-of-type) {
  margin-bottom: 30px;
}

#page-service #sec4 .historyList h3 {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 32px;
}

#page-service #sec4 .historyList h3 span {
  margin-left: 10px;
  display: inline-block;
  font-size: 0.6em;
}

#page-service #sec4 .historyList h3::before {
  width: 24px;
  height: 24px;
  margin-right: 20px;
  background-color: #62B1DD;
  border-radius: 50%;
  content: "";
}

#page-service #sec4 .historyList .monthList {
  padding-left: 55px;
}

#page-service #sec4 .historyList .monthList .month:not(:last-of-type) {
  margin-bottom: 20px;
}

#page-service #sec4 .historyList h4 {
  font-size: 20px;
}

#page-service #sec4 .historyList p::before {
  content: "・";
}

#page-service #sec4 .historyList a {
  color: #337ab7;
  display: inline;
}

#page-service #sec4 .historyList::before {
  width: 2px;
  height: 100%;
  background-color: #eee;
  content: "";
  position: absolute;
  top: 14px;
  left: 11px;
  z-index: -1;
}

@media all and (max-width: 896px) {

  #page-service .content {
    padding-bottom: 50px;
  }

  #page-service .content h2 {
    width: calc(100% - 20px);
    padding: 20px !important;
    background-color: #533D1F;
    font-size: 1.6rem;
  }

  #page-service .content h2 span {
    font-size: 1.6em;
    line-height: 1.6;
  }

  #page-service .content h2::before {
    display: none;
  }

  #page-service .content .body {
    margin-top: -52.5px;
    padding: 72.5px 20px 20px;
    background-color: #fff;
  }

  #page-service .content .body::before {
    display: none;
  }

  #page-service .content .body .text img {
    margin: 0 auto 20px;
    float: none;
  }

  #page-service .content .body .ceo {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  #page-service .content .body .ceo img {
    margin: 0 auto 20px;
    float: none;
  }

  #page-service .content .body .coo img {
    margin: 0 auto 20px;
    float: none;
  }

  #page-service .content .body .link {
    margin: 20px 0 0;
    padding: 20px;
  }

  #page-service section:nth-of-type(odd) h2::before {
    right: 20px;
  }

  #page-service section:nth-of-type(even) h2 {
    margin-left: 0px;
  }

  #page-service section:nth-of-type(even) h2::before {
    left: 0px;
  }
  #page-service section:nth-of-type(even) h2 {
    padding: 0px;
  }

  #page-service section:nth-of-type(even) h2::before {
    left: calc(50% - 220px);
  }
  #page-service #sec1 {
    padding-top: 50px;
  }

  #page-service #sec3 .bg {
    height: 300px;
  }

  #page-service #sec3 .address {
    display: block;
  }

  #page-service #sec3 .address > div:first-of-type {
    margin-bottom: 20px;
  }

  #page-service #sec3 .address iframe {
    width: 100%;
  }

  #page-service #sec4 .historyList h3 {
    font-size: 2.2rem;
  }

  #page-service #sec4 .historyList .monthList {
    padding-left: 35px;
  }
}
