@charset "utf-8";

/* ===== ベースライン（2026-06-30 整頓 / 2026-07-02 トークン撤去） =====
   - viewport は header.php で全ページ常時出力。
   - box-sizing はサイト全体が content-box 前提のため、ここではグローバル変更しない
     （各コンポーネント CSS が必要箇所で border-box を個別指定）。
   - デザイントークン（--bp-* / --container-* / 色 / タイポ等）は foundation.css の
     :root が唯一の真実。ここに別値で再定義しない（別値だと foundation を無言で上書きする）。 */

/* メディア要素のはみ出し防止（非対応ページの安全網） */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
}

html {
  width: 100%;
  height: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 13px;
  line-height: 1.5;
  color: #4c4948;
  background: #f8f8f8;
  width: 100%;
  height: 100%;
}

/*
body{
font-family:Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
}
*/

.clr {
  clear: both;
}

/********** LAYOUT **********/
#content-wrapper {
  position: relative;
  width: 100%;
  /* max-width: 1340px; */
  /* width: 100%; */
  margin: 0 auto;
  z-index: 2;
  clear: both;
  /* padding-bottom: 46px; */
}

#content-wrapper:before {
  content: "";
  display: block;
  width: 100%;
  height: 20px;
  margin-top: 40px;
}

#header-wrapper {
  width: 100%;
  height: 50px;
}

#header {
  width: 960px;
  margin: 0 auto;
}

/*
#header{width: 930px; margin: 0 auto;}
*/

div.index-siteinfo {
  float: left;
}

#content {
  width: 960px;
  height: 100%;
  padding: 0 10px;
  margin: 0 auto;
  text-align: left;
}

/*
#content{width: 900px; height: 100%; padding: 0 10px; margin: 0 auto; text-align: left;}
*/

/********** HEADER **********/
#header p.index-site {
  margin: 20px 20px 0 0px;
}

#header a.index-sitetop {
  font-size: 24px;
  line-height: 1.2;
  color: var(--color-text-muted, #6b6b6b);
  font-weight: 700;
}

#header a.index-sitetop:hover {
  color: var(--color-heading, #4c4948);
}

#header p.index-description {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6em;
  width: 290px;
  margin: 10px 20px 0 10px;
  display: block;
  float: left;
}

#header div.index-mark {
  float: left;
  margin: -7px 0 0 0;
}

.menu ul {
  font-size: 14px;
  color: #648344;
  margin: 15px 0 0 30px;
  float: left;
}

.menu ul li {
  float: left;
  /*position: relative;*/
  padding-top: 5px;
}

.menu ul li a {
  color: #a8a8a8;
  font-weight: 700;
  letter-spacing: 0.1;
  display: block;
  height: 1.4em;
  line-height: 1.4em;
  padding-left: 8px;
  padding-right: 20px;
  margin-top: 10px;
}

.menu ul li a {
  text-decoration: none;
}

/*
.menu ul li:hover{background-color: #787878;}
.menu ul li a:hover{color: #ffffff;}
*/
.menu ul li ul {
  list-style: none;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 100%;
  margin: 0;
  padding: 0;
}

.menu ul li ul li {
  overflow: hidden;
  height: 0;
  color: #fff;
  transition: 0.2s;
}

.menu ul li ul li a {
  height: 28px;
  width: 300px;
  padding: 0 14px 0 14px;
  background: #779b50;
  text-align: left;
  font-size: 12px;
  color: #ffffff;
  font-weight: 400;
}

/*
.menu ul li ul li a:hover {background: #648344;}
*/
.menu ul li:hover>ul>li {
  overflow: visible;
  height: 28px;
}

/*
.menu ul > li:hover > a {color: #fff;}
*/
div.movie {
  float: right;
  width: 120px;
  height: 120px;
}

/********** MENU **********/
/* ul.module-menu {
} */
ul.module-menu li {
  float: left;
  position: relative;
  margin-top: -60px;
}

ul.module-menu li a {
  text-align: center;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 300;
  color: #fff;
}

