@charset "utf-8";

/* base ------------------------*/
#wrapper {
  position: relative;
}

.inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6%;
}

.inner.large {
  max-width: 2400px;
  padding: 0;
}

.narrow {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.sec {
  padding: 9rem 0 6rem;
}

.secTop {
  padding: 0 0 6rem;
}

.bgGlay {
  background: #f1f1f1;
}


/*header---------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  width: 100%;
  padding: 27px 0;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

#header .inner {
  max-width: 100%;
  padding: 0 4%;
}

#header .sitename {
  width: 40%;
  min-width: 512px;
}

#header .sitename a {
  display: block;
}

#header .sitename img {
  height: 45px;
  width: auto;
}

#header .sitename span {
  font-size: 1.3rem;
  padding: 6px 0 6px 18px;
  margin-left: 18px;
  border-left: 1px solid #ccc;
  line-height: 1;
}


#header .navArea {
  width: 56%;
}

@media screen and (max-width: 1250px) {
  #header .navArea {
    width: 100%;
  }
}

#header #gnav li:not(:first-child) {
  margin-left: 1rem;
}

#header #gnav li a {
  padding: 5px 0;
  font-size: .8rem;
}

#header #gnav li a:hover {
  color: #ccc;
}

#header #gnav li.hContact a {
  padding: 5px 10px;
  color: #fff;
  background: #222;
  border-radius: 30px;
}

#header #gnav li.hContact a:hover {
  background: #1F3044;
}



/*プルダウンメニュー*/
/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
#gnav ul li {
  position: relative;

}

/*ナビゲーションのリンク設定*/
#gnav ul li a {
  display: block;
  transition: all .3s;
  padding: 30px 0;
}

#gnav ul li li a {
  padding: 10px 20px;
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
#gnav ul li.has-child::before {
  content: '';
  position: absolute;
  right: -13px;
  top: 38px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #52a5e8;
  border-right: 2px solid #52a5e8;
  transform: rotate(135deg);
}

/*3階層目を持つliの矢印の設定*/
#gnav ul ul li.has-child::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
#gnav li.has-child ul {
  /*絶対配置で位置を指定*/
  position: absolute;
  left: 0;
  top: 91px;
  z-index: 4;
  /*形状を指定*/
  background: #6eb1e0;
  width: 180px;
  /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
  /*アニメーション設定*/
  transition: all .3s;
}

/*hoverしたら表示*/
#gnav li.has-child:hover>ul,
#gnav li.has-child ul li:hover>ul,
#gnav li.has-child:active>ul,
#gnav li.has-child ul li:active>ul {
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
#gnav li.has-child ul li a {
  color: #fff;
  border-bottom: solid 1px rgba(255, 255, 255, 0.6);
}

#gnav li.has-child ul li:last-child a {
  border-bottom: none;
}

#gnav li.has-child ul li a:hover,
#gnav li.has-child ul li a:active {
  background: #E9BF00;
}


/* Toggle Button */
#nav-toggle {
  display: none;
}

/* button */
.btnArea {
  margin-top: 5rem;
}

.btn {
  position: relative;
  display: inline-block;
  padding: 10px 65px 10px 50px;
  color: #fff;
  background: #1F3044;
  border-radius: 100px;
}

.btn:hover {
  color: #fff;
  background: #1F3044;
  opacity: .7;
}

.btn::after {
  content: '';
  border: 0;
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  display: inline-block;
  width: 8px;
  height: 8px;
  /* 矢印アイコンの位置を設定 */
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) rotate(45deg);
  /* rotate(45deg)で矢印を回転（向きを変更）させる */
}

.btn2 {
  background: transparent;
  border: 1px solid #fff;
}

.btn2:hover {
  border-color: #1F3044;
}

.btn3 {
  background: transparent;
  border: 1px solid #000;
  color: #000;
}

.btn3::after {
  border-color: #000;
}

.btn3:hover {
  border-color: #1F3044;
}

a.arrow {
  position: relative;
}

a.arrow:before {
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transform: translateY(-14px);
  transform: translateY(-14px);
  content: "";
  width: 32px;
  height: 28px;
  background: url("https://cowles.jp/wp/wp-content/themes/cowles/img/arrow.png") no-repeat 0 0 / 28px;
  -webkit-transition: all .3s;
  transition: all .3s;
}

a.arrow:hover:before {
  right: 10px;
}


/*==================================================
アコーディオンのためのcss
===================================*/

