
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html,
body {
    background-color: #fffeea;
    font-size: 14px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #231f20;
    width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}
/*==========================================
PRE LOADER 
==========================================*/

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fefefe;
    z-index: 99999;
    height: 100%;
    width: 100%;
    overflow: hidden !important;
}
.preloader h2 {
    font-size: 3rem;
    text-align: center;
    margin-top: 200px;
    margin-bottom: 50px;
}
.loaded {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
}

/*==========================================
            PREDFINEED CSS
==========================================*/

.main_figur {
    width: 100%;
    overflow: hidden;
}
.row{
    margin-bottom:0;
}
img {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.clear {
    clear: both;
}
img {
    max-width: 100%;
}

h1,
h2 {
    font-weight: 300;
    margin: 0;
    line-height: 2rem;
}
h1 {
    font-size: 2.571rem;
    line-height: 3.5rem;
    color: #fff;
}
h2 {
    font-size: 2.143rem;
    line-height: 2.5rem;
}
h3 {
    font-size: 1.714rem;
    line-height: 2.5rem;
    margin-bottom: 30px;
}
h4 {
    font-size: 1.286rem;
    line-height: 2rem;
    font-weight: 500;
}

h6{
    font-size:1.000rem;
    font-weight: 500;
    line-height: 1.5rem;
}

p {
    line-height: 1.8rem;
letter-spacing: 0.08em;
    margin: 0 0 15px;
    font-size:1.2em;
}
p:last-child {
    margin-bottom: 0px;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
a{
    text-decoration: none;
    outline:0;
}
a:focus{
    outline:0;
}
a:hover{
    text-decoration: none;

}

.btn, .btn-large, .btn-flat{
    text-transform: lowercase !important;
}
.btn:focus, .btn.focus, .btn:active:focus, .btn:active.focus, .btn.active:focus, .btn.active.focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
    outline: 0;
}

ol, ul {
  padding-left: 0;   /* 内側の余白を0にする */
  margin-left: -1.5em;    /* 外側の余白を0にする */
  list-style-position: inside; /* リストの番号（または点）を文字のすぐ左に入れる */
}

.overlay{
    background: rgba(0, 0, 0, 0.65);
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height: 100%;

}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem 0rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #ddd;
    background-color: transparent;
    background-image: none;
    border: 0px solid #ccc;
    border-radius: 0rem;
    border-bottom: 1px solid #555;
    outline: 0;

}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,.075),0 0 0px rgba(102,175,233,.6);
    box-shadow: inset 0 0px 0px rgba(0,0,0,.075),0 0 0px rgba(102,175,233,.6);
}

input:not([type]):focus:not([readonly]), input[type=text]:focus:not([readonly]), input[type=password]:focus:not([readonly]), input[type=email]:focus:not([readonly]), input[type=url]:focus:not([readonly]), input[type=time]:focus:not([readonly]), input[type=date]:focus:not([readonly]), input[type=datetime]:focus:not([readonly]), input[type=datetime-local]:focus:not([readonly]), input[type=tel]:focus:not([readonly]), input[type=number]:focus:not([readonly]), input[type=search]:focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid #26a69a;
    box-shadow: 0 1px 0 0 #26a69a;
}

textarea.form-control:focus:not([readonly]) {
    border-bottom: 1px solid #26a69a;
    box-shadow: 0 1px 0 0 #26a69a;
}

/*section:nth-child(odd){
    background: #ddd;
}*/
/*==============================================================
            Navigation Style
================================================================*/

.cd-header a.brand-logo img{
    width: 8%;
    margin-left: 10%;
    padding: 5px;
    margin-top: 20px;
}
.cd-header{
    position: fixed;
    top: 0;
}
.cd-header.small{
    background: rgba(160, 0, 0, 0.891);
}
nav ul li {
    transition: background-color .3s;
    float: none;
    padding: 0;
    text-align: center;
}
#main-nav li {
    height: 10%;
}