ul.module-menu li a.m1a {
  width: 158px;
  margin-right: 2px;
  float: left;
  padding: 395px 0 24px 0;
  background-color: #0c870f;
  background-image: url(../img/m1img_mono.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m2a {
  width: 158px;
  margin-right: 2px;
  float: left;
  padding: 395px 0 24px 0;
  background-color: #15888a;
  background-image: url(../img/m2img_mono.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m3a {
  width: 158px;
  margin-right: 2px;
  float: left;
  padding: 395px 0 24px 0;
  background-color: #c2bb21;
  background-image: url(../img/m3img_mono.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m4a {
  width: 158px;
  margin-right: 2px;
  float: left;
  padding: 395px 0 24px 0;
  background-color: #1c88b9;
  background-image: url(../img/m4img_mono.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m5a {
  width: 158px;
  margin-right: 2px;
  float: left;
  padding: 395px 0 24px 0;
  background-color: #998818;
  background-image: url(../img/m5img_mono.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m6a {
  width: 158px;
  margin-right: 2px;
  float: left;
  padding: 395px 0 24px 0;
  background-color: #d51893;
  background-image: url(../img/m6img_mono.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m1a:hover {
  background-color: #0e9e10;
  background-image: url(../img/m1img.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m2a:hover {
  background-color: #1aa0a3;
  background-image: url(../img/m2img.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m3a:hover {
  background-color: #dbd227;
  background-image: url(../img/m3img.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m4a:hover {
  background-color: #219cd1;
  background-image: url(../img/m4img.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m5a:hover {
  background-color: #b29e1c;
  background-image: url(../img/m5img.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li a.m6a:hover {
  background-color: #ed1ca7;
  background-image: url(../img/m6img.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

ul.module-menu li div.dep {
  width: 158px;
  text-align: center;
  z-index: 10;
  position: absolute;
  top: 360px;
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}

ul.module-menu li div.dep a {
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid;
}

ul.module-menu li div.dep a:hover {
  background-color: #e2e2e2;
}

/********** CONTENT **********/
h2.index-h {
  font-size: 30px;
  color: #648344;
  text-align: center;
  margin: 50px 0 15px 0;
}

div.partner-wrapper {
  width: 100%;
  background-color: #d0dac7;
  padding: 35px 0 20px 0;
}

div.partners {
  margin: 0 auto;
  width: 520px;
}

p.o-page {
  font-size: 18px;
  text-align: center;
  margin: 15px 0 0 0;
}

p.o-page a {
  color: #648344;
  border-bottom: 1px solid;
  font-weight: 700;
}

p.o-page a:hover {
  background-color: #e2e2e2;
}

.mod-country li a:hover {
  background-color: #e2e2e2;
}

/* ul#items {
} */

/* li.item {
  margin: 0px 5px 20px 5px;
  font-size: 13px;
  float: left;
  width: 230px;
} */

#items li div.title {
  position: relative;
  /*
  background-image: linear-gradient(to bottom, #fff, #ddd);
*/
  font-size: 11.5px;
  padding: 0.7em 1.1em 0.3em 1.6em;
  float: left;
  text-decoration: none;
  color: #fff;
  /*
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
*/
  border-radius: 5px 0 0 0;
  /*
  box-shadow: 0 2px 2px rgba(0,0,0,.4);
*/
}

li.topics div.title {
  background: #0074ff;
}

li.topics div.title:after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  right: -0.5em;
  bottom: -1px;
  width: 1em;
  background: #0074ff;
  /*
  background-image: linear-gradient(to bottom, #fff, #ddd);
  box-shadow: 2px 2px 2px rgba(0,0,0,.4);
*/
  transform: skew(10deg);
  border-radius: 0 5px 0 0;
  -webkit-transform: skew(10deg);
  -moz-transform: skew(10deg);
}

li.society div.title {
  background: #2fa439;
}

li.society div.title:after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  right: -0.5em;
  bottom: 0;
  width: 1em;
  background: #2fa439;
  /*
  background-image: linear-gradient(to bottom, #fff, #ddd);
  box-shadow: 2px 2px 2px rgba(0,0,0,.4);
*/
  transform: skew(10deg);
  border-radius: 0 5px 0 0;
  -webkit-transform: skew(10deg);
  -moz-transform: skew(10deg);
}

li.works div.title {
  background: #e54b92;
}

li.works div.title:after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  right: -0.5em;
  bottom: 0;
  width: 1em;
  background: #e54b92;
  /*
  background-image: linear-gradient(to bottom, #fff, #ddd);
  box-shadow: 2px 2px 2px rgba(0,0,0,.4);
*/
  transform: skew(10deg);
  border-radius: 0 5px 0 0;
  -webkit-transform: skew(10deg);
  -moz-transform: skew(10deg);
}

/* li.item img {
  margin-top: 12px;
  clear: both;
} */

div.date {
  float: right;
  padding-top: 10.25px;
  /* padding-right: 5px; */
  color: #9d9d9e;
}

/* .content {
  border-top-style: solid;
  border-top-width: 3px;
  width: 196px;
  padding: 14px 17px;
  background-color: #fff;
  clear: both;
  color: #4c4948;
  line-height: 1.8em;
  overflow: hidden;
} */

li.society div.content {
  border-color: #2fa439;
}

li.works div.content {
  border-color: #e54b92;
}

li.topics div.content {
  border-color: #0074ff;
}

li.topimg {
  width: 480px;
  height: 270px;
  float: left;
  background-color: #ccc;
}

/*********************
02. LAYOUT & GRID STYLES */
#contents {
  width: 960px;
  padding: 50px 10px;
  margin: 0 auto;
}

.menu {
  margin-bottom: 20px;
}

/* スマホ表示時のメニュー余白調整 */
@media screen and (max-width: 980px) {
  .menu {
    margin-bottom: 15px;
    /* 旧 padding-left 個別調整は撤去。見出し帯の整列は common/page CSS が持つ。 */
  }

  #main-content {
    margin-top: 10px;
  }

  h1.menu-en {
    font-size: 20px;
  }

  #content {
    margin-top: 15px;
  }

  .menu-container {
    padding-top: 0;
  }
}

.menu2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.basic-text {
  font-size: 112%;
  line-height: 2em;
  width: 700px;
  margin-bottom: 7px;
}

/*******************************
03. H1, H2, H3, H4, H5 STYLES */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--font-heading);
  font-weight: bold;
  clear: both;
}

h1 a,
.h1 a,
h2 a,
.h2 a,
h3 a,
.h3 a,
h4 a,
.h4 a,
h5 a,
.h5 a,
h6 a,
.h6 a {
  text-decoration: none;
  color: #4b4b4b;
}

h1,
.h1 {
  font-size: 30px;
}

h2,
.h2 {
  font-size: 26px;
}

h3,
.h3 {
  font-size: 24px;
}

h4,
.h4 {
  font-size: 22px;
}

h5,
.h5 {
  font-size: 20px;
}

h6,
.h6 {
  font-size: 18px;
}

h1.menu-en {
  font-size: 22px;
  display: inline;
  padding-right: 26px;
  /* TKTmemo */
  color: #666666;
}

h1.menu-ja {
  font-size: 14px;
  display: inline;
  vertical-align: 2px;
  /* TKTmemo */
  color: #666666;
}

h2.subline {
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 15px;
}

/*********************
04. LINK STYLES */

a {
  /* 色・transition の基線は common.css の DS `a` 基線（--color-link / --dur-fast）に一元化。
     ここで青 #1e8cbe や transition:all を撒くと、DS リンク色を無言で潰し、
     transition:all は focus-visible リング描画まで 0.5s かけてしまう（2026-07-02 撤去）。 */
  text-decoration: none;
}

/* a:visited {
} */
/*
a:hover, a:visited:hover{ background-color: #dcdcdc;}
*/
/* a:focus,
a:visited:focus {
}
a:link,
a:visited:link {
} */

/******************
05. IMAGE SYTLES */
/*ボタンを固定する*/
/* トップへ戻るボタンは css/footer_style.css（.back-to-top）。 */

/**********************
06. NAVIGATION STYLES */

/*********************
13. GROUP */
.group-img {
  width: 940px;
  margin: 50px 0 55px 0;
}

.group-map-box {
  width: 960px;
  margin: 0;
  padding: 0;
  position: relative;
}

p.group-map {
  width: 940px;
  height: 454px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
}

ul.group1,
.group2,
.group3,
.group4 {
  width: 235px;
  display: block;
  float: left;
  margin-top: 454px;
  font-size: 11.5px;
  line-height: 1.6;
}

.group-map-box {
  color: #999999;
}

.group-map-box ul li a:hover {
  position: static;
}

.group-map-box ul li a .mapImage {
  display: none;
  opacity: 0;
}

.group-map-box ul li a:hover .mapImage {
  display: block;
  position: absolute;
  top: 0px;
  /* ページサイズ改修に伴い修正 */
  left: 20px;
  opacity: 1;
  animation-duration: 0.5s;
  animation-name: fade-in;
  -moz-animation-duration: 0.5s;
  -moz-animation-name: fade-in;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-name: fade-in;
}

@keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

@-webkit-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

.group-map-box a:hover,
a:visited:hover {
  background-color: #dcdcdc;
  /* padding: 0 3px; */
}

/*********************
13. GK KYOTO */
.gkkyoto-box {
  font-size: 14px;
}

.gkkyoto-box2 {
  font-size: 14px;
  width: 620px;
  float: left;
}

/* TEST */
.timelineimage {
  display: inline-block;
  width: 170px;
  /* margin-top: 50px; */
  margin-left: 30px;
}

img.le {
  display: block;
  clear: both;
}

img.ri {
  display: block;
  float: right;
}

.gkkyoto li {
  list-style-type: decimal;
  margin-left: 13px;
  padding-left: 5px;
}

.gkkyoto dl {
  width: 750px;
}

.gkkyoto dt {
  float: left;
  width: 180px;
  clear: both;
  padding-bottom: 1em;
}

.gkkyoto dd {
  width: 570px;
  margin-left: 180px;
  padding-bottom: 1em;
}

/*********************
13. TIMELINE */

.gkkyototimeline {
  position: relative;
  padding-bottom: 70px;
}

.timeline:before {
  background: none repeat scroll 0 0 #656565;
  bottom: auto;
  /* MEMO */
  content: "";
  left: 49px;
  position: absolute;
  top: 8px;
  width: 2px;
  z-index: -1;
  height: calc(100% - 140px);
  /* MEMO 最下部の要素のドットと合わせる 要調整箇所 */
}

.year {
  width: 42px;
  float: left;
  clear: both;
  font-size: 15px;
}

.text {
  width: 550px;
  float: left;
  font-size: 14px;
  padding-bottom: 1em;
  padding-left: 10px;
}

div.grid {
  background-color: #fff;
  width: 230px;
  margin: 0px;
  /*
    padding: 2px;
*/
  /*
    padding: 15px;
    border-radius:0px;
    overflow: hidden;
    box-shadow:0px 1px 2px #444;
    -moz-box-shadow:0px 1px 2px #444;
    -webkit-box-shadow:0px 1px 2px #444;
  border: 3px solid #FFF;
*/
  /*
  border: 5px solid #FFF;
*/
}

div.grid img {
  width: 230px;
}

div.grid a {
  margin: 0;
  padding: 0;
  width: 230px;
  height: 230px;
}

article {
  padding: 0px;
  margin: 0px;
}

p.img-sub {
  margin-bottom: 10px;
}

.menu ul li.current_page_item a {
  color: #4b4b4b;
}

.menu ul li a:hover {
  color: #4b4b4b;
}

#menu-topnavi {
  font-family: var(--font-latin);
  font-size: 14px;
  color: #648344;
  margin: 15px 0 0 30px;
  float: left;
}

#menu-topnavi li {
  float: left;
  position: relative;
  padding-top: 5px;
}

#menu-topnavi li a {
  color: #a8a8a8;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  height: 1.5em;
  line-height: 1.5em;
  padding-left: 8px;
  padding-right: 28px;
  margin-top: 10px;
}

#menu-topnavi li a {
  text-decoration: none;
}

#menu-topnavi li ul {
  list-style: none;
  position: absolute;
  z-index: 100;
  /* top: 28px; */
  top: 40px;
  left: 0;
  margin: 0;
  padding: 0;
}

#menu-topnavi li ul li {
  overflow: hidden;
  height: 0;
  color: #ccc;
  float: left;
}

#menu-topnavi li ul li a {
  height: 20px;
  padding: 0 14px 0 8px;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-latin);
  margin-top: 0px;
}

/*
#menu-topnavi li:hover > ul > li {overflow: visible; height: 28px; }
*/
#menu-topnavi li a:hover {
  color: #4b4b4b;
}

ul.sub-menu {
  left: 0;
  top: 45px;
  max-width: 620px;
}

ul.sub-menu li {
  margin-right: 10px;
}

#menu-topnavi>li.current-page-parent>a {
  color: #4b4b4b;
  height: 35px;
}

#menu-topnavi>li.menu-item-has-children>a {
  height: 27px;
}

#menu-topnavi li.current-page-parent ul li,
#menu-topnavi li.current-menu-item ul li {
  overflow: visible;
  height: 20px;
}

#menu-topnavi>li.current-page-parent>ul>li.current-page-item {
  color: #4b4b4b;
}

#menu-topnavi>li.current_page_item>a {
  color: #4b4b4b;
}

li.current_page_item>a {
  color: #4b4b4b;
}

/* 詳細ページに入ったときに、Worksを選択状態にしてサブメニューを表示 */
#menu-topnavi>li.current-page-ancestor>a {
  color: #4b4b4b;
}

