@charset "utf-8";

/* タブレット (1080px以下)-----------w1024 */
@media only screen and (max-width:1080px) {

  iframe {
    width: 100%;
  }
  
  
  #siteid h1 {
    width: 400px;
    height: 340px;
    background-size: auto 330px;
  }
    
    
  /*＝＝＝＝＝＝*/
  /*トップページ*/
  /*＝＝＝＝＝＝*/

  .sub #header_in {
    width: 960px;
  }
  
  .contents_2 {
    width: 960px;
  }  
  
  .col4 ul li {
    width: 220px;
  }
  
  
  /*＝＝＝＝＝＝＝＝＝＝*/
  /*共通項目（フッター）*/
  /*＝＝＝＝＝＝＝＝＝＝*/

  .footer_in {
    width: 960px;
  }
  

}


/* タブレット (1024px以下)-----------w960 */
@media only screen and (max-width:1024px) {
  .top #header {
    width: 100%;
    height: 614px;
  }
  
  .copy{
    display: block;
  }
  
  
}


/* タブレット (960px以下)-----------w700 */
@media only screen and (max-width:960px) {
/*タブレット（iPad）以下では表示しない*/
/*
    .pc {
        display: none;
    }
*/

  /*タブレットのみ表示する*/
  .tab {
    display: block;
  }
  /*タブレットとスマホのみ表示する*/
  .tab_sp {
    display: block;
  }
  
    
  #header_in{
    left: 60px;
  }
  
  .sub #header_in{
    width: 700px;
/*    padding: 16px 0;*/
  }
  
  #siteid h1 {
    width: 350px;
    height: 299px;
    background-size: auto 285px;
  }
   
  /*＝＝＝＝＝＝*/
  /*トップページ*/
  /*＝＝＝＝＝＝*/
  
  #wrap_in{
	  width: 700px;
  }
  
  .contents_1,
  .contents_2,
  .contents_3{
    width: 700px;
  }

  .col4 ul{
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  
  .col4 ul li {
    width: 337px;
    margin: 18px 0 0 0;
  }
  
  .col4 ul li p {
    font-size: 0.15rem;
    margin: 16px 0 30px;
  }
  
  .col4 ul li .menu_name{
    top: 0;
    right: 0;
  }
  
  
  /*＝＝＝＝＝＝＝*/
  /*メールフォーム*/
  /*＝＝＝＝＝＝＝*/
  
  .mail_form {
    padding: 56px 60px 76px;
  }
  
  .form_input input[type="text"], 
  .form_input input[type="email"], 
  .form_input input[type="tel"], 
  .mail_form textarea {
    width: 555px;
  }
  
  /*＝＝＝＝＝＝＝＝＝＝*/
  /*共通項目（フッター）*/
  /*＝＝＝＝＝＝＝＝＝＝*/
    
    .footer_in {
    width: 700px;
  }
  
  .info_name {
    width: 210px;
  }
    
  
}

/* スマホ-----------w300 */
@media only screen and (max-width:700px) {

  /*スマホでは表示しない*/
  .rss,
  .pc,
  .tab,
  .pc_tab,
  .pc_tab2,
  .gmenu{
    display: none;
  }

  /*スマホのみ表示する*/
  .sp {
    display: block;
  }
  

  html {
    width: 100%;
    font-size: 50px;
    overflow-x: hidden;
  }

  body {
    font-size: 0.3em;
    /*15px フォントサイズの指定がない時に適用*/
  }

  .subpage #wrap {
    padding-top: 96px;
  }
  
  iframe {
    width: 100%;
  }


    /*見出し*/