#main-nav li a {
    position: relative;
    display: block;
    padding: 0.1% 10%;
    height: 100%;
    border-bottom: 1px solid #dfdbec;
    color: #3f3939;
    font-size: 20px;
    font-size: 1.25rem;
    font-weight: bold;
}

.brand-logo img{
    width:70%;
    max-width:100%;
    margin-top: 2%;
  }
  @media (min-width: 544px) {
    .brand-logo img {
      width:100%;
      margin-top: 3%;
    }
  }
  
  @media (min-width: 768px) {
    .brand-logo img {
      width:100%;
      margin-top: 3%;
    }
  }
  
  @media (min-width: 992px) {
    .brand-logo img {
        width:100%;
        margin-top: 3%;
    }
  }

/*==============================================================
            Head Title
================================================================*/
.head_title {
    width: 100%;
    margin: 0px auto;
}
.head_title h1{
    line-height: 4rem;
    color:rgb(166, 0, 0);
}

.head_title h2{
    line-height: 4rem;
    color:rgb(166, 0, 0);
}
.head_title h4{
    line-height: 4rem;
    color:rgb(166, 0, 0);
}
.head_title h6{
    border-left: 2px solid #ddd;
    padding-left: 20px; 
}
.head_title p{
    padding-left: 20px; 
}
.midashi {
    font-weight:800;
}
.midashi-red {
    color:rgb(166, 0, 0);
    font-weight:800;
}

/*=============================================================
                    home section
===============================================================*/

.home {
    background: url(../images/homebg.jpg) no-repeat top center #151313;
    background-size: cover;
    position: relative;
    padding-top: 80px;
   background-attachment: fixed;
   width:100vw;
   height:100vh;
}

.main_home {
    padding: 170px 20px 170px 20px;
    position: relative;
}
.main_home h1{
    width:100%;
    margin:20px auto;
}
.main_home ul li a{
    color:#fff;
}
.main_home ul{
    margin-top:10%;
}

.scrolldown{
    position: absolute;
    left: 50%;
    bottom: 8%;
    margin-left:-17px;
}
.scrolldown a i{
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    line-height: 30px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -webkit-transition: all 500ms ease-in-out 0s;
    -moz-transition: all 500ms ease-in-out 0s;
    -ms-transition: all 500ms ease-in-out 0s;
    transition: all 500ms ease-in-out 0s;
    text-align: center;
    color:#fff;
    margin:0 auto;

}
.scrolldown a:hover i{
    opacity: .85;
    -moz-opacity: .85;
    -o-opacity: .85;
    -webkit-opacity: .85;
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);

}


/*====================================================================
                 About Section 
======================================================================*/

.main_about_area{
    overflow: hidden;
}

.main_about_area .single_about i{
    border:1px solid #940000;
    color:#940000;
    width:100%;
    height:auto;
    line-height: 60px;
    font-size:2.225rem;
    border-radius: 50%;
    margin-bottom:1.875rem;
}



/*=================================================================
                    Service Section
===================================================================*/

.service .container-fluid{
    padding-right: 0px; 
    padding-left: 0px; 
    margin-right: auto; 
    margin-left: auto; 
}
.main_service_content .col-sm-push-6 {
    left: 52%;
}
.main_service_content{
    overflow: hidden;
}
.main_service_content .single_service_area{
    overflow: hidden;
}
.main_service_content img{
    width:100%;
}
.main_service_content .single_service{
    margin-top:25%;
}
.main_service_content .single_service2{
    margin-top:0%;
}
@media  (max-width: 768px) {
    .main_service_content .single_service2{
        margin-top:5%;
    }
}
.main_service_content .single_service h2{
    font-weight: 700;
    color: #231f20;
}
.single_service.single_service_left_text{
    margin-left:15%;
}




/*=====================================================================
                    portfolio section 
====================================================================*/

