﻿

/*** for PC Browser ***/
@media (min-width:401px)
{
:root {
  --white: #fff;
  --black: #000;
  --primary: #99cc65;
  --secondary: #197a4b;
  --tertiary: #0c472a;
  --bg: #f5f5f5;
}
body {
  font-family:
    'Noto Sans JP',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

section {
  padding: 20px;
  margin-bottom: 20px;
  line-height: 1.7 !important;
  letter-spacing: 0.1em !important;
}

section p, 
section li,
section table td
{
  font-size: 16px !important;
}

section img {
  max-width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2%;
}

.py10 {
  padding: 0 10px;
}

section h3 {
  color: var(--secondary);
  font-size: 24px !important;
  text-align: left;
  padding-left: 20px;
  margin-bottom: 30px !important;
  position: relative;
  border-width: 0px !important;
}

section h3::before,
section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 4px;
}

section h3::before {
  background-color: var(--secondary);
  width: 25%;
  z-index: 1;
}

section h3::after {
  background-color: var(--primary);
  width: 100%;
  z-index: 0;
}

section h4 {
  color: var(--secondary);
  font-size: 20px !important;
  margin: 20px 0 !important;
  padding: 5px 20px !important;
  border: none !important;
  border-left: 8px solid var(--secondary) !important;
}

section h4 {
}

section ul {
  margin: 0;
  padding: 0;
  list-style-type: none !important;
  list-style-image: none !important;
}

section li {
  position: relative;
  margin: 0 0 5px 20px !important;
}

section li::before {
  content: "⚫︎";
  position: absolute;
  top: 3px;
  left: -16px;
  color: var(--secondary);
  font-size: 12px;
}

section table {
  width: 100%;
  border-collapse: collapse;
  text-align: center !important;
  margin: 0 auto;
  border-radius: 20px !important;
}

section th,
section td {
  padding: 12px;
  border: 1px solid var(--black);
}

section th {
  color: var(--white);
  background-color: var(--secondary);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

section.contents_list {
  background-color: var(--bg);
  margin: 30px;
  border-radius: 20px;
}

section .box {
  padding: 0 20px;
}

#course-guide table tbody tr td:first-child {
  color: var(--black);
}

#course-guide table tbody tr td:first-of-type {
  border-bottom: 1px solid #dddddd;
}

#course-guide table tbody tr td:first-of-type:hover {
  background-color: var(--bg);
}

#course-guide table tbody tr:nth-child(2) td:first-of-type,
#course-guide table tbody tr:nth-child(5) td:first-of-type,
#course-guide table tbody tr:last-child td:first-of-type {
  border-bottom-color: var(--black);
}

#course-guide table tbody tr td:first-child a {
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  display: block;
  color: black;
}

#course-guide table tr td:nth-of-type(2) {
  font-size: 20px;
  text-align: left;
  padding-left: 20px;
}

section.support div,
section.message div {
  margin: 20px 10px;
  padding: 20px;
}

section.support div:last-of-type,
section.message div:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}

.point {
  position: relative;
  margin-top: 20px;
  border: none;
}

.point::before {
  content: "";
  display: block;
  position: absolute;
  font-size: 32px;
  font-weight: 600;
  color: var(--secondary);
  top: -50px;
  left: 0;
}

.p01::before {
  content: "01";
}

.p02::before {
  content: "02";
}

.p03::before {
  content: "03";
}

.p04::before {
  content: "04";
}

.p05::before {
  content: "05";
}

table tr th {
  width: 200px;
}

table.td_left tr td:last-child {
  text-align: left;
  padding-left: 20px;
}

/* 矢印マーク */
.arrow-container {
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

.square {
  width: 40px;
  height: 30px;
  background-color: var(--secondary);
  margin: 0 auto;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 30px solid var(--secondary);
  margin: 0 auto;
}

.visit table tr td:last-child {
  text-align: left;
  padding-left: 20px;
}
}


