@charset "utf-8";
/* Basic CSS */


/*これ以下、最初の設計を考えずにコーディングに手をつけて後々混乱するのが、フォントサイズの指定です。
フォントサイズ指定のルールは予めルールを決めておかないと、可変の指定がどこを基準に設定されるかわからなくなり、コーディングに困ることになります。
今回の枠組みでは、基準となるフォントサイズを62.5%（10px相当）に設定し、それをもとに各所でrem指定でフォントサイズを記述できるようなものとなっています。
また、box-sizingをborder-boxとすることで、padding指定時にボックスサイズがはみ出ないように設定をしています。
float時の周り込み解除のクラスもほぼ必須なので入れてあります。（親要素にてclass="clearfix"で使用。）

https://tadworks.jp/archives/1751*/


/*///////////////////////////////////////////////////////*/


/*====================
スマホを基本設計にする
 - 〜479px：スマートフォン縦
 - 480px〜599px：スマートフォン横
 - 600px〜959px：タブレット
 - 960px〜1279px：小型PC
 - 1280px〜：大型PC
====================*/

/*共通項目をここに書いていく。*/

/* 基本CSS */

body {

  font-size: 1.4rem;
  color: #373737;
 background-color: #fdfdf6;
  margin-bottom: 0px;
  padding-bottom: 10px;
  text-indent: -2px;
  max-height: 0%;
  padding-top: 110px;
  margin-top: 24px;
  border-width: medium;
}

ul,
div,
img {
  margin: 0px;
  padding: 0px;
  list-style: none;
  font-weight: normal;
}

html {
  font-size:76%;
}

*, *::before, *::after {
  box-sizing:border-box;
}
.clearfix::after {
  content:'';
  display:block;
  clear:both;
}

/*リンク色・下線*/

a,a:visited{
  text-decoration: none;
  color: #355dcc;
}
a:hover{
  text-decoration: none;
}





/*****PARAGRAPH*****/
p{
 font-family: 'M PLUS 1p', sans-serif;
 line-height: 1.6;
 /*color: #006eff;*/
}


.logobox{
  width: 140px;
  float: left;
}


/*ロゴ文字設定*/
.logotextsize {
  color: #0d7c16;
	font-size:  11px;
}
/*電話番号小文字設定*/
.teltextsize {
  color: #4470cf;
	font-size:  11px;
}

/*フォーケアウォッスサポート小文字テスト*/
.testtextsize {
	font-size:  10px;
}
/*フォーム小文字テスト*/
.testtextsize2 {
	font-size: 10px;
  text-decoration:  none;
  color: #3c6091;
  background-color: #d9edf8;
  width: 46px;
  display: block;
  text-align:  center;
  padding: 2px;
  border-radius:  10px;
}



/*電話番号文字設定*/
.telno {
  font-family: 'Koulen', cursive;
  font-size: 140%;
  color: #4470cf;
}

/*電話をかける※スマホだけ*/
@media (min-width: 751px) {
  a[href*="tel:"] {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  }
  }


/*表示非表示*/
.flex-box{
  width: 200px;
  height: 50px;
  padding: 25px 10px;
  margin: 20px;
  /*background-color: lightgray;*/
}

.x01{
  margin-top: 40px;
  padding-top: 18px;
  padding-right: 50px;
  /*background-color: #e6acd2;*/
}






#menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 100;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;

    margin-top: 30px;
    padding-left: 60px;
    padding-right: 60px;
    /*background: #d8f06c;*/
  }
  
  #menu-btn {
    display: none;
  }
  
  #menu-content {
    margin: 0;
    list-style-type: none;
  }
  
  #menu-content > li {
    position: relative;
    float: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
  }
  
  #menu-content > li > a {
    display: block;
  
    margin-left: 30px;
    line-height: 40px;
    color: #535353;
    font-size: 13px;
    text-decoration: none;
  }
  
  #menu-content > li > a > .blogicon-chevron-down {
    margin-right: 10px;
  }
  
  #menu-content > li > ul.second-content {
    /*ここらへんを変更したらいいか？*/
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding-left: 0;
    list-style-type: none;
    -webkit-box-shadow: 1px 1px 7px #bbb;
            box-shadow: 1px 1px 7px #bbb;
  }
  
  #menu-content > li:hover > ul.second-content {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity 0.2s, visibility 0.2s;
    transition: opacity 0.2s, visibility 0.2s;
  }
  
  #menu-content > li > ul.second-content > li {
    text-align: center;
    width: 150px;
  }
  
  #menu-content > li > ul.second-content > li > a {
    display: block;
    line-height: 40px;
    color: #666666;
    font-size: 1.1rem;
    text-decoration: none;
    background: #fcffee;
  }
  
  #menu-content > li > ul.second-content > li > a:hover {
    background: #c5fa94;
    color: #389b1f;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
  }

  .testbox01{

    position: fixed;
    top: 0;
    left:0;
    font-size:16px;
    line-height:100%;
    float: left;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 20px;
    margin-bottom: 20px;
  }

  
  .tttxxx3 {
    width: 160px;
    height: 34px;
    float: left;
    padding-top: 30px;
    margin-left: 20px;
    /*background-color: rgb(187, 180, 180);*/
  }
  .tttxxx35 {
  
    height: 34px;
    float: left;
    text-align:center;
    padding-top: 14px;
    margin-left: 18px;
    /*background-color: rgb(156, 51, 51);*/
  }
  .tttxxx4 {
    width: 60px;
    height: 56px;
    float: left;
    padding-top: 4px;
    margin-left: 20px;
    /*background-color: rgb(212, 196, 52);*/
  }
  
  
  @media screen and (max-width:499px) {
    .tttxxx3 {
      display: none;
    }
  
  }
  @media screen and (min-width:499px) {
  
    .tttxxx35 {
      display: none;
    }
  }
  
  @media screen and (max-width:390px) {
    .tttxxx3 {
      display: none;
    }
  
  }
  @media screen and (max-width:390px) {
  
    .tttxxx35 {
      display: none;
    }
  }
  @media screen and (max-width:390px) {
  
    .tttxxx4 {
      display: none;
    }
  }
  
    
    @media screen and (max-width: 965px) {
      nav {
        position: fixed;
        top: 0;
        left: -1000px;
        bottom: 0;
        width: 60%;
        background: #ffffff;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        z-index: 3;
        opacity: 0;
      }
      .open nav {
        left: 0;
        opacity: 1;
      }
      nav .inner {
        padding: 6px;
      }
      nav .inner ul {
        list-style: none;
        margin: 0;
        padding: 0;
      }
      nav .inner ul li {
        position: relative;
        margin: 0;
      }
      nav .inner ul li a {
        display: block;
        color: #333;
        font-size: 14px;
        text-decoration: none;
        -webkit-transition-duration: 0.2s;
                transition-duration: 0.2s;
      }
      .toggle_btn {
        display: block;
        position: fixed;
        top: 56px;
        right: 30px;
        width: 30px;
        height: 30px;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        cursor: pointer;
        z-index: 3;
      }
      .toggle_btn span {
        position: absolute;
        left: 0;
        width: 30px;
        height: 1px;
        background-color: #4470cf;
        border-radius: 4px;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
      }
      .toggle_btn span:nth-child(1) {
        top: 4px;
      }
      .toggle_btn span:nth-child(2) {
        top: 14px;
      }
      .toggle_btn span:nth-child(3) {
        bottom: 4px;
      }
      .open .toggle_btn span {
        background-color: #fff;
      }
      .open .toggle_btn span:nth-child(1) {
        -webkit-transform: translateY(10px) rotate(-315deg);
        transform: translateY(10px) rotate(-45deg);
      }
      .open .toggle_btn span:nth-child(2) {
        opacity: 0;
      }
      .open .toggle_btn span:nth-child(3) {
        -webkit-transform: translateY(-10px) rotate(315deg);
        transform: translateY(-10px) rotate(45deg);
      }
      #mask {
        display: none;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
      }
      .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000000;
        opacity: 0.5;
        z-index: 2;
        cursor: pointer;
      }
      #menu-content > li {
        width: 100%;
        margin-bottom: 15px;
      }
      #menu-content > li:hover {
        background: none;
      }
      #menu-content > li > a {
        height: 100%;
        padding: 0px;
        font-size: 140%;
        border-bottom: 1px solid #79c01d;
      }
      #menu-content > li > ul.second-content {
        visibility: visible;
        opacity: 1;
        width: 100%;
        position: relative;
        -webkit-box-shadow: none;
                box-shadow: none;
      }
      #menu-content > li > ul.second-content > li {
        width: 100%;
        text-align-last: left;
      }
      #menu-content > li > ul.second-content > li > a {
        padding-left: 15px;
      }
      #menu-content > li > ul.second-content > li > a:hover {
        background: none;
      }
    }
 

/* 本文をメニューの高さ分下げる */
#main {
  margin-top: 600px;
}