.main_portfolio_content{
    display: inline-block
}
.main_portfolio_content .single_portfolio{
    position: relative;
    margin-bottom: 18px;
}
.main_portfolio_content .single_portfolio img{
    width:100%;
}
.main_portfolio_content .single_portfolio:hover .single_portfolio_overlay{
    opacity: 1;
}
.single_portfolio_overlay{
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height: 100%;
    background: rgba(221, 221, 221, 0.60);
    opacity: 0;
    transition: all 0.3s;

}
.single_portfolio_overlay .icon_area{
    position: absolute;
    top:45%;
    width:100%;
    height: 100%;
}
.single_portfolio_overlay .icon_area img{
    width:27px;
    height:25px;
}
.single_portfolio_overlay .icon_area img{
    width:27px;
    height:25px;
}
.single_portfolio.height_1 .icon_area img{
    width:27px;
    height:25px;
}
.single_portfolio img{
    width:100%;
    height: 280px; 

}
.single_portfolio.height_1 img{
    width:100%;
    height: 575px;
}


/*=====================================================================
                   Team Section
====================================================================*/

.main_team_area{
    overflow: hidden;
}
.main_team_area .main_team_content{
    margin-bottom:5em;
    display: inline-block;
}

.single_team:hover .team_socail_area{
    max-height: 40px;
    overflow: hidden;

}
.single_team{
    overflow: hidden;
}
.single_team:hover .single_team_text{
    display: none;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}
.team_socail_area{
    -webkit-transition: max-height 1s; 
    -moz-transition: max-height 1s; 
    -ms-transition: max-height 1s; 
    -o-transition: max-height 1s; 
    transition: max-height 1s;  
    overflow: hidden;
    max-height: 0;
}
.team_socail_area a i{
    color:#cecece;
    padding: 5px;
    transition: all 0.6s;
}
.team_socail_area a:hover i{
    color:#444;
}

.main_team_area .single_team img{
    width:100%;
}
.main_team_area .single_team .single_team_text{
    padding: 20px;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}
.main_team_area .single_team .single_team_text h6{
    font-weight: 700;
    color:#231f20;
}
.main_team_area .single_team .single_team_text{
    font-weight: 300;
}

/*=====================================================================
                    Testimonial Section 
====================================================================*/

.main_testimonial_area{
    background: url(../images/testbg.jpg) no-repeat top center;
    background-size:cover;
    position: relative;
}
.main_testimonial_area .head_title h2{
    color:#fff;
}
.main_testimonial_area .head_title h6{
    color:#fff;
}
.testimonial_content .single_test h3{
    width:80%;
    margin:30px auto;
    color:#fff;
}
.testimonial_content .single_test h3:before{
    content: "\f10e";
    text-align: left;
    font-family: fontawesome;
    font-size: 3rem;
    color: #7d7b7d;
    position: absolute;
    z-index: -1;
    padding: 5px;
    left: 9%;    
}

.testimonial_content .single_test p{
    font-size:10px;
    font-weight: 100;
    color:#fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/*=====================================================================
                    Blog Section 
====================================================================*/

.main_blog_area{
    overflow: hidden;
}
.main_blog_area .single_blog_menu{}
.main_blog_area .single_blog{}
.main_blog_area .single_blog_menu h2{
    border-right: 2px solid #bbb;
}
.main_blog_area .single_blog_menu ul{
    margin-top:30%;
}
.main_blog_area .single_blog_menu ul li a{
    color:#bbb;
    line-height: 2.5rem;
}
.main_blog_area .single_blog_menu ul li.active a{
    color:#1e1e1e;
    font-weight: 700;
}
.main_blog_area .single_blog .single_blog_img{}
.main_blog_area .single_blog .single_blog_text{}

.main_blog_area .single_blog .single_blog_text h6{
    font-weight: 500;
}
.main_blog_area .single_blog .single_blog_text span{
    font-weight: 100;
    font-size:0.714rem;
}
.main_blog_area{}




/*=====================================================================
                    Contact Us Section
====================================================================*/


.ourmap{
    height: 648px;
    width:100%;
}

.main_contact_area{
    background: rgba(160, 0, 0, 0.891);
}
.main_contact_area .head_title{
    width:100%;
}
.main_contact_area .head_title h2{
    color:#fff;
}
.main_contactus_area input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
    width: 20%;
    background: #a84343;
    border:1px solid #555;
    border-radius: 30px;
    height: 36px;
    font-size: 0.875rem;
    transition: all 0.6s;
    color:#ddd;
}
.main_contactus_area input[type=submit]:hover {
    background: #000;
    color:#fff;
    border-color:#fff;
}
.main_contactus_area input[type=submit]:focus {
    outline:0;
}