#menu-topnavi>li.current-page-ancestor ul li {
  overflow: visible;
  height: 20px;
}

td {
  padding: 10px;
  white-space: pre;
  line-height: 2em;
}

table {
  width: 960px;
}

p.title {
  margin: 0px;
  padding: 0px;
  line-height: 1em;
  font-weight: bold;
}

button.search {
  width: 150px;
  height: 32px;
  margin: 10px;
  font-size: 108%;
  font-weight: bold;
  padding: 7px 30px;
  background-color: #a6a6a6;
  color: #fff;
  border-style: none;
  text-align: center;
  cursor: pointer;
  margin-bottom: 40px;
}

button.search:hover {
  background-color: #4d4d4d;
}

input.txtbox {
  border: 0;
  padding: 5px 10px 5px 10px;
  font-size: 1.3em;
  color: #aaa;
  border: solid 1px #ccc;
  margin: 0 0 0px;
  width: 400px;
}

textarea.txtbox {
  border: 0;
  padding: 5px 10px 5px 10px;
  font-size: 1.3em;
  color: #aaa;
  border: solid 1px #ccc;
  margin: 0 0 0px;
  width: 470px;
  height: 320px;
  resize: none;
}

/* contact ページのレガシー旧フォーム/アクセス規則（#info / #contact input 等）は
   2026-07-01 に撤去。現行は css/contact_style.css（foundation ベース）で管理。
   これらは id specificity で新規 CSS に衝突していたため削除。 */