#navi {
	background-color: #fdfdf6;
	background-image: url("../imgs/main/headertop_bg.jpg");
	background-repeat: repeat-x;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  height: 120px;
  width: 100%;
}
/* チェックボックスを非表示 */
#navi input {
  display: none;
}
/* 左上ロゴ */
.menu-left {
  float: left;
  line-height: 18px;
}
.menu-left img {
  vertical-align: middle;
  margin-left: 0px;
}

/*ロゴ文字設定*/
.logotextsize {
  color: #0d7c16;
	font-size:  11px;
  text-decoration-line: none;
}

/* 上部メニュー */
.menu {
  float: right;
  margin-right: 10px;
}
.menu-parent {
  float: left;
  margin-right: 30px;
  line-height: 60px;
  font-size: 17px;
  font-weight: bold;
  white-space: nowrap;
}
/* パソコンでは V を非表示 */
.menu-parent .pd {
  display: none;
}
/* 上部メニューの最後の項目 */
.menu-parent:last-child {
  margin-right: 0px;
}

#menu-navibtn {
  display: none;
  cursor: pointer;
  cursor: hand;
}

@media screen and (max-width: 500px) {
  /* スマホの際に V を表示 */
  .menu-parent .pd {
    display: inline-block;
    width: 100%;
  }
  .menu {
    display: none;
  }
  .menu-parent {
    height: auto;
    width: 100%;
    padding: 0px 20px;
    border-bottom: 1px solid #DDD;
  }
  .menu-parent:first-child {
    border-top: 1px solid #DDD;
  }
  .menu-parent i {
    padding: 0px 6px;
  }
  /* メニューを移動させないため */
  #menu-navibtn:checked ~ #navi {
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
  }
}

/* ドロップダウンメニュー */
.menu-parent {
  position: relative;
}
.menu-parent .menu-child {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  margin-left: -40px;
  width: auto;
  box-sizing: border-box;
  padding: 0px 20px;
  background-color: #FFF;
  border: 1px solid #000;
}
/* パソコン用 */
@media screen and (min-width: 500px) {
  .menu-parent:hover .menu-child {
    visibility: visible;
    opacity: 1;

  }
}
/* スマホ用 */
@media screen and (max-width: 500px) {
  /* ハンバーガーメニューがクリックされた時 */
  #menu-navibtn:checked ~ * .menu {
    display: block;
    opacity: 1;
    text-decoration: none;
  }
  #menu-navibtn:checked ~ * .menu-parent {
    max-height: inherit;
    overflow-y: visible;
  }
  #menu-navibtn:checked ~ * .menu-child {
    max-height: 0;
    overflow-y: hidden;
    visibility: hidden;
  }
  /* 子メニュー */
  .menu-parent .menu-child {
    border-top: 1px solid #DDD;
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
    position: relative;
    padding: 0 20px;
    opacity: 1;
    top: 0;
    margin-left: auto;
    left: auto;
    width: auto;
  }
  .menu-parent > label:hover {
    cursor: pointer;
    cursor: hand;
  }
  /* 子メニューがクリックされた時 */
  #navi input[type="checkbox"]:checked ~ .menu-child {
    max-height: inherit;
    overflow-y: visible;
    visibility: visible;
  }
  .angletoggle:before {
    content: "\f107";
  }
  #navi input[type="checkbox"]:checked ~ * .angletoggle:before {
    content: "\f106";
  }
}
/* 子メニュー */
.menu-child li {
  font-size: 14px;
  border-bottom: 1px solid #DDD;
}
/* 余分な最後の線を消去 */
.menu-child li:last-child {
  border: none;
}
.menu-child li i {
  margin-right: 3px;
}

