@charset "UTF-8";

/* =========================================================
   共通スタイル（index.html / company-profile.html）
   ========================================================= */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: #555555;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#wrapper {
  max-width: 960px;
  margin: 0 auto 20px auto;
}

.section {
  width: 100%;
}

.section-boxed {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================================================
   トップページ（index.html）
   ========================================================= */

/* --- ロゴエリア --- */
.logo-row {
  text-align: center;
  padding: 40px 0 20px;
}
.logo-row img {
  max-width: 293px;
  width: 100%;
  height: auto;
  transition: transform .3s;
}
.logo-row a:hover img {
  transform: scale(1.05);
}

/* --- グループ会社 3カラム --- */
.group-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px 30px;
}
.group-col {
  flex: 1 1 300px;
  max-width: 360px;
  text-align: center;
}
.group-col img {
  width: 100%;
  max-width: 300px;
  height: auto;
  box-shadow: 0 0 4px 0 rgba(0,0,0,0.5);
  transition: transform .3s;
}
.group-col a:hover img {
  transform: scale(1.05);
}

/* --- コピーライト --- */
.copyright-row {
  text-align: center;
  padding: 10px 0 30px;
}
.copyright-row p {
  font-family: "Roboto", Sans-serif;
  font-weight: 400;
  color: #7a7a7a;
  font-size: 14px;
  margin: 0;
}

/* --- 重要なお知らせ --- */
.notice-row {
  padding: 20px 20px 60px;
}
.notice-box {
  max-width: 900px;
  margin: 0 auto;
}
.notice-title {
  font-family: "Roboto", Sans-serif;
  font-weight: 600;
  color: #6ec1e4;
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 20px;
  text-align: center;
}
.notice-body {
  font-family: "Roboto", Sans-serif;
  font-weight: 400;
  color: #7a7a7a;
  font-size: 15px;
  line-height: 1.9;
}
.notice-body p {
  margin: 0 0 16px;
}
.notice-body strong {
  color: #54595f;
  font-weight: 600;
}


/* =========================================================
   会社概要ページ（company-profile.html）
   ========================================================= */

/* --- パンくず --- */
.breadcrumb-row {
  padding: 30px 20px 10px;
  font-family: "Roboto", Sans-serif;
  font-size: 14px;
  color: #7a7a7a;
}
.breadcrumb-row a {
  color: #6ec1e4;
  text-decoration: none;
}
.breadcrumb-row a:hover {
  text-decoration: underline;
}

/* --- タイトル --- */
.page-title-row {
  padding: 10px 20px 20px;
  text-align: center;
}
.page-title-row h3 {
  font-family: "Roboto Slab", Sans-serif;
  font-weight: 600;
  color: #54595f;
  font-size: 30px;
  margin: 0;
}

/* --- 会社概要テーブル --- */
.table-row {
  padding: 10px 20px 60px;
}
table.tablepress {
  border-collapse: collapse;
  border-spacing: 0;
  width: 500px;
  max-width: 100%;
  margin: 0 auto 1em;
  border: none;
  font-family: "Roboto", Sans-serif;
  font-size: 15px;
}
table.tablepress td {
  padding: 10px 12px;
  border: none;
  border-top: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
table.tablepress tr:first-child td {
  border-top: 0;
}
table.tablepress .column-1 {
  width: 30%;
  background-color: #043d78;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
table.tablepress .column-2 {
  width: 70%;
  color: #555555;
}
table.tablepress tr:hover td {
  background-color: #f3f3f3;
}
table.tablepress tr:hover .column-1 {
  background-color: #043d78;
}


/* =========================================================
   東亜グループ沿革ページ（toagrouphistory/index.html）
   上記の #wrapper / table.tablepress / .column-1 / .column-2
   などと名前が衝突するため、.toagrouphistory 配下にスコープし
   衝突するプロパティを明示的に上書きしている
   ========================================================= */
.toagrouphistory,
.toagrouphistory * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.toagrouphistory {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
}

.toagrouphistory a {
  color: #037add;
  text-decoration: none;
}
.toagrouphistory a:hover {
  text-decoration: underline;
}

.toagrouphistory #container {
  max-width: 960px;
  margin: 0 auto;
}

/* --- header --- */
.toagrouphistory #header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 20px;
  border-bottom: 3px solid #037add;
}
.toagrouphistory #logo .site-name a {
  font-size: 1.6em;
  font-weight: bold;
  color: #222;
}
.toagrouphistory .main-nav ul.menu {
  list-style: none;
  display: flex;
}
.toagrouphistory .main-nav ul.menu li a {
  display: block;
  padding: 10px 15px;
  color: #222;
  font-weight: bold;
}
.toagrouphistory .main-nav ul.menu li a:hover {
  color: #037add;
  text-decoration: none;
}

/* --- main content --- */
.toagrouphistory #wrapper {
  max-width: none;
  margin: 0;
  padding: 30px 20px 60px;
}
.toagrouphistory .page-title {
  font-size: 1.8em;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ddd;
}

/* --- history table --- */
.toagrouphistory table.tablepress {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
  margin: 0;
  font-family: inherit;
  font-size: 0.95em;
}
.toagrouphistory table.tablepress td {
  border: 1px solid #ddd;
  padding: 10px 14px;
  vertical-align: top;
}
.toagrouphistory table.tablepress tr:first-child td {
  border-top: 1px solid #ddd;
}
.toagrouphistory table.tablepress td.column-1 {
  width: 18%;
  white-space: nowrap;
  font-weight: bold;
  color: inherit;
  background: #f5f8fb;
}
.toagrouphistory table.tablepress td.column-2 {
  width: auto;
  color: inherit;
}
.toagrouphistory table.tablepress tr.odd {
  background: #fff;
}
.toagrouphistory table.tablepress tr.even {
  background: #fafafa;
}
.toagrouphistory table.tablepress tr:hover td {
  background-color: inherit;
}
.toagrouphistory table.tablepress tr:hover .column-1 {
  background-color: inherit;
}

/* --- footer --- */
.toagrouphistory #footer {
  border-top: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  color: #777;
  font-size: 0.9em;
}
.toagrouphistory #footer .copyright a {
  color: #777;
}

/* --- scroll to top --- */
.toagrouphistory #scroll {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #037add;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8em;
  display: none;
}

/* --- responsive --- */
@media (max-width: 600px) {
  .toagrouphistory #header {
    flex-direction: column;
    align-items: flex-start;
  }
  .toagrouphistory table.tablepress td.column-1 {
    width: auto;
    white-space: normal;
  }
  .toagrouphistory table.tablepress,
  .toagrouphistory table.tablepress tbody,
  .toagrouphistory table.tablepress tr,
  .toagrouphistory table.tablepress td {
    display: block;
    width: 100%;
  }
  .toagrouphistory table.tablepress tr {
    margin-bottom: 10px;
  }
}