/*アコーディオン全体*/
.accordion-area {
  list-style: none;
  margin: 0 auto;
}

.accordion-area li {
  margin: 10px 0;
}

.accordion-area section {
  border-bottom: 1px solid #88d3ff;
}

/*アコーディオンタイトル*/
.title {
  position: relative;
  /*+マークの位置基準とするためrelative指定*/
  cursor: pointer;
  font-size: 1rem;
  font-weight: normal;
  padding: 1.2em 3em 1.7em 0;
  transition: all .5s ease;
}

/*アイコンの＋と×*/
.title::before,
.title::after {
  position: absolute;
  content: '';
  width: 18px;
  height: 3px;
  border-radius: 5px;
  background-color: #52a3e6;
  -webkit-transition: all .3s;
  transition: all .3s;

}

.title::before {
  top: 48%;
  right: 15px;
  transform: rotate(0deg);

}

.title::after {
  top: 48%;
  right: 15px;
  transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/
.title.close::before {
  display: none;
}

.title.close::after {
  transform: rotate(0deg);
}

/*アコーディオンで現れるエリア*/
.box {
  display: none;
  /*はじめは非表示*/
  padding: 1em 0 2em;
}

.box p {
  margin: 0;
}


/* contents ------------------------*/
#contents {
  position: relative;
}

.secTtl {
  margin-bottom: 3rem;
  font-size: 3.5rem;
  line-height: 1.2;
  z-index: 1;
  color: #1F3044;
}

.secTtl span.small {
  font-size: .9em;
}

.secTtl span.jp {
  display: block;
  line-height: .3;
}

.secTtl span.jp span {
  font-size: .9rem;
  border: 1px solid #1F3044;
  color: #1F3044;
}

.secTtl:after {
  font-size: 11rem;
  color: #fff;
  position: absolute;
  top: -5rem;
  left: -3.5rem;
  z-index: -1;
  line-height: 1;
}

.secTtl2 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  line-height: 1.2;
  z-index: 1;
}

.secTtl2:after {
  position: absolute;
  top: -8rem;
  z-index: -1;
  left: 0;
  right: 0;
  font-size: 11rem;
  color: #fff;
  width: 100%;
}

.secTtl3 {
  font-size: 1.8rem;
}

.txt {
  line-height: 2.2;
}


/*contact---------------------------------------------------------*/
.contact {
  background: url("../img/contact.jpg") no-repeat 50% 50% / cover;
}

.contact .inner {
  padding: 5rem 6%;
}

.contact .circle a {
  display: inline-block;
  width: 430px;
  height: 430px;
  padding: 10.5rem 1rem;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 500px;
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 900;
}

.contact .circle a span.jp {
  display: block;
  font-size: .9rem;
}

/*.contact .circle a:hover { border-color: #1F3044; background: #1F3044; }赤の場合*/
.contact .circle a:hover {
  background: #fff;
  color: #000;
}

/*白の場合*/

/*footer---------------------------------------------------------*/
#pagetop {
  position: absolute;
  bottom: 122px;
  right: 20px;
  z-index: 50;
  width: 124px;
  margin: 0;
}

#floating {
  display: none;
}

#footer {
  padding: 5rem 0 3.3rem;
  background: #1F3044;
}

#footer .inner {
  max-width: 100%;
  padding: 0 4%;
}

#footer,
#footer a {
  color: #fff;
}

.flogo {
  width: 40%;
}

.flogo a {
  display: block;
}

.flogo img {
  height: 50px;
}

.flogo span {
  font-size: 1.8rem;
  font-weight: 900;
  padding: 2px 0 3px 18px;
  margin-left: 18px;
  border-left: 1px solid #ccc;
  line-height: 1;
}

.fnav {
  width: 55%;
}

@media screen and (max-width: 1250px) {
  .fnav {
    width: 100%;
  }
}

.fnav li {
  margin-bottom: 1rem;
}

.fnav li:not(:first-child) {
  margin-left: 2rem;
}

.fnav li a {
  padding: 5px 0;
  font-size: .85rem;
}

.fnav li a:hover {
  color: #ccc;
}

.fnav li.hContact a {
  padding: 5px 16px;
  color: #fff;
  background: #1F3044;
  border-radius: 30px;
}

.fnav li.hContact a:hover {
  background: #1F3044;
}

#footer .fInfo {
  width: 50%;
  margin: 4rem 0 0 0;
}

#footer .fInfo .name {
  font-size: 1.1rem;
}