/* ハンバーガー */
#navi #navibtn {
  display: none;
}
@media screen and (max-width: 500px) {
  #navi #navibtn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  #navibtn span {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #333;
  }
  #navibtn span span {
    display: block;
    overflow: hidden;
    width: 1px;
    height: 1px;
  }
  #navibtn span span::before,
  #navibtn span span::after,
  #navibtn span::after {
    position: absolute;
    left:10px;
    content:"";
    width: 20px;
    height: 3px;
    background-color: #FFF;
  }
  /* 上の棒 */
  #navibtn span span::before {
    top:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::before {
    top:19px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  /* 下の棒 */
  #navibtn span::after {
    bottom:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn > span::after {
    bottom:18px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  /* 中の棒 */
  #navibtn span span::after {
    top:18px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::after {
    display: none;
  }
}


/*****フッター*****/

.footcont0 {
	background-image: url("imgs/main/headertop_bg.jpg");
	padding-top: 10px;
}
.footcont1 {
	background-color: #5bab36;
	margin-top: 10px;
}
.footmenu01 {
	padding-top: 8px;
	padding-bottom: 8px;
	top: 30px;
	bottom: 30px;
    color: #FFFFFF;
	border-left: 1px solid #87C786;
	padding-left: 40px;
	padding-right: 40px;
	margin-top: 40px;
	margin-bottom: 40px;
}
.footmenutit {
	font-size: 1.4rem;
	font-weight: bold;
	margin-bottom: 22px;
}
.footmenutxt {
	font-size: 1.2rem;
	margin-bottom: 4px;
}

.footcont2 {
	background-color: #208e3b;
	padding-bottom: 10px;
	padding-top: 10px;
	color: #F1F1F1;
	font-weight: lighter;
	font-size: x-small;
	text-align: center;
}	
.footbox {
	height: 100px;
	background-color: #E7DAF1;
}


/* フッターFacebookアイコン
------------------------------ */
.sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.sns-icon img {
  width: 30%;
  height: 30%;
  object-fit: contain;
  display: block;
}
	




	
/*///////////////////////////////////////////////////////////////////*/
	
	
/* 480px〜599px：SP横
------------------------------ */
@media screen and (min-width:480px) and (max-width:599px) {
.sample{
  font-size: 1.4rem;
}
}

/* 600px〜959px：タブレット
------------------------------ */
@media screen and (min-width:600px) and (max-width:959px) {
.sample{
  font-size: 1.5rem;
}
}

/* 960px〜1279px：小型PC
------------------------------ */
@media screen and (min-width:100%) and (max-width:100%) {
.sample{
  font-size: 1.5rem;
}
}

/* 1280px〜：大型PC
------------------------------ */
@media screen and (min-width:100%) {
.sample{
  font-size: 1.6rem;
}
}


/* ===== news unit ===== */
ul#newsList{
  margin:0 0 15px;
  padding:0;
  font-family:"メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
ul#newsList li{
  color:#666;
  font-size:12px;
  margin:0;
  padding:5px 0;
  margin-bottom:3px;
  border-bottom:1px dotted #ccc;
  line-height:120%;
  list-style-type:none;
}
#newsWrap a{color:#36F;text-decoration:underline;}
#newsWrap a:hover{color:#039;text-decoration:none;}

.catName{
  display:inline-block;
  padding:3px 8px;
  border:1px solid #ccc;
  border-radius:6px;
  font-size:11px;
  line-height:100%;
  margin:0 2px;
}
.newMark{
  display:inline-block;
  border:1px solid rgb(247, 134, 59);
  padding:1px 4px;
  font-size:11px;
  line-height:100%;
  background:rgb(247, 134, 59);
  color:#fff;
  border-radius:8px;
  font-style:italic;
}
.comment {
  width: calc(100% - 130px);
}
.thumbNailWrap{
  display:block;
  width:110px;
  float:left;
  height:80px;
  overflow:hidden;
}


/* ===== News font tuning ===== */

#newsWrap .title {
  font-size: 1.4rem;      /* ← 好みに応じて 1.1〜1.4 くらいで調整 */
  font-weight: bold;
  display: block;
  margin-top: 30px;
}

#newsWrap .comment {
  font-size: 1.2rem;     /* ← 本文は少し控えめが読みやすい */
  line-height: 1.8;
  margin-top: 10px;
}

#newsWrap .up_ymd {
  font-size: 0.9rem;
  color: #777;
  margin-right: 6px;
}

/* --- ニュース：日付とタイトルの余白調整 --- */

#newsWrap .up_ymd {
  display: inline-block;
  margin-bottom: 12px;
}

#newsWrap .title {
  display: block;
  margin-top: 12px;   /* ← 日付との間隔 */
  margin-bottom: 12px;   /* ← ここを好みで調整（8〜20pxくらい） */
}



#newsWrap .newMark {
  background: rgb(247, 134, 59);
  border-radius: 6px;
  font-size: 0.75rem;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}




#newsWrap { margin-top: 10px; }
#newsList { padding-left: 0; margin: 0; }
#newsList li { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
#newsList .title { display:block; font-weight: 600; margin-top: 4px; }
#newsList .comment { margin-top: 6px; line-height: 1.6; }
#newsList .thumbNailWrap img { border-radius: 8px; }



.spcont002 a{
  color:#ffffff;
}

.spcont002 a:hover{
  color:#e8ffe8;
}

/* フッターのリンクは白 */
.footcont0 a,
.footcont1 a,
.footmenu01 a,
.footmenutit a,
.footmenutxt a{
  color: #ffffff;
}

.footcont0 a:hover,
.footcont1 a:hover{
  color: #e8ffe8;
}
	
	
	