/*=====================================================================
                   Footer Section
====================================================================*/
.footer{
    background: #1c1c1c;
}
.main_footer{
    overflow: hidden;
    display: inline-block;
    width:100%;
    padding: 40px 0px;
    border-top: 1px solid #555;
    margin-top: 40px;
}
.main_footer .footer_logo a img{
    width:50%;
}
.main_footer .copyright_text p{
    line-height: 2rem;
    color:#a0a0a0;
}
.main_footer .copyright_text a{
    padding: 0px 5px;
    color:#fff;
}
.main_footer .copyright_text i{
    padding: 0px 5px;
    color:#ff0000;
}

.scrollup a i{
    background: #555;
    color:#ddd;
    border-radius: 50%;
    width:30px;
    height: 30px;
    line-height: 30px;
    transition: all 0.6s;
}
.scrollup a:hover i{
    background: #fff;
    color:#333; 
}

  /* Table */
  .table-wrapper {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto; }
  
  table {
    margin: 0 0 2em 0;
    width: 100%; }
    table tbody tr {
      border: solid 1px rgba(210, 215, 217, 0.75);
      border-left: 0;
      border-right: 0; }
      table tbody tr:nth-child(2n + 1) {
        background-color: rgba(230, 235, 237, 0.25); }
    table td {
      padding: 0.75em 0.75em; }
    table th {
      color: #3d4449;
      font-size: 1em;
      font-weight: 600;
      padding: 0.75em 0.75em 0.75em 0.75em;
      text-align: left; }
    table thead {
      border-bottom: solid 2px rgba(210, 215, 217, 0.75); }
    table tfoot {
      border-top: solid 2px rgba(210, 215, 217, 0.75); }
    table.alt {
      border-collapse: separate; }
      table.alt tbody tr td {
        border: solid 1px rgba(210, 215, 217, 0.75);
        border-left-width: 0;
        border-top-width: 0; }
        table.alt tbody tr td:first-child {
          border-left-width: 1px; }
      table.alt tbody tr:first-child td {
        border-top-width: 1px; }
      table.alt thead {
        border-bottom: 0; }
      table.alt tfoot {
        border-top: 0; }

/*=====================================================================
                    scrollup 
====================================================================*/

/*.scrollup{
    width: 30px;
    height: 30px;
    border-radius: 15px;
    opacity: .3;
    position: fixed;
    bottom: 0px;
    left: 0px;
    color: #fff;
    cursor: pointer;
    background-color: #000;
    z-index: 1000;
    transition: opacity .5s, background-color .5s;
    -moz-transition: opacity .5s, background-color .5s;
    -webkit-transition: opacity .5s, background-color .5s;
}

.scrollup:hover {
    background: #fff;
    opacity: 1;
}

.scrollup i {
    font-size: 13px;
    position: absolute;
    opacity: 1;
    color: #333;
    left: 0%;
    top: 50%;
    margin-top: -7px;
    margin-left: -6px;
    text-decoration: none;

}*/