div.recruit p.title {
  font-size: 118%;
  margin-bottom: 20px;
  font-weight: normal;
}

div.recruit div.info {
  padding: 20px 30px 20px 30px;
  background-color: #fff;
}

div.recruit div.info p {
  line-height: 2.2em;
  font-size: 108%;
  position: relative;
}

div.recruit div.info p span {
  position: absolute;
  left: 150px;
  top: 0;
}

button.recruit-btn {
  width: 200px;
  height: 100px;
  margin: 10px;
  font-size: 121%;
  font-weight: bold;
  padding: 7px 0px;
  background-color: #4169e1;
  color: #fff;
  border-style: none;
  text-align: center;
  cursor: pointer;
  margin-bottom: 40px;
  border-radius: 8px;
  margin-top: 50px;
}

button.recruit-btn:hover {
  background-color: #3353a0;
}

button.recruit-btn.career {
  margin-left: 60px;
  background-color: #3cb371;
}

button.recruit-btn.career:hover {
  background-color: #2e8b57;
}

.container {
  width: 960px;
  position: relative;
}

.grid2 {
  width: 230px;
  display: none;
  overflow: hidden;
  position: relative;
}

.grid2 img {
  width: 100%;
  height: 100%;
}

/* SOCIETY */
li.bosai-design div.title {
  background: #00ada9;
}

