/*
Template:freesia-empire
Theme Name:freesia-empire-child
Description:一般社団法人寄り添い隊
Author:Mihoko Suzuki
Version:1.0
*/

/*===================
        all
====================*/


html, body,
button,
input,
select,
textarea  {
  font-family: YuGothic,'Yu Gothic',sans-serif;
}

h1, h2, h3, h4, h5, h6, p, a {
  font-family: YuGothic,'Yu Gothic',sans-serif;
  line-height: 1em;
   font-size: 18px;
  color: #333;
  font-weight: 600!important;
}

.clearfix:after {
  content: '';
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;
}

/*copyright*/
.customize-unpreviewable {
  display: none;
}
.site-info p {
  font-size: 14px;
  padding-top: 20px;
}

/*===================
        header
====================*/
#sp-top {
  display: none;
}

#header-maintext p{
  font-family: 'YuMincho','Yu Mincho','游明朝体',sans-serif;
  color: #253a7e;
  position: absolute;
  left: 25%;
} 

#header-maintext p.text-sm {
  display: none;
  font-size: 35px;
  position: absolute;
  top: 300px;
}

#header-maintext p.text-lg {
  display: none;
  font-size: 60px;
  position: absolute;
  top: 360px;
}

#header-maintext p.text-lg span {
  color: yellow;
}

#site-title{
 padding: 15px 0;
}

h1#site-title a{
  font-size: 35px;
}

@media screen and (max-width:768px){
   h1#site-title a{
   font-size: 20px;
 }
}
@media screen and (max-width:480px){
   h1#site-title a{
   font-size: 18px;
 }
}

h2#site-title{
  font-size: 35px;
}

#site-logo {
  width: 52px;
  height: auto;
}

.top-header .info ul li a {
 font-size: 24px;
 color: #333;
}

.top-header .info ul li.phone-number:before{
  content: none;
}

.header-search, .header-search-x {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-left: 4px solid rgba(0, 0, 0, 0.15);
    font-size: 35px;
    margin: 28px -15px 0;
 }


.main-navigation a {
    color: #333;
    font-family: YuGothic,'Yu Gothic',sans-serif;
    font-size: 18px;
}

#freesiaempire_contact_widgets-3 {
  font-size: 28px;
}

/*===================
    content
====================*/
#main {
  margin: 50px;
}

h2.widget-title {
  font-size: 30px;
  text-align: center;
  padding: 0;
  margin-top: 30px;
}

h3.widget-title {
  font-size: 26px;
  padding-top: 20px;
}



/*===================
    content-policy
====================*/

#panel-w5a026a02ad23d-0-0-0{
  width: 85%;
}

#panel-w5a026a02ad23d-0-1-0 h3.widget-title {
  margin-left: 50px;
}

#panel-w5a026a02ad23d-1-0-0 h3.widget-title,
#panel-w5a026a02ad23d-2-0-0 h3.widget-title{
  text-align: center;
  font-size: 26px;
}

#panel-w5a026a02ad23d-1-0-0 .textwidget,
#panel-w5a026a02ad23d-2-0-0 .textwidget{
  text-align: center;
}

img.wp-image-27  {
  margin: 0 auto;
  display: block;
  width: 80%;
}

/*===================
    content-menu
====================*/
#freesiaempire_portfolio_widget-3 {
  margin: 50px 0;
}

.portfolio-content h3 {
    margin-top: 30px;
    font-size: 26px;
}

.portfolio-content p {
    font-size: 20px;
    line-height: 1.5em;
    color: white;
}

@media screen and (max-width:480px){
 .portfolio-content h3 {
    margin-top: 0px;
    font-size: 14px;
  }

.portfolio-content p {
    font-size: 12px;
  }
}

a.more-link {
  display: none;
}

/*===================================
    content-member-registration
====================================*/
#text-4{
   padding-top: 30px!important;
}

#siteorigin-panels-builder-4 {
   width: 70%;
   padding-bottom: 80px!important;
   margin-left:auto;
   margin-right: auto;
}

.wp-image-25,.wp-image-26{
  width: 100%;
}



/*=======================
    content-message
=========================*/
#freesiaempire_testimonial-3 {
  margin-top: 50px;
}
ul.next-prev {
  display: none;
}


/*=======================
    content-contact
========================*/
#text-5 {
  margin-top: 80px;
}

#text-5 h2 {
  margin-bottom: 20px;
}
#text-5 p {
  text-align: center;
}