.google-maps {
    position: relative;
    padding-bottom: 64%; // これが縦横比
    height: 0;
    overflow: hidden;
    }
    .google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    }

/*ポップアップここから*/
.popup_wrap input {
    position: relative;
    display: none;
  }
  
  .popup_overlay {
    display: flex;
    justify-content: center;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.5s, transform 0s 0.5s;
    transform: scale(0);
  }
  
  .popup_trigger {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  
  .popup_content {
    position: relative;
    align-self: center;
    width: 90%;
    height:85%;
    max-width: 800px;
    padding: 30px 30px 30px;
    box-sizing: border-box;
    background: #fff;
    line-height: 1.4em;
    transition: 0.5s;
    overflow: auto; 
  }
  
  .close_btn {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 30px;
    cursor: pointer;
  }
  
  .popup_wrap input:checked ~ .popup_overlay {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s;
  }
  
 .open_btn {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 30px;
    margin:10px auto;
    padding: 8px 16px;
    color: #fff;
    background:#0c0d62;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    border-radius: 3px;
    cursor: pointer;
    transition: .3s ease;
  
  }
  .open_btn:hover{
      background:#000;
      color:#fff;
      transition: .3s ease;
  }
  /*ポップアップココまで*/

  .fukidashi2 {
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid rgb(181, 0, 0);
    background-color: white;
    color: rgb(181, 0, 0);
    font-weight: bold;
    font-size: 26px;
    text-align: center;
}

.fukidashi2:before {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) skew(-25deg);
    height: 20px;
    width: 10px;
    border-right: 3px solid rgb(181, 0, 0);
    background-color: white;
    content: "";
}
@media (max-width: 461px){
.fukidashi {
    font-size: 20px;
}

.fukidashi2:before {

}
}
.fukidashi {
    position: relative;
    padding: 15px;
    border: 0 solid #333;
    border-radius: 10px;
    background-color: rgb(181, 0, 0);
    color: rgb(255, 255, 255);
    font-weight: 800;
    font-size: 26px;
    text-align: center;
}

.fukidashi:before {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) skew(-25deg);
    height: 25px;
    width: 15px;
    border-right: 3px solid rgb(181, 0, 0);
    background-color: white;
    content: "";
}
@media (max-width: 461px){
.fukidashi {
    font-size: 20px;
}

.fukidashi:before {

}
}
.list{
    font-size:110%;
    font-weight:600;
    margin-left:10%;
    letter-spacing: 0.15em;

}

@media (max-width: 461px){
.list{
    font-size: 14px;
}
}

.speechBubble {
  position: relative;
  display: inline-block;
  margin-left: 29px;
  padding: 24px;
  border: 2px solid #000000;
  border-radius: 10px;
  background-color: #ffffff;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
}

.speechBubble::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  border-style: solid;
  border-width: 10px 29px 10px 0;
  border-color: transparent #000000 transparent transparent;
  translate: -100% -50%;
}

.speechBubble::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  border-style: solid;
  border-width: 7.9px 22.9px 7.9px 0;
  border-color: transparent #ffffff transparent transparent;
  translate: -100% -50%;
}

.speechBubble2 {
  position: relative;
  display: inline-block;
  margin-top: 27px;
  padding: 16px;
  border: 2px solid #000000;
  border-radius: 10px;
  background-color: #ffffff;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
}

.speechBubble2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-style: solid;
  border-width: 0 10px 27px 10px;
  border-color: transparent transparent #000000;
  translate: -50% -100%;
}

.speechBubble2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-style: solid;
  border-width: 0 7.9px 21.2px 7.9px;
  border-color: transparent transparent #ffffff;
  translate: -50% -100%;
}

.speechBubble3 {
  position: relative;
  display: inline-block;
  margin-top: 27px;
  padding: 16px;
  border: 2px solid #000000;
  border-radius: 10px;
  background-color: #ffffff;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
}

