@charset "utf-8";
/* CSS Document */
	
@media screen and (max-width: 750px) and (min-width: 0px) {
  
/*-------------------------------
  リニューアルページ用
---------------------------------*/
  html{
    color:#4d4d4d;
  }
  p{
    font-size: 4.25vw!important;
  }

  /* ヘッダー*/
  .ubugi_header_text h2{
    font-size: 6.7vw;
    font-family: "source-han-serif-japanese", serif;
    font-style: normal;
    font-weight: 500;
    color: #f3994f;
    margin-bottom: 15px;
  }
  .ubugi_header_text p{
    font-size: 4.375vw;
    font-family: "source-han-serif-japanese", serif;
    font-style: normal;
    font-weight: 500;
    color: #4d4d4d;
  }
  .ubugi_header_text{
    text-align: center;
    padding-bottom: 70px;
    position: relative;
  }
  .ubugi_header_text::after{
    position: absolute;
    left: 50%;
    bottom: 0;
    display: block;
    content: "";
    width: 1px;
    height: 70px;
    background-color: #f3994f;
  }
  
  /*　共通　*/
  .ubugi_color{
    color:#f3994f!important;
  }
  .bold{
    font-weight: bold;
  }
  .ubugi_about_inner{
    width: 90%;
    margin: auto;
  }
  .ubugi_item_wrap{
    padding: 100px 0 0 0;
  }
  .ubugi_title{
    text-align: center;
    color:#f3994f;
    font-size: 5vw;
    font-family: "source-han-serif-japanese", serif;
    padding-bottom: 20px;
  }
  .ubugi_stitle_flex{
    padding-bottom: 30px;
  }
  .ubugi_stitle_right , .ubugi_stitle_left{
    text-align: center;
  }
  .stitle_img_flex{
    display: flex;
    justify-content: space-between;
  }
  .stitle_img_flex img{
   width: 48%; 
  }
  .ubugi_title_text{
   padding-bottom: 20px;
  display: block;
  }
  .ubugi_title_number{
    display: block;
    color:#f3994f!important;
  }
  .ubugi_box{
    position: relative;
    padding: 1.5em;
    margin: 0 auto 20px auto;
    width: 100%;
    background-color: #edefef;
/*
    display: flex;
    justify-content: flex-start;
*/
    align-items: center;
  }
  .ubugi_box:before, .ubugi_box:after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    display: inline-block;
  }
  .ubugi_box:before {
    border-left: solid 1.5px #f3994f;
    border-top: solid 1.5px #f3994f;
    top: 0;
    left: 0;
    right: 0;
}
  .ubugi_box:after {
    border-right: solid 1.5px #f3994f;
    border-bottom: solid 1.5px #f3994f;
    bottom: 0;
    right: 0;
  }
  .ubugi_box:last-of-type{
    margin-bottom: 0;
  }
  .ubugi_btn_box a{
    color: #4d4d4d;
    padding: 13px;
    border: 1px #4b4b4b solid;
    font-family: "source-han-serif-japanese", sans-serif;
    font-style: normal;
    font-weight: 500;
    display: block;
    font-size: 16px;
    letter-spacing: 1px;
    border-bottom: 3px solid;
    background: #fff;
    text-align: center; 
  }
  .ubugi_lead{
    text-align: left;
  }
  .ubugi_box_left{
    width: 100%;
    display: block;
    position: relative;
    margin: 0 auto;
  }
  .ubugi_box_left span{
    display: block;
    font-size: 4.8vw;
    font-family: source-han-serif-japanese, sans-serif;
    font-weight: 600;
    text-align: center;
    padding-bottom: 10px;
  }
  .ubugi_box_right{
    width: 100%;
    display: block;
    margin: 0 auto;
  }
 
  
  /* お宮参りとは */
  .omiyamairi_flex {
    margin: 15px 0 50px;
}
  .omiyamairi_left{
    padding-bottom: 30px;
  }
  .omiyamairi_right{
    width: 80%;
    margin: auto;
  }
  
  /* ハイパーリンク */
  .ubugi_btn_link{
    width: 47%;
    margin-bottom: 20px;
  }
  .ubugi_link_item{
    position: relative;
    color: #f3994f;
    font-family: "source-han-serif-japanese", serif;
    padding: 8px;
    border-bottom: 1px solid #edefef;
  }
  .link_number{
    display: inline-block;
    margin:0 10px;
  }
  .link_down{
    position: absolute;
    right: 10px;
    bottom: 10px;
  }
  
  /* 着物の柄 */
  /* 男女タブ */
  input[type="radio"] {
  display: none;
  }
  .tab_area {
  display: block;
  font-size: 0;
  margin: 0 auto 2em;
  position: relative;
  }
  .tab_area {
  font-family: source-han-serif-japanese, sans-serif;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  margin-top: 3em;
  margin-bottom: 40px;
  }
  .tab_area label {
  flex: 1;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
  border-left: 1px solid #e3e3e3;
  padding: 13px 0;
  font-size: 4.8vw;
  line-height: 1.2;
  text-align: center;
  background: #edeff0;
  color: #f3994f;
  display: inline-block;
  cursor: pointer;
  }
  .tab_area label:last-child {
  border-right: 1px solid #e3e3e3;
  }
  .tab-box {
  background: #fff;
  }
  .tab_panel {
  width: 100%;
  display: none;
  }
  #tab1:checked ~ .tab_area .tab1_label {
  background: #f3994f;
  color: #fff;
  font-size: 4.8vw;

  }
  #tab1:checked ~ .panel_area #panel1 {
  animation: tabAnim ease 0.8s forwards;
  display: block;
  }
  #tab2:checked ~ .tab_area .tab2_label {
  background: #f3994f;
  color: #fff;
  font-size: 4.8vw;
  }
  #tab2:checked ~ .panel_area #panel2 {
  animation: tabAnim ease 0.8s forwards;
  display: block;
  }
  .tab1_label , .tab2_label{
    position: relative;
  }
  #tab1:checked ~ .tab_area .tab1_label::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #f3994f;
}
    #tab2:checked ~ .tab_area .tab2_label::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #f3994f;
}
  .gara-inner{
    max-width: 1200px;
    margin: auto;
  }
  .gara-text{
    display: block;
    padding-bottom: 40px;
    text-align: left;
  }
  
  .ubugi_img_base{
    width: 68%;
    max-width: 1280px;
    display: flex;
    justify-content: space-around;
    margin: 5px auto;
    padding: 0;
  }
  .gara_img{
    width: 100%;
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    margin: auto;
    padding: 0;
  }
  .gara_img img{
    width: 24%;
  }
  .subtitle_text{
    display: block;
    width: 100%;
    font-family: source-han-serif-japanese, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 4.8vw;
    color: #333;
    background: #EDEEF0;
    padding: 10px 0;
    margin: 0 auto 20px;
    text-align: center;
  }
  .gara_wrap{
    margin: 0 0 20px;
  }
  .gara_wrap:last-of-type{
    margin-bottom: 50px;
  }
  .gara_img_flex{
    text-align: center;
    padding-bottom: 30px;
  }
  .gara_img_flex img {
    padding-bottom: 20px;
  }
  .gara_img_flex p{
    width: 100%;
    text-align: left;
  }
  .ubugi_product_title{
    font-family: "source-han-serif-japanese", sans-serif;
    line-height: 1.5;
    letter-spacing: 3px;
    text-align: left;
    margin: 0 auto 15px;
    padding: 0.5em 0 0.5em 0.5em;
    color: #494949;
    background: transparent;
    border-left: solid 5px #f3994f;
  }
  .ubugi_product_title span{
    font-size: 4vw;
    display: block;
    line-height: 1.1;
    color: #f3994f;
  }
  .product_name_wrap{
    position: relative;
  }
  .product_name{
    position: absolute;
    bottom: 8%;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    color: #4d4d4d;
    padding: 3px 3px 0;
    text-align: center;
    font-size: 3.5vw;
  }
  .ubugi_product{
   position: relative;
   width: 48%;
  margin-bottom: 20px;
  }
  .gara_img02{
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
  }
  .ubugi_btn_product{
    width: 90%;
    margin: auto;
  }
  
  /* 産着の小物 */
  .ubugi_img_flex{
    margin: 50px 0 40px 0;
  }
  .ubugi_img_flex02{
    display: flex;
    justify-content: space-between;
  }
  .ubugi_img_flex02 img{
    width: 49%;
  }
  
  /* お母さんの服装 */
  .ubugi_houmon_flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 70px 0 10px 0;
  }
  .ubugi_houmon_flex img{
    width: 49%;
    margin-bottom: 15px;
  }
  /* リンクコーデ */
  .code_wrap{
    margin-bottom: 60px;
    text-align: center;
  }
  .code_wrap:last-of-type{
    margin-bottom: 0;
  }
  .code_item{
    padding-bottom: 40px;
  }
  .code_item:last-of-type{
    padding-bottom: 0;
  }
  .code_ubugi_flex{
    display: flex;
    justify-content: space-between;
    margin: 20px 0 40px 0;
  }
  .code_ubugi_flex img{
    width: 47%;
  }
  .code_title_wrap{
    text-align: center;
    margin-bottom: 30px;
  }
  .code_title{
    position: relative;
    display: inline-block;
    padding: 0 70px;
    font-family: source-han-serif-japanese, sans-serif;
    font-size: 5.2vw;
    font-weight: 600;
    color: #f3994f;
    line-height: 1.5em;
  }
  .code_title:before, .code_title:after {
    content: '';
    position: absolute;
    top: 65%;
    display: inline-block;
    width: 65px;
    height: 2px;
    background-color: #f3994f;
  }
  .code_title:before {
    left: 0;
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg);
  }
  .code_title:after {
    right: 0;
    -webkit-transform: rotate(-60deg);
    transform: rotate(-60deg);
}
  .code_subtitle{
    display: block;
  }
  .code_text{
    display: block;
    padding-bottom: 50px;
    margin-bottom: 20px;
    position: relative;
  }
  .code_text::after{
    position: absolute;
    left: 50%;
    bottom: 0;
    display: block;
    content: "";
    width: 1px;
    height: 50px;
    background-color: #f3994f;
  }
  .video{
    width: 100%;
    margin: 0 auto 60px;
    display: block;
  }
  .howto_img{
    width: 100%;
    margin: auto;
  }
  
	

}