/*
    h1 {
        font-size: 0.96rem;
        margin: 36px 0 -4px;
    }


    h2 {
        margin-top: 32px;
        font-size: 0.4rem;
    }
*/
  
  .h1_br span{
  display: block;
}
  
  #wrap h1, #wrap h2 {
    padding: 0 0 10px;
    font-size: 0.52rem;
    margin: 0 0 46px 0;
  }
  
  .top #wrap h2 {
    margin: 0 0 46px 0;
}
  .sub #wrap h1{
    margin: 0 auto 46px;
    width: 90%;
  }

  h3 {
    font-size: 0.32rem;
  }

  h4 {
    font-size: 0.32rem;
  }

  h5,
  h6 {
    font-size: 0.28rem;
    margin: 32px 0 -6px;
  }
  

  /*table*/
  table {
/*  border-bottom: 1px solid #B5B5B5;*/
  }

  th,
  td {
    display: table-cell;
    padding: 8px;
/*  border-bottom: none;*/
  }
    
  th {
    width: 110px !important;
    text-align: left;
/*
    border-style: solid;
    border-color: #B5B5B5;
    border-width: 0px 1px 1px 1px;
*/
  }
  
  td {
    text-align: left;
  }

    
  .table_01 {
    width: 100%;
    border-top: none;
  }

  .table_01 th,
  .table_01 td {
    display: table-cell;
  }
    
  .table_01 th{
    width: 95px !important;
    padding-right: 5px;
    text-align: left;
  }
    
  .table_01 td{
    text-align: left;
  }
  
  
  /*＝＝＝＝＝＝＝＝＝＝*/
  /*共通項目（ヘッダー）*/
  /*＝＝＝＝＝＝＝＝＝＝*/
    
  .top #header {
    background-image: url("../image/background/top_main_sp.jpg");
    height: 670px;
    background-size: 100% auto;
  }
  
  #header_in {
    top: 40px;
    left: 20px;
  }
  
  .sub #header_in {
    width: 90%;
    padding: 16px 0;
}

  #siteid h1 {
    width: 236px;
    height: 198px;
    background-size: auto 198px;
  }
  
   #siteid p {
    width: 150px;
    height: 24px;
    background-size: auto 24px;
  }
    
  
  .contact {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 18px;
    margin: 0 auto;
    font-size: 15px;
    width: 90%;
    border-radius: 16px;
  }
  
  .contact div{
    padding: 0;
  }
  
  .contact h2 {
    font-size: 20px;
    margin: 20px 0 -4px 0;
  }
  .contact .mail a {
    font-size: 16px;
  }
  
  .contect .itsudemo{
    margin: -5px 0 15px 0;
  }

  /*＝＝＝＝＝＝＝＝＝*/
  /*スマホ固定メニュー*/
  /*＝＝＝＝＝＝＝＝＝*/
  .menu_wrap {
    position: fixed;
    z-index: 50;
    display: block;
    margin-top: 0;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
  }
  
  .menu_wrap a{
    text-decoration: none;
  }
    
  .menu_wrap .menu_button_wrap a{
    position: absolute;
    right: 0;
    width: 55px;
    height: 54px;
    color: #0084D9;
    border-style: solid;
    border-width: 0px 0px 1px 1px;
    border-color: #1484D9;
  }
  
  .drawer_menu p a {
    background-color: rgba(0, 0, 0, 0.00);
  }

  #bg {
    min-width: 320px;
  }

	/*スマホドロワーメニュー*/
  #menu {
    z-index: 5;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: scroll;
    background-color: #FFF;
    /*border-top: 1px solid #ccc;*/
    -webkit-transition: .35s ease-in-out;
    -o-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    font-weight: 500;
    display: none;
    list-style-type: none;
    margin: 0 0 0 0;
    padding: 0 0 27px 0;
    object-fit: cover;
  }
  
  .active {
    right: 0;
  }
  
  .drawer_menu.active .menu-trigger {
    display: block;
    right: 0;
  }

  /*ドロワーメニューのスタイル*/
  .menu_block {
    padding: 70px 10px 60px 10px;
  }

  #menu .siteid{
    width: 90%;
    margin: 0 auto;
  }
  
  #menu .siteid h1,
  #menu .siteid p{
    background-image: url("../image/logo/sub_logo.png");
    width: 150px;
    height: 24px;
    background-size: auto 24px;
    margin: 16px 0;
    text-align: center;
    background-color: rgba(0,0,0,0);
    display: block;
    padding: 0;
    text-indent: -55555em;
    background-repeat: no-repeat;
    border: none;
  }
  
  .drawer_menu h2 {
    position: static;
    margin: 0 0 15px 0;
    padding: 9px;
    /*	font-size: 0.4rem;*/
    font-size: 15px;
    color: #00BB8E;
    text-align: center;
  }

  .drawer_menu h2:after {
    display: none;
  }

  .drawer_menu ul {
    width: 100% !important;
    margin: 32px auto 28px;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
  }
  
  .drawer_menu li {
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-image: url("../all_img/org/sp_yajirusi.png");
    padding-left: 30px;
    background-size: 20px auto;
    /*background-color: #0071BC;*/
    margin: 0;
    padding: 0;
  }
  
  .drawer_menu p {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .drawer_menu li {
    text-align: center;
    margin: 0;
    padding: 0;
    cursor: pointer;
  }

  .drawer_menu a {
    color: #F8A5C9;
  }
  
  .drawer_menu p a {
    text-align: center;
    /*font-size: 0.3rem;*/
    font-weight: 700;
    color: #F8A5C9;
  }
  
  .drawer_menu p a,
  .drawer_menu li a {
    text-align: center;
    /*font-size: 0.3rem;*/
    font-size: 17px;
    font-weight: 700;
    display: block;
    padding: 15px 28px;
    /*border-bottom: 1px solid #00BB8E;*/
  }
  
/*  ハンバーガーメニュー*/
  /*クリックする前*/
  .hamburger {
    display: block;
    z-index: 10;
    position: absolute;
    top: 22px;
    /*    left: 0;*/
    right: 20px;
    padding: 0;
    width: 25px;
    height: 18px;
    /*
      background-color: #0084D9;
      -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    */
  }

  .menuicon {
    display: block;
    position: absolute;
    left: 0;
    width: 25px;
    height: 100%;
    cursor: pointer;
    -webkit-transition: transform .3s ease-in;
    -webkit-transition: -webkit-transform .3s ease-in;
    transition: -webkit-transform .3s ease-in;
    -o-transition: transform .3s ease-in;
    transition: transform .3s ease-in;
    transition: transform .3s ease-in, -webkit-transform .3s ease-in;
  }

  .menuicon > span {
    display: block;
    position: absolute;
    top: 55%;
    margin-top: -0.3em;
    width: 100%;
    height: 4px;
    /*border-radius: 1px;*/
    background-color: #F8A5C9;
    -webkit-transition: transform .3s ease-in;
    -webkit-transition: -webkit-transform .3s ease-in;
    transition: -webkit-transform .3s ease-in;
    -o-transition: transform .3s ease-in;
    transition: transform .3s ease-in;
    transition: transform .3s ease-in, -webkit-transform .3s ease-in;
  }

  .menuicon > span:before,
  .menuicon > span:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    /*border-radius: 1px;*/
    background-color: #F8A5C9;
    -webkit-transition: transform .3s ease;
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    -o-transition: transform .3s ease;
    transition: transform .3s ease;
    transition: transform .3s ease, -webkit-transform .3s ease;
  }
  
  .menuicon > span:before {
    -webkit-transform: translateY(-0.6em);
    -ms-transform: translateY(-0.6em);
    transform: translateY(-0.6em);
  }

  .menuicon > span:after {
    -webkit-transform: translateY(0.6em);
    -ms-transform: translateY(0.6em);
    transform: translateY(0.6em);
  }

  /*クリックした後*/
  #menu_input:checked + .hamburger .menuicon {
    right: -290px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #menu_input:checked + .hamburger span:before,
  #menu_input:checked + .hamburger span:after {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  #menu_input:checked ~ #menu {
    display: block;
  }

  #menu_input:checked ~ .drawer_menu {
    display: block;
    visibility: visible;
    opacity: 1;
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
  }
  
  .iphone .a:hover {
    opacity: 1;
  }
  
  
  /*＝＝＝＝＝＝*/
  /*トップページ*/
  /*＝＝＝＝＝＝*/
  
  #wrap_in{
    width: 100%;
    padding: 45px 0 100px 0;
  }
  
  .contents_1, .contents_2, .contents_3 {
    width: 90%;
  }
  
  .col4 ul ul{
    width: 100%;
    margin: 0;
  }
  
  .col4 ul li{
    width: 48%;
  }
  
  .col4 ul ul li{
    width: 100%;
    margin: 0;
  }
  
  .col4 ul li .menu_name{
    font-size: 0.3rem;
    width: 105px;
    height: 22px;
    /* top: 66px; */
    padding: 4px 0 2px;
  }
  
  .col4 ul li p {
    font-size: 0.28rem;
    margin: 16px 0 30px;
  }
  
  /*ーーーーーーーーーー*/
  /*サブページコンテンツ*/
  /*ーーーーーーーーーー*/ 
  .tsunagu_contact .contact_message{
    width: 90%;
    margin: 48px auto 37px;
  }
  
  /*＝＝＝＝＝＝＝*/
  /*メールフォーム*/
  /*＝＝＝＝＝＝＝*/

  .mail_form{
    display: block;
    padding: 44px 25px 64px;
  }
    
  .mail_form label {
    font-size: 0.28rem;
  }
    
  /*必須マーク*/
  .mcheck:after {
    font-size: 0.2rem;
  }
    
  /*注意書き*/
  .mail_form .form_input p {
    text-align: initial;
    color: #F24100;
    font-size: 0.24rem;
  }
    
    
  /*インプットタグ、テキストエリア*/
  .form_input input,
  .form_input textarea {
    font-size: 0.32rem;
  }
  
  .form_input textarea {
    line-height: 1.5;
}
  
  .form_input input[type='text'],
  .form_input input[type='email'],
  .form_input input[type='tel'],
  .mail_form textarea {
    padding: 10px;
    width: 93%;
  }
  
 
  /*確認、送信ボタン*/
  .form_button {
    clear: both;
    padding: 58px 0 12px;
  }
  
  .form_button input[type="submit"],
  .form_button input[type="button"]{
    margin-bottom: 24px;
    font-size: 0.3rem;
    width: 70%;
  }
    
  .mailthanks_btn input[type="submit"]{
    margin-bottom: 3px;
  }
  
  .form_button input[type="submit"], 
  .form_button .submitButton {
    margin: 0 auto 22px !important;
  }
  
  .form_button input[type="button"] {
    margin: 22px auto 0;
  }
    
  .mailthanks_btn input {
    font-size: 0.28rem;
    padding: 10px 20px 10px 20px;
  }

  .form_input select{
    width: 100%;
    font-size: 0.32rem;
  }
    
  .form_input select[name*="5"]{
    width: 75px;
  }
    
  .form_input select[name*="35"] {
    width: 100%;
  }
    
  input[type="text"][size="40"]{
    width: 92%;
  }
    
  input[type="text"][size="20"] {
    width: 72%;
  }

  input[type="text"][size="4"]{
    width: 50px;
  }

  textarea[cols="40"]{
    width: 92%;
  }

  /*その他*/
  .mail_form dl {
    width: 100%;
  }
    
  .form_after {
    width: 90%;
    margin: 0 auto;
    position: absolute;
    bottom: 265px;
    right: 0;
    left: 0;
    padding: 0;
  }
  
  
  /*＝＝＝＝＝＝＝＝＝＝*/
  /*共通項目（フッター）*/
  /*＝＝＝＝＝＝＝＝＝＝*/
  .footer_in {
    width: 90%;
    padding: 80px 0 220px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
  
  .sub .footer_in {
    padding: 48px 0 36px;
  }
  
  .footer_right {
    width: 100%;
    height: auto;
  }
    
  /*ロゴ*/
  .info_name{
    font-size: 0.4rem;
    width: 100%;
    margin: 18px 0 22px 0;
  }
  
  address{
    font-size: 0.3rem;
  }

  .copy{
    font-size: 0.23rem;
  }

  .copy_sp{
    display: block;
    color: #fff;
    font-size: 0.23rem;
    text-align: center;
    margin: 30px 0 0 -8px;
  }
  
  
}

/* iPhone 4 ----------- */
@media only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {}