.speechBubble3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 33%;
  border-style: solid;
  border-width: 0 10px 27px 10px;
  border-color: transparent transparent #000000;
  translate: -50% -100%;
}

.speechBubble3::after {
  content: "";
  position: absolute;
  top: 0;
  left: 33%;
  border-style: solid;
  border-width: 0 7.9px 21.2px 7.9px;
  border-color: transparent transparent #ffffff;
  translate: -50% -100%;
}

.tategaki {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

/* PC（768px以上）では<br>を非表示（＝改行しない） */
@media screen and (min-width: 544px) {
  .br-sp {
    display: none;
  }
}

/* スマホ（768px未満）の時は<br>を表示（＝改行する） */
/* 必要であれば追加 */
@media screen and (max-width: 544px) {
  .br-sp {
    display: inline;
  }
}

/* PC時は非表示 */
.sp-only    {
  display: none;
}

/* スマホ時（767px以下）だけ表示 */
@media (max-width: 768px) {
  .sp-only {
    display: block; /* または flex, inline-block など */
  }
}

/* SP時は非表示 */
.pc-only {
  display: none;
}

/* PC時（767px以下）だけ表示 */
@media (min-width: 768px) {
  .pc-only {
    display: block; /* または flex, inline-block など */
  }
}
.speechBubble-a {
  position: relative;
  display: inline-block;
  margin-bottom: 27px;
  padding: 16px;
  border-radius: 10px;
  background-color: #54A2C0;
  text-align: left;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.speechBubble-a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 27px 10px 0 10px;
  border-color: #54A2C0 transparent transparent;
  translate: -50% 100%;
}

.speechBubble-b {
  position: relative;
  display: inline-block;
  margin-bottom: 27px;
  padding: 16px;
  border-radius: 10px;
  background-color: #c1a000;
  text-align: left;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.speechBubble-b::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 27px 10px 0 10px;
  border-color: #c1a000 transparent transparent;
  translate: -50% 100%;
}

.speechBubble-c {
  position: relative;
  display: inline-block;
  margin-bottom: 27px;
  padding: 16px;
  border-radius: 10px;
  background-color: #00a56a;
  text-align: left;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.speechBubble-c::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 27px 10px 0 10px;
  border-color: #00a56a transparent transparent;
  translate: -50% 100%;
}

.speechBubble-d {
  position: relative;
  display: inline-block;
  margin-bottom: 27px;
  padding: 16px;
  border-radius: 10px;
  background-color: #ff3ae0;
  text-align: left;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.speechBubble-d::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 27px 10px 0 10px;
  border-color: #ff3ae0 transparent transparent;
  translate: -50% 100%;
}

.profile{
    font-weight:800;
}
 @media (max-width: 768px) {
    .profile{
    margin-top:-2em;
    margin-bottom:4em;
}}
.team-name{
    font-weight:900;
    font-size:120%;
    margin-bottom:-0.1em;
}

.white-back{
    background-color: white;
}

.category-balloon {
  position: relative;
  display: inline-block;
  margin-bottom: 11px;
  margin-left:2em;
  padding: 2px 9px;
  border-radius: 10px;
  background-color: #dc0000;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.category-balloon::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 23%;
  border-style: solid;
  border-width: 11px 10px 0 0;
  border-color: #dc0000 transparent transparent;
  translate: -50% 100%;
}

.blog-title{
    margin-top:0.5em;
    margin-bottom:0;
    font-weight:800;
    padding-left:1em;
    letter-spacing:0.1em;
}
@media (max-width: 543px) {
    .category-balloon {
      position: relative;
      display: inline-block;
      margin-top:1em;
      margin-bottom: 11px;
      margin-left:1em;
      padding: 2px 9px;
      border-radius: 10px;
      background-color: #dc0000;
      text-align: left;
      font-size: 14px;
      font-weight: 800;
      line-height: 1.5;
      letter-spacing: 0.1em;
      color: #ffffff;
    }
    .category-balloon::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 23%;
        border-style: solid;
        border-width: 11px 10px 0 0;
        border-color: #dc0000 transparent transparent;
        translate: -50% 100%;
}
}