#wpcf7-f4-o1 {
  width: 60%;
  margin: 0 auto;
}

/*=======================
    page-menu
========================*/
img.title-logo {
  width: 20px;
  height: 22px;
  margin-right: 5px;
}

#content {
  padding-top: 30px;
}

h3.title {
  font-size: 28px;
  color: #fff;
  background:#6897e5;
  padding: 15px 30px;
  margin-bottom: 30px;
  border-radius: 5px;
}

h4.menu-title {
  font-size: 28px;
  padding: 0 0 5px 0;
}

h5.menu-title-description {
  font-size: 22px;
  margin-left: 25px;
  padding: 5px 0 10px;
}

@media only screen and (max-width: 480px) {
  h3.title {
  font-size: 22px;
 }

 h4.menu-title {
  font-size: 20px;
 }

 h5.menu-title-description {
  font-size: 18px;
 }
}

.page-header {
  display: none;
}

#page-menu .menu-contents {
  margin-bottom: 50px;
}

#page-menu .menu-contents .contents-title {
  display: flex;
  border-bottom: 2px solid #ccc;
}

#page-menu .menu-contents .contents-detail {
  float: left;
}

#page-menu .menu-contents .contents-detail .contents-text {
  display: flex;
  flex-wrap: wrap;
  align-items:flex-start;
  margin-top: 20px;
}

p.text, p.price {
  display: inline-block;
  padding: 10px 15px ;
  border-radius: 5px;
  margin-right: 30px;
  background: rgba(104, 151, 229, 0.7);
  color: white;
}

p.detail {
  line-height: 1.7em;
}

span.small {
  font-size: 14px;
  display: block;
}

#page-menu .menu-contents .contents-detail .contents-price {
  display: flex;
   flex-wrap: wrap;
  align-items:flex-start;
}

#page-menu .menu-contents .contents-img {
  width: 20%;
  float: right;
}
#page-menu .menu-contents .handmaking-img {
  width: 15%;
}

/*終活サポートメニュー内容*/
/* .ending-menu-content table {
  border: 2px solid #ccc;
  box-sizing: border-box;
}
.ending-menu-content table th,
.ending-menu-content table td {
  
}
.ending-menu-content table th {
  text-align: center;
  background-color: rgb(60, 179, 113);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7em;
  padding: 15px;
}
.ending-menu-content table td {
  font-size: 16px;
  font-weight: 600; 
  color: #333;
  line-height: 1.7em;
  padding: 20px;
  border: 1px solid #ccc;
}
#page-menu .menu-contents .menu-ending {
  margin-top: 50px;
} */

#ending-menu{
  width: 70%;
}
@media screen and (max-width:768px){
  #ending-menu{
    width: 100%;
  }
}
.ending-menu-content-item{
  width: 100%;
}
.ending-menu-content-item dt a{
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 3px solid #F8F097;
  padding: 0.5em 0 0.5em 2em;
  position: relative; 
}
.ending-menu-content-item dd{
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
  color: #333;
  display: none;
  padding: 0.5em 0 0.5em 3em;
}
@media screen and (max-width:500px){
  .ending-menu-content-item dt a{
    font-size: 15px;
    font-weight: 400;
  }
  .ending-menu-content-item dd{
    font-size: 14px;
    font-weight: 400;
  }
}
.ending-menu-content-item dt a:before{
  font-family: "Font Awesome 5 Free";
  content: "\f111";
  color: #6897e5/*アイコンの色*/;
  font-size: 0.8em;
  position: absolute;
  left: 10px;
  top: 0.8em;
}
.ending-menu-content-item dt a:after{
  font-family: "Font Awesome 5 Free";
  content: "\f107";
  color: #6897e5/*アイコンの色*/;
  font-size: 1.8em;
  position: absolute;
  right: 10px;
  top: 0;
}
.ending-menu-content-item dt a:hover{
  opacity: 0.6;
}
/*終活サポートメニュー内容*/



/*media responsive*/
@media only screen and (max-width: 1280px) {
  #header-maintext p {
    left: 28%;
  }
  #header-maintext p.text-sm {
    font-size: 30px;
    position: absolute;
    top: 290px;
  }
  #header-maintext p.text-lg {
    font-size: 50px;
    position: absolute;
    top: 330px;
  }
}/*media*/