/*** for Smart Phone ***/
@media (max-width:400px)
{
:root {
  --white: #fff;
  --black: #000;
  --primary: #99cc65;
  --secondary: #197a4b;
  --tertiary: #0c472a;
  --bg: #f5f5f5;
}

section {
  padding: 5px;
  margin-bottom: 10px;
  line-height: 1.7 !important;
  letter-spacing: 0.1em !important;
}

section p, 
section li,
section table td
{
  font-size: 14px !important;
}

section img {
  max-width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2%;
}

.py10 {
  padding: 0 10px;
}

section h3 {
  color: var(--secondary);
  font-size: 20px !important;
  text-align: left;
  padding-left: 20px;
  margin-bottom: 30px !important;
  position: relative;
  border-width: 0px !important;
}

section h3::before,
section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 4px;
}

section h3::before {
  background-color: var(--secondary);
  width: 25%;
  z-index: 1;
}

section h3::after {
  background-color: var(--primary);
  width: 100%;
  z-index: 0;
}

section h4 {
  color: var(--secondary);
  font-size: 18px !important;
  margin: 10px 0 !important;
  padding: 5px 10px !important;
  border: none !important;
  border-left: 8px solid var(--secondary) !important;
}

section ul {
  margin: 0;
  padding: 0;
  list-style-type: none !important;
  list-style-image: none !important;
}

section li {
  position: relative;
  margin: 0 0 5px 5px !important;
}

section li::before {
  content: "⚫︎";
  position: absolute;
  top: 3px;
  left: -15px;
  color: var(--secondary);
  font-size: 10px;
}

section table {
  width: 100%;
  border-collapse: collapse;
  text-align: center !important;
  margin: 0 auto;
}

section th,
section td {
  padding: 8px;
  border: 1px solid var(--black);
}

section th {
  color: var(--white);
  background-color: var(--secondary);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

section table tbody th {
  width: 30%;
}

section.contents_list {
  background-color: var(--bg);
  margin: 10px;
  padding: 5px;
  border-radius: 20px;
}

section .box {
  padding: 0 5px;
}

#course-guide table tbody tr td:first-child {
  color: var(--black);
}

#course-guide table tbody tr td:first-of-type {
  border-bottom: 1px solid #dddddd;
}

#course-guide table tbody tr td:first-of-type:hover {
  background-color: var(--bg);
}

#course-guide table tbody tr:nth-child(2) td:first-of-type,
#course-guide table tbody tr:nth-child(5) td:first-of-type,
#course-guide table tbody tr:last-child td:first-of-type {
  border-bottom-color: var(--black);
}

#course-guide table tbody tr td:first-child a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: block;
  color: black;
}

#course-guide table tr td:nth-of-type(2) {
  font-size: 16px;
  text-align: left;
  padding-left: 10px;
}

section.support div,
section.message div {
  margin: 10px 5px;
  padding: 10px;
}

section.support div:last-of-type,
section.message div:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}

.point {
  position: relative;
  margin-top: 10px;
  border: none;
}

.point::before {
  content: "";
  display: block;
  position: absolute;
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary);
  top: -30px;
  left: 0;
}

.p01::before {
  content: "01";
}

.p02::before {
  content: "02";
}

.p03::before {
  content: "03";
}

.p04::before {
  content: "04";
}

.p05::before {
  content: "05";
}

table tr th {
  width: 200px;
}

table.td_left tr td:last-child {
  text-align: left;
  padding-left: 10px;
}

/* 矢印マーク */
.arrow-container {
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

.square {
  width: 40px;
  height: 30px;
  background-color: var(--secondary);
  margin: 0 auto;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 30px solid var(--secondary);
  margin: 0 auto;
}

.visit table tr td:last-child {
  text-align: left;
  padding-left: 10px;
}

.visit table tr td {
  font-size: 12px !important;
  padding: 5px !important;
}
}