li.bosai-design div.title:after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  right: -0.5em;
  bottom: -1px;
  width: 1em;
  background: #00ada9;
  transform: skew(10deg);
  border-radius: 0 5px 0 0;
  -webkit-transform: skew(10deg);
  -moz-transform: skew(10deg);
}

li.univehicle div.title {
  background: #f6ad3c;
}

li.univehicle div.title:after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  right: -0.5em;
  bottom: -1px;
  width: 1em;
  background: #f6ad3c;
  transform: skew(10deg);
  border-radius: 0 5px 0 0;
  -webkit-transform: skew(10deg);
  -moz-transform: skew(10deg);
}

li.kyoto-dentoukougei div.title {
  background: #187fc4;
}

li.kyoto-dentoukougei div.title:after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  right: -0.5em;
  bottom: -1px;
  width: 1em;
  background: #187fc4;
  transform: skew(10deg);
  border-radius: 0 5px 0 0;
  -webkit-transform: skew(10deg);
  -moz-transform: skew(10deg);
}

li.kyoto-machidukuri div.title {
  background: #a64a97;
}

li.kyoto-machidukuri div.title:after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  right: -0.5em;
  bottom: -1px;
  width: 1em;
  background: #a64a97;
  transform: skew(10deg);
  border-radius: 0 5px 0 0;
  -webkit-transform: skew(10deg);
  -moz-transform: skew(10deg);
}

li.univehicle div.title {
  background: #f6ad3c;
}

li.bosai-design div.content {
  border-color: #00ada9;
}

li.kyoto-dentoukougei div.content {
  border-color: #187fc4;
}

li.univehicle div.content {
  border-color: #f6ad3c;
}

li.kyoto-machidukuri div.content {
  border-color: #a64a97;
}

#cat-meni {
  display: table;
  border-collapse: separate;
  border-spacing: 10px 0;
  width: 100%;
}

#cat-menu li {
  display: table-cell;
  vertical-align: middle;
  width: 116px;
  height: 116px;
  text-align: center;
  border-radius: 58px;
  background-color: #aaa;
  /* cell-spacing: 10px; */
  cursor: pointer;
}

#cat-menu li a,
#cat-menu li {
  text-decoration: none;
  color: #fff;
}

#cat-menu li.current-cat {
  background-color: #4b4b4b;
}

#cat-menu li:hover {
  background-color: #4b4b4b;
}

#cat-menu li.current-cat {
  /*
border-color:#333;
border-style:solid;
border-width:0 0 2px;
margin-bottom:1em;
padding-bottom:.25em;
*/
  position: relative;
}

#cat-menu li.current-cat:before {
  content: " ";
  position: absolute;
  bottom: -45px;
  left: 37px;
  width: 0;
  height: 0;
  border-width: 20px;
  border-style: solid;
  border-bottom-width: 40px;
  border-color: transparent;
  border-bottom-color: #aaa;
}

#cat-menu li.current-cat:after {
  content: " ";
  position: absolute;
  bottom: -46.8px;
  left: 37px;
  width: 0;
  height: 0;
  border-width: 20px;
  border-style: solid;
  border-color: transparent;
  border-bottom-width: 40px;
  border-bottom-color: #f8f8f8;
  z-index: 1;
}

#cat-menu li a {
  height: 100%;
  width: 100%;
  margin-top: 50%;
}

/* MEMO: 結構改修する */
/* #main {
  clear: both;
  margin-top: 44px;
  width: 1340px;
  border-top: 1px;
  border-top-style: solid;
  padding-top: 40px;
  border-color: #aaa;
} */
/* #main { */
/* padding: 40px 40px 80px 40px; */
/* } */

/* single page aa*/
/* div.tex の font-size:108% / line-height:1.8em は撤去（2026-07-02）。
   specificity 0-1-1 で common.css の `.tex` 基線(0-1-0)に勝ってしまい、
   page.php フォールバック系ページで DS の 16px 本文基線を無言で潰していたため。
   本文タイポは common.css `.prose,.tex` に一元化。画像余白のみここに残す。 */
div.tex img {
  margin: 20px 0px 20px 0px;
}