#footer .fInfo .address {
  font-size: .85rem;
}

#footer .fInfo .copyright,
#copyright {
  margin-bottom: 0;
  font-size: .75rem;
  color: rgba(255, 255, 255, .3);
}

#fLink {
  margin: auto 0 0 0;
}

#fLink a {
  display: block;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, .7);
}

#fLink a:hover {
  background: rgba(255, 255, 255, .2);
}

#copyright {
  display: none;
}


/* ================================================================
  レスポンシブ
=================================================================== */
/* 600以上(PC・タブレット) */
@media screen and (min-width: 600px) {}

/* 1024以上(PC) */
@media screen and (min-width: 1324px) {}


/* ================================================================
  タブレット ※通常1024px
=================================================================== */
@media screen and (max-width: 1324px) {
  body {
    font-size: 15px;
  }

  .inner {
    max-width: 100%;
    padding: 0 4%;
  }

  .sec {
    padding: 60px 0;
  }

  .secTop {
    padding: 20px 0 60px;
  }


  /* header ------------------------ */
  #header {
    padding: 15px 0;
  }

  #header.scroll #gnav ul {
    padding: 0;
  }

  #gnav {
    position: fixed;
    z-index: 999;
    /* 開いてないときは画面外に配置 */
    top: 0;
    right: -100vw;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }

  #gnav ul {
    font-size: 14px;
    width: 100%;
    float: none;
    padding: 0;
  }

  #gnav li {
    width: 100% !important;
    margin-bottom: 10px;
  }

  #header #gnav li:not(:first-child) {
    margin-left: 0;
  }

  #header #gnav li span {
    display: inline-block;
    margin-right: 1rem;
  }

  #gnav li a {
    position: relative;
    width: 100%;
    display: block;
    padding: 30px 20px !important;
    margin-left: 0;
    color: #fff;
    font-size: 1rem !important;
    text-align: center;
    border-bottom: 1px solid #ccc;
  }

  #header #gnav li.hContact a {
    background: none;
    border-radius: 0;
  }

  #header #gnav li:before,
  #gnav li a:before {
    content: none;
  }

  #gnav ul li a::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
  }

  #gnav ul li a:hover::after {
    opacity: 1;
    visibility: visible;
  }

  /*プルダウンメニュー*/
  #gnav {
    height: 100%;
    padding: 80px 20px;
    background: rgba(31, 48, 68, .98);
    overflow: auto;
  }


  #gnav li.has-child ul,
  #gnav li.has-child ul ul {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    visibility: visible;
    /*JSで制御するため一旦表示*/
    opacity: 1;
    /*JSで制御するため一旦表示*/
    display: none;
    /*JSのslidetoggleで表示させるため非表示に*/
    transition: none;
    /*JSで制御するためCSSのアニメーションを切る*/
  }

  #gnav ul li a {
    border-bottom: 1px solid #ccc;
  }

  #gnav ul li li a {
    padding: 30px 0;
  }

  /*矢印の位置と向き*/

  #gnav ul li.has-child::before {
    right: 20px;
    top: 28px;
    border-color: #fff;
  }

  #gnav ul ul li.has-child::before {
    transform: rotate(135deg);
    left: 20px;
  }

  #gnav ul li.has-child.active::before {
    transform: rotate(-45deg);
  }

  /* Toggle Button */
  #nav-toggle {
    display: block;
    position: fixed;
    right: 20px;
    top: 27px;
    width: 28px;
    height: 24px;
    cursor: pointer;
    z-index: 9999;
  }

  #nav-toggle div {
    position: relative;
  }

  #nav-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #555;
    border-radius: 10px;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
  }

  #nav-toggle span:nth-child(1) {
    top: 0;
  }

  #nav-toggle span:nth-child(2) {
    top: 11px;
  }

  #nav-toggle span:nth-child(3) {
    top: 22px;
  }

  /* #nav-toggle 切り替えアニメーション */
  /*.open #nav-toggle span { background: #fff; }*/
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }

  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }

  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }

  .open #nav-toggle span:nth-child(1),
  .open #nav-toggle span:nth-child(3) {
    background: #fff;
  }

  /* #gnav スライドアニメーション */
  .open #gnav {
    -moz-transform: translateX(-100vw);
    -webkit-transform: translateX(-100vw);
    transform: translateX(-100vw);
  }


  .dlTbl dt,
  .dlTbl dd {
    padding: 2rem 1em !important;
  }

  #header .topNav,
  #header .btnContact {
    display: none;
  }

  /* contents ------------------------*/
  .secTtl:after,
  .secTtl2:after {
    top: -6rem;
    font-size: 7rem !important;
  }

  #floating {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;
  }

  #floating li {
    width: 50%;
    height: 60px !important;
    margin: 0 !important;
  }

  #floating a {
    padding-top: 11px;
    display: block;
    background: #d4f1db;
    height: 100%;
    text-align: center;
    font-size: 1.1rem;
  }

  #floating li:first-child a {
    border-top: 2px solid #158a54;
    border-right: 2px solid #158a54;
  }

  #floating li:last-child a {
    border-top: 2px solid #158a54;
  }

  /* contact ------------------------*/
  .contact .inner {
    padding: 5rem 6%;
  }

  .contact .circle a {
    width: 300px;
    height: 300px;
    padding: 7rem 1rem;
    font-size: 2.5rem;
  }


  /* footer ------------------------*/
  .flogo {
    order: 1;
    width: 100%;
    margin-bottom: 3rem;
  }

  .fnav {
    display: none;
  }

  #footer .fInfo {
    order: 2;
    width: 100%;
    margin: 0 0 20px;
    justify-content: center;
    -webkit-justify-content: center;
  }

  #footer .fInfo .copyright {
    display: none;
  }

  #footer #fLink {
    order: 3;
    width: 100%;
    text-align: center;
    margin: 0 0 2rem;
  }

  #copyright {
    order: 5;
    display: block;
    width: 100%;
    margin: 2rem 0 0;
    text-align: center;
  }

}



