/* リセットとベース設定 */
body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ヘッダーとタイトル */
.company-title {
  font-size: 32px;
  font-weight: bold;
  margin: 20px 0;
  color: #333;
}

.company-info-header {
  font-size: 28px;
  font-weight: bold;
  margin: 30px 0 20px;
  color: #333;
}

/* 操作メニュー */
.operation-menu-title {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.operation-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.operation-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 95px;
  height: 95px;
  text-decoration: none;
  color: #555;
  text-align: center;
  font-size: 12px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.operation-menu-item img,
.operation-menu-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  fill: #666;
}

.operation-menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.operation-menu-item.active {
  background-color: #1a73e8;
  color: #fff;
}

.operation-menu-item.active img,
.operation-menu-item.active svg {
  fill: #fff;
}

/* タブナビゲーション */
.tab-navigation {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab-item {
  padding: 15px 20px;
  text-decoration: none;
  color: #0645AD;
  background-color: #f0f0f0;
  font-size: 14px;
  text-align: center;
  border: none;
  transition: background-color 0.2s;
}

.tab-item:hover {
  background-color: #e0e0e0;
}

.tab-item.active {
  background-color: #1a73e8;
  color: #fff;
}

/* コンテンツエリア */
.content-area {
  background-color: #fff;
  padding: 30px 0;
}

.section-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
}

/* フォーム要素 */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: #1a73e8;
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.form-help {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

/* ボタン */
.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn {
  padding: 10px 25px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s;
}

.btn-preview {
  background-color: #f0f0f0;
  color: #333;
}

.btn-preview:hover {
  background-color: #e0e0e0;
}

.btn-submit {
  background-color: #f39800;
  color: #fff;
}

.btn-submit:hover {
  background-color: #e08a00;
}

.btn-secondary {
  background-color: #8c8c8c;
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: #777;
}

/* 細かい設定用の領域 */
.settings-area {
  margin-bottom: 20px;
}

.settings-text {
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
}

/* エラーと成功メッセージ */
.error-message {
  color: #e53e3e;
  font-size: 12px;
  margin-top: 5px;
}

.success-message {
  background-color: #c6f6d5;
  border-left: 4px solid #38a169;
  color: #2f855a;
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .tab-navigation {
    flex-direction: column;
  }
  
  .tab-item {
    width: 100%;
    box-sizing: border-box;
  }
  
  .operation-menu {
    justify-content: center;
  }
  
  .operation-menu-item {
    width: 80px;
    height: 80px;
  }
  
  .button-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
}