div.thum-img-box {
  width: 196px;
  height: 125px;
  overflow: hidden;
}

div.thumbnail img {
  /* width: 100%; */
  /* height: 100%; */
}

.hidetab {
  display: none;
}

.grid2 div.iteminfo {
  /*
  width: 190px;
*/
  width: 190px;
  height: 100%;
  overflow: hidden;
  position: absolute;
  left: 0px;
  top: 0px;
  padding: 20px;
  display: none;
  background-color: #fff;
  cursor: pointer;
}

.grid2:hover div.iteminfo {
  display: block;
  background-color: rgba(255, 255, 255, 0.8);
}

.grid2 div.iteminfo p {
  font-size: 108%;
}

/*
#menu-item-30,#menu-item-29,#menu-item-28,#menu-item-32,#menu-item-55,#menu-item-56,#menu-item-27,#menu-item-26 { display: none; }
*/
p.press_year {
  display: none;
  font-size: 20px;
  font-weight: 300;
}

div.society-info {
  margin-bottom: 90px;
}

div.society-info h3 {
  font-size: 138.5%;
  padding: 0px 0px 5px 0px;
  border-bottom-style: solid;
  border-width: 2px;
  display: inline;
}

div.society-info h3.univ {
  border-color: #f6ad3c;
}

div.society-info h3.kogei {
  border-color: #187fc4;
}

div.society-info h3.machi {
  border-color: #a64a97;
}

div.society-info h3.bosai {
  border-color: #00ada9;
}

div.society-info p img {
  float: right;
  margin-left: 55px;
}

div.society-info p {
  margin-top: 25px;
  line-height: 1.8em;
  font-size: 108%;
}

#cat-menu li.current-cat.cat-item-4 {
  background-color: #f6ad3c;
}

#cat-menu li.current-cat.cat-item-5 {
  background-color: #a64a97;
}

#cat-menu li.current-cat.cat-item-6 {
  background-color: #a64a97;
}

#cat-menu li.current-cat.cat-item-7 {
  background-color: #00ada9;
}

div.society-info p a {
  clear: both;
}

div.cal {
  height: 190px;
}

#wp-calendar {
  width: 196px;
}

#wp-calendar td {
  padding: 0px;
}

#wp-calendar caption {
  font-size: 13px;
  color: #4b4b4b;
  font-weight: bold;
  padding-bottom: 6px;
  text-align: center;
}

#wp-calendar thead {
  height: 22px;
}

#wp-calendar th {
  font-size: 13px;
  text-align: center;
  font-weight: 700;
}

#wp-calendar tbody tr td {
  font-size: 13px;
  line-height: 1.6em;
  text-align: center;
}

#wp-calendar tfoot {
  font-size: 12px;
}

#main-content {
  float: left;
  width: 730px;
  margin-top: 20px;
  overflow: hidden;
}

div.log_title h3 {
  font-size: 138.5%;
  line-height: 1.4em;
  margin-bottom: 10px;
  padding-top: 8px;
  width: 650px;
}

div.log_title div.date {
  float: left;
  color: #8e8e8e;
  font-size: 116%;
}

div.log_title div.cat_name {
  float: left;
  color: #fff;
  font-size: 85%;
  margin-top: 4px;
  margin-left: 10px;
  padding: 3px 5px 2px 5px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}

div.log_title div.cat_name.cat4 {
  background: #f6ad3c;
  /*univ*/
}

div.log_title div.cat_name.cat5 {
  background: #187fc4;
  /*kogei*/
}

div.log_title div.cat_name.cat6 {
  background: #a64a97;
  /*machi*/
}

div.log_title div.cat_name.cat7 {
  background: #00ada9;
  /*bosai*/
}

div.contentbox {
  width: 730px;
  border-top-style: solid;
  border-color: #aaaaaa;
  border-width: 1px;
  padding: 15px 0 70px 0;
}

div#right_content {
  float: right;
  width: 200px;
  margin-top: 20px;
  margin-left: 30px;
}

.pager {
  text-align: center;
}

a.page-numbers,
.pager .current {
  background: rgba(0, 0, 0, 0.02);
  border: solid 1px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 5px 8px;
  margin: 0 2px;
}

.pager .current {
  background: rgba(0, 0, 0, 1);
  border: solid 1px rgba(0, 0, 0, 1);
  color: rgba(255, 255, 255, 1);
}

h2.dtl-title {
  float: left;
}

p.dtl-hinmoku {
  float: left;
  margin: 6px 0px 0px 30px;
  font-size: 112%;
}

p.dtl-clnt {
  clear: both;
  font-size: 112%;
  padding-top: 10px;
}

p.tpcs-title {
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
  height: 3em;
  overflow: hidden;
}

p.ellipsis {
  line-height: 1.6;
  padding-top: 12px;
  height: 66px;
  overflow: hidden;
}

div#msg {
  font-size: 112%;
  line-height: 2em;
}

#wp-calendar td#next {
  text-align: right;
  padding-right: 1em;
}