@media screen and (min-width:751px) and (max-width: 1024px) {
  
/*-------------------------------
  リニューアルページ用
---------------------------------*/
  
  html{
    color: #4d4d4d;
  }
  
  /* ヘッダー*/
  .header_base{
    position: relative;
  }
  .ubugi_header_text h2{
    font-size: 30px;
    font-family: "source-han-serif-japanese", serif;
    font-style: normal;
    font-weight: 500;
    color: #f3994f;
  }
  .ubugi_header_text p{
    font-size: 20px;
    font-family: "source-han-serif-japanese", serif;
    font-style: normal;
    font-weight: 500;
    color: #4d4d4d;
    line-height: 1.6em;
  }
  .ubugi_header_text{
    position: absolute;
    top: 27%;
    left: 10%;
    bottom: 0;
    /* left: 0; */
    margin: 0 auto;
    text-align: center;
  }
  
  /*　共通　*/
  .ubugi_color{
    color:#f3994f!important;
  }
  .bold{
    font-weight: bold;
  }
  .ubugi_about_inner{
    max-width: 1024px;
    width: 95%;
    margin: auto;
  }
  .ubugi_item_wrap{
    padding: 140px 0 0 0;
    margin-top:-60px; 
  }
  .ubugi_title{
    color:#f3994f;
    font-family: "source-han-serif-japanese", serif;
    padding-bottom: 15px;
    font-size: 28px;
  }
  .ubugi_stitle_flex{
    display: flex;
    justify-content: space-between;
    align-items:center; 
    padding-bottom: 50px;
  }
  .ubugi_stitle_right , .ubugi_stitle_left{
    width: 50%;
    text-align: center;
  }
  .stitle_img_flex{
    display: flex;
    justify-content: space-between;
  }
  .stitle_img_flex img{
   width: 48%; 
  }
  .ubugi_title_number{
    display: block;
    color:#f3994f!important;
  }
  .ubugi_box{
    position: relative;
    padding: 2em;
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 1024px;
    background-color: #edefef;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .ubugi_box:before, .ubugi_box:after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    display: inline-block;
  }
  .ubugi_box:before {
    border-left: solid 1.5px #f3994f;
    border-top: solid 1.5px #f3994f;
    top: 0;
    left: 0;
    right: 0;
}
  .ubugi_box:after {
    border-right: solid 1.5px #f3994f;
    border-bottom: solid 1.5px #f3994f;
    bottom: 0;
    right: 0;
  }
  .ubugi_btn_box a{
    color: #4d4d4d;
    padding: 15px;
    border: 1px #4b4b4b solid;
    font-family: "source-han-serif-japanese", sans-serif;
    font-style: normal;
    font-weight: 500;
    display: block;
    font-size: 18px;
    letter-spacing: 1px;
    border-bottom: 3px solid;
    background: #fff;
    text-align: center; 
  }
  .ubugi_lead{
    text-align: left;
  }
  .ubugi_box_left{
    font-family: "source-han-serif-japanese", sans-serif;
    width: 25%;
    padding: 40px 20px 40px 0;
    display: block;
    position: relative;
    margin-right: 20px;
    text-align: center;
    font-size: 18px;
  }
  .ubugi_box_left::after{
    position: absolute;
    right: 0;
    display: block;
    content: "";
    width: 1px;
    height: 100%;
    background-color: #f3994f;
    top: 0;
    bottom: 0;
  }
  .ubugi_box_right{
    width: 75%;
    display: block;
    text-align: left;
    margin-left: 20px;
    line-height: 1.8;
  }
 
  
  /* お宮参りとは */
  .omiyamairi_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 50px;
 }
  .omiyamairi_left{
    width: 56%;
  }
  .omiyamairi_right{
    width: 40%;
  }
  
  /* ハイパーリンク */
  .ubugi_link_flex{
    border-top: 2px solid #edefef;
    margin-bottom: 40px;
    width: 85%;
    margin: 0 auto 40px;
  }
  .ubugi_link_item{
    position: relative;
    font-family: "source-han-serif-japanese", serif;
    padding: 10px;
    border-bottom: 2px solid #edefef;
    font-size: 18px;
  }
  .link_number{
    display: inline-block;
    margin:0 10px;
  }
  .link_down{
    position: absolute;
    right: 15px;
    bottom: 15px;
  }
  /* 着物の柄 */
  /* 男女タブ */
  input[type="radio"] {
  display: none;
  }
  .tab_area {
  display: block;
  font-size: 0;
  margin: 0 auto 2em;
  position: relative;
  }
  .tab_area {
  font-family: source-han-serif-japanese, sans-serif;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  margin-top: 3em;
  margin-bottom: 40px;
  }
  .tab_area label {
  flex: 1;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
  border-left: 1px solid #e3e3e3;
  padding: 20px 0;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
  background: #edeff0;
  color: #f3994f;
  display: inline-block;
  cursor: pointer;
  }
  .tab_area label:last-child {
  border-right: 1px solid #e3e3e3;
  }
  .tab-box {
  background: #fff;
  }
  .tab_panel {
  width: 100%;
  display: none;
  }
  #tab1:checked ~ .tab_area .tab1_label {
  background: #f3994f;
  color: #fff;
  font-size: 22px;

  }
  #tab1:checked ~ .panel_area #panel1 {
  animation: tabAnim ease 0.8s forwards;
  display: block;
  }
  #tab2:checked ~ .tab_area .tab2_label {
  background: #f3994f;
  color: #fff;
  font-size: 22px;
  }
  #tab2:checked ~ .panel_area #panel2 {
  animation: tabAnim ease 0.8s forwards;
  display: block;
  }
  .tab1_label , .tab2_label{
    position: relative;
  }
  #tab1:checked ~ .tab_area .tab1_label::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #f3994f;
}
    #tab2:checked ~ .tab_area .tab2_label::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #f3994f;
}
  .gara-inner{
    max-width: 1200px;
    margin: auto;
  }
  .gara-text{
    display: block;
    padding-bottom: 40px;
    text-align: center;
  }
  
  .ubugi_img_base{
    width: 68%;
    max-width: 1280px;
    display: flex;
    justify-content: space-around;
    margin: 5px auto;
    padding: 0;
  }
  .gara_img{
    width: 100%;
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    margin: auto;
    padding: 0;
  }
  .gara_img img{
    width: 24%;
  }
  .subtitle_text{
    display: block;
    width: 100%;
    font-family: source-han-serif-japanese, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    color: #333;
    background: #EDEEF0;
    padding: 10px 0;
    margin: 0 auto 30px;
    text-align: center;
  }
  .gara_wrap{
    margin: 0 0 60px;
  }
  .gara_wrap:last-of-type{
    margin-bottom: 40px;
  }
  .gara_img_flex{
    display:flex;
    align-items: flex-start;
    align-items: center;
    padding-bottom: 50px;
  }
  .gara_img_flex img{
    width: 35%;
  }
  .gara_img_flex p{
    width: 100%;
    padding-bottom: 20px;
    padding-left: 40px;
    text-align: left;
  }
  .ubugi_product_title{
    font-size: 18px;
    font-family: "source-han-serif-japanese", sans-serif;
    line-height: 1.5;
    letter-spacing: 3px;
    text-align: left;
    max-width: 1024px;
    margin: 0 auto 15px;
    padding: 0.5em 0 0.5em 0.5em;
    color: #494949;
    background: transparent;
    border-left: solid 5px #f3994f;
  }
  .ubugi_product_title span{
    display: block;
    line-height: 1.1;
    color: #f3994f;
  }
  .product_name{
    position: absolute;
    bottom: 8%;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    color: #4d4d4d;
    padding: 3px 3px 0;
    text-align: center;
  }
  .ubugi_product{
   position: relative;
    width: 47%;
    margin: 0 15px 40px 0;
  }
  .ubugi_product:last-of-type{
    margin: 0 0 40px 0;
  }
  .gara_img02{
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
  }
  .ubugi_btn_product{
    width: 90%;
    margin: auto;
  }
  
  /* 産着の小物 */
  .ubugi_img_flex{
    display: flex;
    justify-content: space-around;
    margin: 70px 0 60px 0;
  }
  .ubugi_img_flex img{
    width: 30%;
  }
  
  /* お母さんの服装 */
  .ubugi_houmon_flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 70px 0 10px 0;
  }
  .ubugi_houmon_flex img{
    width: 30%;
    margin-bottom: 30px;
  }
  /* リンクコーデ */
  .code_wrap{
    margin-bottom: 100px;
    text-align: center;
  }
  .code_wrap:last-of-type{
    margin-bottom: 80px;
  }
  .code_wrap_flex{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .code_item{
    width: 46%;
  }
  .product_name_wrap{
    position: relative;
  }
  .code_ubugi_flex{
    display: flex;
    justify-content: space-between;
    margin: 20px 0 40px 0;
  }
  .code_ubugi_flex img{
    width: 47%;
  }
  .code_title_wrap{
    text-align: center;
    margin-bottom: 50px;
  }
  .code_title{
    position: relative;
    display: inline-block;
    padding: 0 80px;
    font-family: source-han-serif-japanese, sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #f3994f;
    line-height: 1.8em;
  }
  .code_title:before, .code_title:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 65px;
    height: 2px;
    background-color: #f3994f;
  }
  .code_title:before {
    left: 0;
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg);
  }
  .code_title:after {
    right: 0;
    -webkit-transform: rotate(-60deg);
    transform: rotate(-60deg);
}
  .code_subtitle{
    display: block;
    padding-bottom: 20px;
  }
  .code_text{
    display: block;
    font-size:16px;
    padding-bottom: 60px;
    margin-bottom: 20px;
    position: relative;
  }
  .code_text::after{
    position: absolute;
    left: 50%;
    bottom: 0;
    display: block;
    content: "";
    width: 1px;
    height: 50px;
    background-color: #f3994f;
  }
  .video{
    width: 90%;
    margin: 0 auto 60px;
    display: block;
  }


}