@media only screen and (max-width: 1100px) {
  #header-maintext p.text-sm {
    font-size: 23px;
    position: absolute;
    top: 260px;
  }
  #header-maintext p.text-lg {
    font-size: 40px;
    position: absolute;
    top: 290px;
  }
}
/*ipad pro*/
@media only screen and (max-width: 880px) {
  #header-maintext p.text-sm {
    font-size: 17px;
    position: absolute;
    top: 280px;
  }
  #header-maintext p.text-lg {
    font-size: 30px;
    position: absolute;
    top: 320px;
  }
   #panel-w5a026a02ad23d-0-0-0{
   width: 100%;
   }
  img.wp-image-27 {
    width: 50%;
  }
  #panel-w5a026a02ad23d-0-1-0 {
    text-align: center;
    width: 100%;
  }
/*page-menu*/
  p.detail {
  width: 70%;
  }
  #page-menu .menu-contents .contents-img{
    width: 35%;
    margin-right: 20px;
  }
  #page-menu .menu-contents .handmaking-img {
    width: 28%;
  }
}

/*ipad*/
@media only screen and (max-width: 650px) {
  #header-maintext p.text-sm {
    font-size: 17px;
    position: absolute;
    top: 300px;
  }
  #header-maintext p.text-lg {
    font-size: 26px;
    position: absolute;
    top: 340px;
  }
}

/*iphone6plus iphone6 iphone5*/
@media only screen and (max-width: 480px) {

  #main{
   margin: 50px 20px;
  }
   
  .header-image,#header-maintext {
    display: none;
  }
  #sp-top {
    display: block;
    width: 100%;
  }

  #site-logo {
    display: none;
  }
  h1#site-title a, h2#site-title a{
    font-size: 18px;
  }
  h2.widget-title {
    font-size: 24px;
    margin-top: 0;
  }
   img.wp-image-27 {
    width: 80%;
    }
  #panel-w5a026a02ad23d-0-1-0 {
    width: 100%;
  }
    #panel-w5a026a02ad23d-0-1-0 h3.widget-title {
      margin: 0;
    }
  #panel-w5a026a02ad23d-0-1-0 h3.widget-title,
  #panel-w5a026a02ad23d-1-0-0 h3.widget-title,
  #panel-w5a026a02ad23d-2-0-0 h3.widget-title{
    text-align: center;
    font-size: 24px;
  }

  p {
    font-size: 15px;
    line-height: 1.5em;
    font-weight: 500!important;
  }

  .textwidget p{
    text-align: left!important;
    line-height: 1.8em;
    margin-bottom: 10px;
  }

  #panel-w59f095bc29f5c-0-0-0 .textwidget p,
  #panel-w59f095bc29f5c-0-1-0 .textwidget p{
    font-size: 18px;
  }
  #panel-w59f095bc29f5c-0-1-0 .textwidget p.vip {
    font-size: 9px;
  }
  #panel-w59f095bc29f5c-0-0-0, #panel-w59f095bc29f5c-0-1-0 {
    padding: 10 20 0;
  }

  .widget_portfolio .portfolio-container {
    border: 5px;
  }

  #siteorigin-panels-builder-4{
    width: 100%;
  }

.testimonials .quote{
  width: 100%;
}

  .quotes {
    width: 100%;
    text-align: center;
  }

  #wpcf7-f4-o1{
   width: 90%;
 }

  /*page-menu*/
  #site-title {
    font-size: 16px;
  }

  p.detail {
  width: 100%;
  }

  #page-menu .menu-contents .contents-detail .contents-text,
  #page-menu .menu-contents .contents-detail .contents-price{
    display: block;
  }

  #page-menu .menu-contents .contents-img{
    width: 50%;
    margin-right: 20px;
  }
  #page-menu .menu-contents .handmaking-img {
    width: 40%;
  }
/*終活サポート*/
  .ending-menu-content table th {
    font-size: 12px;
  }
  .ending-menu-content table td {
    font-size: 11px;
  }
  #page-menu .menu-contents .menu-ending {
    width: 60%;
    margin-top: 10px;
  }
}

/*iphone6 iphone5*/
@media only screen and (max-width: 380px) {
  #header-maintext p.text-sm {
    font-size: 10px;
    position: absolute;
    top: 150px;
  }
  #header-maintext p.text-lg {
    font-size: 14px;
    position: absolute;
    top: 168px;
  }
}

/*iphone5*/
@media only screen and (max-width: 320px) {
  .quotes {
    width: 70%;
    text-align: center;
  }
}