.blog-title{
    margin-top:0.5em;
    margin-bottom:0;
    font-weight:800;
    padding-left:1em;
    letter-spacing:0.1em;
}
.blog-content{
    margin-left:2em;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 768px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

.responsive{
    width:100%;
    height:auto;
}
@media (max-width: 479px) {
.member-p{
font-size:120%;
line-height: 1.2em;
}}

/*team section css*/
.team{}
.team .head_title{
    color:#223d61;
}
.team .single_team{}
.team .single_item{
    position: relative;
    max-width: 100%;
    margin-bottom:20px;
}
.team .single_item img{
    max-width: 100%;
}
.team .single_item:hover .single_team_overlay{
    opacity: 1; 
}

.team .single_item .single_team_overlay{
    background: rgba(255, 0, 247, 0.592);
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height: 100%;
    text-align: center;
    padding: 50px 0px 10px 0px;
    transition: .6s;
    opacity: 0;
}
.team .single_item .single_team_overlay h4{
    color:#fff;
    text-transform: uppercase;
}
.team .single_item .single_team_overlay p{
    color:#fff;
    text-transform: uppercase;
}
.team .single_item .single_team_overlay .team_socail{
    margin-top:50px;
}

.team .single_item .single_team_overlay .team_socail a i{
    color:#fff;
    font-size:1.5rem;
    padding: 0px 5px;
}

.box3 {
  display: flex;
  justify-content: center; /* 水平方向にセンターに配置 */
  align-items: center;
  margin:0 auto 5%;
}
.box3 img{
  width: 99%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/*---------- c. experience -----------*/
.wrap-card {
  position: relative;
  box-shadow: 0px 0px 0px #c50000;
  transition: all 0.2s ease 0s;
  -webkit-transform: translateY(0px) translateX(0px);
}
.wrap-card:before,
.wrap-card:after {
  display: inline-block;
  position: absolute;
  content: " ";
  width: 100%;
  height: 3px;
  background: #c50000;
  -webkit-transform: scaleX(0);
  transition: all 0.2s ease;
}
.wrap-card:before {
  top: -3px;
  left: 0;
  -webkit-transform-origin: 0 0;
}
.wrap-card:after {
  bottom: 0;
  left: 0;
  -webkit-transform-origin: 100% 0;
}
.wrap-card:hover {
  box-shadow: 20px 20px 0px #c50000;
  -webkit-transform: translateY(-10px) translateX(-10px);
  transition: all 0.2s ease 0.4s;
}
.wrap-card:hover:after,
.wrap-card:hover:before {
  -webkit-transform: scaleX(1);
}
.card {
  background: #ffffff;
  padding: 30px 35px 45px 35px;
  margin-bottom: 30px;
  border: 1px solid rgba(129, 129, 129, 0.1);
}
.card:before,
.card:after {
  display: inline-block;
  position: absolute;
  content: " ";
  width: 3px;
  height: 100%;
  background: #c50000;
  -webkit-transform: scaleY(0);
  transition: all 0.2s ease 0.2s;
}
.card:before {
  top: -1px;
  left: -1px;
  -webkit-transform-origin: 0 100%;
}
.card:after {
  top: -1px;
  right: -1px;
  -webkit-transform-origin: 0 0;
}
.card:hover:after,
.card:hover:before {
  -webkit-transform: scaleY(1);
}

.year {
    color: #262626;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
}
.job {
  font-size: 20px;
  font-weight: 800;
  line-height: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #262626;
}
.company {
  font-size: 12px;
  line-height: 14px;
  border: 1px solid #262626;
  color: #262626;
  padding:8px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 5px;
  font-weight: 400;

}