div.recent,
div.catego,
div.archive {
  margin-top: 36px;
  font-size: 15px;
}

div.recent li,
div.catego li,
div.archive li {
  margin-bottom: 7px;
}

div.recent h6,
div.catego h6,
div.archive h6 {
  padding-bottom: 6px;
  font-size: 17px;
}

div.catego-hide {
  display: none;
}

li.s-univehicle a {
  font-size: 15px;
  color: #4b4b4b;
}

li.s-univehicle {
  font-size: 15px;
  color: #f6ad3c;
  margin-bottom: 8px;
}

li.s-townscape a {
  font-size: 15px;
  color: #4b4b4b;
}

li.s-townscape {
  font-size: 15px;
  color: #a64a97;
  margin-bottom: 8px;
}

li.s-craft a {
  font-size: 15px;
  color: #4b4b4b;
}

li.s-craft {
  font-size: 15px;
  color: #187fc4;
  margin-bottom: 8px;
}

li.s-add a {
  font-size: 15px;
  color: #4b4b4b;
}

li.s-add {
  font-size: 15px;
  color: #00ada9;
  margin-bottom: 8px;
}

#nav-below {
  text-align: center;
  width: 650px;
}

div.nav-next,
div.nav-previous {
  width: 100%;
  max-width: 150px;
  min-width: 100px;
  display: inline-block;
  text-align: center;
}

blockquote {
  background-color: #ddd;
  padding: 1em 1em 1em 3em;
  position: relative;
  margin: 1.5em 0;
}

blockquote:before {
  content: "\201C";
  font-size: 600%;
  line-height: 1em;
  font-family: Georgia;
  color: #999;
  position: absolute;
  left: 0;
  top: 0;
}

span.lang a {
  color: #787878;
  font-weight: bold;
}

span.lang a.on {
  color: #4b4b4b;
}

span.en {
  display: none;
}

/* MEMO: Top FOUC対策 */
#slider>div {
  display: none;
  /* すべてのスライドを非表示にします */
}

#slider>div:first-child {
  display: block;
  /* 最初のスライドだけ表示します */
}

/* Swiperを使う下層カルーセル。Top Heroはtop_hero.cssの独自実装。 */
.swiper-container {
  width: 100%;
  height: 100vh;
  background-color: transparent;
  min-width: 660px;
}

.swiper-wrapper, .swiper-slide {
  height: 100%;
}

.swiper-slide {
  width: 100%;
  /* aspect-ratio: 67/29; */
  position: relative;
  overflow: hidden;
}

/* General swiper slide images - excluding top-page */
.swiper-slide img {
  width: 100%;
  height: 100%;
  /* aspect-ratio: 67/29; */
  /* height:100%; */
  object-fit: cover;
  object-position: center;
}

/* 画像切替のタイミングでのスケールリセット対策 */
.swiper-slide.scale-enlarge img {
  transform: scale(1.05);
}

.swipier-slide.scale-reduce img {
  transform: scale(1);
}

.swiper-slide-active.scale-enlarge img {
  animation: zoomIn 5s linear forwards;
}

.swiper-slide-active.scale-reduce img {
  animation: zoomOut 5s linear forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

@keyframes zoomOut {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@media screen and (max-width: 1080px) {
  #content {
    padding: 0 20px;
    width: 100%;
  }

  .swiper-container {
    min-width: 0;
    margin-bottom: 15px;
  }

  /* 旧 .menu の padding-left 個別調整は撤去済み。 */

  /* ページ見出しはモバイルで縮小（capability 等と同じ 20px に統一） */
  h1.menu-en {
    font-size: 20px;
  }
}

/* Top Hero のレスポンシブ構図は top_hero.css が一元管理する。 */

.menu-container {
  display: flex;
  justify-content: space-between;
  /* padding-top: 24px; */
}

.lang-menu p {
  font-size: 18px;
  color: #a8a8a8;
}

.lang-menu p a {
  color: #a8a8a8;
}

.lang-menu p a:hover {
  color: #4b4b4b;
}

.lang-menu p .current {
  color: #4b4b4b;
}

/* 統一されたカルーセルコントロールエリア（新しい実装） */

/* コントロールエリア全体 */
.carousel-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1340px;
  min-width: 680px;
  width: 100%;
  padding: 0 40px;
  /* 左右40pxの余白をpaddingで */
  z-index: 1100;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  box-sizing: border-box;
}

.control-section {
  pointer-events: auto;
  display: flex;
  align-items: center;
}

.control-left {
  flex: 1;
  justify-content: flex-start;
  align-items: flex-end;
}

.control-center {
  flex: 0 0 auto;
  justify-content: center;
  position: absolute;
  left: 0;
  bottom: -60px;
  /* テキストの下に配置 */
}

.control-right {
  position: absolute;
  right: 0;
  /* carousel-controlsの右端に配置 */
  bottom: 0;
}

/* 画像情報テキスト */
.carousel-controls .slide-info {
  color: white;
}

