@charset "utf-8";

/* History page */
.history_eye {
  padding: 80px 0 40px;
}

.history_eye h2 {
  width: 300px;
  font-size: 50px;
  font-weight: normal;
  text-align: center;
  line-height: 1em;
  padding: 30px 0 20px;
  margin: auto;
  color: #006600;
  font-family: '游明朝 Medium', serif;
}

/* Shared page layout */
.contents_wrap {
  min-height: 10vw;
}

.content p {
  font-size: 16px;
  line-height: 1.5em;
  margin-bottom: 15px;
  text-align: justify;
  font-weight: bold;
}

#column .page {
  max-width: 1240px;
  padding: 100px 20px;
  width: 49%;
  margin: auto;
}

.column_title {
  /* Moved to shared styles */
}

/* Recruit */
small {
  font-size: 16px;
  letter-spacing: 1px;
}

strong {
  font-size: 16px;
}

.header_sp {
  display: none;
}

@media screen and (max-width: 1040px) {
  body {
    background-size: 80%;
    padding-top: 70px;
  }

  header {
    background: #000033 !important;
    border-bottom: 5px solid #c4d700 !important;
    padding: 0 !important;
    position: fixed !important;
    top: 0;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
  }

  header .header_top {
    height: 65px !important;
    background: transparent !important;
    border: none !important;
  }

  header .header_top_container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 65px !important;
    position: relative !important;
    width: 100% !important;
    padding: 0 2px !important;
  }

  header h1 {
    margin: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
  }

  #Logo {
    display: flex !important;
  }

  #logoWhite,
  .logo_img_pc,
  .header_right {
    display: none !important;
  }

  /* Keep the desktop nav container inert on mobile */
  .nav_menu {
    border: none !important;
    background: transparent !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav_menu_contents {
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
  }

  .header_menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    width: 46px;
    height: 46px;
    top: 10px;
    right: 15px;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    cursor: pointer;
  }

  .header_menu::after {
    content: "メニュー";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: #555;
    font-weight: bold;
    white-space: nowrap;
    line-height: 1;
  }

  .header_menu.active {
    position: fixed;
    background: none;
    box-shadow: none;
  }

  .header_menu.active::after {
    display: none;
  }

  .video_box {
    height: unset;
  }

  .header_menu span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #555;
    border-radius: 2px;
    transition: all 0.3s;
  }

  .header_menu span:nth-of-type(1) {
    top: 10px;
  }

  .header_menu span:nth-of-type(2) {
    top: 18px;
  }

  .header_menu span:nth-of-type(3) {
    top: 26px;
  }

  .header_menu.active span {
    background: #fff;
  }

  .header_menu.active span:nth-of-type(1) {
    top: 18px;
    transform: translateX(-50%) rotate(-45deg);
  }

  .header_menu.active span:nth-of-type(2) {
    opacity: 0;
  }

  .header_menu.active span:nth-of-type(3) {
    top: 18px;
    transform: translateX(-50%) rotate(45deg);
  }

  .header_splist {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: scroll;
    width: 100%;
    min-height: 100%;
    height: 100%;
    max-height: 3000em;
    text-align: center;
    background: rgba(40, 40, 40, 0.9);
    padding: 10px 0;
    margin-top: 0;
    z-index: 88888;
  }

  .header_splist.open {
    display: block;
  }

  .header_splist li {
    padding: 10px 0;
    margin-right: 0;
  }

  .header_splist li a {
    color: #fff;
    width: fit-content;
    margin: 0 auto;
  }

  /* Top page */
  .top_eye {
    margin-bottom: 50px;
  }

  .top_eye h2 {
    position: unset;
    transform: unset;
    -webkit-transform: unset;
    -ms-transform: unset;
    width: 96%;
    color: #333;
    font-size: 22px;
    text-shadow: unset;
    margin: 40px auto 0;
  }

  .top_contents_wrap_left,
  .top_contents_wrap_right {
    margin-bottom: 30px;
  }

  .top_contents_wrap_left img,
  .top_contents_wrap_right img {
    float: none;
    width: 100%;
    height: auto;
  }

  .top_contents_wrap_left div,
  .top_contents_wrap_right div {
    float: none;
    width: 96%;
    padding: 0 2%;
  }

  .top_contents h3 {
    font-size: 40px;
    margin: 10px 0;
  }

  .top_contents_wrap_box {
    width: 80% !important;
    margin: auto;
  }

  .top_contents_wrap_subtitle_jp {
    font-size: 18px;
    margin: 0 0 10px 0;
  }

  .top_contents_wrap_text {
    width: 100%;
    margin: 0 0 15px 0;
  }

  .top_contents_wrap_link {
    margin-left: 0;
  }

  .top_contents_wrap_link a {
    font-size: 14px;
    padding: 8px 50px;
  }

  .top_contents_wrap_link a i {
    font-size: 16px;
  }

  .history_eye {
    padding: 40px 0;
  }

  .history_eye h2 {
    width: 70%;
    font-size: 22px;
    padding: 15px 0 5px;
  }

  .contents_wrap {
    padding-top: 0;
  }

  #column .page {
    max-width: 1240px;
    padding: 30px 20px;
    width: 80%;
    margin: auto;
  }

  small {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .header_sp {
    display: block;
  }
}