/* ================================================================
  スマホ
=================================================================== */
@media screen and (max-width: 599px) {
  body {
    font-size: 14px;
  }

  .sec {
    padding: 50px 0;
  }

  /*.btn { min-width: 100%; }*/
  .secTtl {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
  }

  .secTtl span.jp {
    line-height: 1.5;
  }

  .secTtl:after {
    font-size: 3rem !important;
    top: -3rem;
    left: -1.5rem;
  }

  .secTtl2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }

  .secTtl2:after {
    font-size: 3rem !important;
    top: -3rem;
  }

  /* header------------------------*/
  #header {
    height: 70px;
    padding-top: 19px;
  }

  #header .sitename img {
    height: 45px;
    width: auto;
    vertical-align: middle;
  }

  #header .sitename span {
    padding: 3px 0 3px 7px;
    margin-left: 5px;
    font-size: .9rem;
  }

  #header .gnav {
    width: 40%;
    background: none;
  }

  #nav-toggle {
    top: 22px;
  }

  #gnav li {
    width: 100% !important;
  }

  #gnav li a {
    padding: 10px 20px !important;
  }


  /*--footer---------------------------------------------------------*/

  #pagetop {
    width: 75px;
  }

  #footer {
    padding-bottom: 80px;
    padding-left: 0;
    padding-right: 0;
  }

  .flogo img {
    height: 50px;
    vertical-align: top;
    padding-top: 2px;
  }

  .flogo span {
    padding: 0 0 0 7px;
    margin-left: 5px;
    font-size: 1.1rem;
  }

  .fnav {
    display: none;
  }

  #footer .fInfo .name {
    font-size: 1rem;
  }

  #footer .fInfo .address {
    margin: 0;
    text-align: left;
  }

  .copyright {
    margin-top: 3rem;
  }

  .copyright span {
    position: static;
  }

  .contact .circle a {
    width: 250px;
    height: 250px;
    padding: 5.7rem 1rem;
  }

}

/* WordPress Admin Bar adjustment */
.admin-bar #header {
  top: 32px;
}

.admin-bar #gnav {
  top: 32px;
  height: calc(100% - 32px);
}

.admin-bar #nav-toggle {
  top: 59px;
}

.admin-bar #video-area {
  top: 122px;
}

@media screen and (max-width: 1324px) {
  .admin-bar #video-area {
    top: 107px;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar #header {
    top: 46px;
  }

  .admin-bar #gnav {
    top: 46px;
    height: calc(100% - 46px);
  }

  .admin-bar #nav-toggle {
    top: 73px;
  }

  .admin-bar #video-area {
    top: 121px;
  }
}

@media screen and (max-width: 599px) {
  .admin-bar #nav-toggle {
    top: 68px;
  }

  .admin-bar #video-area {
    top: 116px;
  }
}

.align-center {
  align-items: center;
}