@media screen and (min-width:1025px), print, tv {
  
/*-------------------------------
  リニューアルページ用
---------------------------------*/
  html{
    color: #4d4d4d;
  }
  
  /* ヘッダー*/
  .header_base{
    position:relative;
  }
  .header_base img{
    display: block;
    text-align: center;
    margin: auto;
  }
  .ubugi_header_text h2{
    font-size: 2em;
    font-family: "source-han-serif-japanese", serif;
    font-style: normal;
    font-weight: 500;
    padding-bottom: 15px;
    color: #f3994f;
  }
  .ubugi_header_text p{
    font-size: 1.5em;
    font-family: "source-han-serif-japanese", serif;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6em;
    text-align: center;
  }
  .ubugi_header_text{
    position: absolute;
    top: 35%;
    left: 20%;
    bottom: 0;
    /* left: 0; */
    margin: 0 auto;
    text-align: center;
  }
  
  /*　共通　*/
  .ubugi_color{
    color:#f3994f;
  }
  .bold{
    font-weight: bold;
  }
  .ubugi_about_inner{
    max-width: 1280px;
    margin: auto;
  }
  .ubugi_item_wrap{
    padding: 120px 0 120px 0;
    margin-top:-60px; 
  }
  .ubugi_title{
    color:#f3994f;
    font-size: 26px;
    font-family: "source-han-serif-japanese", serif;
    padding-bottom: 30px;
  }
  .ubugi_stitle_flex{
    display: flex;
    justify-content: space-between;
    align-items:center; 
    padding-bottom: 70px;
  }
  .ubugi_stitle_right , .ubugi_stitle_left{
    width: 50%;
    text-align: center;
    color: #4d4d4d;
  }
  .stitle_img_flex{
     display: flex;
    justify-content: space-between;
  }
  .ubugi_title_number{
    display: block;
    color:#f3994f;
  }
  .ubugi_box{
    position: relative;
    padding: 3em;
    margin: 0 auto 25px auto;
    width: 100%;
    max-width: 1280px;
    background-color: #edefef;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .ubugi_box:before, .ubugi_box:after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    display: inline-block;
  }
  .ubugi_box:before {
    border-left: solid 1.5px #f3994f;
    border-top: solid 1.5px #f3994f;
    top: 0;
    left: 0;
    right: 0;
}
  .ubugi_box:after {
    border-right: solid 1.5px #f3994f;
    border-bottom: solid 1.5px #f3994f;
    bottom: 0;
    right: 0;
  }
  .ubugi_btn_box a{
    color: #4d4d4d;
    padding: 15px;
    border: 1px #4b4b4b solid;
    font-family: "source-han-serif-japanese", sans-serif;
    font-style: normal;
    font-weight: 500;
    display: block;
    letter-spacing: 1px;
    border-bottom: 3px solid;
    background: #fff;
    text-align: center; 
  }
  .ubugi_lead{
    text-align: left;
  }
  .ubugi_box_left{
    font-family: "source-han-serif-japanese", sans-serif;
    width: 25%;
    font-size: 20px;
    padding: 40px 20px 40px 0;
    display: block;
    position: relative;
    margin-right: 20px;
    text-align: center;
  }
  .ubugi_box_left::after{
    position: absolute;
    right: 0;
    display: block;
    content: "";
    width: 1px;
    height: 100%;
    background-color: #f3994f;
    top: 0;
    bottom: 0;
  }
  .ubugi_box_right{
    width: 75%;
    display: block;
    text-align: left;
    margin-left: 20px;
    line-height: 1.8;
  }
 
  
  /* お宮参りとは */
  .omiyamairi_flex{
    display: flex;
    justify-content: space-between;
    margin: 50px 0 70px;
  }
  .omiyamairi_left{
    width: 55%;
  }
  
  /* ハイパーリンク */
  .ubugi_link_flex{
   display: flex;
    justify-content: space-between;
    border-top: 2px solid #d4d4d4;
    border-bottom:2px solid #d4d4d4;
    padding: 15px 0;
    margin-bottom: 80px;
  }
  .ubugi_link_item:last-of-type{
    margin-right: 15px;
  }
  .link_number{
    margin: 0 15px;
  }
  .link_down{
    margin-left: 15px;
  }

  /* 着物の柄 */
  /* 男女タブ */
  input[type="radio"] {
  display: none;
  }
  .tab_area {
  display: block;
  margin: 0 auto 2em;
  position: relative;
  }
  .tab_area {
  font-family: source-han-serif-japanese, sans-serif;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  margin-top: 3em;
  margin-bottom: 40px;
  }
  .tab_area label {
  flex: 1;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
  border-left: 1px solid #e3e3e3;
  padding: 20px 0;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
  background: #edeff0;
  color: #f3994f;
  display: inline-block;
  cursor: pointer;
  }
  .tab_area label:last-child {
  border-right: 1px solid #e3e3e3;
  }
  .tab-box {
  background: #fff;
  }
  .tab_panel {
  width: 100%;
  display: none;
  }
  #tab1:checked ~ .tab_area .tab1_label {
  background: #f3994f;
  color: #fff;
  font-size: 22px;
  }
  #tab1:checked ~ .panel_area #panel1 {
  animation: tabAnim ease 0.8s forwards;
  display: block;
  }
  #tab2:checked ~ .tab_area .tab2_label {
  background: #f3994f;
  color: #fff;
  font-size: 22px;
  }
  #tab2:checked ~ .panel_area #panel2 {
  animation: tabAnim ease 0.8s forwards;
  display: block;
  }
  .tab1_label , .tab2_label{
    position: relative;
  }
  #tab1:checked ~ .tab_area .tab1_label::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #f3994f;
}
    #tab2:checked ~ .tab_area .tab2_label::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #f3994f;
}
  .gara-inner{
    max-width: 1200px;
    margin: auto;
  }
  .gara-text{
    color:#4d4d4d;
    display: block;
    padding-bottom: 40px;
    text-align: center;
  }
  
  .ubugi_img_base{
    width: 68%;
    max-width: 1280px;
    display: flex;
    justify-content: space-around;
    margin: 5px auto;
    padding: 0;
  }
  .gara_img{
    width: 100%;
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    margin: auto;
    padding: 0;
  }
  .gara_img img{
    width: 24%;
  }
  .subtitle_text{
    display: block;
    width: 100%;
    font-family: source-han-serif-japanese, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    color: #333;
    background: #EDEEF0;
    padding: 10px 0;
    margin: 0 auto 30px;
    text-align: center;
  }
  .gara_wrap{
    margin: 0 0 60px;
  }
  .gara_wrap:last-of-type{
    margin-bottom: 40px;
  }
  .gara_img_flex{
    display:flex;
    align-items: center;
    padding-bottom: 50px;
  }
  .gara_img_flex p{
    width: 100%;
    padding-bottom: 20px;
    padding-left: 40px;
    font-size:16px;
    text-align: left;
  }
  .ubugi_product_title{
    font-size: 20px;
    font-family: "source-han-serif-japanese", sans-serif;
    line-height: 1.5;
    letter-spacing: 3px;
    text-align: left;
    max-width: 1280px;
    margin: 0 auto 15px;
    padding: 0.5em 0 0.5em 0.5em;
    color: #494949;
    background: transparent;
    border-left: solid 5px #f3994f;
  }
  .ubugi_product_title span{
    font-size: 16px;
    display: block;
    line-height: 1.1;
    color: #f3994f;
    margin-bottom: 5px;
  }
  .product_name{
    font-size: 16px;
    position: absolute;
    bottom: 8%;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    color: #4d4d4d;
    padding: 3px 3px 0;
    text-align: center;
  }
  .ubugi_product{
   position: relative;
    width: 23%;
    margin: 0 15px 40px 0;
  }
  .ubugi_product:last-of-type{
    margin: 0 0 40px 0;
  }
  .gara_img02{
    display:flex;
    flex-wrap:wrap;
    justify-content: flex-start;
  }
  .ubugi_btn_product{
    width: 50%;
    margin: auto;
  }
  
  /* 産着の小物 */
  .ubugi_img_flex{
    display: flex;
    justify-content: space-around;
    margin: 70px 0 60px 0;
  }
  .ubugi_img_flex img{
    width: 30%;
  }
  
  /* お母さんの服装 */
  .ubugi_houmon_flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 70px 0 50px 0;
  }
  .ubugi_houmon_flex img{
    width: 30%;
    margin-bottom: 30px;
  }
  /* リンクコーデ */
  .code_wrap{
    margin-bottom: 150px;
    text-align: center;
  }
  .code_wrap:last-of-type{
    margin-bottom: 80px;
  }
  .code_wrap_flex{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .code_item{
    width: 46%;
  }
  .product_name_wrap{
    position: relative;
  }
  .code_ubugi_flex{
    display: flex;
    justify-content: space-between;
    margin: 20px 0 40px 0;
  }
  .code_ubugi_flex img{
    width: 47%;
  }
  .code_title_wrap{
    text-align: center;
    margin-bottom: 60px;
  }
  .code_title{
    position: relative;
    display: inline-block;
    padding: 0 80px;
    font-family: source-han-serif-japanese, sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #f3994f;
    margin-bottom: 10px;
    line-height: 1.8;
  }
  .code_title:before, .code_title:after {
    content: '';
    position: absolute;
    top: 60%;
    display: inline-block;
    width: 65px;
    height: 2px;
    background-color: #f3994f;
  }
  .code_title:before {
    left: 0;
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg);
  }
  .code_title:after {
    right: 0;
    -webkit-transform: rotate(-60deg);
    transform: rotate(-60deg);
}
  .code_subtitle{
    display: block;
  }
  .code_text{
    display: block;
    font-size:18px;
    padding-bottom: 60px;
    margin-bottom: 20px;
    position: relative;
    color:#4d4d4d;
  }
  .code_text::after{
    position: absolute;
    left: 50%;
    bottom: 0;
    display: block;
    content: "";
    width: 1px;
    height: 50px;
    background-color: #f3994f;
  }
  .video{
    width: 73%;
    margin: 0 auto 50px;
    display: block;
  }
  .howto_img{
    width: 90%;
    margin: auto;
  }
  

}