@media screen and (max-width: 1399px) {
  body {
    min-width: auto;
  }
}

@media screen and (max-width: 959px) {
  body::before {
    height: 120px;
  }

  article {
    width: 100%;
    padding: 0;
  }

  h2::before {
    width: 4%;
    left: -6%;
  }

  main h2 {
    margin: 0 5% 4% !important;
    padding: 2% 0;
  }
}

@media screen and (max-width: 540px) {
  main h2 {
    font-size: 1.8rem !important;
    line-height: 1.6;
  }
}

div {
  display: block;
}

/* SDGs */
article section h3 {
  margin-top: 80px;
  margin-bottom: 30px;
  padding: 0.6em 0;
  line-height: 1.4;
  font-weight: bold;
  color: #000000;
}

h3 {
  display: block;
  font-size: 1.17em;
  font-weight: bold;
}

.list {
  margin-top: 3%;
  border-top: solid 1px #cccccc;
}

/* Border line */
nav ul:after,
article section h2:after,
.list > li {
  zoom: 1;
  overflow: hidden;
  margin: 0;
  padding: 1.5em 0;
  border-bottom: solid 1px #cccccc;
}

/* Reset */
div,
span,
object,
iframe,
h1,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
a,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
}

h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

@media screen and (max-width: 1040px) {
  .customize-support {
    background-size: 80%;
    padding-top: 70px;
  }

  header div {
    display: block;
    width: auto;
    padding: 0;
  }
}

a {
  text-decoration: none;
  font-family: "HG正楷書体";
}

@media screen and (max-width: 1040px) {
  .header_splist {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: scroll;
    width: 100%;
    min-height: 100%;
    height: 100%;
    max-height: 3000em;
    text-align: center;
    background: rgba(40, 40, 40, 0.9);
    padding: 10px 0;
    z-index: 88888;
  }
}

h3,
h4,
h5 {
  font-weight: bold;
}

/* Kendo */
.top_contents_wrap_left img,
.top_contents_wrap_right img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 1040px) {
  .top_kendo {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 0;
  }
}

/* Partners */
@media screen and (max-width: 520px) {
  .tea_img_l,
  .tea_img_r {
    max-height: 100%;
    max-width: 100%;
    position: unset;
  }
}

table,
tr,
td {
  border: 1px solid #000;
}

td {
  padding: 3px 5px;
}

table {
  border-collapse: collapse;
  margin: 15px 0;
}

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

@media screen and (max-width: 640px) {
  .his_mainpic {
    width: 100%;
    height: auto;
  }
}

.header_menu_address {
  color: white;
  font-size: 14px;
  float: left;
}

.header_mail_icon {
  float: right;
  margin-left: 15px;
}

@media screen and (max-width: 1040px) {
  .header_right {
    display: none;
  }

  .header_splist {
    display: none;
  }

  .nav_menu_contents {
    padding: 5px 0;
  }

  .header_top_container {
    justify-content: flex-start;
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* Shared title styling moved to common.css */
.sinro_title h2,
.history_eye h2,
.engineer_eye h2,
.partners_eye h2 {
  /* Moved to .c-page-title */
}

.history_eye {
  position: static !important;
  height: auto !important;
  padding-top: 20px !important;
  margin-bottom: 0 !important;
}

#column .page {
  padding-top: 20px !important;
}

#sinro .sinro_title h2 {
  padding-top: 0 !important;
}
