﻿/* table_mobile.css */

/* プロフィールテーブル */
table.profile {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}
table.profile th,
table.profile td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px dotted #666666;
}
table.profile th {
  background-color: #ccccee;
  white-space: nowrap;
}
table.profile td {
  background-color: #eeeeff;
}

/* golf1テーブル */
.golf1 {
  width: 100%;
  border: 1px solid #000;
  border-collapse: separate;
  border-spacing: 15px 2px;
}
.golf1 th {
  background-color: #ccccee;
  border-bottom: 1px dotted #666666;
  text-align: left;
  padding: 10px;
}
.golf1 td {
  background-color: #ccffff;
  font-weight: 600;
  border-bottom: 1px dotted #666666;
  padding: 10px;
}

/* その他のテーブル、ブロック要素 */
.sentaku {
  width: 48%;
  background-color: #d7eeff;
  float: left;
  border: 1px solid;
  margin: 5px;
  box-sizing: border-box;
}

.kh {
  width: 125px;
  height: auto;
  margin: 5px;
  float: left;
}

.rk {
  background-color: #d7eeff;
  width: 100%;
  text-align: center;
  margin: 20px 0;
}

table.hyou {
  width: 100%;
  margin: 30px 0;
  color: red;
  border: 1px dotted;
  background-color: #ffff00;
  font-size: 1em;
  border-radius: 20px;
  text-align: center;
}

table.hyou2 {
  width: 100%;
  margin: 20px 0;
  font-size: 1em;
  color: #0000ff;
  background-color: #ffcccc;
  border-radius: 8px;
  table-layout: fixed;
  float: none;
}

@media (max-width: 600px) {
  table.profile th,
  table.profile td {
    font-size: 0.9em;
  }
  .golf1 th,
  .golf1 td {
    font-size: 0.9em;
  }
  table.hyou,
  table.hyou2 {
    font-size: 0.9em;
  }
}

/* プロフィールテーブルのモバイル対応 */
table.profile {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}
table.profile th,
table.profile td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px dotted #666666;
}
table.profile th {
  background-color: #ccccee;
  white-space: nowrap;
}
table.profile td {
  background-color: #eeeeff;
}


.mobile-nav {
  background: #fff;
  padding: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  border-bottom: 1px solid #eee;
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.mobile-nav a:active {
  background: #f5f5f5;
}

/* お問い合わせブロック */

.mobile-contact {
  background: #fafafa;
  padding: 16px;
  text-align: center;
}

.mobile-contact p {
  margin: 0 0 12px 0;
  font-weight: 600;
}

.tel-btn,
.mail-btn {
  display: block;
  margin: 8px 0;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
}

.tel-btn {
  background: #e60012;
  color: #fff;
}

.mail-btn {
  background: #333;
  color: #fff;
}