.carousel-controls .slide-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-controls .slide-subtitle {
  font-size: 16px;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Swiperナビゲーション */
.carousel-controls .swiper-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  position: static;
  transform: none;
  left: auto;
  bottom: auto;
}

.carousel-controls .swiper-button-prev-custom,
.carousel-controls .swiper-button-next-custom,
.carousel-controls .swiper-button-pause {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 300;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-controls .swiper-button-prev-custom:hover,
.carousel-controls .swiper-button-next-custom:hover,
.carousel-controls .swiper-button-pause:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.carousel-controls .swiper-button-pause {
  font-size: 14px;
}

/* スクロールリンク */
.carousel-controls .scroll-link {
  display: flex;
  justify-content: flex-end;
  position: static;
  bottom: auto;
  right: auto;
}

.carousel-controls .scroll-to-topics {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.carousel-controls .scroll-to-topics:hover {
  color: white;
}

.carousel-controls .scroll-text {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.carousel-controls .scroll-arrow {
  font-size: 20px;
  animation: bounce 2s infinite;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ対応 */
@media screen and (max-width: 1080px) {
  .carousel-controls {
    bottom: 30px;
    padding: 0 20px;
    /* 左右20pxの余白 */
  }

  .control-right {
    right: 0;
    /* paddingで余白を確保しているのでそのまま */
  }
}

@media screen and (max-width: 790px) {
  .carousel-controls {
    bottom: 25px;
    padding: 0 15px;
    /* 左右15pxの余白 */
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .control-left,
  .control-center,
  .control-right {
    position: static;
    /* モバイル時は通常配置に戻す */
    flex: none;
  }

  .control-left {
    order: 1;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .control-center {
    order: 2;
  }

  .control-right {
    order: 3;
  }

  .carousel-controls .slide-title {
    font-size: 18px;
  }

  .carousel-controls .slide-subtitle {
    font-size: 14px;
  }

  .carousel-controls .scroll-text {
    font-size: 14px;
  }

  .carousel-controls .scroll-arrow {
    font-size: 16px;
  }

  .carousel-controls .swiper-navigation {
    gap: 15px;
  }

  .carousel-controls .swiper-button-prev-custom,
  .carousel-controls .swiper-button-next-custom,
  .carousel-controls .swiper-button-pause {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-controls .swiper-button-pause {
    font-size: 12px;
  }
}

/* 新しいカルーセル要素のスタイル */

/* 採用告知ポップアップ */
.recruitment-popup {
  position: absolute;
  top: 80px;
  right: 40px;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.recruitment-popup.hidden {
  opacity: 0;
  visibility: hidden;
}

.popup-content {
  background: #5BA4CF;
  color: white;
  padding: 16px 20px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 280px;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close:hover {
  opacity: 0.7;
}

.popup-text {
  font-size: 14px;
  font-weight: 500;
  padding-right: 30px;
}

/* 画像情報テキスト（左下） */
.slide-info {
  position: absolute;
  bottom: 80px;
  left: 40px;
  z-index: 1100;
  color: white;
}

.slide-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
  font-size: 16px;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Swiper ナビゲーション（下部中央） - carousel-control-bar内で使用時は無効化 */
.swiper-navigation {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 20px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom,
.swiper-button-pause {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 300;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover,
.swiper-button-pause:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.swiper-button-pause {
  font-size: 14px;
}

/* スクロールリンク（右下） */
.scroll-link {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 1100;
}

.scroll-to-topics {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.scroll-to-topics:hover {
  /* transform: translateY(-2px); */
  color: white;
}

.scroll-text {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.scroll-arrow {
  font-size: 20px;
  animation: bounce 2s infinite;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}

/* レスポンシブ対応 */
@media screen and (max-width: 1080px) {
  .recruitment-popup {
    right: 20px;
    top: 60px;
  }

  .slide-info {
    bottom: 60px;
    left: 20px;
  }

  .scroll-link {
    bottom: 30px;
    right: 20px;
  }

  .swiper-navigation {
    bottom: 30px;
  }
}

@media screen and (max-width: 790px) {
  .recruitment-popup {
    right: 15px;
    top: 50px;
  }

  .popup-content {
    max-width: 220px;
    padding: 12px 16px;
  }

  .popup-text {
    font-size: 12px;
    padding-right: 25px;
  }

  .slide-info {
    bottom: 50px;
    left: 15px;
    visibility: hidden;
  }

  .slide-title {
    font-size: 18px;
    visibility: hidden;
  }

  .slide-subtitle {
    font-size: 14px;
  }

  .scroll-link {
    bottom: 25px;
    right: 15px;
  }

  .scroll-text {
    font-size: 14px;
  }

  .scroll-arrow {
    font-size: 16px;
  }

  .swiper-navigation {
    bottom: 25px;
    gap: 15px;
  }

  .swiper-button-prev-custom,
  .swiper-button-next-custom,
  .swiper-button-pause {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .swiper-button-pause {
    font-size: 12px;
  }
}
